spec

package
v0.0.0-...-92b327a Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActualContainerSpec

type ActualContainerSpec struct {
	// The PID of the container's init process
	Pid int

	// The path to the container's bundle directory
	BundlePath string

	// The path to the container's rootfs
	RootFSPath string

	// Whether the container is stopped
	Stopped bool

	// Process IDs (not PIDs) of processes in the container
	ProcessIDs []string

	// Events (e.g. OOM) which have occured in the container
	Events []string

	// Applied limits
	Limits garden.Limits

	// Whether the container is privileged
	Privileged bool
}

type DesiredContainerSpec

type DesiredContainerSpec struct {
	Handle string

	CgroupPath string

	Namespaces map[string]string

	// Container hostname
	Hostname string

	// Bind mounts
	BindMounts []garden.BindMount

	Env []string

	// Container is privileged
	Privileged bool

	Limits garden.Limits

	BaseConfig specs.Spec
}

Jump to

Keyboard shortcuts

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