cri

package
v0.0.0-...-028f1de Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PrecedentRuntimeEndpoints = []RuntimeEndpoint{
		{"docker", "unix:///var/run/dockershim.sock"},
		{"containerd", "unix:///run/containerd/containerd.sock"},
		{"cri-o", "unix:///run/crio/crio.sock"},
		{"docker", "unix:///var/run/cri-dockerd.sock"},
	}
)
View Source
var (
	RuntimeName2Endpoints map[string][]RuntimeEndpoint
)

Functions

func ListContainers

func ListContainers(connectTimeout time.Duration, showAllContainers bool) ([]model.Container, error)

Types

type RuntimeEndpoint

type RuntimeEndpoint struct {
	RuntimeName string
	Endpoint    string
}

Jump to

Keyboard shortcuts

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