types

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package types defines the types used in vArmor

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
	PodUID         string
	PodName        string
	PodNamespace   string
	PodIPs         []string
	PodAnnotations map[string]string
	Image          string
	ProfileName    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