gvisorgvisor.dev/gvisor/test/uds Index | Files

package uds

import "gvisor.dev/gvisor/test/uds"

Package uds contains helpers for testing external UDS functionality.

Index

Functions

func CreateBoundUDSTree

func CreateBoundUDSTree(baseDir string) (string, func(), error)

CreateBoundUDSTree creates a local tree of bound unix domain sockets that are ready to accept connections.

These are created at locations:

func CreateFifoTree

func CreateFifoTree(baseDir string) (string, func(), error)

CreateFifoTree creates a local tree of fifo files for use in testing:

func CreateSocketConnectors

func CreateSocketConnectors(baseDir string) (string, func(), error)

CreateSocketConnectors creates goroutines that will attempt to connect to sockets at the following locations, and turn into an echo client once connected:

Source Files

uds.go

Version
v0.0.0-20250605235530-a6711d1e1dc6 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
4 hours ago

Tools for package owners.