Help us shape the future of Go! Take the 2026 Go Developer Survey

crio

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL