Documentation
¶
Index ¶
- func DumpJSON(r interface{}) string
- func GetContainerCgroupDir(subsystemDir, containerID string) string
- func GetProcessInContainer(cgroupParentDir, containerID string) ([]string, error)
- func ServerActiveAt(socket string) bool
- func WaitForServer(socket string, timeout time.Duration, opts ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpJSON ¶
func DumpJSON(r interface{}) string
DumpJSON dumps a json-compatible struct in human-readable form
func GetContainerCgroupDir ¶
GetContainerCgroupDir finds container path in one specified subsystem directory
func GetProcessInContainer ¶
GetProcessInContainer gets the IDs of all processes in the container.
func ServerActiveAt ¶
ServerActiveAt checks if a gRPC server is accepting connections at the socket.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.