package uds
import "gvisor.dev/gvisor/test/uds"
Package uds contains helpers for testing external UDS functionality.
Index ¶
- func CreateBoundUDSTree(baseDir string) (string, func(), error)
- func CreateFifoTree(baseDir string) (string, func(), error)
- func CreateSocketConnectors(baseDir string) (string, func(), error)
Functions ¶
func CreateBoundUDSTree ¶
CreateBoundUDSTree creates a local tree of bound unix domain sockets that are ready to accept connections.
These are created at locations:
- /stream/echo
- /stream/nonlistening
- /seqpacket/echo
- /seqpacket/nonlistening
- /dgram/null
func CreateFifoTree ¶
CreateFifoTree creates a local tree of fifo files for use in testing:
- /in
- /out
func CreateSocketConnectors ¶
CreateSocketConnectors creates goroutines that will attempt to connect to sockets at the following locations, and turn into an echo client once connected:
- /stream/created-in-sandbox{-epoll}
- /seqpacket/created-in-sandbox{-epoll}
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.