Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_SOCKET_PATH = "/run/containerd/containerd.sock" DEFAULT_TIMEOUT = 2 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerdClient ¶
type ContainerdClient struct {
// contains filtered or unexported fields
}
func NewContainerdClient ¶
func NewContainerdClient(path string) (*ContainerdClient, error)
func (*ContainerdClient) Close ¶
func (c *ContainerdClient) Close() error
func (*ContainerdClient) PidFromContainerId ¶
func (c *ContainerdClient) PidFromContainerId(containerID string) (int, error)
Click to show internal directories.
Click to hide internal directories.