Documentation ¶
Index ¶
- func AbstractUnixReceiveFd(sockFD int) (*os.File, error)
- func AbstractUnixReceiveFdData(sockFD int, numFds int, iov unsafe.Pointer, iovLen int32) (uint64, []C.int, error)
- func AbstractUnixSendFd(sockFD int, sendFD int) error
- func NetnsGetifaddrs(initPID int32) (map[string]api.InstanceStateNetwork, error)
- func WebsocketExecMirror(conn *websocket.Conn, w io.WriteCloser, r io.ReadCloser, exited chan bool, ...) (chan bool, chan bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbstractUnixReceiveFd ¶
AbstractUnixReceiveFd receives a Unix file descriptor from a Unix socket.
func AbstractUnixReceiveFdData ¶
func AbstractUnixReceiveFdData(sockFD int, numFds int, iov unsafe.Pointer, iovLen int32) (uint64, []C.int, error)
AbstractUnixReceiveFdData is a low level function to receive a file descriptor over a unix socket.
func AbstractUnixSendFd ¶
AbstractUnixSendFd sends a Unix file descriptor over a Unix socket.
func NetnsGetifaddrs ¶
func NetnsGetifaddrs(initPID int32) (map[string]api.InstanceStateNetwork, error)
NetnsGetifaddrs returns a map of InstanceStateNetwork for a particular process.
func WebsocketExecMirror ¶
func WebsocketExecMirror(conn *websocket.Conn, w io.WriteCloser, r io.ReadCloser, exited chan bool, fd int) (chan bool, chan bool)
WebsocketExecMirror mirrors a websocket connection with a set of Writer/Reader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.