types

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// K8sCriNamespace is the CRI namespace of Kubernetes
	K8sCriNamespace string = "k8s.io"

	// RuntimeEndpoint is the socket address of the containerd
	RuntimeEndpoint string = "/run/containerd/containerd.sock"

	// RuntimeTimeout is the timeout period when accessing the containerd server
	// to retrieve container and pod information
	RuntimeTimeout time.Duration = time.Second * 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerInfo

type ContainerInfo struct {
	PID            uint32
	MntNsID        uint32
	ContainerID    string
	ContainerName  string
	PodID          string
	PodName        string
	PodNamespace   string
	PodUID         string
	PodAnnotations map[string]string
}

ContainerInfo describes the information collected by the runtime monitor

Jump to

Keyboard shortcuts

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