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