runtimev1

package
v1.36.1-20231226185118... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Protocol_name = map[int32]string{
		0: "TCP",
		1: "UDP",
		2: "SCTP",
	}
	Protocol_value = map[string]int32{
		"TCP":  0,
		"UDP":  1,
		"SCTP": 2,
	}
)

Enum value maps for Protocol.

View Source
var (
	MountPropagation_name = map[int32]string{
		0: "PROPAGATION_PRIVATE",
		1: "PROPAGATION_HOST_TO_CONTAINER",
		2: "PROPAGATION_BIDIRECTIONAL",
	}
	MountPropagation_value = map[string]int32{
		"PROPAGATION_PRIVATE":           0,
		"PROPAGATION_HOST_TO_CONTAINER": 1,
		"PROPAGATION_BIDIRECTIONAL":     2,
	}
)

Enum value maps for MountPropagation.

View Source
var (
	NamespaceMode_name = map[int32]string{
		0: "POD",
		1: "CONTAINER",
		2: "NODE",
		3: "TARGET",
	}
	NamespaceMode_value = map[string]int32{
		"POD":       0,
		"CONTAINER": 1,
		"NODE":      2,
		"TARGET":    3,
	}
)

Enum value maps for NamespaceMode.

View Source
var (
	PodSandboxState_name = map[int32]string{
		0: "SANDBOX_READY",
		1: "SANDBOX_NOTREADY",
	}
	PodSandboxState_value = map[string]int32{
		"SANDBOX_READY":    0,
		"SANDBOX_NOTREADY": 1,
	}
)

Enum value maps for PodSandboxState.

View Source
var (
	ContainerState_name = map[int32]string{
		0: "CONTAINER_CREATED",
		1: "CONTAINER_RUNNING",
		2: "CONTAINER_EXITED",
		3: "CONTAINER_UNKNOWN",
	}
	ContainerState_value = map[string]int32{
		"CONTAINER_CREATED": 0,
		"CONTAINER_RUNNING": 1,
		"CONTAINER_EXITED":  2,
		"CONTAINER_UNKNOWN": 3,
	}
)

Enum value maps for ContainerState.

View Source
var (
	ContainerEventType_name = map[int32]string{
		0: "CONTAINER_CREATED_EVENT",
		1: "CONTAINER_STARTED_EVENT",
		2: "CONTAINER_STOPPED_EVENT",
		3: "CONTAINER_DELETED_EVENT",
	}
	ContainerEventType_value = map[string]int32{
		"CONTAINER_CREATED_EVENT": 0,
		"CONTAINER_STARTED_EVENT": 1,
		"CONTAINER_STOPPED_EVENT": 2,
		"CONTAINER_DELETED_EVENT": 3,
	}
)

Enum value maps for ContainerEventType.

View Source
var (
	MetricType_name = map[int32]string{
		0: "COUNTER",
		1: "GAUGE",
	}
	MetricType_value = map[string]int32{
		"COUNTER": 0,
		"GAUGE":   1,
	}
)

Enum value maps for MetricType.

View Source
var (
	CgroupDriver_name = map[int32]string{
		0: "SYSTEMD",
		1: "CGROUPFS",
	}
	CgroupDriver_value = map[string]int32{
		"SYSTEMD":  0,
		"CGROUPFS": 1,
	}
)

Enum value maps for CgroupDriver.

View Source
var (
	SecurityProfile_ProfileType_name = map[int32]string{
		0: "RuntimeDefault",
		1: "Unconfined",
		2: "Localhost",
	}
	SecurityProfile_ProfileType_value = map[string]int32{
		"RuntimeDefault": 0,
		"Unconfined":     1,
		"Localhost":      2,
	}
)

Enum value maps for SecurityProfile_ProfileType.

View Source
var File_pkg_apis_runtime_v1_api_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AttachRequest

type AttachRequest struct {

	// ID of the container to which to attach.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Whether to stream stdin.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	Stdin bool `protobuf:"varint,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
	// Whether the process being attached is running in a TTY.
	// This must match the TTY setting in the ContainerConfig.
	Tty bool `protobuf:"varint,3,opt,name=tty,proto3" json:"tty,omitempty"`
	// Whether to stream stdout.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	Stdout bool `protobuf:"varint,4,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// Whether to stream stderr.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	// If `tty` is true, `stderr` MUST be false. Multiplexing is not supported
	// in this case. The output of stdout and stderr will be combined to a
	// single stream.
	Stderr bool `protobuf:"varint,5,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachRequest) GetContainerId

func (x *AttachRequest) GetContainerId() string

func (*AttachRequest) GetStderr

func (x *AttachRequest) GetStderr() bool

func (*AttachRequest) GetStdin

func (x *AttachRequest) GetStdin() bool

func (*AttachRequest) GetStdout

func (x *AttachRequest) GetStdout() bool

func (*AttachRequest) GetTty

func (x *AttachRequest) GetTty() bool

func (*AttachRequest) ProtoMessage

func (*AttachRequest) ProtoMessage()

func (*AttachRequest) ProtoReflect

func (x *AttachRequest) ProtoReflect() protoreflect.Message

func (*AttachRequest) Reset

func (x *AttachRequest) Reset()

func (*AttachRequest) SetContainerId

func (x *AttachRequest) SetContainerId(v string)

func (*AttachRequest) SetStderr

func (x *AttachRequest) SetStderr(v bool)

func (*AttachRequest) SetStdin

func (x *AttachRequest) SetStdin(v bool)

func (*AttachRequest) SetStdout

func (x *AttachRequest) SetStdout(v bool)

func (*AttachRequest) SetTty

func (x *AttachRequest) SetTty(v bool)

func (*AttachRequest) String

func (x *AttachRequest) String() string

type AttachRequest_builder

type AttachRequest_builder struct {

	// ID of the container to which to attach.
	ContainerId string
	// Whether to stream stdin.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	Stdin bool
	// Whether the process being attached is running in a TTY.
	// This must match the TTY setting in the ContainerConfig.
	Tty bool
	// Whether to stream stdout.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	Stdout bool
	// Whether to stream stderr.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	// If `tty` is true, `stderr` MUST be false. Multiplexing is not supported
	// in this case. The output of stdout and stderr will be combined to a
	// single stream.
	Stderr bool
	// contains filtered or unexported fields
}

func (AttachRequest_builder) Build

type AttachResponse

type AttachResponse struct {

	// Fully qualified URL of the attach streaming server.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachResponse) GetUrl

func (x *AttachResponse) GetUrl() string

func (*AttachResponse) ProtoMessage

func (*AttachResponse) ProtoMessage()

func (*AttachResponse) ProtoReflect

func (x *AttachResponse) ProtoReflect() protoreflect.Message

func (*AttachResponse) Reset

func (x *AttachResponse) Reset()

func (*AttachResponse) SetUrl

func (x *AttachResponse) SetUrl(v string)

func (*AttachResponse) String

func (x *AttachResponse) String() string

type AttachResponse_builder

type AttachResponse_builder struct {

	// Fully qualified URL of the attach streaming server.
	Url string
	// contains filtered or unexported fields
}

func (AttachResponse_builder) Build

type AuthConfig

type AuthConfig struct {
	Username      string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password      string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Auth          string `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	ServerAddress string `protobuf:"bytes,4,opt,name=server_address,json=serverAddress,proto3" json:"server_address,omitempty"`
	// IdentityToken is used to authenticate the user and get
	// an access token for the registry.
	IdentityToken string `protobuf:"bytes,5,opt,name=identity_token,json=identityToken,proto3" json:"identity_token,omitempty"`
	// RegistryToken is a bearer token to be sent to a registry
	RegistryToken string `protobuf:"bytes,6,opt,name=registry_token,json=registryToken,proto3" json:"registry_token,omitempty"`
	// contains filtered or unexported fields
}

AuthConfig contains authorization information for connecting to a registry.

func (*AuthConfig) GetAuth

func (x *AuthConfig) GetAuth() string

func (*AuthConfig) GetIdentityToken

func (x *AuthConfig) GetIdentityToken() string

func (*AuthConfig) GetPassword

func (x *AuthConfig) GetPassword() string

func (*AuthConfig) GetRegistryToken

func (x *AuthConfig) GetRegistryToken() string

func (*AuthConfig) GetServerAddress

func (x *AuthConfig) GetServerAddress() string

func (*AuthConfig) GetUsername

func (x *AuthConfig) GetUsername() string

func (*AuthConfig) ProtoMessage

func (*AuthConfig) ProtoMessage()

func (*AuthConfig) ProtoReflect

func (x *AuthConfig) ProtoReflect() protoreflect.Message

func (*AuthConfig) Reset

func (x *AuthConfig) Reset()

func (*AuthConfig) SetAuth

func (x *AuthConfig) SetAuth(v string)

func (*AuthConfig) SetIdentityToken

func (x *AuthConfig) SetIdentityToken(v string)

func (*AuthConfig) SetPassword

func (x *AuthConfig) SetPassword(v string)

func (*AuthConfig) SetRegistryToken

func (x *AuthConfig) SetRegistryToken(v string)

func (*AuthConfig) SetServerAddress

func (x *AuthConfig) SetServerAddress(v string)

func (*AuthConfig) SetUsername

func (x *AuthConfig) SetUsername(v string)

func (*AuthConfig) String

func (x *AuthConfig) String() string

type AuthConfig_builder

type AuthConfig_builder struct {
	Username      string
	Password      string
	Auth          string
	ServerAddress string
	// IdentityToken is used to authenticate the user and get
	// an access token for the registry.
	IdentityToken string
	// RegistryToken is a bearer token to be sent to a registry
	RegistryToken string
	// contains filtered or unexported fields
}

func (AuthConfig_builder) Build

func (b0 AuthConfig_builder) Build() *AuthConfig

type CDIDevice

type CDIDevice struct {

	// Fully qualified CDI device name
	// for example: vendor.com/gpu=gpudevice1
	// see more details in the CDI specification:
	// https://github.com/container-orchestrated-devices/container-device-interface/blob/main/SPEC.md
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

CDIDevice specifies a CDI device information.

func (*CDIDevice) GetName

func (x *CDIDevice) GetName() string

func (*CDIDevice) ProtoMessage

func (*CDIDevice) ProtoMessage()

func (*CDIDevice) ProtoReflect

func (x *CDIDevice) ProtoReflect() protoreflect.Message

func (*CDIDevice) Reset

func (x *CDIDevice) Reset()

func (*CDIDevice) SetName

func (x *CDIDevice) SetName(v string)

func (*CDIDevice) String

func (x *CDIDevice) String() string

type CDIDevice_builder

type CDIDevice_builder struct {

	// Fully qualified CDI device name
	// for example: vendor.com/gpu=gpudevice1
	// see more details in the CDI specification:
	// https://github.com/container-orchestrated-devices/container-device-interface/blob/main/SPEC.md
	Name string
	// contains filtered or unexported fields
}

func (CDIDevice_builder) Build

func (b0 CDIDevice_builder) Build() *CDIDevice

type Capability

type Capability struct {

	// List of capabilities to add.
	AddCapabilities []string `protobuf:"bytes,1,rep,name=add_capabilities,json=addCapabilities,proto3" json:"add_capabilities,omitempty"`
	// List of capabilities to drop.
	DropCapabilities []string `protobuf:"bytes,2,rep,name=drop_capabilities,json=dropCapabilities,proto3" json:"drop_capabilities,omitempty"`
	// List of ambient capabilities to add.
	AddAmbientCapabilities []string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Capability contains the container capabilities to add or drop Dropping a capability will drop it from all sets. If a capability is added to only the add_capabilities list then it gets added to permitted, inheritable, effective and bounding sets, i.e. all sets except the ambient set. If a capability is added to only the add_ambient_capabilities list then it gets added to all sets, i.e permitted inheritable, effective, bounding and ambient sets. If a capability is added to add_capabilities and add_ambient_capabilities lists then it gets added to all sets, i.e. permitted, inheritable, effective, bounding and ambient sets.

func (*Capability) GetAddAmbientCapabilities

func (x *Capability) GetAddAmbientCapabilities() []string

func (*Capability) GetAddCapabilities

func (x *Capability) GetAddCapabilities() []string

func (*Capability) GetDropCapabilities

func (x *Capability) GetDropCapabilities() []string

func (*Capability) ProtoMessage

func (*Capability) ProtoMessage()

func (*Capability) ProtoReflect

func (x *Capability) ProtoReflect() protoreflect.Message

func (*Capability) Reset

func (x *Capability) Reset()

func (*Capability) SetAddAmbientCapabilities

func (x *Capability) SetAddAmbientCapabilities(v []string)

func (*Capability) SetAddCapabilities

func (x *Capability) SetAddCapabilities(v []string)

func (*Capability) SetDropCapabilities

func (x *Capability) SetDropCapabilities(v []string)

func (*Capability) String

func (x *Capability) String() string

type Capability_builder

type Capability_builder struct {

	// List of capabilities to add.
	AddCapabilities []string
	// List of capabilities to drop.
	DropCapabilities []string
	// List of ambient capabilities to add.
	AddAmbientCapabilities []string
	// contains filtered or unexported fields
}

func (Capability_builder) Build

func (b0 Capability_builder) Build() *Capability

type CgroupDriver

type CgroupDriver int32
const (
	CgroupDriver_SYSTEMD  CgroupDriver = 0
	CgroupDriver_CGROUPFS CgroupDriver = 1
)

func (CgroupDriver) Descriptor

func (CgroupDriver) Enum

func (x CgroupDriver) Enum() *CgroupDriver

func (CgroupDriver) Number

func (CgroupDriver) String

func (x CgroupDriver) String() string

func (CgroupDriver) Type

type CheckpointContainerRequest

type CheckpointContainerRequest struct {

	// ID of the container to be checkpointed.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Location of the checkpoint archive used for export
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Timeout in seconds for the checkpoint to complete.
	// Timeout of zero means to use the CRI default.
	// Timeout > 0 means to use the user specified timeout.
	Timeout int64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointContainerRequest) GetContainerId

func (x *CheckpointContainerRequest) GetContainerId() string

func (*CheckpointContainerRequest) GetLocation

func (x *CheckpointContainerRequest) GetLocation() string

func (*CheckpointContainerRequest) GetTimeout

func (x *CheckpointContainerRequest) GetTimeout() int64

func (*CheckpointContainerRequest) ProtoMessage

func (*CheckpointContainerRequest) ProtoMessage()

func (*CheckpointContainerRequest) ProtoReflect

func (*CheckpointContainerRequest) Reset

func (x *CheckpointContainerRequest) Reset()

func (*CheckpointContainerRequest) SetContainerId

func (x *CheckpointContainerRequest) SetContainerId(v string)

func (*CheckpointContainerRequest) SetLocation

func (x *CheckpointContainerRequest) SetLocation(v string)

func (*CheckpointContainerRequest) SetTimeout

func (x *CheckpointContainerRequest) SetTimeout(v int64)

func (*CheckpointContainerRequest) String

func (x *CheckpointContainerRequest) String() string

type CheckpointContainerRequest_builder

type CheckpointContainerRequest_builder struct {

	// ID of the container to be checkpointed.
	ContainerId string
	// Location of the checkpoint archive used for export
	Location string
	// Timeout in seconds for the checkpoint to complete.
	// Timeout of zero means to use the CRI default.
	// Timeout > 0 means to use the user specified timeout.
	Timeout int64
	// contains filtered or unexported fields
}

func (CheckpointContainerRequest_builder) Build

type CheckpointContainerResponse

type CheckpointContainerResponse struct {
	// contains filtered or unexported fields
}

func (*CheckpointContainerResponse) ProtoMessage

func (*CheckpointContainerResponse) ProtoMessage()

func (*CheckpointContainerResponse) ProtoReflect

func (*CheckpointContainerResponse) Reset

func (x *CheckpointContainerResponse) Reset()

func (*CheckpointContainerResponse) String

func (x *CheckpointContainerResponse) String() string

type CheckpointContainerResponse_builder

type CheckpointContainerResponse_builder struct {
	// contains filtered or unexported fields
}

func (CheckpointContainerResponse_builder) Build

type Container

type Container struct {

	// ID of the container, used by the container runtime to identify
	// a container.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the sandbox to which this container belongs.
	PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// Metadata of the container.
	Metadata *ContainerMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Spec of the image.
	Image *ImageSpec `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	// Reference to the image in use. For most runtimes, this should be an
	// image ID.
	ImageRef string `protobuf:"bytes,5,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"`
	// State of the container.
	State ContainerState `protobuf:"varint,6,opt,name=state,proto3,enum=runtime.v1.ContainerState" json:"state,omitempty"`
	// Creation time of the container in nanoseconds.
	CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding ContainerConfig used to
	// instantiate this Container.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Container provides the runtime information for a container, such as ID, hash, state of the container.

func (*Container) ClearImage

func (x *Container) ClearImage()

func (*Container) ClearMetadata

func (x *Container) ClearMetadata()

func (*Container) GetAnnotations

func (x *Container) GetAnnotations() map[string]string

func (*Container) GetCreatedAt

func (x *Container) GetCreatedAt() int64

func (*Container) GetId

func (x *Container) GetId() string

func (*Container) GetImage

func (x *Container) GetImage() *ImageSpec

func (*Container) GetImageRef

func (x *Container) GetImageRef() string

func (*Container) GetLabels

func (x *Container) GetLabels() map[string]string

func (*Container) GetMetadata

func (x *Container) GetMetadata() *ContainerMetadata

func (*Container) GetPodSandboxId

func (x *Container) GetPodSandboxId() string

func (*Container) GetState

func (x *Container) GetState() ContainerState

func (*Container) HasImage

func (x *Container) HasImage() bool

func (*Container) HasMetadata

func (x *Container) HasMetadata() bool

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

func (x *Container) ProtoReflect() protoreflect.Message

func (*Container) Reset

func (x *Container) Reset()

func (*Container) SetAnnotations

func (x *Container) SetAnnotations(v map[string]string)

func (*Container) SetCreatedAt

func (x *Container) SetCreatedAt(v int64)

func (*Container) SetId

func (x *Container) SetId(v string)

func (*Container) SetImage

func (x *Container) SetImage(v *ImageSpec)

func (*Container) SetImageRef

func (x *Container) SetImageRef(v string)

func (*Container) SetLabels

func (x *Container) SetLabels(v map[string]string)

func (*Container) SetMetadata

func (x *Container) SetMetadata(v *ContainerMetadata)

func (*Container) SetPodSandboxId

func (x *Container) SetPodSandboxId(v string)

func (*Container) SetState

func (x *Container) SetState(v ContainerState)

func (*Container) String

func (x *Container) String() string

type ContainerAttributes

type ContainerAttributes struct {

	// ID of the container.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata of the container.
	Metadata *ContainerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding ContainerConfig used to
	// instantiate the Container this status represents.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

ContainerAttributes provides basic information of the container.

func (*ContainerAttributes) ClearMetadata

func (x *ContainerAttributes) ClearMetadata()

func (*ContainerAttributes) GetAnnotations

func (x *ContainerAttributes) GetAnnotations() map[string]string

func (*ContainerAttributes) GetId

func (x *ContainerAttributes) GetId() string

func (*ContainerAttributes) GetLabels

func (x *ContainerAttributes) GetLabels() map[string]string

func (*ContainerAttributes) GetMetadata

func (x *ContainerAttributes) GetMetadata() *ContainerMetadata

func (*ContainerAttributes) HasMetadata

func (x *ContainerAttributes) HasMetadata() bool

func (*ContainerAttributes) ProtoMessage

func (*ContainerAttributes) ProtoMessage()

func (*ContainerAttributes) ProtoReflect

func (x *ContainerAttributes) ProtoReflect() protoreflect.Message

func (*ContainerAttributes) Reset

func (x *ContainerAttributes) Reset()

func (*ContainerAttributes) SetAnnotations

func (x *ContainerAttributes) SetAnnotations(v map[string]string)

func (*ContainerAttributes) SetId

func (x *ContainerAttributes) SetId(v string)

func (*ContainerAttributes) SetLabels

func (x *ContainerAttributes) SetLabels(v map[string]string)

func (*ContainerAttributes) SetMetadata

func (x *ContainerAttributes) SetMetadata(v *ContainerMetadata)

func (*ContainerAttributes) String

func (x *ContainerAttributes) String() string

type ContainerAttributes_builder

type ContainerAttributes_builder struct {

	// ID of the container.
	Id string
	// Metadata of the container.
	Metadata *ContainerMetadata
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding ContainerConfig used to
	// instantiate the Container this status represents.
	Annotations map[string]string
	// contains filtered or unexported fields
}

func (ContainerAttributes_builder) Build

type ContainerConfig

type ContainerConfig struct {

	// Metadata of the container. This information will uniquely identify the
	// container, and the runtime should leverage this to ensure correct
	// operation. The runtime may also use this information to improve UX, such
	// as by constructing a readable name.
	Metadata *ContainerMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Image to use.
	Image *ImageSpec `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// Command to execute (i.e., entrypoint for docker)
	Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`
	// Args for the Command (i.e., command for docker)
	Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	// Current working directory of the command.
	WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	// List of environment variable to set in the container.
	Envs []*KeyValue `protobuf:"bytes,6,rep,name=envs,proto3" json:"envs,omitempty"`
	// Mounts for the container.
	Mounts []*Mount `protobuf:"bytes,7,rep,name=mounts,proto3" json:"mounts,omitempty"`
	// Devices for the container.
	Devices []*Device `protobuf:"bytes,8,rep,name=devices,proto3" json:"devices,omitempty"`
	// Key-value pairs that may be used to scope and select individual resources.
	// Label keys are of the form:
	//
	//	label-key ::= prefixed-name | name
	//	prefixed-name ::= prefix '/' name
	//	prefix ::= DNS_SUBDOMAIN
	//	name ::= DNS_LABEL
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Unstructured key-value map that may be used by the kubelet to store and
	// retrieve arbitrary metadata.
	//
	// Annotations MUST NOT be altered by the runtime; the annotations stored
	// here MUST be returned in the ContainerStatus associated with the container
	// this ContainerConfig creates.
	//
	// In general, in order to preserve a well-defined interface between the
	// kubelet and the container runtime, annotations SHOULD NOT influence
	// runtime behaviour.
	Annotations map[string]string `` /* 150-byte string literal not displayed */
	// Path relative to PodSandboxConfig.LogDirectory for container to store
	// the log (STDOUT and STDERR) on the host.
	// E.g.,
	//
	//	PodSandboxConfig.LogDirectory = `/var/log/pods/<NAMESPACE>_<NAME>_<UID>/`
	//	ContainerConfig.LogPath = `containerName/Instance#.log`
	LogPath string `protobuf:"bytes,11,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"`
	// Variables for interactive containers, these have very specialized
	// use-cases (e.g. debugging).
	Stdin     bool `protobuf:"varint,12,opt,name=stdin,proto3" json:"stdin,omitempty"`
	StdinOnce bool `protobuf:"varint,13,opt,name=stdin_once,json=stdinOnce,proto3" json:"stdin_once,omitempty"`
	Tty       bool `protobuf:"varint,14,opt,name=tty,proto3" json:"tty,omitempty"`
	// Configuration specific to Linux containers.
	Linux *LinuxContainerConfig `protobuf:"bytes,15,opt,name=linux,proto3" json:"linux,omitempty"`
	// Configuration specific to Windows containers.
	Windows *WindowsContainerConfig `protobuf:"bytes,16,opt,name=windows,proto3" json:"windows,omitempty"`
	// CDI devices for the container.
	CDIDevices []*CDIDevice `protobuf:"bytes,17,rep,name=CDI_devices,json=CDIDevices,proto3" json:"CDI_devices,omitempty"`
	// contains filtered or unexported fields
}

ContainerConfig holds all the required and optional fields for creating a container.

func (*ContainerConfig) ClearImage

func (x *ContainerConfig) ClearImage()

func (*ContainerConfig) ClearLinux

func (x *ContainerConfig) ClearLinux()

func (*ContainerConfig) ClearMetadata

func (x *ContainerConfig) ClearMetadata()

func (*ContainerConfig) ClearWindows

func (x *ContainerConfig) ClearWindows()

func (*ContainerConfig) GetAnnotations

func (x *ContainerConfig) GetAnnotations() map[string]string

func (*ContainerConfig) GetArgs

func (x *ContainerConfig) GetArgs() []string

func (*ContainerConfig) GetCDIDevices

func (x *ContainerConfig) GetCDIDevices() []*CDIDevice

func (*ContainerConfig) GetCommand

func (x *ContainerConfig) GetCommand() []string

func (*ContainerConfig) GetDevices

func (x *ContainerConfig) GetDevices() []*Device

func (*ContainerConfig) GetEnvs

func (x *ContainerConfig) GetEnvs() []*KeyValue

func (*ContainerConfig) GetImage

func (x *ContainerConfig) GetImage() *ImageSpec

func (*ContainerConfig) GetLabels

func (x *ContainerConfig) GetLabels() map[string]string

func (*ContainerConfig) GetLinux

func (x *ContainerConfig) GetLinux() *LinuxContainerConfig

func (*ContainerConfig) GetLogPath

func (x *ContainerConfig) GetLogPath() string

func (*ContainerConfig) GetMetadata

func (x *ContainerConfig) GetMetadata() *ContainerMetadata

func (*ContainerConfig) GetMounts

func (x *ContainerConfig) GetMounts() []*Mount

func (*ContainerConfig) GetStdin

func (x *ContainerConfig) GetStdin() bool

func (*ContainerConfig) GetStdinOnce

func (x *ContainerConfig) GetStdinOnce() bool

func (*ContainerConfig) GetTty

func (x *ContainerConfig) GetTty() bool

func (*ContainerConfig) GetWindows

func (x *ContainerConfig) GetWindows() *WindowsContainerConfig

func (*ContainerConfig) GetWorkingDir

func (x *ContainerConfig) GetWorkingDir() string

func (*ContainerConfig) HasImage

func (x *ContainerConfig) HasImage() bool

func (*ContainerConfig) HasLinux

func (x *ContainerConfig) HasLinux() bool

func (*ContainerConfig) HasMetadata

func (x *ContainerConfig) HasMetadata() bool

func (*ContainerConfig) HasWindows

func (x *ContainerConfig) HasWindows() bool

func (*ContainerConfig) ProtoMessage

func (*ContainerConfig) ProtoMessage()

func (*ContainerConfig) ProtoReflect

func (x *ContainerConfig) ProtoReflect() protoreflect.Message

func (*ContainerConfig) Reset

func (x *ContainerConfig) Reset()

func (*ContainerConfig) SetAnnotations

func (x *ContainerConfig) SetAnnotations(v map[string]string)

func (*ContainerConfig) SetArgs

func (x *ContainerConfig) SetArgs(v []string)

func (*ContainerConfig) SetCDIDevices

func (x *ContainerConfig) SetCDIDevices(v []*CDIDevice)

func (*ContainerConfig) SetCommand

func (x *ContainerConfig) SetCommand(v []string)

func (*ContainerConfig) SetDevices

func (x *ContainerConfig) SetDevices(v []*Device)

func (*ContainerConfig) SetEnvs

func (x *ContainerConfig) SetEnvs(v []*KeyValue)

func (*ContainerConfig) SetImage

func (x *ContainerConfig) SetImage(v *ImageSpec)

func (*ContainerConfig) SetLabels

func (x *ContainerConfig) SetLabels(v map[string]string)

func (*ContainerConfig) SetLinux

func (x *ContainerConfig) SetLinux(v *LinuxContainerConfig)

func (*ContainerConfig) SetLogPath

func (x *ContainerConfig) SetLogPath(v string)

func (*ContainerConfig) SetMetadata

func (x *ContainerConfig) SetMetadata(v *ContainerMetadata)

func (*ContainerConfig) SetMounts

func (x *ContainerConfig) SetMounts(v []*Mount)

func (*ContainerConfig) SetStdin

func (x *ContainerConfig) SetStdin(v bool)

func (*ContainerConfig) SetStdinOnce

func (x *ContainerConfig) SetStdinOnce(v bool)

func (*ContainerConfig) SetTty

func (x *ContainerConfig) SetTty(v bool)

func (*ContainerConfig) SetWindows

func (x *ContainerConfig) SetWindows(v *WindowsContainerConfig)

func (*ContainerConfig) SetWorkingDir

func (x *ContainerConfig) SetWorkingDir(v string)

func (*ContainerConfig) String

func (x *ContainerConfig) String() string

type ContainerConfig_builder

type ContainerConfig_builder struct {

	// Metadata of the container. This information will uniquely identify the
	// container, and the runtime should leverage this to ensure correct
	// operation. The runtime may also use this information to improve UX, such
	// as by constructing a readable name.
	Metadata *ContainerMetadata
	// Image to use.
	Image *ImageSpec
	// Command to execute (i.e., entrypoint for docker)
	Command []string
	// Args for the Command (i.e., command for docker)
	Args []string
	// Current working directory of the command.
	WorkingDir string
	// List of environment variable to set in the container.
	Envs []*KeyValue
	// Mounts for the container.
	Mounts []*Mount
	// Devices for the container.
	Devices []*Device
	// Key-value pairs that may be used to scope and select individual resources.
	// Label keys are of the form:
	//
	//	label-key ::= prefixed-name | name
	//	prefixed-name ::= prefix '/' name
	//	prefix ::= DNS_SUBDOMAIN
	//	name ::= DNS_LABEL
	Labels map[string]string
	// Unstructured key-value map that may be used by the kubelet to store and
	// retrieve arbitrary metadata.
	//
	// Annotations MUST NOT be altered by the runtime; the annotations stored
	// here MUST be returned in the ContainerStatus associated with the container
	// this ContainerConfig creates.
	//
	// In general, in order to preserve a well-defined interface between the
	// kubelet and the container runtime, annotations SHOULD NOT influence
	// runtime behaviour.
	Annotations map[string]string
	// Path relative to PodSandboxConfig.LogDirectory for container to store
	// the log (STDOUT and STDERR) on the host.
	// E.g.,
	//
	//	PodSandboxConfig.LogDirectory = `/var/log/pods/<NAMESPACE>_<NAME>_<UID>/`
	//	ContainerConfig.LogPath = `containerName/Instance#.log`
	LogPath string
	// Variables for interactive containers, these have very specialized
	// use-cases (e.g. debugging).
	Stdin     bool
	StdinOnce bool
	Tty       bool
	// Configuration specific to Linux containers.
	Linux *LinuxContainerConfig
	// Configuration specific to Windows containers.
	Windows *WindowsContainerConfig
	// CDI devices for the container.
	CDIDevices []*CDIDevice
	// contains filtered or unexported fields
}

func (ContainerConfig_builder) Build

type ContainerEventResponse

type ContainerEventResponse struct {

	// ID of the container
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Type of the container event
	ContainerEventType ContainerEventType `` /* 153-byte string literal not displayed */
	// Creation timestamp of this event
	CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Sandbox status
	PodSandboxStatus *PodSandboxStatus `protobuf:"bytes,4,opt,name=pod_sandbox_status,json=podSandboxStatus,proto3" json:"pod_sandbox_status,omitempty"`
	// Container statuses
	ContainersStatuses []*ContainerStatus `protobuf:"bytes,5,rep,name=containers_statuses,json=containersStatuses,proto3" json:"containers_statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerEventResponse) ClearPodSandboxStatus

func (x *ContainerEventResponse) ClearPodSandboxStatus()

func (*ContainerEventResponse) GetContainerEventType

func (x *ContainerEventResponse) GetContainerEventType() ContainerEventType

func (*ContainerEventResponse) GetContainerId

func (x *ContainerEventResponse) GetContainerId() string

func (*ContainerEventResponse) GetContainersStatuses

func (x *ContainerEventResponse) GetContainersStatuses() []*ContainerStatus

func (*ContainerEventResponse) GetCreatedAt

func (x *ContainerEventResponse) GetCreatedAt() int64

func (*ContainerEventResponse) GetPodSandboxStatus

func (x *ContainerEventResponse) GetPodSandboxStatus() *PodSandboxStatus

func (*ContainerEventResponse) HasPodSandboxStatus

func (x *ContainerEventResponse) HasPodSandboxStatus() bool

func (*ContainerEventResponse) ProtoMessage

func (*ContainerEventResponse) ProtoMessage()

func (*ContainerEventResponse) ProtoReflect

func (x *ContainerEventResponse) ProtoReflect() protoreflect.Message

func (*ContainerEventResponse) Reset

func (x *ContainerEventResponse) Reset()

func (*ContainerEventResponse) SetContainerEventType

func (x *ContainerEventResponse) SetContainerEventType(v ContainerEventType)

func (*ContainerEventResponse) SetContainerId

func (x *ContainerEventResponse) SetContainerId(v string)

func (*ContainerEventResponse) SetContainersStatuses

func (x *ContainerEventResponse) SetContainersStatuses(v []*ContainerStatus)

func (*ContainerEventResponse) SetCreatedAt

func (x *ContainerEventResponse) SetCreatedAt(v int64)

func (*ContainerEventResponse) SetPodSandboxStatus

func (x *ContainerEventResponse) SetPodSandboxStatus(v *PodSandboxStatus)

func (*ContainerEventResponse) String

func (x *ContainerEventResponse) String() string

type ContainerEventResponse_builder

type ContainerEventResponse_builder struct {

	// ID of the container
	ContainerId string
	// Type of the container event
	ContainerEventType ContainerEventType
	// Creation timestamp of this event
	CreatedAt int64
	// Sandbox status
	PodSandboxStatus *PodSandboxStatus
	// Container statuses
	ContainersStatuses []*ContainerStatus
	// contains filtered or unexported fields
}

func (ContainerEventResponse_builder) Build

type ContainerEventType

type ContainerEventType int32
const (
	// Container created
	ContainerEventType_CONTAINER_CREATED_EVENT ContainerEventType = 0
	// Container started
	ContainerEventType_CONTAINER_STARTED_EVENT ContainerEventType = 1
	// Container stopped
	ContainerEventType_CONTAINER_STOPPED_EVENT ContainerEventType = 2
	// Container deleted
	ContainerEventType_CONTAINER_DELETED_EVENT ContainerEventType = 3
)

func (ContainerEventType) Descriptor

func (ContainerEventType) Enum

func (ContainerEventType) Number

func (ContainerEventType) String

func (x ContainerEventType) String() string

func (ContainerEventType) Type

type ContainerFilter

type ContainerFilter struct {

	// ID of the container.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// State of the container.
	State *ContainerStateValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// ID of the PodSandbox.
	PodSandboxId string `protobuf:"bytes,3,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// LabelSelector to select matches.
	// Only api.MatchLabels is supported for now and the requirements
	// are ANDed. MatchExpressions is not supported yet.
	LabelSelector map[string]string `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

ContainerFilter is used to filter containers. All those fields are combined with 'AND'

func (*ContainerFilter) ClearState

func (x *ContainerFilter) ClearState()

func (*ContainerFilter) GetId

func (x *ContainerFilter) GetId() string

func (*ContainerFilter) GetLabelSelector

func (x *ContainerFilter) GetLabelSelector() map[string]string

func (*ContainerFilter) GetPodSandboxId

func (x *ContainerFilter) GetPodSandboxId() string

func (*ContainerFilter) GetState

func (x *ContainerFilter) GetState() *ContainerStateValue

func (*ContainerFilter) HasState

func (x *ContainerFilter) HasState() bool

func (*ContainerFilter) ProtoMessage

func (*ContainerFilter) ProtoMessage()

func (*ContainerFilter) ProtoReflect

func (x *ContainerFilter) ProtoReflect() protoreflect.Message

func (*ContainerFilter) Reset

func (x *ContainerFilter) Reset()

func (*ContainerFilter) SetId

func (x *ContainerFilter) SetId(v string)

func (*ContainerFilter) SetLabelSelector

func (x *ContainerFilter) SetLabelSelector(v map[string]string)

func (*ContainerFilter) SetPodSandboxId

func (x *ContainerFilter) SetPodSandboxId(v string)

func (*ContainerFilter) SetState

func (x *ContainerFilter) SetState(v *ContainerStateValue)

func (*ContainerFilter) String

func (x *ContainerFilter) String() string

type ContainerFilter_builder

type ContainerFilter_builder struct {

	// ID of the container.
	Id string
	// State of the container.
	State *ContainerStateValue
	// ID of the PodSandbox.
	PodSandboxId string
	// LabelSelector to select matches.
	// Only api.MatchLabels is supported for now and the requirements
	// are ANDed. MatchExpressions is not supported yet.
	LabelSelector map[string]string
	// contains filtered or unexported fields
}

func (ContainerFilter_builder) Build

type ContainerMetadata

type ContainerMetadata struct {

	// Name of the container. Same as the container name in the PodSpec.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Attempt number of creating the container. Default: 0.
	Attempt uint32 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"`
	// contains filtered or unexported fields
}

ContainerMetadata holds all necessary information for building the container name. The container runtime is encouraged to expose the metadata in its user interface for better user experience. E.g., runtime can construct a unique container name based on the metadata. Note that (name, attempt) is unique within a sandbox for the entire lifetime of the sandbox.

func (*ContainerMetadata) GetAttempt

func (x *ContainerMetadata) GetAttempt() uint32

func (*ContainerMetadata) GetName

func (x *ContainerMetadata) GetName() string

func (*ContainerMetadata) ProtoMessage

func (*ContainerMetadata) ProtoMessage()

func (*ContainerMetadata) ProtoReflect

func (x *ContainerMetadata) ProtoReflect() protoreflect.Message

func (*ContainerMetadata) Reset

func (x *ContainerMetadata) Reset()

func (*ContainerMetadata) SetAttempt

func (x *ContainerMetadata) SetAttempt(v uint32)

func (*ContainerMetadata) SetName

func (x *ContainerMetadata) SetName(v string)

func (*ContainerMetadata) String

func (x *ContainerMetadata) String() string

type ContainerMetadata_builder

type ContainerMetadata_builder struct {

	// Name of the container. Same as the container name in the PodSpec.
	Name string
	// Attempt number of creating the container. Default: 0.
	Attempt uint32
	// contains filtered or unexported fields
}

func (ContainerMetadata_builder) Build

type ContainerMetrics

type ContainerMetrics struct {
	ContainerId string    `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	Metrics     []*Metric `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerMetrics) GetContainerId

func (x *ContainerMetrics) GetContainerId() string

func (*ContainerMetrics) GetMetrics

func (x *ContainerMetrics) GetMetrics() []*Metric

func (*ContainerMetrics) ProtoMessage

func (*ContainerMetrics) ProtoMessage()

func (*ContainerMetrics) ProtoReflect

func (x *ContainerMetrics) ProtoReflect() protoreflect.Message

func (*ContainerMetrics) Reset

func (x *ContainerMetrics) Reset()

func (*ContainerMetrics) SetContainerId

func (x *ContainerMetrics) SetContainerId(v string)

func (*ContainerMetrics) SetMetrics

func (x *ContainerMetrics) SetMetrics(v []*Metric)

func (*ContainerMetrics) String

func (x *ContainerMetrics) String() string

type ContainerMetrics_builder

type ContainerMetrics_builder struct {
	ContainerId string
	Metrics     []*Metric
	// contains filtered or unexported fields
}

func (ContainerMetrics_builder) Build

type ContainerResources

type ContainerResources struct {

	// Resource limits configuration specific to Linux container.
	Linux *LinuxContainerResources `protobuf:"bytes,1,opt,name=linux,proto3" json:"linux,omitempty"`
	// Resource limits configuration specific to Windows container.
	Windows *WindowsContainerResources `protobuf:"bytes,2,opt,name=windows,proto3" json:"windows,omitempty"`
	// contains filtered or unexported fields
}

ContainerResources holds resource limits configuration for a container.

func (*ContainerResources) ClearLinux

func (x *ContainerResources) ClearLinux()

func (*ContainerResources) ClearWindows

func (x *ContainerResources) ClearWindows()

func (*ContainerResources) GetLinux

func (*ContainerResources) GetWindows

func (*ContainerResources) HasLinux

func (x *ContainerResources) HasLinux() bool

func (*ContainerResources) HasWindows

func (x *ContainerResources) HasWindows() bool

func (*ContainerResources) ProtoMessage

func (*ContainerResources) ProtoMessage()

func (*ContainerResources) ProtoReflect

func (x *ContainerResources) ProtoReflect() protoreflect.Message

func (*ContainerResources) Reset

func (x *ContainerResources) Reset()

func (*ContainerResources) SetLinux

func (*ContainerResources) SetWindows

func (*ContainerResources) String

func (x *ContainerResources) String() string

type ContainerResources_builder

type ContainerResources_builder struct {

	// Resource limits configuration specific to Linux container.
	Linux *LinuxContainerResources
	// Resource limits configuration specific to Windows container.
	Windows *WindowsContainerResources
	// contains filtered or unexported fields
}

func (ContainerResources_builder) Build

type ContainerState

type ContainerState int32
const (
	ContainerState_CONTAINER_CREATED ContainerState = 0
	ContainerState_CONTAINER_RUNNING ContainerState = 1
	ContainerState_CONTAINER_EXITED  ContainerState = 2
	ContainerState_CONTAINER_UNKNOWN ContainerState = 3
)

func (ContainerState) Descriptor

func (ContainerState) Enum

func (x ContainerState) Enum() *ContainerState

func (ContainerState) Number

func (ContainerState) String

func (x ContainerState) String() string

func (ContainerState) Type

type ContainerStateValue

type ContainerStateValue struct {

	// State of the container.
	State ContainerState `protobuf:"varint,1,opt,name=state,proto3,enum=runtime.v1.ContainerState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

ContainerStateValue is the wrapper of ContainerState.

func (*ContainerStateValue) GetState

func (x *ContainerStateValue) GetState() ContainerState

func (*ContainerStateValue) ProtoMessage

func (*ContainerStateValue) ProtoMessage()

func (*ContainerStateValue) ProtoReflect

func (x *ContainerStateValue) ProtoReflect() protoreflect.Message

func (*ContainerStateValue) Reset

func (x *ContainerStateValue) Reset()

func (*ContainerStateValue) SetState

func (x *ContainerStateValue) SetState(v ContainerState)

func (*ContainerStateValue) String

func (x *ContainerStateValue) String() string

type ContainerStateValue_builder

type ContainerStateValue_builder struct {

	// State of the container.
	State ContainerState
	// contains filtered or unexported fields
}

func (ContainerStateValue_builder) Build

type ContainerStats

type ContainerStats struct {

	// Information of the container.
	Attributes *ContainerAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// CPU usage gathered from the container.
	Cpu *CpuUsage `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// Memory usage gathered from the container.
	Memory *MemoryUsage `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"`
	// Usage of the writable layer.
	WritableLayer *FilesystemUsage `protobuf:"bytes,4,opt,name=writable_layer,json=writableLayer,proto3" json:"writable_layer,omitempty"`
	// Swap usage gathered from the container.
	Swap *SwapUsage `protobuf:"bytes,5,opt,name=swap,proto3" json:"swap,omitempty"`
	// contains filtered or unexported fields
}

ContainerStats provides the resource usage statistics for a container.

func (*ContainerStats) ClearAttributes

func (x *ContainerStats) ClearAttributes()

func (*ContainerStats) ClearCpu

func (x *ContainerStats) ClearCpu()

func (*ContainerStats) ClearMemory

func (x *ContainerStats) ClearMemory()

func (*ContainerStats) ClearSwap

func (x *ContainerStats) ClearSwap()

func (*ContainerStats) ClearWritableLayer

func (x *ContainerStats) ClearWritableLayer()

func (*ContainerStats) GetAttributes

func (x *ContainerStats) GetAttributes() *ContainerAttributes

func (*ContainerStats) GetCpu

func (x *ContainerStats) GetCpu() *CpuUsage

func (*ContainerStats) GetMemory

func (x *ContainerStats) GetMemory() *MemoryUsage

func (*ContainerStats) GetSwap

func (x *ContainerStats) GetSwap() *SwapUsage

func (*ContainerStats) GetWritableLayer

func (x *ContainerStats) GetWritableLayer() *FilesystemUsage

func (*ContainerStats) HasAttributes

func (x *ContainerStats) HasAttributes() bool

func (*ContainerStats) HasCpu

func (x *ContainerStats) HasCpu() bool

func (*ContainerStats) HasMemory

func (x *ContainerStats) HasMemory() bool

func (*ContainerStats) HasSwap

func (x *ContainerStats) HasSwap() bool

func (*ContainerStats) HasWritableLayer

func (x *ContainerStats) HasWritableLayer() bool

func (*ContainerStats) ProtoMessage

func (*ContainerStats) ProtoMessage()

func (*ContainerStats) ProtoReflect

func (x *ContainerStats) ProtoReflect() protoreflect.Message

func (*ContainerStats) Reset

func (x *ContainerStats) Reset()

func (*ContainerStats) SetAttributes

func (x *ContainerStats) SetAttributes(v *ContainerAttributes)

func (*ContainerStats) SetCpu

func (x *ContainerStats) SetCpu(v *CpuUsage)

func (*ContainerStats) SetMemory

func (x *ContainerStats) SetMemory(v *MemoryUsage)

func (*ContainerStats) SetSwap

func (x *ContainerStats) SetSwap(v *SwapUsage)

func (*ContainerStats) SetWritableLayer

func (x *ContainerStats) SetWritableLayer(v *FilesystemUsage)

func (*ContainerStats) String

func (x *ContainerStats) String() string

type ContainerStatsFilter

type ContainerStatsFilter struct {

	// ID of the container.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the PodSandbox.
	PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// LabelSelector to select matches.
	// Only api.MatchLabels is supported for now and the requirements
	// are ANDed. MatchExpressions is not supported yet.
	LabelSelector map[string]string `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

ContainerStatsFilter is used to filter containers. All those fields are combined with 'AND'

func (*ContainerStatsFilter) GetId

func (x *ContainerStatsFilter) GetId() string

func (*ContainerStatsFilter) GetLabelSelector

func (x *ContainerStatsFilter) GetLabelSelector() map[string]string

func (*ContainerStatsFilter) GetPodSandboxId

func (x *ContainerStatsFilter) GetPodSandboxId() string

func (*ContainerStatsFilter) ProtoMessage

func (*ContainerStatsFilter) ProtoMessage()

func (*ContainerStatsFilter) ProtoReflect

func (x *ContainerStatsFilter) ProtoReflect() protoreflect.Message

func (*ContainerStatsFilter) Reset

func (x *ContainerStatsFilter) Reset()

func (*ContainerStatsFilter) SetId

func (x *ContainerStatsFilter) SetId(v string)

func (*ContainerStatsFilter) SetLabelSelector

func (x *ContainerStatsFilter) SetLabelSelector(v map[string]string)

func (*ContainerStatsFilter) SetPodSandboxId

func (x *ContainerStatsFilter) SetPodSandboxId(v string)

func (*ContainerStatsFilter) String

func (x *ContainerStatsFilter) String() string

type ContainerStatsFilter_builder

type ContainerStatsFilter_builder struct {

	// ID of the container.
	Id string
	// ID of the PodSandbox.
	PodSandboxId string
	// LabelSelector to select matches.
	// Only api.MatchLabels is supported for now and the requirements
	// are ANDed. MatchExpressions is not supported yet.
	LabelSelector map[string]string
	// contains filtered or unexported fields
}

func (ContainerStatsFilter_builder) Build

type ContainerStatsRequest

type ContainerStatsRequest struct {

	// ID of the container for which to retrieve stats.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerStatsRequest) GetContainerId

func (x *ContainerStatsRequest) GetContainerId() string

func (*ContainerStatsRequest) ProtoMessage

func (*ContainerStatsRequest) ProtoMessage()

func (*ContainerStatsRequest) ProtoReflect

func (x *ContainerStatsRequest) ProtoReflect() protoreflect.Message

func (*ContainerStatsRequest) Reset

func (x *ContainerStatsRequest) Reset()

func (*ContainerStatsRequest) SetContainerId

func (x *ContainerStatsRequest) SetContainerId(v string)

func (*ContainerStatsRequest) String

func (x *ContainerStatsRequest) String() string

type ContainerStatsRequest_builder

type ContainerStatsRequest_builder struct {

	// ID of the container for which to retrieve stats.
	ContainerId string
	// contains filtered or unexported fields
}

func (ContainerStatsRequest_builder) Build

type ContainerStatsResponse

type ContainerStatsResponse struct {

	// Stats of the container.
	Stats *ContainerStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerStatsResponse) ClearStats

func (x *ContainerStatsResponse) ClearStats()

func (*ContainerStatsResponse) GetStats

func (x *ContainerStatsResponse) GetStats() *ContainerStats

func (*ContainerStatsResponse) HasStats

func (x *ContainerStatsResponse) HasStats() bool

func (*ContainerStatsResponse) ProtoMessage

func (*ContainerStatsResponse) ProtoMessage()

func (*ContainerStatsResponse) ProtoReflect

func (x *ContainerStatsResponse) ProtoReflect() protoreflect.Message

func (*ContainerStatsResponse) Reset

func (x *ContainerStatsResponse) Reset()

func (*ContainerStatsResponse) SetStats

func (x *ContainerStatsResponse) SetStats(v *ContainerStats)

func (*ContainerStatsResponse) String

func (x *ContainerStatsResponse) String() string

type ContainerStatsResponse_builder

type ContainerStatsResponse_builder struct {

	// Stats of the container.
	Stats *ContainerStats
	// contains filtered or unexported fields
}

func (ContainerStatsResponse_builder) Build

type ContainerStats_builder

type ContainerStats_builder struct {

	// Information of the container.
	Attributes *ContainerAttributes
	// CPU usage gathered from the container.
	Cpu *CpuUsage
	// Memory usage gathered from the container.
	Memory *MemoryUsage
	// Usage of the writable layer.
	WritableLayer *FilesystemUsage
	// Swap usage gathered from the container.
	Swap *SwapUsage
	// contains filtered or unexported fields
}

func (ContainerStats_builder) Build

type ContainerStatus

type ContainerStatus struct {

	// ID of the container.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata of the container.
	Metadata *ContainerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Status of the container.
	State ContainerState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1.ContainerState" json:"state,omitempty"`
	// Creation time of the container in nanoseconds.
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Start time of the container in nanoseconds. Default: 0 (not specified).
	StartedAt int64 `protobuf:"varint,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Finish time of the container in nanoseconds. Default: 0 (not specified).
	FinishedAt int64 `protobuf:"varint,6,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	// Exit code of the container. Only required when finished_at != 0. Default: 0.
	ExitCode int32 `protobuf:"varint,7,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// Spec of the image.
	Image *ImageSpec `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"`
	// Reference to the image in use. For most runtimes, this should be an
	// image ID
	ImageRef string `protobuf:"bytes,9,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"`
	// Brief CamelCase string explaining why container is in its current state.
	// Must be set to "OOMKilled" for containers terminated by cgroup-based Out-of-Memory killer.
	Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"`
	// Human-readable message indicating details about why container is in its
	// current state.
	Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"`
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 140-byte string literal not displayed */
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding ContainerConfig used to
	// instantiate the Container this status represents.
	Annotations map[string]string `` /* 150-byte string literal not displayed */
	// Mounts for the container.
	Mounts []*Mount `protobuf:"bytes,14,rep,name=mounts,proto3" json:"mounts,omitempty"`
	// Log path of container.
	LogPath string `protobuf:"bytes,15,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"`
	// Resource limits configuration of the container.
	Resources *ContainerResources `protobuf:"bytes,16,opt,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

ContainerStatus represents the status of a container.

func (*ContainerStatus) ClearImage

func (x *ContainerStatus) ClearImage()

func (*ContainerStatus) ClearMetadata

func (x *ContainerStatus) ClearMetadata()

func (*ContainerStatus) ClearResources

func (x *ContainerStatus) ClearResources()

func (*ContainerStatus) GetAnnotations

func (x *ContainerStatus) GetAnnotations() map[string]string

func (*ContainerStatus) GetCreatedAt

func (x *ContainerStatus) GetCreatedAt() int64

func (*ContainerStatus) GetExitCode

func (x *ContainerStatus) GetExitCode() int32

func (*ContainerStatus) GetFinishedAt

func (x *ContainerStatus) GetFinishedAt() int64

func (*ContainerStatus) GetId

func (x *ContainerStatus) GetId() string

func (*ContainerStatus) GetImage

func (x *ContainerStatus) GetImage() *ImageSpec

func (*ContainerStatus) GetImageRef

func (x *ContainerStatus) GetImageRef() string

func (*ContainerStatus) GetLabels

func (x *ContainerStatus) GetLabels() map[string]string

func (*ContainerStatus) GetLogPath

func (x *ContainerStatus) GetLogPath() string

func (*ContainerStatus) GetMessage

func (x *ContainerStatus) GetMessage() string

func (*ContainerStatus) GetMetadata

func (x *ContainerStatus) GetMetadata() *ContainerMetadata

func (*ContainerStatus) GetMounts

func (x *ContainerStatus) GetMounts() []*Mount

func (*ContainerStatus) GetReason

func (x *ContainerStatus) GetReason() string

func (*ContainerStatus) GetResources

func (x *ContainerStatus) GetResources() *ContainerResources

func (*ContainerStatus) GetStartedAt

func (x *ContainerStatus) GetStartedAt() int64

func (*ContainerStatus) GetState

func (x *ContainerStatus) GetState() ContainerState

func (*ContainerStatus) HasImage

func (x *ContainerStatus) HasImage() bool

func (*ContainerStatus) HasMetadata

func (x *ContainerStatus) HasMetadata() bool

func (*ContainerStatus) HasResources

func (x *ContainerStatus) HasResources() bool

func (*ContainerStatus) ProtoMessage

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) ProtoReflect

func (x *ContainerStatus) ProtoReflect() protoreflect.Message

func (*ContainerStatus) Reset

func (x *ContainerStatus) Reset()

func (*ContainerStatus) SetAnnotations

func (x *ContainerStatus) SetAnnotations(v map[string]string)

func (*ContainerStatus) SetCreatedAt

func (x *ContainerStatus) SetCreatedAt(v int64)

func (*ContainerStatus) SetExitCode

func (x *ContainerStatus) SetExitCode(v int32)

func (*ContainerStatus) SetFinishedAt

func (x *ContainerStatus) SetFinishedAt(v int64)

func (*ContainerStatus) SetId

func (x *ContainerStatus) SetId(v string)

func (*ContainerStatus) SetImage

func (x *ContainerStatus) SetImage(v *ImageSpec)

func (*ContainerStatus) SetImageRef

func (x *ContainerStatus) SetImageRef(v string)

func (*ContainerStatus) SetLabels

func (x *ContainerStatus) SetLabels(v map[string]string)

func (*ContainerStatus) SetLogPath

func (x *ContainerStatus) SetLogPath(v string)

func (*ContainerStatus) SetMessage

func (x *ContainerStatus) SetMessage(v string)

func (*ContainerStatus) SetMetadata

func (x *ContainerStatus) SetMetadata(v *ContainerMetadata)

func (*ContainerStatus) SetMounts

func (x *ContainerStatus) SetMounts(v []*Mount)

func (*ContainerStatus) SetReason

func (x *ContainerStatus) SetReason(v string)

func (*ContainerStatus) SetResources

func (x *ContainerStatus) SetResources(v *ContainerResources)

func (*ContainerStatus) SetStartedAt

func (x *ContainerStatus) SetStartedAt(v int64)

func (*ContainerStatus) SetState

func (x *ContainerStatus) SetState(v ContainerState)

func (*ContainerStatus) String

func (x *ContainerStatus) String() string

type ContainerStatusRequest

type ContainerStatusRequest struct {

	// ID of the container for which to retrieve status.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Verbose indicates whether to return extra information about the container.
	Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerStatusRequest) GetContainerId

func (x *ContainerStatusRequest) GetContainerId() string

func (*ContainerStatusRequest) GetVerbose

func (x *ContainerStatusRequest) GetVerbose() bool

func (*ContainerStatusRequest) ProtoMessage

func (*ContainerStatusRequest) ProtoMessage()

func (*ContainerStatusRequest) ProtoReflect

func (x *ContainerStatusRequest) ProtoReflect() protoreflect.Message

func (*ContainerStatusRequest) Reset

func (x *ContainerStatusRequest) Reset()

func (*ContainerStatusRequest) SetContainerId

func (x *ContainerStatusRequest) SetContainerId(v string)

func (*ContainerStatusRequest) SetVerbose

func (x *ContainerStatusRequest) SetVerbose(v bool)

func (*ContainerStatusRequest) String

func (x *ContainerStatusRequest) String() string

type ContainerStatusRequest_builder

type ContainerStatusRequest_builder struct {

	// ID of the container for which to retrieve status.
	ContainerId string
	// Verbose indicates whether to return extra information about the container.
	Verbose bool
	// contains filtered or unexported fields
}

func (ContainerStatusRequest_builder) Build

type ContainerStatusResponse

type ContainerStatusResponse struct {

	// Status of the container.
	Status *ContainerStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Info is extra information of the Container. The key could be arbitrary string, and
	// value should be in json format. The information could include anything useful for
	// debug, e.g. pid for linux container based container runtime.
	// It should only be returned non-empty when Verbose is true.
	Info map[string]string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ContainerStatusResponse) ClearStatus

func (x *ContainerStatusResponse) ClearStatus()

func (*ContainerStatusResponse) GetInfo

func (x *ContainerStatusResponse) GetInfo() map[string]string

func (*ContainerStatusResponse) GetStatus

func (x *ContainerStatusResponse) GetStatus() *ContainerStatus

func (*ContainerStatusResponse) HasStatus

func (x *ContainerStatusResponse) HasStatus() bool

func (*ContainerStatusResponse) ProtoMessage

func (*ContainerStatusResponse) ProtoMessage()

func (*ContainerStatusResponse) ProtoReflect

func (x *ContainerStatusResponse) ProtoReflect() protoreflect.Message

func (*ContainerStatusResponse) Reset

func (x *ContainerStatusResponse) Reset()

func (*ContainerStatusResponse) SetInfo

func (x *ContainerStatusResponse) SetInfo(v map[string]string)

func (*ContainerStatusResponse) SetStatus

func (x *ContainerStatusResponse) SetStatus(v *ContainerStatus)

func (*ContainerStatusResponse) String

func (x *ContainerStatusResponse) String() string

type ContainerStatusResponse_builder

type ContainerStatusResponse_builder struct {

	// Status of the container.
	Status *ContainerStatus
	// Info is extra information of the Container. The key could be arbitrary string, and
	// value should be in json format. The information could include anything useful for
	// debug, e.g. pid for linux container based container runtime.
	// It should only be returned non-empty when Verbose is true.
	Info map[string]string
	// contains filtered or unexported fields
}

func (ContainerStatusResponse_builder) Build

type ContainerStatus_builder

type ContainerStatus_builder struct {

	// ID of the container.
	Id string
	// Metadata of the container.
	Metadata *ContainerMetadata
	// Status of the container.
	State ContainerState
	// Creation time of the container in nanoseconds.
	CreatedAt int64
	// Start time of the container in nanoseconds. Default: 0 (not specified).
	StartedAt int64
	// Finish time of the container in nanoseconds. Default: 0 (not specified).
	FinishedAt int64
	// Exit code of the container. Only required when finished_at != 0. Default: 0.
	ExitCode int32
	// Spec of the image.
	Image *ImageSpec
	// Reference to the image in use. For most runtimes, this should be an
	// image ID
	ImageRef string
	// Brief CamelCase string explaining why container is in its current state.
	// Must be set to "OOMKilled" for containers terminated by cgroup-based Out-of-Memory killer.
	Reason string
	// Human-readable message indicating details about why container is in its
	// current state.
	Message string
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding ContainerConfig used to
	// instantiate the Container this status represents.
	Annotations map[string]string
	// Mounts for the container.
	Mounts []*Mount
	// Log path of container.
	LogPath string
	// Resource limits configuration of the container.
	Resources *ContainerResources
	// contains filtered or unexported fields
}

func (ContainerStatus_builder) Build

type Container_builder

type Container_builder struct {

	// ID of the container, used by the container runtime to identify
	// a container.
	Id string
	// ID of the sandbox to which this container belongs.
	PodSandboxId string
	// Metadata of the container.
	Metadata *ContainerMetadata
	// Spec of the image.
	Image *ImageSpec
	// Reference to the image in use. For most runtimes, this should be an
	// image ID.
	ImageRef string
	// State of the container.
	State ContainerState
	// Creation time of the container in nanoseconds.
	CreatedAt int64
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding ContainerConfig used to
	// instantiate this Container.
	Annotations map[string]string
	// contains filtered or unexported fields
}

func (Container_builder) Build

func (b0 Container_builder) Build() *Container

type CpuUsage

type CpuUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Cumulative CPU usage (sum across all cores) since object creation.
	UsageCoreNanoSeconds *UInt64Value `protobuf:"bytes,2,opt,name=usage_core_nano_seconds,json=usageCoreNanoSeconds,proto3" json:"usage_core_nano_seconds,omitempty"`
	// Total CPU usage (sum of all cores) averaged over the sample window.
	// The "core" unit can be interpreted as CPU core-nanoseconds per second.
	UsageNanoCores *UInt64Value `protobuf:"bytes,3,opt,name=usage_nano_cores,json=usageNanoCores,proto3" json:"usage_nano_cores,omitempty"`
	// contains filtered or unexported fields
}

CpuUsage provides the CPU usage information.

func (*CpuUsage) ClearUsageCoreNanoSeconds

func (x *CpuUsage) ClearUsageCoreNanoSeconds()

func (*CpuUsage) ClearUsageNanoCores

func (x *CpuUsage) ClearUsageNanoCores()

func (*CpuUsage) GetTimestamp

func (x *CpuUsage) GetTimestamp() int64

func (*CpuUsage) GetUsageCoreNanoSeconds

func (x *CpuUsage) GetUsageCoreNanoSeconds() *UInt64Value

func (*CpuUsage) GetUsageNanoCores

func (x *CpuUsage) GetUsageNanoCores() *UInt64Value

func (*CpuUsage) HasUsageCoreNanoSeconds

func (x *CpuUsage) HasUsageCoreNanoSeconds() bool

func (*CpuUsage) HasUsageNanoCores

func (x *CpuUsage) HasUsageNanoCores() bool

func (*CpuUsage) ProtoMessage

func (*CpuUsage) ProtoMessage()

func (*CpuUsage) ProtoReflect

func (x *CpuUsage) ProtoReflect() protoreflect.Message

func (*CpuUsage) Reset

func (x *CpuUsage) Reset()

func (*CpuUsage) SetTimestamp

func (x *CpuUsage) SetTimestamp(v int64)

func (*CpuUsage) SetUsageCoreNanoSeconds

func (x *CpuUsage) SetUsageCoreNanoSeconds(v *UInt64Value)

func (*CpuUsage) SetUsageNanoCores

func (x *CpuUsage) SetUsageNanoCores(v *UInt64Value)

func (*CpuUsage) String

func (x *CpuUsage) String() string

type CpuUsage_builder

type CpuUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// Cumulative CPU usage (sum across all cores) since object creation.
	UsageCoreNanoSeconds *UInt64Value
	// Total CPU usage (sum of all cores) averaged over the sample window.
	// The "core" unit can be interpreted as CPU core-nanoseconds per second.
	UsageNanoCores *UInt64Value
	// contains filtered or unexported fields
}

func (CpuUsage_builder) Build

func (b0 CpuUsage_builder) Build() *CpuUsage

type CreateContainerRequest

type CreateContainerRequest struct {

	// ID of the PodSandbox in which the container should be created.
	PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// Config of the container.
	Config *ContainerConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// Config of the PodSandbox. This is the same config that was passed
	// to RunPodSandboxRequest to create the PodSandbox. It is passed again
	// here just for easy reference. The PodSandboxConfig is immutable and
	// remains the same throughout the lifetime of the pod.
	SandboxConfig *PodSandboxConfig `protobuf:"bytes,3,opt,name=sandbox_config,json=sandboxConfig,proto3" json:"sandbox_config,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateContainerRequest) ClearConfig

func (x *CreateContainerRequest) ClearConfig()

func (*CreateContainerRequest) ClearSandboxConfig

func (x *CreateContainerRequest) ClearSandboxConfig()

func (*CreateContainerRequest) GetConfig

func (x *CreateContainerRequest) GetConfig() *ContainerConfig

func (*CreateContainerRequest) GetPodSandboxId

func (x *CreateContainerRequest) GetPodSandboxId() string

func (*CreateContainerRequest) GetSandboxConfig

func (x *CreateContainerRequest) GetSandboxConfig() *PodSandboxConfig

func (*CreateContainerRequest) HasConfig

func (x *CreateContainerRequest) HasConfig() bool

func (*CreateContainerRequest) HasSandboxConfig

func (x *CreateContainerRequest) HasSandboxConfig() bool

func (*CreateContainerRequest) ProtoMessage

func (*CreateContainerRequest) ProtoMessage()

func (*CreateContainerRequest) ProtoReflect

func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message

func (*CreateContainerRequest) Reset

func (x *CreateContainerRequest) Reset()

func (*CreateContainerRequest) SetConfig

func (x *CreateContainerRequest) SetConfig(v *ContainerConfig)

func (*CreateContainerRequest) SetPodSandboxId

func (x *CreateContainerRequest) SetPodSandboxId(v string)

func (*CreateContainerRequest) SetSandboxConfig

func (x *CreateContainerRequest) SetSandboxConfig(v *PodSandboxConfig)

func (*CreateContainerRequest) String

func (x *CreateContainerRequest) String() string

type CreateContainerRequest_builder

type CreateContainerRequest_builder struct {

	// ID of the PodSandbox in which the container should be created.
	PodSandboxId string
	// Config of the container.
	Config *ContainerConfig
	// Config of the PodSandbox. This is the same config that was passed
	// to RunPodSandboxRequest to create the PodSandbox. It is passed again
	// here just for easy reference. The PodSandboxConfig is immutable and
	// remains the same throughout the lifetime of the pod.
	SandboxConfig *PodSandboxConfig
	// contains filtered or unexported fields
}

func (CreateContainerRequest_builder) Build

type CreateContainerResponse

type CreateContainerResponse struct {

	// ID of the created container.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateContainerResponse) GetContainerId

func (x *CreateContainerResponse) GetContainerId() string

func (*CreateContainerResponse) ProtoMessage

func (*CreateContainerResponse) ProtoMessage()

func (*CreateContainerResponse) ProtoReflect

func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message

func (*CreateContainerResponse) Reset

func (x *CreateContainerResponse) Reset()

func (*CreateContainerResponse) SetContainerId

func (x *CreateContainerResponse) SetContainerId(v string)

func (*CreateContainerResponse) String

func (x *CreateContainerResponse) String() string

type CreateContainerResponse_builder

type CreateContainerResponse_builder struct {

	// ID of the created container.
	ContainerId string
	// contains filtered or unexported fields
}

func (CreateContainerResponse_builder) Build

type DNSConfig

type DNSConfig struct {

	// List of DNS servers of the cluster.
	Servers []string `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	// List of DNS search domains of the cluster.
	Searches []string `protobuf:"bytes,2,rep,name=searches,proto3" json:"searches,omitempty"`
	// List of DNS options. See https://linux.die.net/man/5/resolv.conf
	// for all available options.
	Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

DNSConfig specifies the DNS servers and search domains of a sandbox.

func (*DNSConfig) GetOptions

func (x *DNSConfig) GetOptions() []string

func (*DNSConfig) GetSearches

func (x *DNSConfig) GetSearches() []string

func (*DNSConfig) GetServers

func (x *DNSConfig) GetServers() []string

func (*DNSConfig) ProtoMessage

func (*DNSConfig) ProtoMessage()

func (*DNSConfig) ProtoReflect

func (x *DNSConfig) ProtoReflect() protoreflect.Message

func (*DNSConfig) Reset

func (x *DNSConfig) Reset()

func (*DNSConfig) SetOptions

func (x *DNSConfig) SetOptions(v []string)

func (*DNSConfig) SetSearches

func (x *DNSConfig) SetSearches(v []string)

func (*DNSConfig) SetServers

func (x *DNSConfig) SetServers(v []string)

func (*DNSConfig) String

func (x *DNSConfig) String() string

type DNSConfig_builder

type DNSConfig_builder struct {

	// List of DNS servers of the cluster.
	Servers []string
	// List of DNS search domains of the cluster.
	Searches []string
	// List of DNS options. See https://linux.die.net/man/5/resolv.conf
	// for all available options.
	Options []string
	// contains filtered or unexported fields
}

func (DNSConfig_builder) Build

func (b0 DNSConfig_builder) Build() *DNSConfig

type Device

type Device struct {

	// Path of the device within the container.
	ContainerPath string `protobuf:"bytes,1,opt,name=container_path,json=containerPath,proto3" json:"container_path,omitempty"`
	// Path of the device on the host.
	HostPath string `protobuf:"bytes,2,opt,name=host_path,json=hostPath,proto3" json:"host_path,omitempty"`
	// Cgroups permissions of the device, candidates are one or more of
	// * r - allows container to read from the specified device.
	// * w - allows container to write to the specified device.
	// * m - allows container to create device files that do not yet exist.
	Permissions string `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Device specifies a host device to mount into a container.

func (*Device) GetContainerPath

func (x *Device) GetContainerPath() string

func (*Device) GetHostPath

func (x *Device) GetHostPath() string

func (*Device) GetPermissions

func (x *Device) GetPermissions() string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

func (x *Device) ProtoReflect() protoreflect.Message

func (*Device) Reset

func (x *Device) Reset()

func (*Device) SetContainerPath

func (x *Device) SetContainerPath(v string)

func (*Device) SetHostPath

func (x *Device) SetHostPath(v string)

func (*Device) SetPermissions

func (x *Device) SetPermissions(v string)

func (*Device) String

func (x *Device) String() string

type Device_builder

type Device_builder struct {

	// Path of the device within the container.
	ContainerPath string
	// Path of the device on the host.
	HostPath string
	// Cgroups permissions of the device, candidates are one or more of
	// * r - allows container to read from the specified device.
	// * w - allows container to write to the specified device.
	// * m - allows container to create device files that do not yet exist.
	Permissions string
	// contains filtered or unexported fields
}

func (Device_builder) Build

func (b0 Device_builder) Build() *Device

type ExecRequest

type ExecRequest struct {

	// ID of the container in which to execute the command.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Command to execute.
	Cmd []string `protobuf:"bytes,2,rep,name=cmd,proto3" json:"cmd,omitempty"`
	// Whether to exec the command in a TTY.
	Tty bool `protobuf:"varint,3,opt,name=tty,proto3" json:"tty,omitempty"`
	// Whether to stream stdin.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	Stdin bool `protobuf:"varint,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
	// Whether to stream stdout.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	Stdout bool `protobuf:"varint,5,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// Whether to stream stderr.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	// If `tty` is true, `stderr` MUST be false. Multiplexing is not supported
	// in this case. The output of stdout and stderr will be combined to a
	// single stream.
	Stderr bool `protobuf:"varint,6,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecRequest) GetCmd

func (x *ExecRequest) GetCmd() []string

func (*ExecRequest) GetContainerId

func (x *ExecRequest) GetContainerId() string

func (*ExecRequest) GetStderr

func (x *ExecRequest) GetStderr() bool

func (*ExecRequest) GetStdin

func (x *ExecRequest) GetStdin() bool

func (*ExecRequest) GetStdout

func (x *ExecRequest) GetStdout() bool

func (*ExecRequest) GetTty

func (x *ExecRequest) GetTty() bool

func (*ExecRequest) ProtoMessage

func (*ExecRequest) ProtoMessage()

func (*ExecRequest) ProtoReflect

func (x *ExecRequest) ProtoReflect() protoreflect.Message

func (*ExecRequest) Reset

func (x *ExecRequest) Reset()

func (*ExecRequest) SetCmd

func (x *ExecRequest) SetCmd(v []string)

func (*ExecRequest) SetContainerId

func (x *ExecRequest) SetContainerId(v string)

func (*ExecRequest) SetStderr

func (x *ExecRequest) SetStderr(v bool)

func (*ExecRequest) SetStdin

func (x *ExecRequest) SetStdin(v bool)

func (*ExecRequest) SetStdout

func (x *ExecRequest) SetStdout(v bool)

func (*ExecRequest) SetTty

func (x *ExecRequest) SetTty(v bool)

func (*ExecRequest) String

func (x *ExecRequest) String() string

type ExecRequest_builder

type ExecRequest_builder struct {

	// ID of the container in which to execute the command.
	ContainerId string
	// Command to execute.
	Cmd []string
	// Whether to exec the command in a TTY.
	Tty bool
	// Whether to stream stdin.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	Stdin bool
	// Whether to stream stdout.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	Stdout bool
	// Whether to stream stderr.
	// One of `stdin`, `stdout`, and `stderr` MUST be true.
	// If `tty` is true, `stderr` MUST be false. Multiplexing is not supported
	// in this case. The output of stdout and stderr will be combined to a
	// single stream.
	Stderr bool
	// contains filtered or unexported fields
}

func (ExecRequest_builder) Build

func (b0 ExecRequest_builder) Build() *ExecRequest

type ExecResponse

type ExecResponse struct {

	// Fully qualified URL of the exec streaming server.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecResponse) GetUrl

func (x *ExecResponse) GetUrl() string

func (*ExecResponse) ProtoMessage

func (*ExecResponse) ProtoMessage()

func (*ExecResponse) ProtoReflect

func (x *ExecResponse) ProtoReflect() protoreflect.Message

func (*ExecResponse) Reset

func (x *ExecResponse) Reset()

func (*ExecResponse) SetUrl

func (x *ExecResponse) SetUrl(v string)

func (*ExecResponse) String

func (x *ExecResponse) String() string

type ExecResponse_builder

type ExecResponse_builder struct {

	// Fully qualified URL of the exec streaming server.
	Url string
	// contains filtered or unexported fields
}

func (ExecResponse_builder) Build

func (b0 ExecResponse_builder) Build() *ExecResponse

type ExecSyncRequest

type ExecSyncRequest struct {

	// ID of the container.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Command to execute.
	Cmd []string `protobuf:"bytes,2,rep,name=cmd,proto3" json:"cmd,omitempty"`
	// Timeout in seconds to stop the command. Default: 0 (run forever).
	Timeout int64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecSyncRequest) GetCmd

func (x *ExecSyncRequest) GetCmd() []string

func (*ExecSyncRequest) GetContainerId

func (x *ExecSyncRequest) GetContainerId() string

func (*ExecSyncRequest) GetTimeout

func (x *ExecSyncRequest) GetTimeout() int64

func (*ExecSyncRequest) ProtoMessage

func (*ExecSyncRequest) ProtoMessage()

func (*ExecSyncRequest) ProtoReflect

func (x *ExecSyncRequest) ProtoReflect() protoreflect.Message

func (*ExecSyncRequest) Reset

func (x *ExecSyncRequest) Reset()

func (*ExecSyncRequest) SetCmd

func (x *ExecSyncRequest) SetCmd(v []string)

func (*ExecSyncRequest) SetContainerId

func (x *ExecSyncRequest) SetContainerId(v string)

func (*ExecSyncRequest) SetTimeout

func (x *ExecSyncRequest) SetTimeout(v int64)

func (*ExecSyncRequest) String

func (x *ExecSyncRequest) String() string

type ExecSyncRequest_builder

type ExecSyncRequest_builder struct {

	// ID of the container.
	ContainerId string
	// Command to execute.
	Cmd []string
	// Timeout in seconds to stop the command. Default: 0 (run forever).
	Timeout int64
	// contains filtered or unexported fields
}

func (ExecSyncRequest_builder) Build

type ExecSyncResponse

type ExecSyncResponse struct {

	// Captured command stdout output.
	// The runtime should cap the output of this response to 16MB.
	// If the stdout of the command produces more than 16MB, the remaining output
	// should be discarded, and the command should proceed with no error.
	// See CVE-2022-1708 and CVE-2022-31030 for more information.
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// Captured command stderr output.
	// The runtime should cap the output of this response to 16MB.
	// If the stderr of the command produces more than 16MB, the remaining output
	// should be discarded, and the command should proceed with no error.
	// See CVE-2022-1708 and CVE-2022-31030 for more information.
	Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// Exit code the command finished with. Default: 0 (success).
	ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecSyncResponse) GetExitCode

func (x *ExecSyncResponse) GetExitCode() int32

func (*ExecSyncResponse) GetStderr

func (x *ExecSyncResponse) GetStderr() []byte

func (*ExecSyncResponse) GetStdout

func (x *ExecSyncResponse) GetStdout() []byte

func (*ExecSyncResponse) ProtoMessage

func (*ExecSyncResponse) ProtoMessage()

func (*ExecSyncResponse) ProtoReflect

func (x *ExecSyncResponse) ProtoReflect() protoreflect.Message

func (*ExecSyncResponse) Reset

func (x *ExecSyncResponse) Reset()

func (*ExecSyncResponse) SetExitCode

func (x *ExecSyncResponse) SetExitCode(v int32)

func (*ExecSyncResponse) SetStderr

func (x *ExecSyncResponse) SetStderr(v []byte)

func (*ExecSyncResponse) SetStdout

func (x *ExecSyncResponse) SetStdout(v []byte)

func (*ExecSyncResponse) String

func (x *ExecSyncResponse) String() string

type ExecSyncResponse_builder

type ExecSyncResponse_builder struct {

	// Captured command stdout output.
	// The runtime should cap the output of this response to 16MB.
	// If the stdout of the command produces more than 16MB, the remaining output
	// should be discarded, and the command should proceed with no error.
	// See CVE-2022-1708 and CVE-2022-31030 for more information.
	Stdout []byte
	// Captured command stderr output.
	// The runtime should cap the output of this response to 16MB.
	// If the stderr of the command produces more than 16MB, the remaining output
	// should be discarded, and the command should proceed with no error.
	// See CVE-2022-1708 and CVE-2022-31030 for more information.
	Stderr []byte
	// Exit code the command finished with. Default: 0 (success).
	ExitCode int32
	// contains filtered or unexported fields
}

func (ExecSyncResponse_builder) Build

type FilesystemIdentifier

type FilesystemIdentifier struct {

	// Mountpoint of a filesystem.
	Mountpoint string `protobuf:"bytes,1,opt,name=mountpoint,proto3" json:"mountpoint,omitempty"`
	// contains filtered or unexported fields
}

FilesystemIdentifier uniquely identify the filesystem.

func (*FilesystemIdentifier) GetMountpoint

func (x *FilesystemIdentifier) GetMountpoint() string

func (*FilesystemIdentifier) ProtoMessage

func (*FilesystemIdentifier) ProtoMessage()

func (*FilesystemIdentifier) ProtoReflect

func (x *FilesystemIdentifier) ProtoReflect() protoreflect.Message

func (*FilesystemIdentifier) Reset

func (x *FilesystemIdentifier) Reset()

func (*FilesystemIdentifier) SetMountpoint

func (x *FilesystemIdentifier) SetMountpoint(v string)

func (*FilesystemIdentifier) String

func (x *FilesystemIdentifier) String() string

type FilesystemIdentifier_builder

type FilesystemIdentifier_builder struct {

	// Mountpoint of a filesystem.
	Mountpoint string
	// contains filtered or unexported fields
}

func (FilesystemIdentifier_builder) Build

type FilesystemUsage

type FilesystemUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The unique identifier of the filesystem.
	FsId *FilesystemIdentifier `protobuf:"bytes,2,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"`
	// UsedBytes represents the bytes used for images on the filesystem.
	// This may differ from the total bytes used on the filesystem and may not
	// equal CapacityBytes - AvailableBytes.
	UsedBytes *UInt64Value `protobuf:"bytes,3,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
	// InodesUsed represents the inodes used by the images.
	// This may not equal InodesCapacity - InodesAvailable because the underlying
	// filesystem may also be used for purposes other than storing images.
	InodesUsed *UInt64Value `protobuf:"bytes,4,opt,name=inodes_used,json=inodesUsed,proto3" json:"inodes_used,omitempty"`
	// contains filtered or unexported fields
}

FilesystemUsage provides the filesystem usage information.

func (*FilesystemUsage) ClearFsId

func (x *FilesystemUsage) ClearFsId()

func (*FilesystemUsage) ClearInodesUsed

func (x *FilesystemUsage) ClearInodesUsed()

func (*FilesystemUsage) ClearUsedBytes

func (x *FilesystemUsage) ClearUsedBytes()

func (*FilesystemUsage) GetFsId

func (x *FilesystemUsage) GetFsId() *FilesystemIdentifier

func (*FilesystemUsage) GetInodesUsed

func (x *FilesystemUsage) GetInodesUsed() *UInt64Value

func (*FilesystemUsage) GetTimestamp

func (x *FilesystemUsage) GetTimestamp() int64

func (*FilesystemUsage) GetUsedBytes

func (x *FilesystemUsage) GetUsedBytes() *UInt64Value

func (*FilesystemUsage) HasFsId

func (x *FilesystemUsage) HasFsId() bool

func (*FilesystemUsage) HasInodesUsed

func (x *FilesystemUsage) HasInodesUsed() bool

func (*FilesystemUsage) HasUsedBytes

func (x *FilesystemUsage) HasUsedBytes() bool

func (*FilesystemUsage) ProtoMessage

func (*FilesystemUsage) ProtoMessage()

func (*FilesystemUsage) ProtoReflect

func (x *FilesystemUsage) ProtoReflect() protoreflect.Message

func (*FilesystemUsage) Reset

func (x *FilesystemUsage) Reset()

func (*FilesystemUsage) SetFsId

func (x *FilesystemUsage) SetFsId(v *FilesystemIdentifier)

func (*FilesystemUsage) SetInodesUsed

func (x *FilesystemUsage) SetInodesUsed(v *UInt64Value)

func (*FilesystemUsage) SetTimestamp

func (x *FilesystemUsage) SetTimestamp(v int64)

func (*FilesystemUsage) SetUsedBytes

func (x *FilesystemUsage) SetUsedBytes(v *UInt64Value)

func (*FilesystemUsage) String

func (x *FilesystemUsage) String() string

type FilesystemUsage_builder

type FilesystemUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// The unique identifier of the filesystem.
	FsId *FilesystemIdentifier
	// UsedBytes represents the bytes used for images on the filesystem.
	// This may differ from the total bytes used on the filesystem and may not
	// equal CapacityBytes - AvailableBytes.
	UsedBytes *UInt64Value
	// InodesUsed represents the inodes used by the images.
	// This may not equal InodesCapacity - InodesAvailable because the underlying
	// filesystem may also be used for purposes other than storing images.
	InodesUsed *UInt64Value
	// contains filtered or unexported fields
}

func (FilesystemUsage_builder) Build

type GetEventsRequest

type GetEventsRequest struct {
	// contains filtered or unexported fields
}

func (*GetEventsRequest) ProtoMessage

func (*GetEventsRequest) ProtoMessage()

func (*GetEventsRequest) ProtoReflect

func (x *GetEventsRequest) ProtoReflect() protoreflect.Message

func (*GetEventsRequest) Reset

func (x *GetEventsRequest) Reset()

func (*GetEventsRequest) String

func (x *GetEventsRequest) String() string

type GetEventsRequest_builder

type GetEventsRequest_builder struct {
	// contains filtered or unexported fields
}

func (GetEventsRequest_builder) Build

type HugepageLimit

type HugepageLimit struct {

	// The value of PageSize has the format <size><unit-prefix>B (2MB, 1GB),
	// and must match the <hugepagesize> of the corresponding control file found in `hugetlb.<hugepagesize>.limit_in_bytes`.
	// The values of <unit-prefix> are intended to be parsed using base 1024("1KB" = 1024, "1MB" = 1048576, etc).
	PageSize string `protobuf:"bytes,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// limit in bytes of hugepagesize HugeTLB usage.
	Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

HugepageLimit corresponds to the file`hugetlb.<hugepagesize>.limit_in_byte` in container level cgroup. For example, `PageSize=1GB`, `Limit=1073741824` means setting `1073741824` bytes to hugetlb.1GB.limit_in_bytes.

func (*HugepageLimit) GetLimit

func (x *HugepageLimit) GetLimit() uint64

func (*HugepageLimit) GetPageSize

func (x *HugepageLimit) GetPageSize() string

func (*HugepageLimit) ProtoMessage

func (*HugepageLimit) ProtoMessage()

func (*HugepageLimit) ProtoReflect

func (x *HugepageLimit) ProtoReflect() protoreflect.Message

func (*HugepageLimit) Reset

func (x *HugepageLimit) Reset()

func (*HugepageLimit) SetLimit

func (x *HugepageLimit) SetLimit(v uint64)

func (*HugepageLimit) SetPageSize

func (x *HugepageLimit) SetPageSize(v string)

func (*HugepageLimit) String

func (x *HugepageLimit) String() string

type HugepageLimit_builder

type HugepageLimit_builder struct {

	// The value of PageSize has the format <size><unit-prefix>B (2MB, 1GB),
	// and must match the <hugepagesize> of the corresponding control file found in `hugetlb.<hugepagesize>.limit_in_bytes`.
	// The values of <unit-prefix> are intended to be parsed using base 1024("1KB" = 1024, "1MB" = 1048576, etc).
	PageSize string
	// limit in bytes of hugepagesize HugeTLB usage.
	Limit uint64
	// contains filtered or unexported fields
}

func (HugepageLimit_builder) Build

type IDMapping

type IDMapping struct {

	// HostId is the id on the host.
	HostId uint32 `protobuf:"varint,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// ContainerId is the id in the container.
	ContainerId uint32 `protobuf:"varint,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Length is the size of the range to map.
	Length uint32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

IDMapping describes host to container ID mappings for a pod sandbox.

func (*IDMapping) GetContainerId

func (x *IDMapping) GetContainerId() uint32

func (*IDMapping) GetHostId

func (x *IDMapping) GetHostId() uint32

func (*IDMapping) GetLength

func (x *IDMapping) GetLength() uint32

func (*IDMapping) ProtoMessage

func (*IDMapping) ProtoMessage()

func (*IDMapping) ProtoReflect

func (x *IDMapping) ProtoReflect() protoreflect.Message

func (*IDMapping) Reset

func (x *IDMapping) Reset()

func (*IDMapping) SetContainerId

func (x *IDMapping) SetContainerId(v uint32)

func (*IDMapping) SetHostId

func (x *IDMapping) SetHostId(v uint32)

func (*IDMapping) SetLength

func (x *IDMapping) SetLength(v uint32)

func (*IDMapping) String

func (x *IDMapping) String() string

type IDMapping_builder

type IDMapping_builder struct {

	// HostId is the id on the host.
	HostId uint32
	// ContainerId is the id in the container.
	ContainerId uint32
	// Length is the size of the range to map.
	Length uint32
	// contains filtered or unexported fields
}

func (IDMapping_builder) Build

func (b0 IDMapping_builder) Build() *IDMapping

type Image

type Image struct {

	// ID of the image.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Other names by which this image is known.
	RepoTags []string `protobuf:"bytes,2,rep,name=repo_tags,json=repoTags,proto3" json:"repo_tags,omitempty"`
	// Digests by which this image is known.
	RepoDigests []string `protobuf:"bytes,3,rep,name=repo_digests,json=repoDigests,proto3" json:"repo_digests,omitempty"`
	// Size of the image in bytes. Must be > 0.
	Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	// UID that will run the command(s). This is used as a default if no user is
	// specified when creating the container. UID and the following user name
	// are mutually exclusive.
	Uid *Int64Value `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"`
	// User name that will run the command(s). This is used if UID is not set
	// and no user is specified when creating container.
	Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`
	// ImageSpec for image which includes annotations
	Spec *ImageSpec `protobuf:"bytes,7,opt,name=spec,proto3" json:"spec,omitempty"`
	// Recommendation on whether this image should be exempt from garbage collection.
	// It must only be treated as a recommendation -- the client can still request that the image be deleted,
	// and the runtime must oblige.
	Pinned bool `protobuf:"varint,8,opt,name=pinned,proto3" json:"pinned,omitempty"`
	// contains filtered or unexported fields
}

Basic information about a container image.

func (*Image) ClearSpec

func (x *Image) ClearSpec()

func (*Image) ClearUid

func (x *Image) ClearUid()

func (*Image) GetId

func (x *Image) GetId() string

func (*Image) GetPinned

func (x *Image) GetPinned() bool

func (*Image) GetRepoDigests

func (x *Image) GetRepoDigests() []string

func (*Image) GetRepoTags

func (x *Image) GetRepoTags() []string

func (*Image) GetSize

func (x *Image) GetSize() uint64

func (*Image) GetSpec

func (x *Image) GetSpec() *ImageSpec

func (*Image) GetUid

func (x *Image) GetUid() *Int64Value

func (*Image) GetUsername

func (x *Image) GetUsername() string

func (*Image) HasSpec

func (x *Image) HasSpec() bool

func (*Image) HasUid

func (x *Image) HasUid() bool

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

func (x *Image) ProtoReflect() protoreflect.Message

func (*Image) Reset

func (x *Image) Reset()

func (*Image) SetId

func (x *Image) SetId(v string)

func (*Image) SetPinned

func (x *Image) SetPinned(v bool)

func (*Image) SetRepoDigests

func (x *Image) SetRepoDigests(v []string)

func (*Image) SetRepoTags

func (x *Image) SetRepoTags(v []string)

func (*Image) SetSize

func (x *Image) SetSize(v uint64)

func (*Image) SetSpec

func (x *Image) SetSpec(v *ImageSpec)

func (*Image) SetUid

func (x *Image) SetUid(v *Int64Value)

func (*Image) SetUsername

func (x *Image) SetUsername(v string)

func (*Image) String

func (x *Image) String() string

type ImageFilter

type ImageFilter struct {

	// Spec of the image.
	Image *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageFilter) ClearImage

func (x *ImageFilter) ClearImage()

func (*ImageFilter) GetImage

func (x *ImageFilter) GetImage() *ImageSpec

func (*ImageFilter) HasImage

func (x *ImageFilter) HasImage() bool

func (*ImageFilter) ProtoMessage

func (*ImageFilter) ProtoMessage()

func (*ImageFilter) ProtoReflect

func (x *ImageFilter) ProtoReflect() protoreflect.Message

func (*ImageFilter) Reset

func (x *ImageFilter) Reset()

func (*ImageFilter) SetImage

func (x *ImageFilter) SetImage(v *ImageSpec)

func (*ImageFilter) String

func (x *ImageFilter) String() string

type ImageFilter_builder

type ImageFilter_builder struct {

	// Spec of the image.
	Image *ImageSpec
	// contains filtered or unexported fields
}

func (ImageFilter_builder) Build

func (b0 ImageFilter_builder) Build() *ImageFilter

type ImageFsInfoRequest

type ImageFsInfoRequest struct {
	// contains filtered or unexported fields
}

func (*ImageFsInfoRequest) ProtoMessage

func (*ImageFsInfoRequest) ProtoMessage()

func (*ImageFsInfoRequest) ProtoReflect

func (x *ImageFsInfoRequest) ProtoReflect() protoreflect.Message

func (*ImageFsInfoRequest) Reset

func (x *ImageFsInfoRequest) Reset()

func (*ImageFsInfoRequest) String

func (x *ImageFsInfoRequest) String() string

type ImageFsInfoRequest_builder

type ImageFsInfoRequest_builder struct {
	// contains filtered or unexported fields
}

func (ImageFsInfoRequest_builder) Build

type ImageFsInfoResponse

type ImageFsInfoResponse struct {

	// Information of image filesystem(s).
	ImageFilesystems []*FilesystemUsage `protobuf:"bytes,1,rep,name=image_filesystems,json=imageFilesystems,proto3" json:"image_filesystems,omitempty"`
	// Information of container filesystem(s).
	// This is an optional field, may be used for example if container and image
	// storage are separated.
	// Default will be to return this as empty.
	ContainerFilesystems []*FilesystemUsage `protobuf:"bytes,2,rep,name=container_filesystems,json=containerFilesystems,proto3" json:"container_filesystems,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageFsInfoResponse) GetContainerFilesystems

func (x *ImageFsInfoResponse) GetContainerFilesystems() []*FilesystemUsage

func (*ImageFsInfoResponse) GetImageFilesystems

func (x *ImageFsInfoResponse) GetImageFilesystems() []*FilesystemUsage

func (*ImageFsInfoResponse) ProtoMessage

func (*ImageFsInfoResponse) ProtoMessage()

func (*ImageFsInfoResponse) ProtoReflect

func (x *ImageFsInfoResponse) ProtoReflect() protoreflect.Message

func (*ImageFsInfoResponse) Reset

func (x *ImageFsInfoResponse) Reset()

func (*ImageFsInfoResponse) SetContainerFilesystems

func (x *ImageFsInfoResponse) SetContainerFilesystems(v []*FilesystemUsage)

func (*ImageFsInfoResponse) SetImageFilesystems

func (x *ImageFsInfoResponse) SetImageFilesystems(v []*FilesystemUsage)

func (*ImageFsInfoResponse) String

func (x *ImageFsInfoResponse) String() string

type ImageFsInfoResponse_builder

type ImageFsInfoResponse_builder struct {

	// Information of image filesystem(s).
	ImageFilesystems []*FilesystemUsage
	// Information of container filesystem(s).
	// This is an optional field, may be used for example if container and image
	// storage are separated.
	// Default will be to return this as empty.
	ContainerFilesystems []*FilesystemUsage
	// contains filtered or unexported fields
}

func (ImageFsInfoResponse_builder) Build

type ImageSpec

type ImageSpec struct {

	// Container's Image field (e.g. imageID or imageDigest).
	Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// Unstructured key-value map holding arbitrary metadata.
	// ImageSpec Annotations can be used to help the runtime target specific
	// images in multi-arch images.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// The container image reference specified by the user (e.g. image[:tag] or digest).
	// Only set if available within the RPC context.
	UserSpecifiedImage string `protobuf:"bytes,18,opt,name=user_specified_image,json=userSpecifiedImage,proto3" json:"user_specified_image,omitempty"`
	// Runtime handler to use for pulling the image.
	// If the runtime handler is unknown, the request should be rejected.
	// An empty string would select the default runtime handler.
	RuntimeHandler string `protobuf:"bytes,19,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"`
	// contains filtered or unexported fields
}

ImageSpec is an internal representation of an image.

func (*ImageSpec) GetAnnotations

func (x *ImageSpec) GetAnnotations() map[string]string

func (*ImageSpec) GetImage

func (x *ImageSpec) GetImage() string

func (*ImageSpec) GetRuntimeHandler

func (x *ImageSpec) GetRuntimeHandler() string

func (*ImageSpec) GetUserSpecifiedImage

func (x *ImageSpec) GetUserSpecifiedImage() string

func (*ImageSpec) ProtoMessage

func (*ImageSpec) ProtoMessage()

func (*ImageSpec) ProtoReflect

func (x *ImageSpec) ProtoReflect() protoreflect.Message

func (*ImageSpec) Reset

func (x *ImageSpec) Reset()

func (*ImageSpec) SetAnnotations

func (x *ImageSpec) SetAnnotations(v map[string]string)

func (*ImageSpec) SetImage

func (x *ImageSpec) SetImage(v string)

func (*ImageSpec) SetRuntimeHandler

func (x *ImageSpec) SetRuntimeHandler(v string)

func (*ImageSpec) SetUserSpecifiedImage

func (x *ImageSpec) SetUserSpecifiedImage(v string)

func (*ImageSpec) String

func (x *ImageSpec) String() string

type ImageSpec_builder

type ImageSpec_builder struct {

	// Container's Image field (e.g. imageID or imageDigest).
	Image string
	// Unstructured key-value map holding arbitrary metadata.
	// ImageSpec Annotations can be used to help the runtime target specific
	// images in multi-arch images.
	Annotations map[string]string
	// The container image reference specified by the user (e.g. image[:tag] or digest).
	// Only set if available within the RPC context.
	UserSpecifiedImage string
	// Runtime handler to use for pulling the image.
	// If the runtime handler is unknown, the request should be rejected.
	// An empty string would select the default runtime handler.
	RuntimeHandler string
	// contains filtered or unexported fields
}

func (ImageSpec_builder) Build

func (b0 ImageSpec_builder) Build() *ImageSpec

type ImageStatusRequest

type ImageStatusRequest struct {

	// Spec of the image.
	Image *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// Verbose indicates whether to return extra information about the image.
	Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageStatusRequest) ClearImage

func (x *ImageStatusRequest) ClearImage()

func (*ImageStatusRequest) GetImage

func (x *ImageStatusRequest) GetImage() *ImageSpec

func (*ImageStatusRequest) GetVerbose

func (x *ImageStatusRequest) GetVerbose() bool

func (*ImageStatusRequest) HasImage

func (x *ImageStatusRequest) HasImage() bool

func (*ImageStatusRequest) ProtoMessage

func (*ImageStatusRequest) ProtoMessage()

func (*ImageStatusRequest) ProtoReflect

func (x *ImageStatusRequest) ProtoReflect() protoreflect.Message

func (*ImageStatusRequest) Reset

func (x *ImageStatusRequest) Reset()

func (*ImageStatusRequest) SetImage

func (x *ImageStatusRequest) SetImage(v *ImageSpec)

func (*ImageStatusRequest) SetVerbose

func (x *ImageStatusRequest) SetVerbose(v bool)

func (*ImageStatusRequest) String

func (x *ImageStatusRequest) String() string

type ImageStatusRequest_builder

type ImageStatusRequest_builder struct {

	// Spec of the image.
	Image *ImageSpec
	// Verbose indicates whether to return extra information about the image.
	Verbose bool
	// contains filtered or unexported fields
}

func (ImageStatusRequest_builder) Build

type ImageStatusResponse

type ImageStatusResponse struct {

	// Status of the image.
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// Info is extra information of the Image. The key could be arbitrary string, and
	// value should be in json format. The information could include anything useful
	// for debug, e.g. image config for oci image based container runtime.
	// It should only be returned non-empty when Verbose is true.
	Info map[string]string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ImageStatusResponse) ClearImage

func (x *ImageStatusResponse) ClearImage()

func (*ImageStatusResponse) GetImage

func (x *ImageStatusResponse) GetImage() *Image

func (*ImageStatusResponse) GetInfo

func (x *ImageStatusResponse) GetInfo() map[string]string

func (*ImageStatusResponse) HasImage

func (x *ImageStatusResponse) HasImage() bool

func (*ImageStatusResponse) ProtoMessage

func (*ImageStatusResponse) ProtoMessage()

func (*ImageStatusResponse) ProtoReflect

func (x *ImageStatusResponse) ProtoReflect() protoreflect.Message

func (*ImageStatusResponse) Reset

func (x *ImageStatusResponse) Reset()

func (*ImageStatusResponse) SetImage

func (x *ImageStatusResponse) SetImage(v *Image)

func (*ImageStatusResponse) SetInfo

func (x *ImageStatusResponse) SetInfo(v map[string]string)

func (*ImageStatusResponse) String

func (x *ImageStatusResponse) String() string

type ImageStatusResponse_builder

type ImageStatusResponse_builder struct {

	// Status of the image.
	Image *Image
	// Info is extra information of the Image. The key could be arbitrary string, and
	// value should be in json format. The information could include anything useful
	// for debug, e.g. image config for oci image based container runtime.
	// It should only be returned non-empty when Verbose is true.
	Info map[string]string
	// contains filtered or unexported fields
}

func (ImageStatusResponse_builder) Build

type Image_builder

type Image_builder struct {

	// ID of the image.
	Id string
	// Other names by which this image is known.
	RepoTags []string
	// Digests by which this image is known.
	RepoDigests []string
	// Size of the image in bytes. Must be > 0.
	Size uint64
	// UID that will run the command(s). This is used as a default if no user is
	// specified when creating the container. UID and the following user name
	// are mutually exclusive.
	Uid *Int64Value
	// User name that will run the command(s). This is used if UID is not set
	// and no user is specified when creating container.
	Username string
	// ImageSpec for image which includes annotations
	Spec *ImageSpec
	// Recommendation on whether this image should be exempt from garbage collection.
	// It must only be treated as a recommendation -- the client can still request that the image be deleted,
	// and the runtime must oblige.
	Pinned bool
	// contains filtered or unexported fields
}

func (Image_builder) Build

func (b0 Image_builder) Build() *Image

type Int64Value

type Int64Value struct {

	// The value.
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Int64Value is the wrapper of int64.

func (*Int64Value) GetValue

func (x *Int64Value) GetValue() int64

func (*Int64Value) ProtoMessage

func (*Int64Value) ProtoMessage()

func (*Int64Value) ProtoReflect

func (x *Int64Value) ProtoReflect() protoreflect.Message

func (*Int64Value) Reset

func (x *Int64Value) Reset()

func (*Int64Value) SetValue

func (x *Int64Value) SetValue(v int64)

func (*Int64Value) String

func (x *Int64Value) String() string

type Int64Value_builder

type Int64Value_builder struct {

	// The value.
	Value int64
	// contains filtered or unexported fields
}

func (Int64Value_builder) Build

func (b0 Int64Value_builder) Build() *Int64Value

type KeyValue

type KeyValue struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValue) GetKey

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (x *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect

func (x *KeyValue) ProtoReflect() protoreflect.Message

func (*KeyValue) Reset

func (x *KeyValue) Reset()

func (*KeyValue) SetKey

func (x *KeyValue) SetKey(v string)

func (*KeyValue) SetValue

func (x *KeyValue) SetValue(v string)

func (*KeyValue) String

func (x *KeyValue) String() string

type KeyValue_builder

type KeyValue_builder struct {
	Key   string
	Value string
	// contains filtered or unexported fields
}

func (KeyValue_builder) Build

func (b0 KeyValue_builder) Build() *KeyValue

type LinuxContainerConfig

type LinuxContainerConfig struct {

	// Resources specification for the container.
	Resources *LinuxContainerResources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
	// LinuxContainerSecurityContext configuration for the container.
	SecurityContext *LinuxContainerSecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	// contains filtered or unexported fields
}

LinuxContainerConfig contains platform-specific configuration for Linux-based containers.

func (*LinuxContainerConfig) ClearResources

func (x *LinuxContainerConfig) ClearResources()

func (*LinuxContainerConfig) ClearSecurityContext

func (x *LinuxContainerConfig) ClearSecurityContext()

func (*LinuxContainerConfig) GetResources

func (x *LinuxContainerConfig) GetResources() *LinuxContainerResources

func (*LinuxContainerConfig) GetSecurityContext

func (x *LinuxContainerConfig) GetSecurityContext() *LinuxContainerSecurityContext

func (*LinuxContainerConfig) HasResources

func (x *LinuxContainerConfig) HasResources() bool

func (*LinuxContainerConfig) HasSecurityContext

func (x *LinuxContainerConfig) HasSecurityContext() bool

func (*LinuxContainerConfig) ProtoMessage

func (*LinuxContainerConfig) ProtoMessage()

func (*LinuxContainerConfig) ProtoReflect

func (x *LinuxContainerConfig) ProtoReflect() protoreflect.Message

func (*LinuxContainerConfig) Reset

func (x *LinuxContainerConfig) Reset()

func (*LinuxContainerConfig) SetResources

func (x *LinuxContainerConfig) SetResources(v *LinuxContainerResources)

func (*LinuxContainerConfig) SetSecurityContext

func (x *LinuxContainerConfig) SetSecurityContext(v *LinuxContainerSecurityContext)

func (*LinuxContainerConfig) String

func (x *LinuxContainerConfig) String() string

type LinuxContainerConfig_builder

type LinuxContainerConfig_builder struct {

	// Resources specification for the container.
	Resources *LinuxContainerResources
	// LinuxContainerSecurityContext configuration for the container.
	SecurityContext *LinuxContainerSecurityContext
	// contains filtered or unexported fields
}

func (LinuxContainerConfig_builder) Build

type LinuxContainerResources

type LinuxContainerResources struct {

	// CPU CFS (Completely Fair Scheduler) period. Default: 0 (not specified).
	CpuPeriod int64 `protobuf:"varint,1,opt,name=cpu_period,json=cpuPeriod,proto3" json:"cpu_period,omitempty"`
	// CPU CFS (Completely Fair Scheduler) quota. Default: 0 (not specified).
	CpuQuota int64 `protobuf:"varint,2,opt,name=cpu_quota,json=cpuQuota,proto3" json:"cpu_quota,omitempty"`
	// CPU shares (relative weight vs. other containers). Default: 0 (not specified).
	CpuShares int64 `protobuf:"varint,3,opt,name=cpu_shares,json=cpuShares,proto3" json:"cpu_shares,omitempty"`
	// Memory limit in bytes. Default: 0 (not specified).
	MemoryLimitInBytes int64 `protobuf:"varint,4,opt,name=memory_limit_in_bytes,json=memoryLimitInBytes,proto3" json:"memory_limit_in_bytes,omitempty"`
	// OOMScoreAdj adjusts the oom-killer score. Default: 0 (not specified).
	OomScoreAdj int64 `protobuf:"varint,5,opt,name=oom_score_adj,json=oomScoreAdj,proto3" json:"oom_score_adj,omitempty"`
	// CpusetCpus constrains the allowed set of logical CPUs. Default: "" (not specified).
	CpusetCpus string `protobuf:"bytes,6,opt,name=cpuset_cpus,json=cpusetCpus,proto3" json:"cpuset_cpus,omitempty"`
	// CpusetMems constrains the allowed set of memory nodes. Default: "" (not specified).
	CpusetMems string `protobuf:"bytes,7,opt,name=cpuset_mems,json=cpusetMems,proto3" json:"cpuset_mems,omitempty"`
	// List of HugepageLimits to limit the HugeTLB usage of container per page size. Default: nil (not specified).
	HugepageLimits []*HugepageLimit `protobuf:"bytes,8,rep,name=hugepage_limits,json=hugepageLimits,proto3" json:"hugepage_limits,omitempty"`
	// Unified resources for cgroup v2. Default: nil (not specified).
	// Each key/value in the map refers to the cgroup v2.
	// e.g. "memory.max": "6937202688" or "io.weight": "default 100".
	Unified map[string]string `` /* 141-byte string literal not displayed */
	// Memory swap limit in bytes. Default 0 (not specified).
	MemorySwapLimitInBytes int64 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

LinuxContainerResources specifies Linux specific configuration for resources.

func (*LinuxContainerResources) GetCpuPeriod

func (x *LinuxContainerResources) GetCpuPeriod() int64

func (*LinuxContainerResources) GetCpuQuota

func (x *LinuxContainerResources) GetCpuQuota() int64

func (*LinuxContainerResources) GetCpuShares

func (x *LinuxContainerResources) GetCpuShares() int64

func (*LinuxContainerResources) GetCpusetCpus

func (x *LinuxContainerResources) GetCpusetCpus() string

func (*LinuxContainerResources) GetCpusetMems

func (x *LinuxContainerResources) GetCpusetMems() string

func (*LinuxContainerResources) GetHugepageLimits

func (x *LinuxContainerResources) GetHugepageLimits() []*HugepageLimit

func (*LinuxContainerResources) GetMemoryLimitInBytes

func (x *LinuxContainerResources) GetMemoryLimitInBytes() int64

func (*LinuxContainerResources) GetMemorySwapLimitInBytes

func (x *LinuxContainerResources) GetMemorySwapLimitInBytes() int64

func (*LinuxContainerResources) GetOomScoreAdj

func (x *LinuxContainerResources) GetOomScoreAdj() int64

func (*LinuxContainerResources) GetUnified

func (x *LinuxContainerResources) GetUnified() map[string]string

func (*LinuxContainerResources) ProtoMessage

func (*LinuxContainerResources) ProtoMessage()

func (*LinuxContainerResources) ProtoReflect

func (x *LinuxContainerResources) ProtoReflect() protoreflect.Message

func (*LinuxContainerResources) Reset

func (x *LinuxContainerResources) Reset()

func (*LinuxContainerResources) SetCpuPeriod

func (x *LinuxContainerResources) SetCpuPeriod(v int64)

func (*LinuxContainerResources) SetCpuQuota

func (x *LinuxContainerResources) SetCpuQuota(v int64)

func (*LinuxContainerResources) SetCpuShares

func (x *LinuxContainerResources) SetCpuShares(v int64)

func (*LinuxContainerResources) SetCpusetCpus

func (x *LinuxContainerResources) SetCpusetCpus(v string)

func (*LinuxContainerResources) SetCpusetMems

func (x *LinuxContainerResources) SetCpusetMems(v string)

func (*LinuxContainerResources) SetHugepageLimits

func (x *LinuxContainerResources) SetHugepageLimits(v []*HugepageLimit)

func (*LinuxContainerResources) SetMemoryLimitInBytes

func (x *LinuxContainerResources) SetMemoryLimitInBytes(v int64)

func (*LinuxContainerResources) SetMemorySwapLimitInBytes

func (x *LinuxContainerResources) SetMemorySwapLimitInBytes(v int64)

func (*LinuxContainerResources) SetOomScoreAdj

func (x *LinuxContainerResources) SetOomScoreAdj(v int64)

func (*LinuxContainerResources) SetUnified

func (x *LinuxContainerResources) SetUnified(v map[string]string)

func (*LinuxContainerResources) String

func (x *LinuxContainerResources) String() string

type LinuxContainerResources_builder

type LinuxContainerResources_builder struct {

	// CPU CFS (Completely Fair Scheduler) period. Default: 0 (not specified).
	CpuPeriod int64
	// CPU CFS (Completely Fair Scheduler) quota. Default: 0 (not specified).
	CpuQuota int64
	// CPU shares (relative weight vs. other containers). Default: 0 (not specified).
	CpuShares int64
	// Memory limit in bytes. Default: 0 (not specified).
	MemoryLimitInBytes int64
	// OOMScoreAdj adjusts the oom-killer score. Default: 0 (not specified).
	OomScoreAdj int64
	// CpusetCpus constrains the allowed set of logical CPUs. Default: "" (not specified).
	CpusetCpus string
	// CpusetMems constrains the allowed set of memory nodes. Default: "" (not specified).
	CpusetMems string
	// List of HugepageLimits to limit the HugeTLB usage of container per page size. Default: nil (not specified).
	HugepageLimits []*HugepageLimit
	// Unified resources for cgroup v2. Default: nil (not specified).
	// Each key/value in the map refers to the cgroup v2.
	// e.g. "memory.max": "6937202688" or "io.weight": "default 100".
	Unified map[string]string
	// Memory swap limit in bytes. Default 0 (not specified).
	MemorySwapLimitInBytes int64
	// contains filtered or unexported fields
}

func (LinuxContainerResources_builder) Build

type LinuxContainerSecurityContext

type LinuxContainerSecurityContext struct {

	// Capabilities to add or drop.
	Capabilities *Capability `protobuf:"bytes,1,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
	// If set, run container in privileged mode.
	// Privileged mode is incompatible with the following options. If
	// privileged is set, the following features MAY have no effect:
	// 1. capabilities
	// 2. selinux_options
	// 4. seccomp
	// 5. apparmor
	//
	// Privileged mode implies the following specific options are applied:
	// 1. All capabilities are added.
	// 2. Sensitive paths, such as kernel module paths within sysfs, are not masked.
	// 3. Any sysfs and procfs mounts are mounted RW.
	// 4. AppArmor confinement is not applied.
	// 5. Seccomp restrictions are not applied.
	// 6. The device cgroup does not restrict access to any devices.
	// 7. All devices from the host's /dev are available within the container.
	// 8. SELinux restrictions are not applied (e.g. label=disabled).
	Privileged bool `protobuf:"varint,2,opt,name=privileged,proto3" json:"privileged,omitempty"`
	// Configurations for the container's namespaces.
	// Only used if the container uses namespace for isolation.
	NamespaceOptions *NamespaceOption `protobuf:"bytes,3,opt,name=namespace_options,json=namespaceOptions,proto3" json:"namespace_options,omitempty"`
	// SELinux context to be optionally applied.
	SelinuxOptions *SELinuxOption `protobuf:"bytes,4,opt,name=selinux_options,json=selinuxOptions,proto3" json:"selinux_options,omitempty"`
	// UID to run the container process as. Only one of run_as_user and
	// run_as_username can be specified at a time.
	RunAsUser *Int64Value `protobuf:"bytes,5,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"`
	// GID to run the container process as. run_as_group should only be specified
	// when run_as_user or run_as_username is specified; otherwise, the runtime
	// MUST error.
	RunAsGroup *Int64Value `protobuf:"bytes,12,opt,name=run_as_group,json=runAsGroup,proto3" json:"run_as_group,omitempty"`
	// User name to run the container process as. If specified, the user MUST
	// exist in the container image (i.e. in the /etc/passwd inside the image),
	// and be resolved there by the runtime; otherwise, the runtime MUST error.
	RunAsUsername string `protobuf:"bytes,6,opt,name=run_as_username,json=runAsUsername,proto3" json:"run_as_username,omitempty"`
	// If set, the root filesystem of the container is read-only.
	ReadonlyRootfs bool `protobuf:"varint,7,opt,name=readonly_rootfs,json=readonlyRootfs,proto3" json:"readonly_rootfs,omitempty"`
	// List of groups applied to the first process run in the container, in
	// addition to the container's primary GID, and group memberships defined
	// in the container image for the container's primary UID of the container process.
	// If the list is empty, no additional groups are added to any container.
	// Note that group memberships defined in the container image for the container's primary UID
	// of the container process are still effective, even if they are not included in this list.
	SupplementalGroups []int64 `protobuf:"varint,8,rep,packed,name=supplemental_groups,json=supplementalGroups,proto3" json:"supplemental_groups,omitempty"`
	// no_new_privs defines if the flag for no_new_privs should be set on the
	// container.
	NoNewPrivs bool `protobuf:"varint,11,opt,name=no_new_privs,json=noNewPrivs,proto3" json:"no_new_privs,omitempty"`
	// masked_paths is a slice of paths that should be masked by the container
	// runtime, this can be passed directly to the OCI spec.
	MaskedPaths []string `protobuf:"bytes,13,rep,name=masked_paths,json=maskedPaths,proto3" json:"masked_paths,omitempty"`
	// readonly_paths is a slice of paths that should be set as readonly by the
	// container runtime, this can be passed directly to the OCI spec.
	ReadonlyPaths []string `protobuf:"bytes,14,rep,name=readonly_paths,json=readonlyPaths,proto3" json:"readonly_paths,omitempty"`
	// Seccomp profile for the container.
	Seccomp *SecurityProfile `protobuf:"bytes,15,opt,name=seccomp,proto3" json:"seccomp,omitempty"`
	// AppArmor profile for the container.
	Apparmor *SecurityProfile `protobuf:"bytes,16,opt,name=apparmor,proto3" json:"apparmor,omitempty"`
	// AppArmor profile for the container, candidate values are:
	//   - runtime/default: equivalent to not specifying a profile.
	//   - unconfined: no profiles are loaded
	//   - localhost/<profile_name>: profile loaded on the node
	//     (localhost) by name. The possible profile names are detailed at
	//     https://gitlab.com/apparmor/apparmor/-/wikis/AppArmor_Core_Policy_Reference
	//
	// Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.
	ApparmorProfile string `protobuf:"bytes,9,opt,name=apparmor_profile,json=apparmorProfile,proto3" json:"apparmor_profile,omitempty"`
	// Seccomp profile for the container, candidate values are:
	//   - runtime/default: the default profile for the container runtime
	//   - unconfined: unconfined profile, ie, no seccomp sandboxing
	//   - localhost/<full-path-to-profile>: the profile installed on the node.
	//     <full-path-to-profile> is the full path of the profile.
	//
	// Default: "", which is identical with unconfined.
	//
	// Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.
	SeccompProfilePath string `protobuf:"bytes,10,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"`
	// contains filtered or unexported fields
}

LinuxContainerSecurityContext holds linux security configuration that will be applied to a container.

func (*LinuxContainerSecurityContext) ClearApparmor

func (x *LinuxContainerSecurityContext) ClearApparmor()

func (*LinuxContainerSecurityContext) ClearCapabilities

func (x *LinuxContainerSecurityContext) ClearCapabilities()

func (*LinuxContainerSecurityContext) ClearNamespaceOptions

func (x *LinuxContainerSecurityContext) ClearNamespaceOptions()

func (*LinuxContainerSecurityContext) ClearRunAsGroup

func (x *LinuxContainerSecurityContext) ClearRunAsGroup()

func (*LinuxContainerSecurityContext) ClearRunAsUser

func (x *LinuxContainerSecurityContext) ClearRunAsUser()

func (*LinuxContainerSecurityContext) ClearSeccomp

func (x *LinuxContainerSecurityContext) ClearSeccomp()

func (*LinuxContainerSecurityContext) ClearSelinuxOptions

func (x *LinuxContainerSecurityContext) ClearSelinuxOptions()

func (*LinuxContainerSecurityContext) GetApparmor

func (*LinuxContainerSecurityContext) GetApparmorProfile deprecated

func (x *LinuxContainerSecurityContext) GetApparmorProfile() string

Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.

func (*LinuxContainerSecurityContext) GetCapabilities

func (x *LinuxContainerSecurityContext) GetCapabilities() *Capability

func (*LinuxContainerSecurityContext) GetMaskedPaths

func (x *LinuxContainerSecurityContext) GetMaskedPaths() []string

func (*LinuxContainerSecurityContext) GetNamespaceOptions

func (x *LinuxContainerSecurityContext) GetNamespaceOptions() *NamespaceOption

func (*LinuxContainerSecurityContext) GetNoNewPrivs

func (x *LinuxContainerSecurityContext) GetNoNewPrivs() bool

func (*LinuxContainerSecurityContext) GetPrivileged

func (x *LinuxContainerSecurityContext) GetPrivileged() bool

func (*LinuxContainerSecurityContext) GetReadonlyPaths

func (x *LinuxContainerSecurityContext) GetReadonlyPaths() []string

func (*LinuxContainerSecurityContext) GetReadonlyRootfs

func (x *LinuxContainerSecurityContext) GetReadonlyRootfs() bool

func (*LinuxContainerSecurityContext) GetRunAsGroup

func (x *LinuxContainerSecurityContext) GetRunAsGroup() *Int64Value

func (*LinuxContainerSecurityContext) GetRunAsUser

func (x *LinuxContainerSecurityContext) GetRunAsUser() *Int64Value

func (*LinuxContainerSecurityContext) GetRunAsUsername

func (x *LinuxContainerSecurityContext) GetRunAsUsername() string

func (*LinuxContainerSecurityContext) GetSeccomp

func (*LinuxContainerSecurityContext) GetSeccompProfilePath deprecated

func (x *LinuxContainerSecurityContext) GetSeccompProfilePath() string

Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.

func (*LinuxContainerSecurityContext) GetSelinuxOptions

func (x *LinuxContainerSecurityContext) GetSelinuxOptions() *SELinuxOption

func (*LinuxContainerSecurityContext) GetSupplementalGroups

func (x *LinuxContainerSecurityContext) GetSupplementalGroups() []int64

func (*LinuxContainerSecurityContext) HasApparmor

func (x *LinuxContainerSecurityContext) HasApparmor() bool

func (*LinuxContainerSecurityContext) HasCapabilities

func (x *LinuxContainerSecurityContext) HasCapabilities() bool

func (*LinuxContainerSecurityContext) HasNamespaceOptions

func (x *LinuxContainerSecurityContext) HasNamespaceOptions() bool

func (*LinuxContainerSecurityContext) HasRunAsGroup

func (x *LinuxContainerSecurityContext) HasRunAsGroup() bool

func (*LinuxContainerSecurityContext) HasRunAsUser

func (x *LinuxContainerSecurityContext) HasRunAsUser() bool

func (*LinuxContainerSecurityContext) HasSeccomp

func (x *LinuxContainerSecurityContext) HasSeccomp() bool

func (*LinuxContainerSecurityContext) HasSelinuxOptions

func (x *LinuxContainerSecurityContext) HasSelinuxOptions() bool

func (*LinuxContainerSecurityContext) ProtoMessage

func (*LinuxContainerSecurityContext) ProtoMessage()

func (*LinuxContainerSecurityContext) ProtoReflect

func (*LinuxContainerSecurityContext) Reset

func (x *LinuxContainerSecurityContext) Reset()

func (*LinuxContainerSecurityContext) SetApparmor

func (*LinuxContainerSecurityContext) SetApparmorProfile deprecated

func (x *LinuxContainerSecurityContext) SetApparmorProfile(v string)

Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.

func (*LinuxContainerSecurityContext) SetCapabilities

func (x *LinuxContainerSecurityContext) SetCapabilities(v *Capability)

func (*LinuxContainerSecurityContext) SetMaskedPaths

func (x *LinuxContainerSecurityContext) SetMaskedPaths(v []string)

func (*LinuxContainerSecurityContext) SetNamespaceOptions

func (x *LinuxContainerSecurityContext) SetNamespaceOptions(v *NamespaceOption)

func (*LinuxContainerSecurityContext) SetNoNewPrivs

func (x *LinuxContainerSecurityContext) SetNoNewPrivs(v bool)

func (*LinuxContainerSecurityContext) SetPrivileged

func (x *LinuxContainerSecurityContext) SetPrivileged(v bool)

func (*LinuxContainerSecurityContext) SetReadonlyPaths

func (x *LinuxContainerSecurityContext) SetReadonlyPaths(v []string)

func (*LinuxContainerSecurityContext) SetReadonlyRootfs

func (x *LinuxContainerSecurityContext) SetReadonlyRootfs(v bool)

func (*LinuxContainerSecurityContext) SetRunAsGroup

func (x *LinuxContainerSecurityContext) SetRunAsGroup(v *Int64Value)

func (*LinuxContainerSecurityContext) SetRunAsUser

func (x *LinuxContainerSecurityContext) SetRunAsUser(v *Int64Value)

func (*LinuxContainerSecurityContext) SetRunAsUsername

func (x *LinuxContainerSecurityContext) SetRunAsUsername(v string)

func (*LinuxContainerSecurityContext) SetSeccomp

func (*LinuxContainerSecurityContext) SetSeccompProfilePath deprecated

func (x *LinuxContainerSecurityContext) SetSeccompProfilePath(v string)

Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.

func (*LinuxContainerSecurityContext) SetSelinuxOptions

func (x *LinuxContainerSecurityContext) SetSelinuxOptions(v *SELinuxOption)

func (*LinuxContainerSecurityContext) SetSupplementalGroups

func (x *LinuxContainerSecurityContext) SetSupplementalGroups(v []int64)

func (*LinuxContainerSecurityContext) String

type LinuxContainerSecurityContext_builder

type LinuxContainerSecurityContext_builder struct {

	// Capabilities to add or drop.
	Capabilities *Capability
	// If set, run container in privileged mode.
	// Privileged mode is incompatible with the following options. If
	// privileged is set, the following features MAY have no effect:
	// 1. capabilities
	// 2. selinux_options
	// 4. seccomp
	// 5. apparmor
	//
	// Privileged mode implies the following specific options are applied:
	// 1. All capabilities are added.
	// 2. Sensitive paths, such as kernel module paths within sysfs, are not masked.
	// 3. Any sysfs and procfs mounts are mounted RW.
	// 4. AppArmor confinement is not applied.
	// 5. Seccomp restrictions are not applied.
	// 6. The device cgroup does not restrict access to any devices.
	// 7. All devices from the host's /dev are available within the container.
	// 8. SELinux restrictions are not applied (e.g. label=disabled).
	Privileged bool
	// Configurations for the container's namespaces.
	// Only used if the container uses namespace for isolation.
	NamespaceOptions *NamespaceOption
	// SELinux context to be optionally applied.
	SelinuxOptions *SELinuxOption
	// UID to run the container process as. Only one of run_as_user and
	// run_as_username can be specified at a time.
	RunAsUser *Int64Value
	// GID to run the container process as. run_as_group should only be specified
	// when run_as_user or run_as_username is specified; otherwise, the runtime
	// MUST error.
	RunAsGroup *Int64Value
	// User name to run the container process as. If specified, the user MUST
	// exist in the container image (i.e. in the /etc/passwd inside the image),
	// and be resolved there by the runtime; otherwise, the runtime MUST error.
	RunAsUsername string
	// If set, the root filesystem of the container is read-only.
	ReadonlyRootfs bool
	// List of groups applied to the first process run in the container, in
	// addition to the container's primary GID, and group memberships defined
	// in the container image for the container's primary UID of the container process.
	// If the list is empty, no additional groups are added to any container.
	// Note that group memberships defined in the container image for the container's primary UID
	// of the container process are still effective, even if they are not included in this list.
	SupplementalGroups []int64
	// no_new_privs defines if the flag for no_new_privs should be set on the
	// container.
	NoNewPrivs bool
	// masked_paths is a slice of paths that should be masked by the container
	// runtime, this can be passed directly to the OCI spec.
	MaskedPaths []string
	// readonly_paths is a slice of paths that should be set as readonly by the
	// container runtime, this can be passed directly to the OCI spec.
	ReadonlyPaths []string
	// Seccomp profile for the container.
	Seccomp *SecurityProfile
	// AppArmor profile for the container.
	Apparmor *SecurityProfile
	// AppArmor profile for the container, candidate values are:
	//   - runtime/default: equivalent to not specifying a profile.
	//   - unconfined: no profiles are loaded
	//   - localhost/<profile_name>: profile loaded on the node
	//     (localhost) by name. The possible profile names are detailed at
	//     https://gitlab.com/apparmor/apparmor/-/wikis/AppArmor_Core_Policy_Reference
	//
	// Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.
	ApparmorProfile string
	// Seccomp profile for the container, candidate values are:
	//   - runtime/default: the default profile for the container runtime
	//   - unconfined: unconfined profile, ie, no seccomp sandboxing
	//   - localhost/<full-path-to-profile>: the profile installed on the node.
	//     <full-path-to-profile> is the full path of the profile.
	//
	// Default: "", which is identical with unconfined.
	//
	// Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.
	SeccompProfilePath string
	// contains filtered or unexported fields
}

func (LinuxContainerSecurityContext_builder) Build

type LinuxPodSandboxConfig

type LinuxPodSandboxConfig struct {

	// Parent cgroup of the PodSandbox.
	// The cgroupfs style syntax will be used, but the container runtime can
	// convert it to systemd semantics if needed.
	CgroupParent string `protobuf:"bytes,1,opt,name=cgroup_parent,json=cgroupParent,proto3" json:"cgroup_parent,omitempty"`
	// LinuxSandboxSecurityContext holds sandbox security attributes.
	SecurityContext *LinuxSandboxSecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	// Sysctls holds linux sysctls config for the sandbox.
	Sysctls map[string]string `` /* 141-byte string literal not displayed */
	// Optional overhead represents the overheads associated with this sandbox
	Overhead *LinuxContainerResources `protobuf:"bytes,4,opt,name=overhead,proto3" json:"overhead,omitempty"`
	// Optional resources represents the sum of container resources for this sandbox
	Resources *LinuxContainerResources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

LinuxPodSandboxConfig holds platform-specific configurations for Linux host platforms and Linux-based containers.

func (*LinuxPodSandboxConfig) ClearOverhead

func (x *LinuxPodSandboxConfig) ClearOverhead()

func (*LinuxPodSandboxConfig) ClearResources

func (x *LinuxPodSandboxConfig) ClearResources()

func (*LinuxPodSandboxConfig) ClearSecurityContext

func (x *LinuxPodSandboxConfig) ClearSecurityContext()

func (*LinuxPodSandboxConfig) GetCgroupParent

func (x *LinuxPodSandboxConfig) GetCgroupParent() string

func (*LinuxPodSandboxConfig) GetOverhead

func (*LinuxPodSandboxConfig) GetResources

func (*LinuxPodSandboxConfig) GetSecurityContext

func (x *LinuxPodSandboxConfig) GetSecurityContext() *LinuxSandboxSecurityContext

func (*LinuxPodSandboxConfig) GetSysctls

func (x *LinuxPodSandboxConfig) GetSysctls() map[string]string

func (*LinuxPodSandboxConfig) HasOverhead

func (x *LinuxPodSandboxConfig) HasOverhead() bool

func (*LinuxPodSandboxConfig) HasResources

func (x *LinuxPodSandboxConfig) HasResources() bool

func (*LinuxPodSandboxConfig) HasSecurityContext

func (x *LinuxPodSandboxConfig) HasSecurityContext() bool

func (*LinuxPodSandboxConfig) ProtoMessage

func (*LinuxPodSandboxConfig) ProtoMessage()

func (*LinuxPodSandboxConfig) ProtoReflect

func (x *LinuxPodSandboxConfig) ProtoReflect() protoreflect.Message

func (*LinuxPodSandboxConfig) Reset

func (x *LinuxPodSandboxConfig) Reset()

func (*LinuxPodSandboxConfig) SetCgroupParent

func (x *LinuxPodSandboxConfig) SetCgroupParent(v string)

func (*LinuxPodSandboxConfig) SetOverhead

func (*LinuxPodSandboxConfig) SetResources

func (x *LinuxPodSandboxConfig) SetResources(v *LinuxContainerResources)

func (*LinuxPodSandboxConfig) SetSecurityContext

func (x *LinuxPodSandboxConfig) SetSecurityContext(v *LinuxSandboxSecurityContext)

func (*LinuxPodSandboxConfig) SetSysctls

func (x *LinuxPodSandboxConfig) SetSysctls(v map[string]string)

func (*LinuxPodSandboxConfig) String

func (x *LinuxPodSandboxConfig) String() string

type LinuxPodSandboxConfig_builder

type LinuxPodSandboxConfig_builder struct {

	// Parent cgroup of the PodSandbox.
	// The cgroupfs style syntax will be used, but the container runtime can
	// convert it to systemd semantics if needed.
	CgroupParent string
	// LinuxSandboxSecurityContext holds sandbox security attributes.
	SecurityContext *LinuxSandboxSecurityContext
	// Sysctls holds linux sysctls config for the sandbox.
	Sysctls map[string]string
	// Optional overhead represents the overheads associated with this sandbox
	Overhead *LinuxContainerResources
	// Optional resources represents the sum of container resources for this sandbox
	Resources *LinuxContainerResources
	// contains filtered or unexported fields
}

func (LinuxPodSandboxConfig_builder) Build

type LinuxPodSandboxStats

type LinuxPodSandboxStats struct {

	// CPU usage gathered for the pod sandbox.
	Cpu *CpuUsage `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// Memory usage gathered for the pod sandbox.
	Memory *MemoryUsage `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	// Network usage gathered for the pod sandbox
	Network *NetworkUsage `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	// Stats pertaining to processes in the pod sandbox.
	Process *ProcessUsage `protobuf:"bytes,4,opt,name=process,proto3" json:"process,omitempty"`
	// Stats of containers in the measured pod sandbox.
	Containers []*ContainerStats `protobuf:"bytes,5,rep,name=containers,proto3" json:"containers,omitempty"`
	// contains filtered or unexported fields
}

LinuxPodSandboxStats provides the resource usage statistics for a pod sandbox on linux.

func (*LinuxPodSandboxStats) ClearCpu

func (x *LinuxPodSandboxStats) ClearCpu()

func (*LinuxPodSandboxStats) ClearMemory

func (x *LinuxPodSandboxStats) ClearMemory()

func (*LinuxPodSandboxStats) ClearNetwork

func (x *LinuxPodSandboxStats) ClearNetwork()

func (*LinuxPodSandboxStats) ClearProcess

func (x *LinuxPodSandboxStats) ClearProcess()

func (*LinuxPodSandboxStats) GetContainers

func (x *LinuxPodSandboxStats) GetContainers() []*ContainerStats

func (*LinuxPodSandboxStats) GetCpu

func (x *LinuxPodSandboxStats) GetCpu() *CpuUsage

func (*LinuxPodSandboxStats) GetMemory

func (x *LinuxPodSandboxStats) GetMemory() *MemoryUsage

func (*LinuxPodSandboxStats) GetNetwork

func (x *LinuxPodSandboxStats) GetNetwork() *NetworkUsage

func (*LinuxPodSandboxStats) GetProcess

func (x *LinuxPodSandboxStats) GetProcess() *ProcessUsage

func (*LinuxPodSandboxStats) HasCpu

func (x *LinuxPodSandboxStats) HasCpu() bool

func (*LinuxPodSandboxStats) HasMemory

func (x *LinuxPodSandboxStats) HasMemory() bool

func (*LinuxPodSandboxStats) HasNetwork

func (x *LinuxPodSandboxStats) HasNetwork() bool

func (*LinuxPodSandboxStats) HasProcess

func (x *LinuxPodSandboxStats) HasProcess() bool

func (*LinuxPodSandboxStats) ProtoMessage

func (*LinuxPodSandboxStats) ProtoMessage()

func (*LinuxPodSandboxStats) ProtoReflect

func (x *LinuxPodSandboxStats) ProtoReflect() protoreflect.Message

func (*LinuxPodSandboxStats) Reset

func (x *LinuxPodSandboxStats) Reset()

func (*LinuxPodSandboxStats) SetContainers

func (x *LinuxPodSandboxStats) SetContainers(v []*ContainerStats)

func (*LinuxPodSandboxStats) SetCpu

func (x *LinuxPodSandboxStats) SetCpu(v *CpuUsage)

func (*LinuxPodSandboxStats) SetMemory

func (x *LinuxPodSandboxStats) SetMemory(v *MemoryUsage)

func (*LinuxPodSandboxStats) SetNetwork

func (x *LinuxPodSandboxStats) SetNetwork(v *NetworkUsage)

func (*LinuxPodSandboxStats) SetProcess

func (x *LinuxPodSandboxStats) SetProcess(v *ProcessUsage)

func (*LinuxPodSandboxStats) String

func (x *LinuxPodSandboxStats) String() string

type LinuxPodSandboxStats_builder

type LinuxPodSandboxStats_builder struct {

	// CPU usage gathered for the pod sandbox.
	Cpu *CpuUsage
	// Memory usage gathered for the pod sandbox.
	Memory *MemoryUsage
	// Network usage gathered for the pod sandbox
	Network *NetworkUsage
	// Stats pertaining to processes in the pod sandbox.
	Process *ProcessUsage
	// Stats of containers in the measured pod sandbox.
	Containers []*ContainerStats
	// contains filtered or unexported fields
}

func (LinuxPodSandboxStats_builder) Build

type LinuxPodSandboxStatus

type LinuxPodSandboxStatus struct {

	// Paths to the sandbox's namespaces.
	Namespaces *Namespace `protobuf:"bytes,1,opt,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

LinuxSandboxStatus contains status specific to Linux sandboxes.

func (*LinuxPodSandboxStatus) ClearNamespaces

func (x *LinuxPodSandboxStatus) ClearNamespaces()

func (*LinuxPodSandboxStatus) GetNamespaces

func (x *LinuxPodSandboxStatus) GetNamespaces() *Namespace

func (*LinuxPodSandboxStatus) HasNamespaces

func (x *LinuxPodSandboxStatus) HasNamespaces() bool

func (*LinuxPodSandboxStatus) ProtoMessage

func (*LinuxPodSandboxStatus) ProtoMessage()

func (*LinuxPodSandboxStatus) ProtoReflect

func (x *LinuxPodSandboxStatus) ProtoReflect() protoreflect.Message

func (*LinuxPodSandboxStatus) Reset

func (x *LinuxPodSandboxStatus) Reset()

func (*LinuxPodSandboxStatus) SetNamespaces

func (x *LinuxPodSandboxStatus) SetNamespaces(v *Namespace)

func (*LinuxPodSandboxStatus) String

func (x *LinuxPodSandboxStatus) String() string

type LinuxPodSandboxStatus_builder

type LinuxPodSandboxStatus_builder struct {

	// Paths to the sandbox's namespaces.
	Namespaces *Namespace
	// contains filtered or unexported fields
}

func (LinuxPodSandboxStatus_builder) Build

type LinuxRuntimeConfiguration

type LinuxRuntimeConfiguration struct {

	// Cgroup driver to use
	// Note: this field should not change for the lifecycle of the Kubelet,
	// or while there are running containers.
	// The Kubelet will not re-request this after startup, and will construct the cgroup
	// hierarchy assuming it is static.
	// If the runtime wishes to change this value, it must be accompanied by removal of
	// all pods, and a restart of the Kubelet. The easiest way to do this is with a full node reboot.
	CgroupDriver CgroupDriver `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LinuxRuntimeConfiguration) GetCgroupDriver

func (x *LinuxRuntimeConfiguration) GetCgroupDriver() CgroupDriver

func (*LinuxRuntimeConfiguration) ProtoMessage

func (*LinuxRuntimeConfiguration) ProtoMessage()

func (*LinuxRuntimeConfiguration) ProtoReflect

func (*LinuxRuntimeConfiguration) Reset

func (x *LinuxRuntimeConfiguration) Reset()

func (*LinuxRuntimeConfiguration) SetCgroupDriver

func (x *LinuxRuntimeConfiguration) SetCgroupDriver(v CgroupDriver)

func (*LinuxRuntimeConfiguration) String

func (x *LinuxRuntimeConfiguration) String() string

type LinuxRuntimeConfiguration_builder

type LinuxRuntimeConfiguration_builder struct {

	// Cgroup driver to use
	// Note: this field should not change for the lifecycle of the Kubelet,
	// or while there are running containers.
	// The Kubelet will not re-request this after startup, and will construct the cgroup
	// hierarchy assuming it is static.
	// If the runtime wishes to change this value, it must be accompanied by removal of
	// all pods, and a restart of the Kubelet. The easiest way to do this is with a full node reboot.
	CgroupDriver CgroupDriver
	// contains filtered or unexported fields
}

func (LinuxRuntimeConfiguration_builder) Build

type LinuxSandboxSecurityContext

type LinuxSandboxSecurityContext struct {

	// Configurations for the sandbox's namespaces.
	// This will be used only if the PodSandbox uses namespace for isolation.
	NamespaceOptions *NamespaceOption `protobuf:"bytes,1,opt,name=namespace_options,json=namespaceOptions,proto3" json:"namespace_options,omitempty"`
	// Optional SELinux context to be applied.
	SelinuxOptions *SELinuxOption `protobuf:"bytes,2,opt,name=selinux_options,json=selinuxOptions,proto3" json:"selinux_options,omitempty"`
	// UID to run sandbox processes as, when applicable.
	RunAsUser *Int64Value `protobuf:"bytes,3,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"`
	// GID to run sandbox processes as, when applicable. run_as_group should only
	// be specified when run_as_user is specified; otherwise, the runtime MUST error.
	RunAsGroup *Int64Value `protobuf:"bytes,8,opt,name=run_as_group,json=runAsGroup,proto3" json:"run_as_group,omitempty"`
	// If set, the root filesystem of the sandbox is read-only.
	ReadonlyRootfs bool `protobuf:"varint,4,opt,name=readonly_rootfs,json=readonlyRootfs,proto3" json:"readonly_rootfs,omitempty"`
	// List of groups applied to the first process run in the sandbox, in
	// addition to the sandbox's primary GID, and group memberships defined
	// in the container image for the sandbox's primary UID of the container process.
	// If the list is empty, no additional groups are added to any container.
	// Note that group memberships defined in the container image for the sandbox's primary UID
	// of the container process are still effective, even if they are not included in this list.
	SupplementalGroups []int64 `protobuf:"varint,5,rep,packed,name=supplemental_groups,json=supplementalGroups,proto3" json:"supplemental_groups,omitempty"`
	// Indicates whether the sandbox will be asked to run a privileged
	// container. If a privileged container is to be executed within it, this
	// MUST be true.
	// This allows a sandbox to take additional security precautions if no
	// privileged containers are expected to be run.
	Privileged bool `protobuf:"varint,6,opt,name=privileged,proto3" json:"privileged,omitempty"`
	// Seccomp profile for the sandbox.
	Seccomp *SecurityProfile `protobuf:"bytes,9,opt,name=seccomp,proto3" json:"seccomp,omitempty"`
	// AppArmor profile for the sandbox.
	Apparmor *SecurityProfile `protobuf:"bytes,10,opt,name=apparmor,proto3" json:"apparmor,omitempty"`
	// Seccomp profile for the sandbox, candidate values are:
	//   - runtime/default: the default profile for the container runtime
	//   - unconfined: unconfined profile, ie, no seccomp sandboxing
	//   - localhost/<full-path-to-profile>: the profile installed on the node.
	//     <full-path-to-profile> is the full path of the profile.
	//
	// Default: "", which is identical with unconfined.
	//
	// Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.
	SeccompProfilePath string `protobuf:"bytes,7,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"`
	// contains filtered or unexported fields
}

LinuxSandboxSecurityContext holds linux security configuration that will be applied to a sandbox. Note that:

  1. It does not apply to containers in the pods.
  2. It may not be applicable to a PodSandbox which does not contain any running process.

func (*LinuxSandboxSecurityContext) ClearApparmor

func (x *LinuxSandboxSecurityContext) ClearApparmor()

func (*LinuxSandboxSecurityContext) ClearNamespaceOptions

func (x *LinuxSandboxSecurityContext) ClearNamespaceOptions()

func (*LinuxSandboxSecurityContext) ClearRunAsGroup

func (x *LinuxSandboxSecurityContext) ClearRunAsGroup()

func (*LinuxSandboxSecurityContext) ClearRunAsUser

func (x *LinuxSandboxSecurityContext) ClearRunAsUser()

func (*LinuxSandboxSecurityContext) ClearSeccomp

func (x *LinuxSandboxSecurityContext) ClearSeccomp()

func (*LinuxSandboxSecurityContext) ClearSelinuxOptions

func (x *LinuxSandboxSecurityContext) ClearSelinuxOptions()

func (*LinuxSandboxSecurityContext) GetApparmor

func (x *LinuxSandboxSecurityContext) GetApparmor() *SecurityProfile

func (*LinuxSandboxSecurityContext) GetNamespaceOptions

func (x *LinuxSandboxSecurityContext) GetNamespaceOptions() *NamespaceOption

func (*LinuxSandboxSecurityContext) GetPrivileged

func (x *LinuxSandboxSecurityContext) GetPrivileged() bool

func (*LinuxSandboxSecurityContext) GetReadonlyRootfs

func (x *LinuxSandboxSecurityContext) GetReadonlyRootfs() bool

func (*LinuxSandboxSecurityContext) GetRunAsGroup

func (x *LinuxSandboxSecurityContext) GetRunAsGroup() *Int64Value

func (*LinuxSandboxSecurityContext) GetRunAsUser

func (x *LinuxSandboxSecurityContext) GetRunAsUser() *Int64Value

func (*LinuxSandboxSecurityContext) GetSeccomp

func (*LinuxSandboxSecurityContext) GetSeccompProfilePath deprecated

func (x *LinuxSandboxSecurityContext) GetSeccompProfilePath() string

Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.

func (*LinuxSandboxSecurityContext) GetSelinuxOptions

func (x *LinuxSandboxSecurityContext) GetSelinuxOptions() *SELinuxOption

func (*LinuxSandboxSecurityContext) GetSupplementalGroups

func (x *LinuxSandboxSecurityContext) GetSupplementalGroups() []int64

func (*LinuxSandboxSecurityContext) HasApparmor

func (x *LinuxSandboxSecurityContext) HasApparmor() bool

func (*LinuxSandboxSecurityContext) HasNamespaceOptions

func (x *LinuxSandboxSecurityContext) HasNamespaceOptions() bool

func (*LinuxSandboxSecurityContext) HasRunAsGroup

func (x *LinuxSandboxSecurityContext) HasRunAsGroup() bool

func (*LinuxSandboxSecurityContext) HasRunAsUser

func (x *LinuxSandboxSecurityContext) HasRunAsUser() bool

func (*LinuxSandboxSecurityContext) HasSeccomp

func (x *LinuxSandboxSecurityContext) HasSeccomp() bool

func (*LinuxSandboxSecurityContext) HasSelinuxOptions

func (x *LinuxSandboxSecurityContext) HasSelinuxOptions() bool

func (*LinuxSandboxSecurityContext) ProtoMessage

func (*LinuxSandboxSecurityContext) ProtoMessage()

func (*LinuxSandboxSecurityContext) ProtoReflect

func (*LinuxSandboxSecurityContext) Reset

func (x *LinuxSandboxSecurityContext) Reset()

func (*LinuxSandboxSecurityContext) SetApparmor

func (x *LinuxSandboxSecurityContext) SetApparmor(v *SecurityProfile)

func (*LinuxSandboxSecurityContext) SetNamespaceOptions

func (x *LinuxSandboxSecurityContext) SetNamespaceOptions(v *NamespaceOption)

func (*LinuxSandboxSecurityContext) SetPrivileged

func (x *LinuxSandboxSecurityContext) SetPrivileged(v bool)

func (*LinuxSandboxSecurityContext) SetReadonlyRootfs

func (x *LinuxSandboxSecurityContext) SetReadonlyRootfs(v bool)

func (*LinuxSandboxSecurityContext) SetRunAsGroup

func (x *LinuxSandboxSecurityContext) SetRunAsGroup(v *Int64Value)

func (*LinuxSandboxSecurityContext) SetRunAsUser

func (x *LinuxSandboxSecurityContext) SetRunAsUser(v *Int64Value)

func (*LinuxSandboxSecurityContext) SetSeccomp

func (x *LinuxSandboxSecurityContext) SetSeccomp(v *SecurityProfile)

func (*LinuxSandboxSecurityContext) SetSeccompProfilePath deprecated

func (x *LinuxSandboxSecurityContext) SetSeccompProfilePath(v string)

Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.

func (*LinuxSandboxSecurityContext) SetSelinuxOptions

func (x *LinuxSandboxSecurityContext) SetSelinuxOptions(v *SELinuxOption)

func (*LinuxSandboxSecurityContext) SetSupplementalGroups

func (x *LinuxSandboxSecurityContext) SetSupplementalGroups(v []int64)

func (*LinuxSandboxSecurityContext) String

func (x *LinuxSandboxSecurityContext) String() string

type LinuxSandboxSecurityContext_builder

type LinuxSandboxSecurityContext_builder struct {

	// Configurations for the sandbox's namespaces.
	// This will be used only if the PodSandbox uses namespace for isolation.
	NamespaceOptions *NamespaceOption
	// Optional SELinux context to be applied.
	SelinuxOptions *SELinuxOption
	// UID to run sandbox processes as, when applicable.
	RunAsUser *Int64Value
	// GID to run sandbox processes as, when applicable. run_as_group should only
	// be specified when run_as_user is specified; otherwise, the runtime MUST error.
	RunAsGroup *Int64Value
	// If set, the root filesystem of the sandbox is read-only.
	ReadonlyRootfs bool
	// List of groups applied to the first process run in the sandbox, in
	// addition to the sandbox's primary GID, and group memberships defined
	// in the container image for the sandbox's primary UID of the container process.
	// If the list is empty, no additional groups are added to any container.
	// Note that group memberships defined in the container image for the sandbox's primary UID
	// of the container process are still effective, even if they are not included in this list.
	SupplementalGroups []int64
	// Indicates whether the sandbox will be asked to run a privileged
	// container. If a privileged container is to be executed within it, this
	// MUST be true.
	// This allows a sandbox to take additional security precautions if no
	// privileged containers are expected to be run.
	Privileged bool
	// Seccomp profile for the sandbox.
	Seccomp *SecurityProfile
	// AppArmor profile for the sandbox.
	Apparmor *SecurityProfile
	// Seccomp profile for the sandbox, candidate values are:
	//   - runtime/default: the default profile for the container runtime
	//   - unconfined: unconfined profile, ie, no seccomp sandboxing
	//   - localhost/<full-path-to-profile>: the profile installed on the node.
	//     <full-path-to-profile> is the full path of the profile.
	//
	// Default: "", which is identical with unconfined.
	//
	// Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.
	SeccompProfilePath string
	// contains filtered or unexported fields
}

func (LinuxSandboxSecurityContext_builder) Build

type ListContainerStatsRequest

type ListContainerStatsRequest struct {

	// Filter for the list request.
	Filter *ContainerStatsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListContainerStatsRequest) ClearFilter

func (x *ListContainerStatsRequest) ClearFilter()

func (*ListContainerStatsRequest) GetFilter

func (*ListContainerStatsRequest) HasFilter

func (x *ListContainerStatsRequest) HasFilter() bool

func (*ListContainerStatsRequest) ProtoMessage

func (*ListContainerStatsRequest) ProtoMessage()

func (*ListContainerStatsRequest) ProtoReflect

func (*ListContainerStatsRequest) Reset

func (x *ListContainerStatsRequest) Reset()

func (*ListContainerStatsRequest) SetFilter

func (*ListContainerStatsRequest) String

func (x *ListContainerStatsRequest) String() string

type ListContainerStatsRequest_builder

type ListContainerStatsRequest_builder struct {

	// Filter for the list request.
	Filter *ContainerStatsFilter
	// contains filtered or unexported fields
}

func (ListContainerStatsRequest_builder) Build

type ListContainerStatsResponse

type ListContainerStatsResponse struct {

	// Stats of the container.
	Stats []*ContainerStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*ListContainerStatsResponse) GetStats

func (x *ListContainerStatsResponse) GetStats() []*ContainerStats

func (*ListContainerStatsResponse) ProtoMessage

func (*ListContainerStatsResponse) ProtoMessage()

func (*ListContainerStatsResponse) ProtoReflect

func (*ListContainerStatsResponse) Reset

func (x *ListContainerStatsResponse) Reset()

func (*ListContainerStatsResponse) SetStats

func (x *ListContainerStatsResponse) SetStats(v []*ContainerStats)

func (*ListContainerStatsResponse) String

func (x *ListContainerStatsResponse) String() string

type ListContainerStatsResponse_builder

type ListContainerStatsResponse_builder struct {

	// Stats of the container.
	Stats []*ContainerStats
	// contains filtered or unexported fields
}

func (ListContainerStatsResponse_builder) Build

type ListContainersRequest

type ListContainersRequest struct {
	Filter *ContainerFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListContainersRequest) ClearFilter

func (x *ListContainersRequest) ClearFilter()

func (*ListContainersRequest) GetFilter

func (x *ListContainersRequest) GetFilter() *ContainerFilter

func (*ListContainersRequest) HasFilter

func (x *ListContainersRequest) HasFilter() bool

func (*ListContainersRequest) ProtoMessage

func (*ListContainersRequest) ProtoMessage()

func (*ListContainersRequest) ProtoReflect

func (x *ListContainersRequest) ProtoReflect() protoreflect.Message

func (*ListContainersRequest) Reset

func (x *ListContainersRequest) Reset()

func (*ListContainersRequest) SetFilter

func (x *ListContainersRequest) SetFilter(v *ContainerFilter)

func (*ListContainersRequest) String

func (x *ListContainersRequest) String() string

type ListContainersRequest_builder

type ListContainersRequest_builder struct {
	Filter *ContainerFilter
	// contains filtered or unexported fields
}

func (ListContainersRequest_builder) Build

type ListContainersResponse

type ListContainersResponse struct {

	// List of containers.
	Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListContainersResponse) GetContainers

func (x *ListContainersResponse) GetContainers() []*Container

func (*ListContainersResponse) ProtoMessage

func (*ListContainersResponse) ProtoMessage()

func (*ListContainersResponse) ProtoReflect

func (x *ListContainersResponse) ProtoReflect() protoreflect.Message

func (*ListContainersResponse) Reset

func (x *ListContainersResponse) Reset()

func (*ListContainersResponse) SetContainers

func (x *ListContainersResponse) SetContainers(v []*Container)

func (*ListContainersResponse) String

func (x *ListContainersResponse) String() string

type ListContainersResponse_builder

type ListContainersResponse_builder struct {

	// List of containers.
	Containers []*Container
	// contains filtered or unexported fields
}

func (ListContainersResponse_builder) Build

type ListImagesRequest

type ListImagesRequest struct {

	// Filter to list images.
	Filter *ImageFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListImagesRequest) ClearFilter

func (x *ListImagesRequest) ClearFilter()

func (*ListImagesRequest) GetFilter

func (x *ListImagesRequest) GetFilter() *ImageFilter

func (*ListImagesRequest) HasFilter

func (x *ListImagesRequest) HasFilter() bool

func (*ListImagesRequest) ProtoMessage

func (*ListImagesRequest) ProtoMessage()

func (*ListImagesRequest) ProtoReflect

func (x *ListImagesRequest) ProtoReflect() protoreflect.Message

func (*ListImagesRequest) Reset

func (x *ListImagesRequest) Reset()

func (*ListImagesRequest) SetFilter

func (x *ListImagesRequest) SetFilter(v *ImageFilter)

func (*ListImagesRequest) String

func (x *ListImagesRequest) String() string

type ListImagesRequest_builder

type ListImagesRequest_builder struct {

	// Filter to list images.
	Filter *ImageFilter
	// contains filtered or unexported fields
}

func (ListImagesRequest_builder) Build

type ListImagesResponse

type ListImagesResponse struct {

	// List of images.
	Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

func (*ListImagesResponse) GetImages

func (x *ListImagesResponse) GetImages() []*Image

func (*ListImagesResponse) ProtoMessage

func (*ListImagesResponse) ProtoMessage()

func (*ListImagesResponse) ProtoReflect

func (x *ListImagesResponse) ProtoReflect() protoreflect.Message

func (*ListImagesResponse) Reset

func (x *ListImagesResponse) Reset()

func (*ListImagesResponse) SetImages

func (x *ListImagesResponse) SetImages(v []*Image)

func (*ListImagesResponse) String

func (x *ListImagesResponse) String() string

type ListImagesResponse_builder

type ListImagesResponse_builder struct {

	// List of images.
	Images []*Image
	// contains filtered or unexported fields
}

func (ListImagesResponse_builder) Build

type ListMetricDescriptorsRequest

type ListMetricDescriptorsRequest struct {
	// contains filtered or unexported fields
}

func (*ListMetricDescriptorsRequest) ProtoMessage

func (*ListMetricDescriptorsRequest) ProtoMessage()

func (*ListMetricDescriptorsRequest) ProtoReflect

func (*ListMetricDescriptorsRequest) Reset

func (x *ListMetricDescriptorsRequest) Reset()

func (*ListMetricDescriptorsRequest) String

type ListMetricDescriptorsRequest_builder

type ListMetricDescriptorsRequest_builder struct {
	// contains filtered or unexported fields
}

func (ListMetricDescriptorsRequest_builder) Build

type ListMetricDescriptorsResponse

type ListMetricDescriptorsResponse struct {
	Descriptors []*MetricDescriptor `protobuf:"bytes,1,rep,name=descriptors,proto3" json:"descriptors,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMetricDescriptorsResponse) GetDescriptors

func (x *ListMetricDescriptorsResponse) GetDescriptors() []*MetricDescriptor

func (*ListMetricDescriptorsResponse) ProtoMessage

func (*ListMetricDescriptorsResponse) ProtoMessage()

func (*ListMetricDescriptorsResponse) ProtoReflect

func (*ListMetricDescriptorsResponse) Reset

func (x *ListMetricDescriptorsResponse) Reset()

func (*ListMetricDescriptorsResponse) SetDescriptors

func (x *ListMetricDescriptorsResponse) SetDescriptors(v []*MetricDescriptor)

func (*ListMetricDescriptorsResponse) String

type ListMetricDescriptorsResponse_builder

type ListMetricDescriptorsResponse_builder struct {
	Descriptors []*MetricDescriptor
	// contains filtered or unexported fields
}

func (ListMetricDescriptorsResponse_builder) Build

type ListPodSandboxMetricsRequest

type ListPodSandboxMetricsRequest struct {
	// contains filtered or unexported fields
}

func (*ListPodSandboxMetricsRequest) ProtoMessage

func (*ListPodSandboxMetricsRequest) ProtoMessage()

func (*ListPodSandboxMetricsRequest) ProtoReflect

func (*ListPodSandboxMetricsRequest) Reset

func (x *ListPodSandboxMetricsRequest) Reset()

func (*ListPodSandboxMetricsRequest) String

type ListPodSandboxMetricsRequest_builder

type ListPodSandboxMetricsRequest_builder struct {
	// contains filtered or unexported fields
}

func (ListPodSandboxMetricsRequest_builder) Build

type ListPodSandboxMetricsResponse

type ListPodSandboxMetricsResponse struct {
	PodMetrics []*PodSandboxMetrics `protobuf:"bytes,1,rep,name=pod_metrics,json=podMetrics,proto3" json:"pod_metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPodSandboxMetricsResponse) GetPodMetrics

func (x *ListPodSandboxMetricsResponse) GetPodMetrics() []*PodSandboxMetrics

func (*ListPodSandboxMetricsResponse) ProtoMessage

func (*ListPodSandboxMetricsResponse) ProtoMessage()

func (*ListPodSandboxMetricsResponse) ProtoReflect

func (*ListPodSandboxMetricsResponse) Reset

func (x *ListPodSandboxMetricsResponse) Reset()

func (*ListPodSandboxMetricsResponse) SetPodMetrics

func (x *ListPodSandboxMetricsResponse) SetPodMetrics(v []*PodSandboxMetrics)

func (*ListPodSandboxMetricsResponse) String

type ListPodSandboxMetricsResponse_builder

type ListPodSandboxMetricsResponse_builder struct {
	PodMetrics []*PodSandboxMetrics
	// contains filtered or unexported fields
}

func (ListPodSandboxMetricsResponse_builder) Build

type ListPodSandboxRequest

type ListPodSandboxRequest struct {

	// PodSandboxFilter to filter a list of PodSandboxes.
	Filter *PodSandboxFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPodSandboxRequest) ClearFilter

func (x *ListPodSandboxRequest) ClearFilter()

func (*ListPodSandboxRequest) GetFilter

func (x *ListPodSandboxRequest) GetFilter() *PodSandboxFilter

func (*ListPodSandboxRequest) HasFilter

func (x *ListPodSandboxRequest) HasFilter() bool

func (*ListPodSandboxRequest) ProtoMessage

func (*ListPodSandboxRequest) ProtoMessage()

func (*ListPodSandboxRequest) ProtoReflect

func (x *ListPodSandboxRequest) ProtoReflect() protoreflect.Message

func (*ListPodSandboxRequest) Reset

func (x *ListPodSandboxRequest) Reset()

func (*ListPodSandboxRequest) SetFilter

func (x *ListPodSandboxRequest) SetFilter(v *PodSandboxFilter)

func (*ListPodSandboxRequest) String

func (x *ListPodSandboxRequest) String() string

type ListPodSandboxRequest_builder

type ListPodSandboxRequest_builder struct {

	// PodSandboxFilter to filter a list of PodSandboxes.
	Filter *PodSandboxFilter
	// contains filtered or unexported fields
}

func (ListPodSandboxRequest_builder) Build

type ListPodSandboxResponse

type ListPodSandboxResponse struct {

	// List of PodSandboxes.
	Items []*PodSandbox `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPodSandboxResponse) GetItems

func (x *ListPodSandboxResponse) GetItems() []*PodSandbox

func (*ListPodSandboxResponse) ProtoMessage

func (*ListPodSandboxResponse) ProtoMessage()

func (*ListPodSandboxResponse) ProtoReflect

func (x *ListPodSandboxResponse) ProtoReflect() protoreflect.Message

func (*ListPodSandboxResponse) Reset

func (x *ListPodSandboxResponse) Reset()

func (*ListPodSandboxResponse) SetItems

func (x *ListPodSandboxResponse) SetItems(v []*PodSandbox)

func (*ListPodSandboxResponse) String

func (x *ListPodSandboxResponse) String() string

type ListPodSandboxResponse_builder

type ListPodSandboxResponse_builder struct {

	// List of PodSandboxes.
	Items []*PodSandbox
	// contains filtered or unexported fields
}

func (ListPodSandboxResponse_builder) Build

type ListPodSandboxStatsRequest

type ListPodSandboxStatsRequest struct {

	// Filter for the list request.
	Filter *PodSandboxStatsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPodSandboxStatsRequest) ClearFilter

func (x *ListPodSandboxStatsRequest) ClearFilter()

func (*ListPodSandboxStatsRequest) GetFilter

func (*ListPodSandboxStatsRequest) HasFilter

func (x *ListPodSandboxStatsRequest) HasFilter() bool

func (*ListPodSandboxStatsRequest) ProtoMessage

func (*ListPodSandboxStatsRequest) ProtoMessage()

func (*ListPodSandboxStatsRequest) ProtoReflect

func (*ListPodSandboxStatsRequest) Reset

func (x *ListPodSandboxStatsRequest) Reset()

func (*ListPodSandboxStatsRequest) SetFilter

func (*ListPodSandboxStatsRequest) String

func (x *ListPodSandboxStatsRequest) String() string

type ListPodSandboxStatsRequest_builder

type ListPodSandboxStatsRequest_builder struct {

	// Filter for the list request.
	Filter *PodSandboxStatsFilter
	// contains filtered or unexported fields
}

func (ListPodSandboxStatsRequest_builder) Build

type ListPodSandboxStatsResponse

type ListPodSandboxStatsResponse struct {

	// Stats of the pod sandbox.
	Stats []*PodSandboxStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPodSandboxStatsResponse) GetStats

func (*ListPodSandboxStatsResponse) ProtoMessage

func (*ListPodSandboxStatsResponse) ProtoMessage()

func (*ListPodSandboxStatsResponse) ProtoReflect

func (*ListPodSandboxStatsResponse) Reset

func (x *ListPodSandboxStatsResponse) Reset()

func (*ListPodSandboxStatsResponse) SetStats

func (x *ListPodSandboxStatsResponse) SetStats(v []*PodSandboxStats)

func (*ListPodSandboxStatsResponse) String

func (x *ListPodSandboxStatsResponse) String() string

type ListPodSandboxStatsResponse_builder

type ListPodSandboxStatsResponse_builder struct {

	// Stats of the pod sandbox.
	Stats []*PodSandboxStats
	// contains filtered or unexported fields
}

func (ListPodSandboxStatsResponse_builder) Build

type MemoryUsage

type MemoryUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The amount of working set memory in bytes.
	WorkingSetBytes *UInt64Value `protobuf:"bytes,2,opt,name=working_set_bytes,json=workingSetBytes,proto3" json:"working_set_bytes,omitempty"`
	// Available memory for use. This is defined as the memory limit - workingSetBytes.
	AvailableBytes *UInt64Value `protobuf:"bytes,3,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"`
	// Total memory in use. This includes all memory regardless of when it was accessed.
	UsageBytes *UInt64Value `protobuf:"bytes,4,opt,name=usage_bytes,json=usageBytes,proto3" json:"usage_bytes,omitempty"`
	// The amount of anonymous and swap cache memory (includes transparent hugepages).
	RssBytes *UInt64Value `protobuf:"bytes,5,opt,name=rss_bytes,json=rssBytes,proto3" json:"rss_bytes,omitempty"`
	// Cumulative number of minor page faults.
	PageFaults *UInt64Value `protobuf:"bytes,6,opt,name=page_faults,json=pageFaults,proto3" json:"page_faults,omitempty"`
	// Cumulative number of major page faults.
	MajorPageFaults *UInt64Value `protobuf:"bytes,7,opt,name=major_page_faults,json=majorPageFaults,proto3" json:"major_page_faults,omitempty"`
	// contains filtered or unexported fields
}

MemoryUsage provides the memory usage information.

func (*MemoryUsage) ClearAvailableBytes

func (x *MemoryUsage) ClearAvailableBytes()

func (*MemoryUsage) ClearMajorPageFaults

func (x *MemoryUsage) ClearMajorPageFaults()

func (*MemoryUsage) ClearPageFaults

func (x *MemoryUsage) ClearPageFaults()

func (*MemoryUsage) ClearRssBytes

func (x *MemoryUsage) ClearRssBytes()

func (*MemoryUsage) ClearUsageBytes

func (x *MemoryUsage) ClearUsageBytes()

func (*MemoryUsage) ClearWorkingSetBytes

func (x *MemoryUsage) ClearWorkingSetBytes()

func (*MemoryUsage) GetAvailableBytes

func (x *MemoryUsage) GetAvailableBytes() *UInt64Value

func (*MemoryUsage) GetMajorPageFaults

func (x *MemoryUsage) GetMajorPageFaults() *UInt64Value

func (*MemoryUsage) GetPageFaults

func (x *MemoryUsage) GetPageFaults() *UInt64Value

func (*MemoryUsage) GetRssBytes

func (x *MemoryUsage) GetRssBytes() *UInt64Value

func (*MemoryUsage) GetTimestamp

func (x *MemoryUsage) GetTimestamp() int64

func (*MemoryUsage) GetUsageBytes

func (x *MemoryUsage) GetUsageBytes() *UInt64Value

func (*MemoryUsage) GetWorkingSetBytes

func (x *MemoryUsage) GetWorkingSetBytes() *UInt64Value

func (*MemoryUsage) HasAvailableBytes

func (x *MemoryUsage) HasAvailableBytes() bool

func (*MemoryUsage) HasMajorPageFaults

func (x *MemoryUsage) HasMajorPageFaults() bool

func (*MemoryUsage) HasPageFaults

func (x *MemoryUsage) HasPageFaults() bool

func (*MemoryUsage) HasRssBytes

func (x *MemoryUsage) HasRssBytes() bool

func (*MemoryUsage) HasUsageBytes

func (x *MemoryUsage) HasUsageBytes() bool

func (*MemoryUsage) HasWorkingSetBytes

func (x *MemoryUsage) HasWorkingSetBytes() bool

func (*MemoryUsage) ProtoMessage

func (*MemoryUsage) ProtoMessage()

func (*MemoryUsage) ProtoReflect

func (x *MemoryUsage) ProtoReflect() protoreflect.Message

func (*MemoryUsage) Reset

func (x *MemoryUsage) Reset()

func (*MemoryUsage) SetAvailableBytes

func (x *MemoryUsage) SetAvailableBytes(v *UInt64Value)

func (*MemoryUsage) SetMajorPageFaults

func (x *MemoryUsage) SetMajorPageFaults(v *UInt64Value)

func (*MemoryUsage) SetPageFaults

func (x *MemoryUsage) SetPageFaults(v *UInt64Value)

func (*MemoryUsage) SetRssBytes

func (x *MemoryUsage) SetRssBytes(v *UInt64Value)

func (*MemoryUsage) SetTimestamp

func (x *MemoryUsage) SetTimestamp(v int64)

func (*MemoryUsage) SetUsageBytes

func (x *MemoryUsage) SetUsageBytes(v *UInt64Value)

func (*MemoryUsage) SetWorkingSetBytes

func (x *MemoryUsage) SetWorkingSetBytes(v *UInt64Value)

func (*MemoryUsage) String

func (x *MemoryUsage) String() string

type MemoryUsage_builder

type MemoryUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// The amount of working set memory in bytes.
	WorkingSetBytes *UInt64Value
	// Available memory for use. This is defined as the memory limit - workingSetBytes.
	AvailableBytes *UInt64Value
	// Total memory in use. This includes all memory regardless of when it was accessed.
	UsageBytes *UInt64Value
	// The amount of anonymous and swap cache memory (includes transparent hugepages).
	RssBytes *UInt64Value
	// Cumulative number of minor page faults.
	PageFaults *UInt64Value
	// Cumulative number of major page faults.
	MajorPageFaults *UInt64Value
	// contains filtered or unexported fields
}

func (MemoryUsage_builder) Build

func (b0 MemoryUsage_builder) Build() *MemoryUsage

type Metric

type Metric struct {

	// Name must match a name previously returned in a MetricDescriptors call,
	// otherwise, it will be ignored.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Timestamp should be 0 if the metric was gathered live.
	// If it was cached, the Timestamp should reflect the time it was collected.
	Timestamp  int64      `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	MetricType MetricType `protobuf:"varint,3,opt,name=metric_type,json=metricType,proto3,enum=runtime.v1.MetricType" json:"metric_type,omitempty"`
	// The corresponding LabelValues to the LabelKeys defined in the MetricDescriptor.
	// It is the responsibility of the runtime to correctly keep sorted the keys and values.
	// If the two slices have different length, the behavior is undefined.
	LabelValues []string     `protobuf:"bytes,4,rep,name=label_values,json=labelValues,proto3" json:"label_values,omitempty"`
	Value       *UInt64Value `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Metric) ClearValue

func (x *Metric) ClearValue()

func (*Metric) GetLabelValues

func (x *Metric) GetLabelValues() []string

func (*Metric) GetMetricType

func (x *Metric) GetMetricType() MetricType

func (*Metric) GetName

func (x *Metric) GetName() string

func (*Metric) GetTimestamp

func (x *Metric) GetTimestamp() int64

func (*Metric) GetValue

func (x *Metric) GetValue() *UInt64Value

func (*Metric) HasValue

func (x *Metric) HasValue() bool

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

func (x *Metric) ProtoReflect() protoreflect.Message

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) SetLabelValues

func (x *Metric) SetLabelValues(v []string)

func (*Metric) SetMetricType

func (x *Metric) SetMetricType(v MetricType)

func (*Metric) SetName

func (x *Metric) SetName(v string)

func (*Metric) SetTimestamp

func (x *Metric) SetTimestamp(v int64)

func (*Metric) SetValue

func (x *Metric) SetValue(v *UInt64Value)

func (*Metric) String

func (x *Metric) String() string

type MetricDescriptor

type MetricDescriptor struct {

	// The name field will be used as a unique identifier of this MetricDescriptor,
	// and be used in conjunction with the Metric structure to populate the full Metric.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Help string `protobuf:"bytes,2,opt,name=help,proto3" json:"help,omitempty"`
	// When a metric uses this metric descriptor, it should only define
	// labels that have previously been declared in label_keys.
	// It is the responsibility of the runtime to correctly keep sorted the keys and values.
	// If the two slices have different length, the behavior is undefined.
	LabelKeys []string `protobuf:"bytes,3,rep,name=label_keys,json=labelKeys,proto3" json:"label_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricDescriptor) GetHelp

func (x *MetricDescriptor) GetHelp() string

func (*MetricDescriptor) GetLabelKeys

func (x *MetricDescriptor) GetLabelKeys() []string

func (*MetricDescriptor) GetName

func (x *MetricDescriptor) GetName() string

func (*MetricDescriptor) ProtoMessage

func (*MetricDescriptor) ProtoMessage()

func (*MetricDescriptor) ProtoReflect

func (x *MetricDescriptor) ProtoReflect() protoreflect.Message

func (*MetricDescriptor) Reset

func (x *MetricDescriptor) Reset()

func (*MetricDescriptor) SetHelp

func (x *MetricDescriptor) SetHelp(v string)

func (*MetricDescriptor) SetLabelKeys

func (x *MetricDescriptor) SetLabelKeys(v []string)

func (*MetricDescriptor) SetName

func (x *MetricDescriptor) SetName(v string)

func (*MetricDescriptor) String

func (x *MetricDescriptor) String() string

type MetricDescriptor_builder

type MetricDescriptor_builder struct {

	// The name field will be used as a unique identifier of this MetricDescriptor,
	// and be used in conjunction with the Metric structure to populate the full Metric.
	Name string
	Help string
	// When a metric uses this metric descriptor, it should only define
	// labels that have previously been declared in label_keys.
	// It is the responsibility of the runtime to correctly keep sorted the keys and values.
	// If the two slices have different length, the behavior is undefined.
	LabelKeys []string
	// contains filtered or unexported fields
}

func (MetricDescriptor_builder) Build

type MetricType

type MetricType int32
const (
	MetricType_COUNTER MetricType = 0
	MetricType_GAUGE   MetricType = 1
)

func (MetricType) Descriptor

func (MetricType) Descriptor() protoreflect.EnumDescriptor

func (MetricType) Enum

func (x MetricType) Enum() *MetricType

func (MetricType) Number

func (x MetricType) Number() protoreflect.EnumNumber

func (MetricType) String

func (x MetricType) String() string

func (MetricType) Type

type Metric_builder

type Metric_builder struct {

	// Name must match a name previously returned in a MetricDescriptors call,
	// otherwise, it will be ignored.
	Name string
	// Timestamp should be 0 if the metric was gathered live.
	// If it was cached, the Timestamp should reflect the time it was collected.
	Timestamp  int64
	MetricType MetricType
	// The corresponding LabelValues to the LabelKeys defined in the MetricDescriptor.
	// It is the responsibility of the runtime to correctly keep sorted the keys and values.
	// If the two slices have different length, the behavior is undefined.
	LabelValues []string
	Value       *UInt64Value
	// contains filtered or unexported fields
}

func (Metric_builder) Build

func (b0 Metric_builder) Build() *Metric

type Mount

type Mount struct {

	// Path of the mount within the container.
	ContainerPath string `protobuf:"bytes,1,opt,name=container_path,json=containerPath,proto3" json:"container_path,omitempty"`
	// Path of the mount on the host. If the hostPath doesn't exist, then runtimes
	// should report error. If the hostpath is a symbolic link, runtimes should
	// follow the symlink and mount the real destination to container.
	HostPath string `protobuf:"bytes,2,opt,name=host_path,json=hostPath,proto3" json:"host_path,omitempty"`
	// If set, the mount is read-only.
	Readonly bool `protobuf:"varint,3,opt,name=readonly,proto3" json:"readonly,omitempty"`
	// If set, the mount needs SELinux relabeling.
	SelinuxRelabel bool `protobuf:"varint,4,opt,name=selinux_relabel,json=selinuxRelabel,proto3" json:"selinux_relabel,omitempty"`
	// Requested propagation mode.
	Propagation MountPropagation `protobuf:"varint,5,opt,name=propagation,proto3,enum=runtime.v1.MountPropagation" json:"propagation,omitempty"`
	// UidMappings specifies the runtime UID mappings for the mount.
	UidMappings []*IDMapping `protobuf:"bytes,6,rep,name=uidMappings,proto3" json:"uidMappings,omitempty"`
	// GidMappings specifies the runtime GID mappings for the mount.
	GidMappings []*IDMapping `protobuf:"bytes,7,rep,name=gidMappings,proto3" json:"gidMappings,omitempty"`
	// contains filtered or unexported fields
}

Mount specifies a host volume to mount into a container.

func (*Mount) GetContainerPath

func (x *Mount) GetContainerPath() string

func (*Mount) GetGidMappings

func (x *Mount) GetGidMappings() []*IDMapping

func (*Mount) GetHostPath

func (x *Mount) GetHostPath() string

func (*Mount) GetPropagation

func (x *Mount) GetPropagation() MountPropagation

func (*Mount) GetReadonly

func (x *Mount) GetReadonly() bool

func (*Mount) GetSelinuxRelabel

func (x *Mount) GetSelinuxRelabel() bool

func (*Mount) GetUidMappings

func (x *Mount) GetUidMappings() []*IDMapping

func (*Mount) ProtoMessage

func (*Mount) ProtoMessage()

func (*Mount) ProtoReflect

func (x *Mount) ProtoReflect() protoreflect.Message

func (*Mount) Reset

func (x *Mount) Reset()

func (*Mount) SetContainerPath

func (x *Mount) SetContainerPath(v string)

func (*Mount) SetGidMappings

func (x *Mount) SetGidMappings(v []*IDMapping)

func (*Mount) SetHostPath

func (x *Mount) SetHostPath(v string)

func (*Mount) SetPropagation

func (x *Mount) SetPropagation(v MountPropagation)

func (*Mount) SetReadonly

func (x *Mount) SetReadonly(v bool)

func (*Mount) SetSelinuxRelabel

func (x *Mount) SetSelinuxRelabel(v bool)

func (*Mount) SetUidMappings

func (x *Mount) SetUidMappings(v []*IDMapping)

func (*Mount) String

func (x *Mount) String() string

type MountPropagation

type MountPropagation int32
const (
	// No mount propagation ("rprivate" in Linux terminology).
	MountPropagation_PROPAGATION_PRIVATE MountPropagation = 0
	// Mounts get propagated from the host to the container ("rslave" in Linux).
	MountPropagation_PROPAGATION_HOST_TO_CONTAINER MountPropagation = 1
	// Mounts get propagated from the host to the container and from the
	// container to the host ("rshared" in Linux).
	MountPropagation_PROPAGATION_BIDIRECTIONAL MountPropagation = 2
)

func (MountPropagation) Descriptor

func (MountPropagation) Enum

func (MountPropagation) Number

func (MountPropagation) String

func (x MountPropagation) String() string

func (MountPropagation) Type

type Mount_builder

type Mount_builder struct {

	// Path of the mount within the container.
	ContainerPath string
	// Path of the mount on the host. If the hostPath doesn't exist, then runtimes
	// should report error. If the hostpath is a symbolic link, runtimes should
	// follow the symlink and mount the real destination to container.
	HostPath string
	// If set, the mount is read-only.
	Readonly bool
	// If set, the mount needs SELinux relabeling.
	SelinuxRelabel bool
	// Requested propagation mode.
	Propagation MountPropagation
	// UidMappings specifies the runtime UID mappings for the mount.
	UidMappings []*IDMapping
	// GidMappings specifies the runtime GID mappings for the mount.
	GidMappings []*IDMapping
	// contains filtered or unexported fields
}

func (Mount_builder) Build

func (b0 Mount_builder) Build() *Mount

type Namespace

type Namespace struct {

	// Namespace options for Linux namespaces.
	Options *NamespaceOption `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

Namespace contains paths to the namespaces.

func (*Namespace) ClearOptions

func (x *Namespace) ClearOptions()

func (*Namespace) GetOptions

func (x *Namespace) GetOptions() *NamespaceOption

func (*Namespace) HasOptions

func (x *Namespace) HasOptions() bool

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

func (x *Namespace) ProtoReflect() protoreflect.Message

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) SetOptions

func (x *Namespace) SetOptions(v *NamespaceOption)

func (*Namespace) String

func (x *Namespace) String() string

type NamespaceMode

type NamespaceMode int32

A NamespaceMode describes the intended namespace configuration for each of the namespaces (Network, PID, IPC) in NamespaceOption. Runtimes should map these modes as appropriate for the technology underlying the runtime.

const (
	// A POD namespace is common to all containers in a pod.
	// For example, a container with a PID namespace of POD expects to view
	// all of the processes in all of the containers in the pod.
	NamespaceMode_POD NamespaceMode = 0
	// A CONTAINER namespace is restricted to a single container.
	// For example, a container with a PID namespace of CONTAINER expects to
	// view only the processes in that container.
	NamespaceMode_CONTAINER NamespaceMode = 1
	// A NODE namespace is the namespace of the Kubernetes node.
	// For example, a container with a PID namespace of NODE expects to view
	// all of the processes on the host running the kubelet.
	NamespaceMode_NODE NamespaceMode = 2
	// TARGET targets the namespace of another container. When this is specified,
	// a target_id must be specified in NamespaceOption and refer to a container
	// previously created with NamespaceMode CONTAINER. This containers namespace
	// will be made to match that of container target_id.
	// For example, a container with a PID namespace of TARGET expects to view
	// all of the processes that container target_id can view.
	NamespaceMode_TARGET NamespaceMode = 3
)

func (NamespaceMode) Descriptor

func (NamespaceMode) Enum

func (x NamespaceMode) Enum() *NamespaceMode

func (NamespaceMode) Number

func (NamespaceMode) String

func (x NamespaceMode) String() string

func (NamespaceMode) Type

type NamespaceOption

type NamespaceOption struct {

	// Network namespace for this container/sandbox.
	// Note: There is currently no way to set CONTAINER scoped network in the Kubernetes API.
	// Namespaces currently set by the kubelet: POD, NODE
	Network NamespaceMode `protobuf:"varint,1,opt,name=network,proto3,enum=runtime.v1.NamespaceMode" json:"network,omitempty"`
	// PID namespace for this container/sandbox.
	// Note: The CRI default is POD, but the v1.PodSpec default is CONTAINER.
	// The kubelet's runtime manager will set this to CONTAINER explicitly for v1 pods.
	// Namespaces currently set by the kubelet: POD, CONTAINER, NODE, TARGET
	Pid NamespaceMode `protobuf:"varint,2,opt,name=pid,proto3,enum=runtime.v1.NamespaceMode" json:"pid,omitempty"`
	// IPC namespace for this container/sandbox.
	// Note: There is currently no way to set CONTAINER scoped IPC in the Kubernetes API.
	// Namespaces currently set by the kubelet: POD, NODE
	Ipc NamespaceMode `protobuf:"varint,3,opt,name=ipc,proto3,enum=runtime.v1.NamespaceMode" json:"ipc,omitempty"`
	// Target Container ID for NamespaceMode of TARGET. This container must have been
	// previously created in the same pod. It is not possible to specify different targets
	// for each namespace.
	TargetId string `protobuf:"bytes,4,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// UsernsOptions for this pod sandbox.
	// The Kubelet picks the user namespace configuration to use for the pod sandbox.  The mappings
	// are specified as part of the UserNamespace struct.  If the struct is nil, then the POD mode
	// must be assumed.  This is done for backward compatibility with older Kubelet versions that
	// do not set a user namespace.
	UsernsOptions *UserNamespace `protobuf:"bytes,5,opt,name=userns_options,json=usernsOptions,proto3" json:"userns_options,omitempty"`
	// contains filtered or unexported fields
}

NamespaceOption provides options for Linux namespaces.

func (*NamespaceOption) ClearUsernsOptions

func (x *NamespaceOption) ClearUsernsOptions()

func (*NamespaceOption) GetIpc

func (x *NamespaceOption) GetIpc() NamespaceMode

func (*NamespaceOption) GetNetwork

func (x *NamespaceOption) GetNetwork() NamespaceMode

func (*NamespaceOption) GetPid

func (x *NamespaceOption) GetPid() NamespaceMode

func (*NamespaceOption) GetTargetId

func (x *NamespaceOption) GetTargetId() string

func (*NamespaceOption) GetUsernsOptions

func (x *NamespaceOption) GetUsernsOptions() *UserNamespace

func (*NamespaceOption) HasUsernsOptions

func (x *NamespaceOption) HasUsernsOptions() bool

func (*NamespaceOption) ProtoMessage

func (*NamespaceOption) ProtoMessage()

func (*NamespaceOption) ProtoReflect

func (x *NamespaceOption) ProtoReflect() protoreflect.Message

func (*NamespaceOption) Reset

func (x *NamespaceOption) Reset()

func (*NamespaceOption) SetIpc

func (x *NamespaceOption) SetIpc(v NamespaceMode)

func (*NamespaceOption) SetNetwork

func (x *NamespaceOption) SetNetwork(v NamespaceMode)

func (*NamespaceOption) SetPid

func (x *NamespaceOption) SetPid(v NamespaceMode)

func (*NamespaceOption) SetTargetId

func (x *NamespaceOption) SetTargetId(v string)

func (*NamespaceOption) SetUsernsOptions

func (x *NamespaceOption) SetUsernsOptions(v *UserNamespace)

func (*NamespaceOption) String

func (x *NamespaceOption) String() string

type NamespaceOption_builder

type NamespaceOption_builder struct {

	// Network namespace for this container/sandbox.
	// Note: There is currently no way to set CONTAINER scoped network in the Kubernetes API.
	// Namespaces currently set by the kubelet: POD, NODE
	Network NamespaceMode
	// PID namespace for this container/sandbox.
	// Note: The CRI default is POD, but the v1.PodSpec default is CONTAINER.
	// The kubelet's runtime manager will set this to CONTAINER explicitly for v1 pods.
	// Namespaces currently set by the kubelet: POD, CONTAINER, NODE, TARGET
	Pid NamespaceMode
	// IPC namespace for this container/sandbox.
	// Note: There is currently no way to set CONTAINER scoped IPC in the Kubernetes API.
	// Namespaces currently set by the kubelet: POD, NODE
	Ipc NamespaceMode
	// Target Container ID for NamespaceMode of TARGET. This container must have been
	// previously created in the same pod. It is not possible to specify different targets
	// for each namespace.
	TargetId string
	// UsernsOptions for this pod sandbox.
	// The Kubelet picks the user namespace configuration to use for the pod sandbox.  The mappings
	// are specified as part of the UserNamespace struct.  If the struct is nil, then the POD mode
	// must be assumed.  This is done for backward compatibility with older Kubelet versions that
	// do not set a user namespace.
	UsernsOptions *UserNamespace
	// contains filtered or unexported fields
}

func (NamespaceOption_builder) Build

type Namespace_builder

type Namespace_builder struct {

	// Namespace options for Linux namespaces.
	Options *NamespaceOption
	// contains filtered or unexported fields
}

func (Namespace_builder) Build

func (b0 Namespace_builder) Build() *Namespace

type NetworkConfig

type NetworkConfig struct {

	// CIDR to use for pod IP addresses. If the CIDR is empty, runtimes
	// should omit it.
	PodCidr string `protobuf:"bytes,1,opt,name=pod_cidr,json=podCidr,proto3" json:"pod_cidr,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkConfig) GetPodCidr

func (x *NetworkConfig) GetPodCidr() string

func (*NetworkConfig) ProtoMessage

func (*NetworkConfig) ProtoMessage()

func (*NetworkConfig) ProtoReflect

func (x *NetworkConfig) ProtoReflect() protoreflect.Message

func (*NetworkConfig) Reset

func (x *NetworkConfig) Reset()

func (*NetworkConfig) SetPodCidr

func (x *NetworkConfig) SetPodCidr(v string)

func (*NetworkConfig) String

func (x *NetworkConfig) String() string

type NetworkConfig_builder

type NetworkConfig_builder struct {

	// CIDR to use for pod IP addresses. If the CIDR is empty, runtimes
	// should omit it.
	PodCidr string
	// contains filtered or unexported fields
}

func (NetworkConfig_builder) Build

type NetworkInterfaceUsage

type NetworkInterfaceUsage struct {

	// The name of the network interface.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Cumulative count of bytes received.
	RxBytes *UInt64Value `protobuf:"bytes,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
	// Cumulative count of receive errors encountered.
	RxErrors *UInt64Value `protobuf:"bytes,3,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"`
	// Cumulative count of bytes transmitted.
	TxBytes *UInt64Value `protobuf:"bytes,4,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	// Cumulative count of transmit errors encountered.
	TxErrors *UInt64Value `protobuf:"bytes,5,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"`
	// contains filtered or unexported fields
}

NetworkInterfaceUsage contains resource value data about a network interface.

func (*NetworkInterfaceUsage) ClearRxBytes

func (x *NetworkInterfaceUsage) ClearRxBytes()

func (*NetworkInterfaceUsage) ClearRxErrors

func (x *NetworkInterfaceUsage) ClearRxErrors()

func (*NetworkInterfaceUsage) ClearTxBytes

func (x *NetworkInterfaceUsage) ClearTxBytes()

func (*NetworkInterfaceUsage) ClearTxErrors

func (x *NetworkInterfaceUsage) ClearTxErrors()

func (*NetworkInterfaceUsage) GetName

func (x *NetworkInterfaceUsage) GetName() string

func (*NetworkInterfaceUsage) GetRxBytes

func (x *NetworkInterfaceUsage) GetRxBytes() *UInt64Value

func (*NetworkInterfaceUsage) GetRxErrors

func (x *NetworkInterfaceUsage) GetRxErrors() *UInt64Value

func (*NetworkInterfaceUsage) GetTxBytes

func (x *NetworkInterfaceUsage) GetTxBytes() *UInt64Value

func (*NetworkInterfaceUsage) GetTxErrors

func (x *NetworkInterfaceUsage) GetTxErrors() *UInt64Value

func (*NetworkInterfaceUsage) HasRxBytes

func (x *NetworkInterfaceUsage) HasRxBytes() bool

func (*NetworkInterfaceUsage) HasRxErrors

func (x *NetworkInterfaceUsage) HasRxErrors() bool

func (*NetworkInterfaceUsage) HasTxBytes

func (x *NetworkInterfaceUsage) HasTxBytes() bool

func (*NetworkInterfaceUsage) HasTxErrors

func (x *NetworkInterfaceUsage) HasTxErrors() bool

func (*NetworkInterfaceUsage) ProtoMessage

func (*NetworkInterfaceUsage) ProtoMessage()

func (*NetworkInterfaceUsage) ProtoReflect

func (x *NetworkInterfaceUsage) ProtoReflect() protoreflect.Message

func (*NetworkInterfaceUsage) Reset

func (x *NetworkInterfaceUsage) Reset()

func (*NetworkInterfaceUsage) SetName

func (x *NetworkInterfaceUsage) SetName(v string)

func (*NetworkInterfaceUsage) SetRxBytes

func (x *NetworkInterfaceUsage) SetRxBytes(v *UInt64Value)

func (*NetworkInterfaceUsage) SetRxErrors

func (x *NetworkInterfaceUsage) SetRxErrors(v *UInt64Value)

func (*NetworkInterfaceUsage) SetTxBytes

func (x *NetworkInterfaceUsage) SetTxBytes(v *UInt64Value)

func (*NetworkInterfaceUsage) SetTxErrors

func (x *NetworkInterfaceUsage) SetTxErrors(v *UInt64Value)

func (*NetworkInterfaceUsage) String

func (x *NetworkInterfaceUsage) String() string

type NetworkInterfaceUsage_builder

type NetworkInterfaceUsage_builder struct {

	// The name of the network interface.
	Name string
	// Cumulative count of bytes received.
	RxBytes *UInt64Value
	// Cumulative count of receive errors encountered.
	RxErrors *UInt64Value
	// Cumulative count of bytes transmitted.
	TxBytes *UInt64Value
	// Cumulative count of transmit errors encountered.
	TxErrors *UInt64Value
	// contains filtered or unexported fields
}

func (NetworkInterfaceUsage_builder) Build

type NetworkUsage

type NetworkUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Stats for the default network interface.
	DefaultInterface *NetworkInterfaceUsage `protobuf:"bytes,2,opt,name=default_interface,json=defaultInterface,proto3" json:"default_interface,omitempty"`
	// Stats for all found network interfaces, excluding the default.
	Interfaces []*NetworkInterfaceUsage `protobuf:"bytes,3,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
	// contains filtered or unexported fields
}

NetworkUsage contains data about network resources.

func (*NetworkUsage) ClearDefaultInterface

func (x *NetworkUsage) ClearDefaultInterface()

func (*NetworkUsage) GetDefaultInterface

func (x *NetworkUsage) GetDefaultInterface() *NetworkInterfaceUsage

func (*NetworkUsage) GetInterfaces

func (x *NetworkUsage) GetInterfaces() []*NetworkInterfaceUsage

func (*NetworkUsage) GetTimestamp

func (x *NetworkUsage) GetTimestamp() int64

func (*NetworkUsage) HasDefaultInterface

func (x *NetworkUsage) HasDefaultInterface() bool

func (*NetworkUsage) ProtoMessage

func (*NetworkUsage) ProtoMessage()

func (*NetworkUsage) ProtoReflect

func (x *NetworkUsage) ProtoReflect() protoreflect.Message

func (*NetworkUsage) Reset

func (x *NetworkUsage) Reset()

func (*NetworkUsage) SetDefaultInterface

func (x *NetworkUsage) SetDefaultInterface(v *NetworkInterfaceUsage)

func (*NetworkUsage) SetInterfaces

func (x *NetworkUsage) SetInterfaces(v []*NetworkInterfaceUsage)

func (*NetworkUsage) SetTimestamp

func (x *NetworkUsage) SetTimestamp(v int64)

func (*NetworkUsage) String

func (x *NetworkUsage) String() string

type NetworkUsage_builder

type NetworkUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// Stats for the default network interface.
	DefaultInterface *NetworkInterfaceUsage
	// Stats for all found network interfaces, excluding the default.
	Interfaces []*NetworkInterfaceUsage
	// contains filtered or unexported fields
}

func (NetworkUsage_builder) Build

func (b0 NetworkUsage_builder) Build() *NetworkUsage

type PodIP

type PodIP struct {

	// an ip is a string representation of an IPv4 or an IPv6
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

PodIP represents an ip of a Pod

func (*PodIP) GetIp

func (x *PodIP) GetIp() string

func (*PodIP) ProtoMessage

func (*PodIP) ProtoMessage()

func (*PodIP) ProtoReflect

func (x *PodIP) ProtoReflect() protoreflect.Message

func (*PodIP) Reset

func (x *PodIP) Reset()

func (*PodIP) SetIp

func (x *PodIP) SetIp(v string)

func (*PodIP) String

func (x *PodIP) String() string

type PodIP_builder

type PodIP_builder struct {

	// an ip is a string representation of an IPv4 or an IPv6
	Ip string
	// contains filtered or unexported fields
}

func (PodIP_builder) Build

func (b0 PodIP_builder) Build() *PodIP

type PodSandbox

type PodSandbox struct {

	// ID of the PodSandbox.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata of the PodSandbox.
	Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// State of the PodSandbox.
	State PodSandboxState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1.PodSandboxState" json:"state,omitempty"`
	// Creation timestamps of the PodSandbox in nanoseconds. Must be > 0.
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Labels of the PodSandbox.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding PodSandboxConfig used to
	// instantiate this PodSandbox.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// runtime configuration used for this PodSandbox.
	RuntimeHandler string `protobuf:"bytes,7,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"`
	// contains filtered or unexported fields
}

PodSandbox contains minimal information about a sandbox.

func (*PodSandbox) ClearMetadata

func (x *PodSandbox) ClearMetadata()

func (*PodSandbox) GetAnnotations

func (x *PodSandbox) GetAnnotations() map[string]string

func (*PodSandbox) GetCreatedAt

func (x *PodSandbox) GetCreatedAt() int64

func (*PodSandbox) GetId

func (x *PodSandbox) GetId() string

func (*PodSandbox) GetLabels

func (x *PodSandbox) GetLabels() map[string]string

func (*PodSandbox) GetMetadata

func (x *PodSandbox) GetMetadata() *PodSandboxMetadata

func (*PodSandbox) GetRuntimeHandler

func (x *PodSandbox) GetRuntimeHandler() string

func (*PodSandbox) GetState

func (x *PodSandbox) GetState() PodSandboxState

func (*PodSandbox) HasMetadata

func (x *PodSandbox) HasMetadata() bool

func (*PodSandbox) ProtoMessage

func (*PodSandbox) ProtoMessage()

func (*PodSandbox) ProtoReflect

func (x *PodSandbox) ProtoReflect() protoreflect.Message

func (*PodSandbox) Reset

func (x *PodSandbox) Reset()

func (*PodSandbox) SetAnnotations

func (x *PodSandbox) SetAnnotations(v map[string]string)

func (*PodSandbox) SetCreatedAt

func (x *PodSandbox) SetCreatedAt(v int64)

func (*PodSandbox) SetId

func (x *PodSandbox) SetId(v string)

func (*PodSandbox) SetLabels

func (x *PodSandbox) SetLabels(v map[string]string)

func (*PodSandbox) SetMetadata

func (x *PodSandbox) SetMetadata(v *PodSandboxMetadata)

func (*PodSandbox) SetRuntimeHandler

func (x *PodSandbox) SetRuntimeHandler(v string)

func (*PodSandbox) SetState

func (x *PodSandbox) SetState(v PodSandboxState)

func (*PodSandbox) String

func (x *PodSandbox) String() string

type PodSandboxAttributes

type PodSandboxAttributes struct {

	// ID of the pod sandbox.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata of the pod sandbox.
	Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding PodSandboxStatus used to
	// instantiate the PodSandbox this status represents.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

PodSandboxAttributes provides basic information of the pod sandbox.

func (*PodSandboxAttributes) ClearMetadata

func (x *PodSandboxAttributes) ClearMetadata()

func (*PodSandboxAttributes) GetAnnotations

func (x *PodSandboxAttributes) GetAnnotations() map[string]string

func (*PodSandboxAttributes) GetId

func (x *PodSandboxAttributes) GetId() string

func (*PodSandboxAttributes) GetLabels

func (x *PodSandboxAttributes) GetLabels() map[string]string

func (*PodSandboxAttributes) GetMetadata

func (x *PodSandboxAttributes) GetMetadata() *PodSandboxMetadata

func (*PodSandboxAttributes) HasMetadata

func (x *PodSandboxAttributes) HasMetadata() bool

func (*PodSandboxAttributes) ProtoMessage

func (*PodSandboxAttributes) ProtoMessage()

func (*PodSandboxAttributes) ProtoReflect

func (x *PodSandboxAttributes) ProtoReflect() protoreflect.Message

func (*PodSandboxAttributes) Reset

func (x *PodSandboxAttributes) Reset()

func (*PodSandboxAttributes) SetAnnotations

func (x *PodSandboxAttributes) SetAnnotations(v map[string]string)

func (*PodSandboxAttributes) SetId

func (x *PodSandboxAttributes) SetId(v string)

func (*PodSandboxAttributes) SetLabels

func (x *PodSandboxAttributes) SetLabels(v map[string]string)

func (*PodSandboxAttributes) SetMetadata

func (x *PodSandboxAttributes) SetMetadata(v *PodSandboxMetadata)

func (*PodSandboxAttributes) String

func (x *PodSandboxAttributes) String() string

type PodSandboxAttributes_builder

type PodSandboxAttributes_builder struct {

	// ID of the pod sandbox.
	Id string
	// Metadata of the pod sandbox.
	Metadata *PodSandboxMetadata
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding PodSandboxStatus used to
	// instantiate the PodSandbox this status represents.
	Annotations map[string]string
	// contains filtered or unexported fields
}

func (PodSandboxAttributes_builder) Build

type PodSandboxConfig

type PodSandboxConfig struct {

	// Metadata of the sandbox. This information will uniquely identify the
	// sandbox, and the runtime should leverage this to ensure correct
	// operation. The runtime may also use this information to improve UX, such
	// as by constructing a readable name.
	Metadata *PodSandboxMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Hostname of the sandbox. Hostname could only be empty when the pod
	// network namespace is NODE.
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Path to the directory on the host in which container log files are
	// stored.
	// By default the log of a container going into the LogDirectory will be
	// hooked up to STDOUT and STDERR. However, the LogDirectory may contain
	// binary log files with structured logging data from the individual
	// containers. For example, the files might be newline separated JSON
	// structured logs, systemd-journald journal files, gRPC trace files, etc.
	// E.g.,
	//
	//	PodSandboxConfig.LogDirectory = `/var/log/pods/<NAMESPACE>_<NAME>_<UID>/`
	//	ContainerConfig.LogPath = `containerName/Instance#.log`
	LogDirectory string `protobuf:"bytes,3,opt,name=log_directory,json=logDirectory,proto3" json:"log_directory,omitempty"`
	// DNS config for the sandbox.
	DnsConfig *DNSConfig `protobuf:"bytes,4,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"`
	// Port mappings for the sandbox.
	PortMappings []*PortMapping `protobuf:"bytes,5,rep,name=port_mappings,json=portMappings,proto3" json:"port_mappings,omitempty"`
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Unstructured key-value map that may be set by the kubelet to store and
	// retrieve arbitrary metadata. This will include any annotations set on a
	// pod through the Kubernetes API.
	//
	// Annotations MUST NOT be altered by the runtime; the annotations stored
	// here MUST be returned in the PodSandboxStatus associated with the pod
	// this PodSandboxConfig creates.
	//
	// In general, in order to preserve a well-defined interface between the
	// kubelet and the container runtime, annotations SHOULD NOT influence
	// runtime behaviour.
	//
	// Annotations can also be useful for runtime authors to experiment with
	// new features that are opaque to the Kubernetes APIs (both user-facing
	// and the CRI). Whenever possible, however, runtime authors SHOULD
	// consider proposing new typed fields for any new features instead.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// Optional configurations specific to Linux hosts.
	Linux *LinuxPodSandboxConfig `protobuf:"bytes,8,opt,name=linux,proto3" json:"linux,omitempty"`
	// Optional configurations specific to Windows hosts.
	Windows *WindowsPodSandboxConfig `protobuf:"bytes,9,opt,name=windows,proto3" json:"windows,omitempty"`
	// contains filtered or unexported fields
}

PodSandboxConfig holds all the required and optional fields for creating a sandbox.

func (*PodSandboxConfig) ClearDnsConfig

func (x *PodSandboxConfig) ClearDnsConfig()

func (*PodSandboxConfig) ClearLinux

func (x *PodSandboxConfig) ClearLinux()

func (*PodSandboxConfig) ClearMetadata

func (x *PodSandboxConfig) ClearMetadata()

func (*PodSandboxConfig) ClearWindows

func (x *PodSandboxConfig) ClearWindows()

func (*PodSandboxConfig) GetAnnotations

func (x *PodSandboxConfig) GetAnnotations() map[string]string

func (*PodSandboxConfig) GetDnsConfig

func (x *PodSandboxConfig) GetDnsConfig() *DNSConfig

func (*PodSandboxConfig) GetHostname

func (x *PodSandboxConfig) GetHostname() string

func (*PodSandboxConfig) GetLabels

func (x *PodSandboxConfig) GetLabels() map[string]string

func (*PodSandboxConfig) GetLinux

func (x *PodSandboxConfig) GetLinux() *LinuxPodSandboxConfig

func (*PodSandboxConfig) GetLogDirectory

func (x *PodSandboxConfig) GetLogDirectory() string

func (*PodSandboxConfig) GetMetadata

func (x *PodSandboxConfig) GetMetadata() *PodSandboxMetadata

func (*PodSandboxConfig) GetPortMappings

func (x *PodSandboxConfig) GetPortMappings() []*PortMapping

func (*PodSandboxConfig) GetWindows

func (x *PodSandboxConfig) GetWindows() *WindowsPodSandboxConfig

func (*PodSandboxConfig) HasDnsConfig

func (x *PodSandboxConfig) HasDnsConfig() bool

func (*PodSandboxConfig) HasLinux

func (x *PodSandboxConfig) HasLinux() bool

func (*PodSandboxConfig) HasMetadata

func (x *PodSandboxConfig) HasMetadata() bool

func (*PodSandboxConfig) HasWindows

func (x *PodSandboxConfig) HasWindows() bool

func (*PodSandboxConfig) ProtoMessage

func (*PodSandboxConfig) ProtoMessage()

func (*PodSandboxConfig) ProtoReflect

func (x *PodSandboxConfig) ProtoReflect() protoreflect.Message

func (*PodSandboxConfig) Reset

func (x *PodSandboxConfig) Reset()

func (*PodSandboxConfig) SetAnnotations

func (x *PodSandboxConfig) SetAnnotations(v map[string]string)

func (*PodSandboxConfig) SetDnsConfig

func (x *PodSandboxConfig) SetDnsConfig(v *DNSConfig)

func (*PodSandboxConfig) SetHostname

func (x *PodSandboxConfig) SetHostname(v string)

func (*PodSandboxConfig) SetLabels

func (x *PodSandboxConfig) SetLabels(v map[string]string)

func (*PodSandboxConfig) SetLinux

func (x *PodSandboxConfig) SetLinux(v *LinuxPodSandboxConfig)

func (*PodSandboxConfig) SetLogDirectory

func (x *PodSandboxConfig) SetLogDirectory(v string)

func (*PodSandboxConfig) SetMetadata

func (x *PodSandboxConfig) SetMetadata(v *PodSandboxMetadata)

func (*PodSandboxConfig) SetPortMappings

func (x *PodSandboxConfig) SetPortMappings(v []*PortMapping)

func (*PodSandboxConfig) SetWindows

func (x *PodSandboxConfig) SetWindows(v *WindowsPodSandboxConfig)

func (*PodSandboxConfig) String

func (x *PodSandboxConfig) String() string

type PodSandboxConfig_builder

type PodSandboxConfig_builder struct {

	// Metadata of the sandbox. This information will uniquely identify the
	// sandbox, and the runtime should leverage this to ensure correct
	// operation. The runtime may also use this information to improve UX, such
	// as by constructing a readable name.
	Metadata *PodSandboxMetadata
	// Hostname of the sandbox. Hostname could only be empty when the pod
	// network namespace is NODE.
	Hostname string
	// Path to the directory on the host in which container log files are
	// stored.
	// By default the log of a container going into the LogDirectory will be
	// hooked up to STDOUT and STDERR. However, the LogDirectory may contain
	// binary log files with structured logging data from the individual
	// containers. For example, the files might be newline separated JSON
	// structured logs, systemd-journald journal files, gRPC trace files, etc.
	// E.g.,
	//
	//	PodSandboxConfig.LogDirectory = `/var/log/pods/<NAMESPACE>_<NAME>_<UID>/`
	//	ContainerConfig.LogPath = `containerName/Instance#.log`
	LogDirectory string
	// DNS config for the sandbox.
	DnsConfig *DNSConfig
	// Port mappings for the sandbox.
	PortMappings []*PortMapping
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string
	// Unstructured key-value map that may be set by the kubelet to store and
	// retrieve arbitrary metadata. This will include any annotations set on a
	// pod through the Kubernetes API.
	//
	// Annotations MUST NOT be altered by the runtime; the annotations stored
	// here MUST be returned in the PodSandboxStatus associated with the pod
	// this PodSandboxConfig creates.
	//
	// In general, in order to preserve a well-defined interface between the
	// kubelet and the container runtime, annotations SHOULD NOT influence
	// runtime behaviour.
	//
	// Annotations can also be useful for runtime authors to experiment with
	// new features that are opaque to the Kubernetes APIs (both user-facing
	// and the CRI). Whenever possible, however, runtime authors SHOULD
	// consider proposing new typed fields for any new features instead.
	Annotations map[string]string
	// Optional configurations specific to Linux hosts.
	Linux *LinuxPodSandboxConfig
	// Optional configurations specific to Windows hosts.
	Windows *WindowsPodSandboxConfig
	// contains filtered or unexported fields
}

func (PodSandboxConfig_builder) Build

type PodSandboxFilter

type PodSandboxFilter struct {

	// ID of the sandbox.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// State of the sandbox.
	State *PodSandboxStateValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// LabelSelector to select matches.
	// Only api.MatchLabels is supported for now and the requirements
	// are ANDed. MatchExpressions is not supported yet.
	LabelSelector map[string]string `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

PodSandboxFilter is used to filter a list of PodSandboxes. All those fields are combined with 'AND'

func (*PodSandboxFilter) ClearState

func (x *PodSandboxFilter) ClearState()

func (*PodSandboxFilter) GetId

func (x *PodSandboxFilter) GetId() string

func (*PodSandboxFilter) GetLabelSelector

func (x *PodSandboxFilter) GetLabelSelector() map[string]string

func (*PodSandboxFilter) GetState

func (x *PodSandboxFilter) GetState() *PodSandboxStateValue

func (*PodSandboxFilter) HasState

func (x *PodSandboxFilter) HasState() bool

func (*PodSandboxFilter) ProtoMessage

func (*PodSandboxFilter) ProtoMessage()

func (*PodSandboxFilter) ProtoReflect

func (x *PodSandboxFilter) ProtoReflect() protoreflect.Message

func (*PodSandboxFilter) Reset

func (x *PodSandboxFilter) Reset()

func (*PodSandboxFilter) SetId

func (x *PodSandboxFilter) SetId(v string)

func (*PodSandboxFilter) SetLabelSelector

func (x *PodSandboxFilter) SetLabelSelector(v map[string]string)

func (*PodSandboxFilter) SetState

func (x *PodSandboxFilter) SetState(v *PodSandboxStateValue)

func (*PodSandboxFilter) String

func (x *PodSandboxFilter) String() string

type PodSandboxFilter_builder

type PodSandboxFilter_builder struct {

	// ID of the sandbox.
	Id string
	// State of the sandbox.
	State *PodSandboxStateValue
	// LabelSelector to select matches.
	// Only api.MatchLabels is supported for now and the requirements
	// are ANDed. MatchExpressions is not supported yet.
	LabelSelector map[string]string
	// contains filtered or unexported fields
}

func (PodSandboxFilter_builder) Build

type PodSandboxMetadata

type PodSandboxMetadata struct {

	// Pod name of the sandbox. Same as the pod name in the Pod ObjectMeta.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Pod UID of the sandbox. Same as the pod UID in the Pod ObjectMeta.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Pod namespace of the sandbox. Same as the pod namespace in the Pod ObjectMeta.
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Attempt number of creating the sandbox. Default: 0.
	Attempt uint32 `protobuf:"varint,4,opt,name=attempt,proto3" json:"attempt,omitempty"`
	// contains filtered or unexported fields
}

PodSandboxMetadata holds all necessary information for building the sandbox name. The container runtime is encouraged to expose the metadata associated with the PodSandbox in its user interface for better user experience. For example, the runtime can construct a unique PodSandboxName based on the metadata.

func (*PodSandboxMetadata) GetAttempt

func (x *PodSandboxMetadata) GetAttempt() uint32

func (*PodSandboxMetadata) GetName

func (x *PodSandboxMetadata) GetName() string

func (*PodSandboxMetadata) GetNamespace

func (x *PodSandboxMetadata) GetNamespace() string

func (*PodSandboxMetadata) GetUid

func (x *PodSandboxMetadata) GetUid() string

func (*PodSandboxMetadata) ProtoMessage

func (*PodSandboxMetadata) ProtoMessage()

func (*PodSandboxMetadata) ProtoReflect

func (x *PodSandboxMetadata) ProtoReflect() protoreflect.Message

func (*PodSandboxMetadata) Reset

func (x *PodSandboxMetadata) Reset()

func (*PodSandboxMetadata) SetAttempt

func (x *PodSandboxMetadata) SetAttempt(v uint32)

func (*PodSandboxMetadata) SetName

func (x *PodSandboxMetadata) SetName(v string)

func (*PodSandboxMetadata) SetNamespace

func (x *PodSandboxMetadata) SetNamespace(v string)

func (*PodSandboxMetadata) SetUid

func (x *PodSandboxMetadata) SetUid(v string)

func (*PodSandboxMetadata) String

func (x *PodSandboxMetadata) String() string

type PodSandboxMetadata_builder

type PodSandboxMetadata_builder struct {

	// Pod name of the sandbox. Same as the pod name in the Pod ObjectMeta.
	Name string
	// Pod UID of the sandbox. Same as the pod UID in the Pod ObjectMeta.
	Uid string
	// Pod namespace of the sandbox. Same as the pod namespace in the Pod ObjectMeta.
	Namespace string
	// Attempt number of creating the sandbox. Default: 0.
	Attempt uint32
	// contains filtered or unexported fields
}

func (PodSandboxMetadata_builder) Build

type PodSandboxMetrics

type PodSandboxMetrics struct {
	PodSandboxId     string              `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	Metrics          []*Metric           `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
	ContainerMetrics []*ContainerMetrics `protobuf:"bytes,3,rep,name=container_metrics,json=containerMetrics,proto3" json:"container_metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*PodSandboxMetrics) GetContainerMetrics

func (x *PodSandboxMetrics) GetContainerMetrics() []*ContainerMetrics

func (*PodSandboxMetrics) GetMetrics

func (x *PodSandboxMetrics) GetMetrics() []*Metric

func (*PodSandboxMetrics) GetPodSandboxId

func (x *PodSandboxMetrics) GetPodSandboxId() string

func (*PodSandboxMetrics) ProtoMessage

func (*PodSandboxMetrics) ProtoMessage()

func (*PodSandboxMetrics) ProtoReflect

func (x *PodSandboxMetrics) ProtoReflect() protoreflect.Message

func (*PodSandboxMetrics) Reset

func (x *PodSandboxMetrics) Reset()

func (*PodSandboxMetrics) SetContainerMetrics

func (x *PodSandboxMetrics) SetContainerMetrics(v []*ContainerMetrics)

func (*PodSandboxMetrics) SetMetrics

func (x *PodSandboxMetrics) SetMetrics(v []*Metric)

func (*PodSandboxMetrics) SetPodSandboxId

func (x *PodSandboxMetrics) SetPodSandboxId(v string)

func (*PodSandboxMetrics) String

func (x *PodSandboxMetrics) String() string

type PodSandboxMetrics_builder

type PodSandboxMetrics_builder struct {
	PodSandboxId     string
	Metrics          []*Metric
	ContainerMetrics []*ContainerMetrics
	// contains filtered or unexported fields
}

func (PodSandboxMetrics_builder) Build

type PodSandboxNetworkStatus

type PodSandboxNetworkStatus struct {

	// IP address of the PodSandbox.
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// list of additional ips (not inclusive of PodSandboxNetworkStatus.Ip) of the PodSandBoxNetworkStatus
	AdditionalIps []*PodIP `protobuf:"bytes,2,rep,name=additional_ips,json=additionalIps,proto3" json:"additional_ips,omitempty"`
	// contains filtered or unexported fields
}

PodSandboxNetworkStatus is the status of the network for a PodSandbox. Currently ignored for pods sharing the host networking namespace.

func (*PodSandboxNetworkStatus) GetAdditionalIps

func (x *PodSandboxNetworkStatus) GetAdditionalIps() []*PodIP

func (*PodSandboxNetworkStatus) GetIp

func (x *PodSandboxNetworkStatus) GetIp() string

func (*PodSandboxNetworkStatus) ProtoMessage

func (*PodSandboxNetworkStatus) ProtoMessage()

func (*PodSandboxNetworkStatus) ProtoReflect

func (x *PodSandboxNetworkStatus) ProtoReflect() protoreflect.Message

func (*PodSandboxNetworkStatus) Reset

func (x *PodSandboxNetworkStatus) Reset()

func (*PodSandboxNetworkStatus) SetAdditionalIps

func (x *PodSandboxNetworkStatus) SetAdditionalIps(v []*PodIP)

func (*PodSandboxNetworkStatus) SetIp

func (x *PodSandboxNetworkStatus) SetIp(v string)

func (*PodSandboxNetworkStatus) String

func (x *PodSandboxNetworkStatus) String() string

type PodSandboxNetworkStatus_builder

type PodSandboxNetworkStatus_builder struct {

	// IP address of the PodSandbox.
	Ip string
	// list of additional ips (not inclusive of PodSandboxNetworkStatus.Ip) of the PodSandBoxNetworkStatus
	AdditionalIps []*PodIP
	// contains filtered or unexported fields
}

func (PodSandboxNetworkStatus_builder) Build

type PodSandboxState

type PodSandboxState int32
const (
	PodSandboxState_SANDBOX_READY    PodSandboxState = 0
	PodSandboxState_SANDBOX_NOTREADY PodSandboxState = 1
)

func (PodSandboxState) Descriptor

func (PodSandboxState) Enum

func (x PodSandboxState) Enum() *PodSandboxState

func (PodSandboxState) Number

func (PodSandboxState) String

func (x PodSandboxState) String() string

func (PodSandboxState) Type

type PodSandboxStateValue

type PodSandboxStateValue struct {

	// State of the sandbox.
	State PodSandboxState `protobuf:"varint,1,opt,name=state,proto3,enum=runtime.v1.PodSandboxState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

PodSandboxStateValue is the wrapper of PodSandboxState.

func (*PodSandboxStateValue) GetState

func (x *PodSandboxStateValue) GetState() PodSandboxState

func (*PodSandboxStateValue) ProtoMessage

func (*PodSandboxStateValue) ProtoMessage()

func (*PodSandboxStateValue) ProtoReflect

func (x *PodSandboxStateValue) ProtoReflect() protoreflect.Message

func (*PodSandboxStateValue) Reset

func (x *PodSandboxStateValue) Reset()

func (*PodSandboxStateValue) SetState

func (x *PodSandboxStateValue) SetState(v PodSandboxState)

func (*PodSandboxStateValue) String

func (x *PodSandboxStateValue) String() string

type PodSandboxStateValue_builder

type PodSandboxStateValue_builder struct {

	// State of the sandbox.
	State PodSandboxState
	// contains filtered or unexported fields
}

func (PodSandboxStateValue_builder) Build

type PodSandboxStats

type PodSandboxStats struct {

	// Information of the pod.
	Attributes *PodSandboxAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// Stats from linux.
	Linux *LinuxPodSandboxStats `protobuf:"bytes,2,opt,name=linux,proto3" json:"linux,omitempty"`
	// Stats from windows.
	Windows *WindowsPodSandboxStats `protobuf:"bytes,3,opt,name=windows,proto3" json:"windows,omitempty"`
	// contains filtered or unexported fields
}

PodSandboxStats provides the resource usage statistics for a pod. The linux or windows field will be populated depending on the platform.

func (*PodSandboxStats) ClearAttributes

func (x *PodSandboxStats) ClearAttributes()

func (*PodSandboxStats) ClearLinux

func (x *PodSandboxStats) ClearLinux()

func (*PodSandboxStats) ClearWindows

func (x *PodSandboxStats) ClearWindows()

func (*PodSandboxStats) GetAttributes

func (x *PodSandboxStats) GetAttributes() *PodSandboxAttributes

func (*PodSandboxStats) GetLinux

func (x *PodSandboxStats) GetLinux() *LinuxPodSandboxStats

func (*PodSandboxStats) GetWindows

func (x *PodSandboxStats) GetWindows() *WindowsPodSandboxStats

func (*PodSandboxStats) HasAttributes

func (x *PodSandboxStats) HasAttributes() bool

func (*PodSandboxStats) HasLinux

func (x *PodSandboxStats) HasLinux() bool

func (*PodSandboxStats) HasWindows

func (x *PodSandboxStats) HasWindows() bool

func (*PodSandboxStats) ProtoMessage

func (*PodSandboxStats) ProtoMessage()

func (*PodSandboxStats) ProtoReflect

func (x *PodSandboxStats) ProtoReflect() protoreflect.Message

func (*PodSandboxStats) Reset

func (x *PodSandboxStats) Reset()

func (*PodSandboxStats) SetAttributes

func (x *PodSandboxStats) SetAttributes(v *PodSandboxAttributes)

func (*PodSandboxStats) SetLinux

func (x *PodSandboxStats) SetLinux(v *LinuxPodSandboxStats)

func (*PodSandboxStats) SetWindows

func (x *PodSandboxStats) SetWindows(v *WindowsPodSandboxStats)

func (*PodSandboxStats) String

func (x *PodSandboxStats) String() string

type PodSandboxStatsFilter

type PodSandboxStatsFilter struct {

	// ID of the pod sandbox.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// LabelSelector to select matches.
	// Only api.MatchLabels is supported for now and the requirements
	// are ANDed. MatchExpressions is not supported yet.
	LabelSelector map[string]string `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

PodSandboxStatsFilter is used to filter the list of pod sandboxes to retrieve stats for. All those fields are combined with 'AND'.

func (*PodSandboxStatsFilter) GetId

func (x *PodSandboxStatsFilter) GetId() string

func (*PodSandboxStatsFilter) GetLabelSelector

func (x *PodSandboxStatsFilter) GetLabelSelector() map[string]string

func (*PodSandboxStatsFilter) ProtoMessage

func (*PodSandboxStatsFilter) ProtoMessage()

func (*PodSandboxStatsFilter) ProtoReflect

func (x *PodSandboxStatsFilter) ProtoReflect() protoreflect.Message

func (*PodSandboxStatsFilter) Reset

func (x *PodSandboxStatsFilter) Reset()

func (*PodSandboxStatsFilter) SetId

func (x *PodSandboxStatsFilter) SetId(v string)

func (*PodSandboxStatsFilter) SetLabelSelector

func (x *PodSandboxStatsFilter) SetLabelSelector(v map[string]string)

func (*PodSandboxStatsFilter) String

func (x *PodSandboxStatsFilter) String() string

type PodSandboxStatsFilter_builder

type PodSandboxStatsFilter_builder struct {

	// ID of the pod sandbox.
	Id string
	// LabelSelector to select matches.
	// Only api.MatchLabels is supported for now and the requirements
	// are ANDed. MatchExpressions is not supported yet.
	LabelSelector map[string]string
	// contains filtered or unexported fields
}

func (PodSandboxStatsFilter_builder) Build

type PodSandboxStatsRequest

type PodSandboxStatsRequest struct {

	// ID of the pod sandbox for which to retrieve stats.
	PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PodSandboxStatsRequest) GetPodSandboxId

func (x *PodSandboxStatsRequest) GetPodSandboxId() string

func (*PodSandboxStatsRequest) ProtoMessage

func (*PodSandboxStatsRequest) ProtoMessage()

func (*PodSandboxStatsRequest) ProtoReflect

func (x *PodSandboxStatsRequest) ProtoReflect() protoreflect.Message

func (*PodSandboxStatsRequest) Reset

func (x *PodSandboxStatsRequest) Reset()

func (*PodSandboxStatsRequest) SetPodSandboxId

func (x *PodSandboxStatsRequest) SetPodSandboxId(v string)

func (*PodSandboxStatsRequest) String

func (x *PodSandboxStatsRequest) String() string

type PodSandboxStatsRequest_builder

type PodSandboxStatsRequest_builder struct {

	// ID of the pod sandbox for which to retrieve stats.
	PodSandboxId string
	// contains filtered or unexported fields
}

func (PodSandboxStatsRequest_builder) Build

type PodSandboxStatsResponse

type PodSandboxStatsResponse struct {
	Stats *PodSandboxStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*PodSandboxStatsResponse) ClearStats

func (x *PodSandboxStatsResponse) ClearStats()

func (*PodSandboxStatsResponse) GetStats

func (*PodSandboxStatsResponse) HasStats

func (x *PodSandboxStatsResponse) HasStats() bool

func (*PodSandboxStatsResponse) ProtoMessage

func (*PodSandboxStatsResponse) ProtoMessage()

func (*PodSandboxStatsResponse) ProtoReflect

func (x *PodSandboxStatsResponse) ProtoReflect() protoreflect.Message

func (*PodSandboxStatsResponse) Reset

func (x *PodSandboxStatsResponse) Reset()

func (*PodSandboxStatsResponse) SetStats

func (x *PodSandboxStatsResponse) SetStats(v *PodSandboxStats)

func (*PodSandboxStatsResponse) String

func (x *PodSandboxStatsResponse) String() string

type PodSandboxStatsResponse_builder

type PodSandboxStatsResponse_builder struct {
	Stats *PodSandboxStats
	// contains filtered or unexported fields
}

func (PodSandboxStatsResponse_builder) Build

type PodSandboxStats_builder

type PodSandboxStats_builder struct {

	// Information of the pod.
	Attributes *PodSandboxAttributes
	// Stats from linux.
	Linux *LinuxPodSandboxStats
	// Stats from windows.
	Windows *WindowsPodSandboxStats
	// contains filtered or unexported fields
}

func (PodSandboxStats_builder) Build

type PodSandboxStatus

type PodSandboxStatus struct {

	// ID of the sandbox.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata of the sandbox.
	Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// State of the sandbox.
	State PodSandboxState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1.PodSandboxState" json:"state,omitempty"`
	// Creation timestamp of the sandbox in nanoseconds. Must be > 0.
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Network contains network status if network is handled by the runtime.
	Network *PodSandboxNetworkStatus `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
	// Linux-specific status to a pod sandbox.
	Linux *LinuxPodSandboxStatus `protobuf:"bytes,6,opt,name=linux,proto3" json:"linux,omitempty"`
	// Labels are key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding PodSandboxConfig used to
	// instantiate the pod sandbox this status represents.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// runtime configuration used for this PodSandbox.
	RuntimeHandler string `protobuf:"bytes,9,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"`
	// contains filtered or unexported fields
}

PodSandboxStatus contains the status of the PodSandbox.

func (*PodSandboxStatus) ClearLinux

func (x *PodSandboxStatus) ClearLinux()

func (*PodSandboxStatus) ClearMetadata

func (x *PodSandboxStatus) ClearMetadata()

func (*PodSandboxStatus) ClearNetwork

func (x *PodSandboxStatus) ClearNetwork()

func (*PodSandboxStatus) GetAnnotations

func (x *PodSandboxStatus) GetAnnotations() map[string]string

func (*PodSandboxStatus) GetCreatedAt

func (x *PodSandboxStatus) GetCreatedAt() int64

func (*PodSandboxStatus) GetId

func (x *PodSandboxStatus) GetId() string

func (*PodSandboxStatus) GetLabels

func (x *PodSandboxStatus) GetLabels() map[string]string

func (*PodSandboxStatus) GetLinux

func (x *PodSandboxStatus) GetLinux() *LinuxPodSandboxStatus

func (*PodSandboxStatus) GetMetadata

func (x *PodSandboxStatus) GetMetadata() *PodSandboxMetadata

func (*PodSandboxStatus) GetNetwork

func (x *PodSandboxStatus) GetNetwork() *PodSandboxNetworkStatus

func (*PodSandboxStatus) GetRuntimeHandler

func (x *PodSandboxStatus) GetRuntimeHandler() string

func (*PodSandboxStatus) GetState

func (x *PodSandboxStatus) GetState() PodSandboxState

func (*PodSandboxStatus) HasLinux

func (x *PodSandboxStatus) HasLinux() bool

func (*PodSandboxStatus) HasMetadata

func (x *PodSandboxStatus) HasMetadata() bool

func (*PodSandboxStatus) HasNetwork

func (x *PodSandboxStatus) HasNetwork() bool

func (*PodSandboxStatus) ProtoMessage

func (*PodSandboxStatus) ProtoMessage()

func (*PodSandboxStatus) ProtoReflect

func (x *PodSandboxStatus) ProtoReflect() protoreflect.Message

func (*PodSandboxStatus) Reset

func (x *PodSandboxStatus) Reset()

func (*PodSandboxStatus) SetAnnotations

func (x *PodSandboxStatus) SetAnnotations(v map[string]string)

func (*PodSandboxStatus) SetCreatedAt

func (x *PodSandboxStatus) SetCreatedAt(v int64)

func (*PodSandboxStatus) SetId

func (x *PodSandboxStatus) SetId(v string)

func (*PodSandboxStatus) SetLabels

func (x *PodSandboxStatus) SetLabels(v map[string]string)

func (*PodSandboxStatus) SetLinux

func (x *PodSandboxStatus) SetLinux(v *LinuxPodSandboxStatus)

func (*PodSandboxStatus) SetMetadata

func (x *PodSandboxStatus) SetMetadata(v *PodSandboxMetadata)

func (*PodSandboxStatus) SetNetwork

func (x *PodSandboxStatus) SetNetwork(v *PodSandboxNetworkStatus)

func (*PodSandboxStatus) SetRuntimeHandler

func (x *PodSandboxStatus) SetRuntimeHandler(v string)

func (*PodSandboxStatus) SetState

func (x *PodSandboxStatus) SetState(v PodSandboxState)

func (*PodSandboxStatus) String

func (x *PodSandboxStatus) String() string

type PodSandboxStatusRequest

type PodSandboxStatusRequest struct {

	// ID of the PodSandbox for which to retrieve status.
	PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// Verbose indicates whether to return extra information about the pod sandbox.
	Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"`
	// contains filtered or unexported fields
}

func (*PodSandboxStatusRequest) GetPodSandboxId

func (x *PodSandboxStatusRequest) GetPodSandboxId() string

func (*PodSandboxStatusRequest) GetVerbose

func (x *PodSandboxStatusRequest) GetVerbose() bool

func (*PodSandboxStatusRequest) ProtoMessage

func (*PodSandboxStatusRequest) ProtoMessage()

func (*PodSandboxStatusRequest) ProtoReflect

func (x *PodSandboxStatusRequest) ProtoReflect() protoreflect.Message

func (*PodSandboxStatusRequest) Reset

func (x *PodSandboxStatusRequest) Reset()

func (*PodSandboxStatusRequest) SetPodSandboxId

func (x *PodSandboxStatusRequest) SetPodSandboxId(v string)

func (*PodSandboxStatusRequest) SetVerbose

func (x *PodSandboxStatusRequest) SetVerbose(v bool)

func (*PodSandboxStatusRequest) String

func (x *PodSandboxStatusRequest) String() string

type PodSandboxStatusRequest_builder

type PodSandboxStatusRequest_builder struct {

	// ID of the PodSandbox for which to retrieve status.
	PodSandboxId string
	// Verbose indicates whether to return extra information about the pod sandbox.
	Verbose bool
	// contains filtered or unexported fields
}

func (PodSandboxStatusRequest_builder) Build

type PodSandboxStatusResponse

type PodSandboxStatusResponse struct {

	// Status of the PodSandbox.
	Status *PodSandboxStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Info is extra information of the PodSandbox. The key could be arbitrary string, and
	// value should be in json format. The information could include anything useful for
	// debug, e.g. network namespace for linux container based container runtime.
	// It should only be returned non-empty when Verbose is true.
	Info map[string]string `` /* 135-byte string literal not displayed */
	// Container statuses
	ContainersStatuses []*ContainerStatus `protobuf:"bytes,3,rep,name=containers_statuses,json=containersStatuses,proto3" json:"containers_statuses,omitempty"`
	// Timestamp at which container and pod statuses were recorded
	Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PodSandboxStatusResponse) ClearStatus

func (x *PodSandboxStatusResponse) ClearStatus()

func (*PodSandboxStatusResponse) GetContainersStatuses

func (x *PodSandboxStatusResponse) GetContainersStatuses() []*ContainerStatus

func (*PodSandboxStatusResponse) GetInfo

func (x *PodSandboxStatusResponse) GetInfo() map[string]string

func (*PodSandboxStatusResponse) GetStatus

func (*PodSandboxStatusResponse) GetTimestamp

func (x *PodSandboxStatusResponse) GetTimestamp() int64

func (*PodSandboxStatusResponse) HasStatus

func (x *PodSandboxStatusResponse) HasStatus() bool

func (*PodSandboxStatusResponse) ProtoMessage

func (*PodSandboxStatusResponse) ProtoMessage()

func (*PodSandboxStatusResponse) ProtoReflect

func (x *PodSandboxStatusResponse) ProtoReflect() protoreflect.Message

func (*PodSandboxStatusResponse) Reset

func (x *PodSandboxStatusResponse) Reset()

func (*PodSandboxStatusResponse) SetContainersStatuses

func (x *PodSandboxStatusResponse) SetContainersStatuses(v []*ContainerStatus)

func (*PodSandboxStatusResponse) SetInfo

func (x *PodSandboxStatusResponse) SetInfo(v map[string]string)

func (*PodSandboxStatusResponse) SetStatus

func (x *PodSandboxStatusResponse) SetStatus(v *PodSandboxStatus)

func (*PodSandboxStatusResponse) SetTimestamp

func (x *PodSandboxStatusResponse) SetTimestamp(v int64)

func (*PodSandboxStatusResponse) String

func (x *PodSandboxStatusResponse) String() string

type PodSandboxStatusResponse_builder

type PodSandboxStatusResponse_builder struct {

	// Status of the PodSandbox.
	Status *PodSandboxStatus
	// Info is extra information of the PodSandbox. The key could be arbitrary string, and
	// value should be in json format. The information could include anything useful for
	// debug, e.g. network namespace for linux container based container runtime.
	// It should only be returned non-empty when Verbose is true.
	Info map[string]string
	// Container statuses
	ContainersStatuses []*ContainerStatus
	// Timestamp at which container and pod statuses were recorded
	Timestamp int64
	// contains filtered or unexported fields
}

func (PodSandboxStatusResponse_builder) Build

type PodSandboxStatus_builder

type PodSandboxStatus_builder struct {

	// ID of the sandbox.
	Id string
	// Metadata of the sandbox.
	Metadata *PodSandboxMetadata
	// State of the sandbox.
	State PodSandboxState
	// Creation timestamp of the sandbox in nanoseconds. Must be > 0.
	CreatedAt int64
	// Network contains network status if network is handled by the runtime.
	Network *PodSandboxNetworkStatus
	// Linux-specific status to a pod sandbox.
	Linux *LinuxPodSandboxStatus
	// Labels are key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding PodSandboxConfig used to
	// instantiate the pod sandbox this status represents.
	Annotations map[string]string
	// runtime configuration used for this PodSandbox.
	RuntimeHandler string
	// contains filtered or unexported fields
}

func (PodSandboxStatus_builder) Build

type PodSandbox_builder

type PodSandbox_builder struct {

	// ID of the PodSandbox.
	Id string
	// Metadata of the PodSandbox.
	Metadata *PodSandboxMetadata
	// State of the PodSandbox.
	State PodSandboxState
	// Creation timestamps of the PodSandbox in nanoseconds. Must be > 0.
	CreatedAt int64
	// Labels of the PodSandbox.
	Labels map[string]string
	// Unstructured key-value map holding arbitrary metadata.
	// Annotations MUST NOT be altered by the runtime; the value of this field
	// MUST be identical to that of the corresponding PodSandboxConfig used to
	// instantiate this PodSandbox.
	Annotations map[string]string
	// runtime configuration used for this PodSandbox.
	RuntimeHandler string
	// contains filtered or unexported fields
}

func (PodSandbox_builder) Build

func (b0 PodSandbox_builder) Build() *PodSandbox

type PortForwardRequest

type PortForwardRequest struct {

	// ID of the container to which to forward the port.
	PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// Port to forward.
	Port []int32 `protobuf:"varint,2,rep,packed,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*PortForwardRequest) GetPodSandboxId

func (x *PortForwardRequest) GetPodSandboxId() string

func (*PortForwardRequest) GetPort

func (x *PortForwardRequest) GetPort() []int32

func (*PortForwardRequest) ProtoMessage

func (*PortForwardRequest) ProtoMessage()

func (*PortForwardRequest) ProtoReflect

func (x *PortForwardRequest) ProtoReflect() protoreflect.Message

func (*PortForwardRequest) Reset

func (x *PortForwardRequest) Reset()

func (*PortForwardRequest) SetPodSandboxId

func (x *PortForwardRequest) SetPodSandboxId(v string)

func (*PortForwardRequest) SetPort

func (x *PortForwardRequest) SetPort(v []int32)

func (*PortForwardRequest) String

func (x *PortForwardRequest) String() string

type PortForwardRequest_builder

type PortForwardRequest_builder struct {

	// ID of the container to which to forward the port.
	PodSandboxId string
	// Port to forward.
	Port []int32
	// contains filtered or unexported fields
}

func (PortForwardRequest_builder) Build

type PortForwardResponse

type PortForwardResponse struct {

	// Fully qualified URL of the port-forward streaming server.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*PortForwardResponse) GetUrl

func (x *PortForwardResponse) GetUrl() string

func (*PortForwardResponse) ProtoMessage

func (*PortForwardResponse) ProtoMessage()

func (*PortForwardResponse) ProtoReflect

func (x *PortForwardResponse) ProtoReflect() protoreflect.Message

func (*PortForwardResponse) Reset

func (x *PortForwardResponse) Reset()

func (*PortForwardResponse) SetUrl

func (x *PortForwardResponse) SetUrl(v string)

func (*PortForwardResponse) String

func (x *PortForwardResponse) String() string

type PortForwardResponse_builder

type PortForwardResponse_builder struct {

	// Fully qualified URL of the port-forward streaming server.
	Url string
	// contains filtered or unexported fields
}

func (PortForwardResponse_builder) Build

type PortMapping

type PortMapping struct {

	// Protocol of the port mapping.
	Protocol Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=runtime.v1.Protocol" json:"protocol,omitempty"`
	// Port number within the container. Default: 0 (not specified).
	ContainerPort int32 `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	// Port number on the host. Default: 0 (not specified).
	HostPort int32 `protobuf:"varint,3,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
	// Host IP.
	HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	// contains filtered or unexported fields
}

PortMapping specifies the port mapping configurations of a sandbox.

func (*PortMapping) GetContainerPort

func (x *PortMapping) GetContainerPort() int32

func (*PortMapping) GetHostIp

func (x *PortMapping) GetHostIp() string

func (*PortMapping) GetHostPort

func (x *PortMapping) GetHostPort() int32

func (*PortMapping) GetProtocol

func (x *PortMapping) GetProtocol() Protocol

func (*PortMapping) ProtoMessage

func (*PortMapping) ProtoMessage()

func (*PortMapping) ProtoReflect

func (x *PortMapping) ProtoReflect() protoreflect.Message

func (*PortMapping) Reset

func (x *PortMapping) Reset()

func (*PortMapping) SetContainerPort

func (x *PortMapping) SetContainerPort(v int32)

func (*PortMapping) SetHostIp

func (x *PortMapping) SetHostIp(v string)

func (*PortMapping) SetHostPort

func (x *PortMapping) SetHostPort(v int32)

func (*PortMapping) SetProtocol

func (x *PortMapping) SetProtocol(v Protocol)

func (*PortMapping) String

func (x *PortMapping) String() string

type PortMapping_builder

type PortMapping_builder struct {

	// Protocol of the port mapping.
	Protocol Protocol
	// Port number within the container. Default: 0 (not specified).
	ContainerPort int32
	// Port number on the host. Default: 0 (not specified).
	HostPort int32
	// Host IP.
	HostIp string
	// contains filtered or unexported fields
}

func (PortMapping_builder) Build

func (b0 PortMapping_builder) Build() *PortMapping

type ProcessUsage

type ProcessUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Number of processes.
	ProcessCount *UInt64Value `protobuf:"bytes,2,opt,name=process_count,json=processCount,proto3" json:"process_count,omitempty"`
	// contains filtered or unexported fields
}

ProcessUsage are stats pertaining to processes.

func (*ProcessUsage) ClearProcessCount

func (x *ProcessUsage) ClearProcessCount()

func (*ProcessUsage) GetProcessCount

func (x *ProcessUsage) GetProcessCount() *UInt64Value

func (*ProcessUsage) GetTimestamp

func (x *ProcessUsage) GetTimestamp() int64

func (*ProcessUsage) HasProcessCount

func (x *ProcessUsage) HasProcessCount() bool

func (*ProcessUsage) ProtoMessage

func (*ProcessUsage) ProtoMessage()

func (*ProcessUsage) ProtoReflect

func (x *ProcessUsage) ProtoReflect() protoreflect.Message

func (*ProcessUsage) Reset

func (x *ProcessUsage) Reset()

func (*ProcessUsage) SetProcessCount

func (x *ProcessUsage) SetProcessCount(v *UInt64Value)

func (*ProcessUsage) SetTimestamp

func (x *ProcessUsage) SetTimestamp(v int64)

func (*ProcessUsage) String

func (x *ProcessUsage) String() string

type ProcessUsage_builder

type ProcessUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// Number of processes.
	ProcessCount *UInt64Value
	// contains filtered or unexported fields
}

func (ProcessUsage_builder) Build

func (b0 ProcessUsage_builder) Build() *ProcessUsage

type Protocol

type Protocol int32
const (
	Protocol_TCP  Protocol = 0
	Protocol_UDP  Protocol = 1
	Protocol_SCTP Protocol = 2
)

func (Protocol) Descriptor

func (Protocol) Descriptor() protoreflect.EnumDescriptor

func (Protocol) Enum

func (x Protocol) Enum() *Protocol

func (Protocol) Number

func (x Protocol) Number() protoreflect.EnumNumber

func (Protocol) String

func (x Protocol) String() string

func (Protocol) Type

type PullImageRequest

type PullImageRequest struct {

	// Spec of the image.
	Image *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// Authentication configuration for pulling the image.
	Auth *AuthConfig `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// Config of the PodSandbox, which is used to pull image in PodSandbox context.
	SandboxConfig *PodSandboxConfig `protobuf:"bytes,3,opt,name=sandbox_config,json=sandboxConfig,proto3" json:"sandbox_config,omitempty"`
	// contains filtered or unexported fields
}

func (*PullImageRequest) ClearAuth

func (x *PullImageRequest) ClearAuth()

func (*PullImageRequest) ClearImage

func (x *PullImageRequest) ClearImage()

func (*PullImageRequest) ClearSandboxConfig

func (x *PullImageRequest) ClearSandboxConfig()

func (*PullImageRequest) GetAuth

func (x *PullImageRequest) GetAuth() *AuthConfig

func (*PullImageRequest) GetImage

func (x *PullImageRequest) GetImage() *ImageSpec

func (*PullImageRequest) GetSandboxConfig

func (x *PullImageRequest) GetSandboxConfig() *PodSandboxConfig

func (*PullImageRequest) HasAuth

func (x *PullImageRequest) HasAuth() bool

func (*PullImageRequest) HasImage

func (x *PullImageRequest) HasImage() bool

func (*PullImageRequest) HasSandboxConfig

func (x *PullImageRequest) HasSandboxConfig() bool

func (*PullImageRequest) ProtoMessage

func (*PullImageRequest) ProtoMessage()

func (*PullImageRequest) ProtoReflect

func (x *PullImageRequest) ProtoReflect() protoreflect.Message

func (*PullImageRequest) Reset

func (x *PullImageRequest) Reset()

func (*PullImageRequest) SetAuth

func (x *PullImageRequest) SetAuth(v *AuthConfig)

func (*PullImageRequest) SetImage

func (x *PullImageRequest) SetImage(v *ImageSpec)

func (*PullImageRequest) SetSandboxConfig

func (x *PullImageRequest) SetSandboxConfig(v *PodSandboxConfig)

func (*PullImageRequest) String

func (x *PullImageRequest) String() string

type PullImageRequest_builder

type PullImageRequest_builder struct {

	// Spec of the image.
	Image *ImageSpec
	// Authentication configuration for pulling the image.
	Auth *AuthConfig
	// Config of the PodSandbox, which is used to pull image in PodSandbox context.
	SandboxConfig *PodSandboxConfig
	// contains filtered or unexported fields
}

func (PullImageRequest_builder) Build

type PullImageResponse

type PullImageResponse struct {

	// Reference to the image in use. For most runtimes, this should be an
	// image ID or digest.
	ImageRef string `protobuf:"bytes,1,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*PullImageResponse) GetImageRef

func (x *PullImageResponse) GetImageRef() string

func (*PullImageResponse) ProtoMessage

func (*PullImageResponse) ProtoMessage()

func (*PullImageResponse) ProtoReflect

func (x *PullImageResponse) ProtoReflect() protoreflect.Message

func (*PullImageResponse) Reset

func (x *PullImageResponse) Reset()

func (*PullImageResponse) SetImageRef

func (x *PullImageResponse) SetImageRef(v string)

func (*PullImageResponse) String

func (x *PullImageResponse) String() string

type PullImageResponse_builder

type PullImageResponse_builder struct {

	// Reference to the image in use. For most runtimes, this should be an
	// image ID or digest.
	ImageRef string
	// contains filtered or unexported fields
}

func (PullImageResponse_builder) Build

type RemoveContainerRequest

type RemoveContainerRequest struct {

	// ID of the container to remove.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveContainerRequest) GetContainerId

func (x *RemoveContainerRequest) GetContainerId() string

func (*RemoveContainerRequest) ProtoMessage

func (*RemoveContainerRequest) ProtoMessage()

func (*RemoveContainerRequest) ProtoReflect

func (x *RemoveContainerRequest) ProtoReflect() protoreflect.Message

func (*RemoveContainerRequest) Reset

func (x *RemoveContainerRequest) Reset()

func (*RemoveContainerRequest) SetContainerId

func (x *RemoveContainerRequest) SetContainerId(v string)

func (*RemoveContainerRequest) String

func (x *RemoveContainerRequest) String() string

type RemoveContainerRequest_builder

type RemoveContainerRequest_builder struct {

	// ID of the container to remove.
	ContainerId string
	// contains filtered or unexported fields
}

func (RemoveContainerRequest_builder) Build

type RemoveContainerResponse

type RemoveContainerResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveContainerResponse) ProtoMessage

func (*RemoveContainerResponse) ProtoMessage()

func (*RemoveContainerResponse) ProtoReflect

func (x *RemoveContainerResponse) ProtoReflect() protoreflect.Message

func (*RemoveContainerResponse) Reset

func (x *RemoveContainerResponse) Reset()

func (*RemoveContainerResponse) String

func (x *RemoveContainerResponse) String() string

type RemoveContainerResponse_builder

type RemoveContainerResponse_builder struct {
	// contains filtered or unexported fields
}

func (RemoveContainerResponse_builder) Build

type RemoveImageRequest

type RemoveImageRequest struct {

	// Spec of the image to remove.
	Image *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveImageRequest) ClearImage

func (x *RemoveImageRequest) ClearImage()

func (*RemoveImageRequest) GetImage

func (x *RemoveImageRequest) GetImage() *ImageSpec

func (*RemoveImageRequest) HasImage

func (x *RemoveImageRequest) HasImage() bool

func (*RemoveImageRequest) ProtoMessage

func (*RemoveImageRequest) ProtoMessage()

func (*RemoveImageRequest) ProtoReflect

func (x *RemoveImageRequest) ProtoReflect() protoreflect.Message

func (*RemoveImageRequest) Reset

func (x *RemoveImageRequest) Reset()

func (*RemoveImageRequest) SetImage

func (x *RemoveImageRequest) SetImage(v *ImageSpec)

func (*RemoveImageRequest) String

func (x *RemoveImageRequest) String() string

type RemoveImageRequest_builder

type RemoveImageRequest_builder struct {

	// Spec of the image to remove.
	Image *ImageSpec
	// contains filtered or unexported fields
}

func (RemoveImageRequest_builder) Build

type RemoveImageResponse

type RemoveImageResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveImageResponse) ProtoMessage

func (*RemoveImageResponse) ProtoMessage()

func (*RemoveImageResponse) ProtoReflect

func (x *RemoveImageResponse) ProtoReflect() protoreflect.Message

func (*RemoveImageResponse) Reset

func (x *RemoveImageResponse) Reset()

func (*RemoveImageResponse) String

func (x *RemoveImageResponse) String() string

type RemoveImageResponse_builder

type RemoveImageResponse_builder struct {
	// contains filtered or unexported fields
}

func (RemoveImageResponse_builder) Build

type RemovePodSandboxRequest

type RemovePodSandboxRequest struct {

	// ID of the PodSandbox to remove.
	PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePodSandboxRequest) GetPodSandboxId

func (x *RemovePodSandboxRequest) GetPodSandboxId() string

func (*RemovePodSandboxRequest) ProtoMessage

func (*RemovePodSandboxRequest) ProtoMessage()

func (*RemovePodSandboxRequest) ProtoReflect

func (x *RemovePodSandboxRequest) ProtoReflect() protoreflect.Message

func (*RemovePodSandboxRequest) Reset

func (x *RemovePodSandboxRequest) Reset()

func (*RemovePodSandboxRequest) SetPodSandboxId

func (x *RemovePodSandboxRequest) SetPodSandboxId(v string)

func (*RemovePodSandboxRequest) String

func (x *RemovePodSandboxRequest) String() string

type RemovePodSandboxRequest_builder

type RemovePodSandboxRequest_builder struct {

	// ID of the PodSandbox to remove.
	PodSandboxId string
	// contains filtered or unexported fields
}

func (RemovePodSandboxRequest_builder) Build

type RemovePodSandboxResponse

type RemovePodSandboxResponse struct {
	// contains filtered or unexported fields
}

func (*RemovePodSandboxResponse) ProtoMessage

func (*RemovePodSandboxResponse) ProtoMessage()

func (*RemovePodSandboxResponse) ProtoReflect

func (x *RemovePodSandboxResponse) ProtoReflect() protoreflect.Message

func (*RemovePodSandboxResponse) Reset

func (x *RemovePodSandboxResponse) Reset()

func (*RemovePodSandboxResponse) String

func (x *RemovePodSandboxResponse) String() string

type RemovePodSandboxResponse_builder

type RemovePodSandboxResponse_builder struct {
	// contains filtered or unexported fields
}

func (RemovePodSandboxResponse_builder) Build

type ReopenContainerLogRequest

type ReopenContainerLogRequest struct {

	// ID of the container for which to reopen the log.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReopenContainerLogRequest) GetContainerId

func (x *ReopenContainerLogRequest) GetContainerId() string

func (*ReopenContainerLogRequest) ProtoMessage

func (*ReopenContainerLogRequest) ProtoMessage()

func (*ReopenContainerLogRequest) ProtoReflect

func (*ReopenContainerLogRequest) Reset

func (x *ReopenContainerLogRequest) Reset()

func (*ReopenContainerLogRequest) SetContainerId

func (x *ReopenContainerLogRequest) SetContainerId(v string)

func (*ReopenContainerLogRequest) String

func (x *ReopenContainerLogRequest) String() string

type ReopenContainerLogRequest_builder

type ReopenContainerLogRequest_builder struct {

	// ID of the container for which to reopen the log.
	ContainerId string
	// contains filtered or unexported fields
}

func (ReopenContainerLogRequest_builder) Build

type ReopenContainerLogResponse

type ReopenContainerLogResponse struct {
	// contains filtered or unexported fields
}

func (*ReopenContainerLogResponse) ProtoMessage

func (*ReopenContainerLogResponse) ProtoMessage()

func (*ReopenContainerLogResponse) ProtoReflect

func (*ReopenContainerLogResponse) Reset

func (x *ReopenContainerLogResponse) Reset()

func (*ReopenContainerLogResponse) String

func (x *ReopenContainerLogResponse) String() string

type ReopenContainerLogResponse_builder

type ReopenContainerLogResponse_builder struct {
	// contains filtered or unexported fields
}

func (ReopenContainerLogResponse_builder) Build

type RunPodSandboxRequest

type RunPodSandboxRequest struct {

	// Configuration for creating a PodSandbox.
	Config *PodSandboxConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// Named runtime configuration to use for this PodSandbox.
	// If the runtime handler is unknown, this request should be rejected.  An
	// empty string should select the default handler, equivalent to the
	// behavior before this feature was added.
	// See https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
	RuntimeHandler string `protobuf:"bytes,2,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"`
	// contains filtered or unexported fields
}

func (*RunPodSandboxRequest) ClearConfig

func (x *RunPodSandboxRequest) ClearConfig()

func (*RunPodSandboxRequest) GetConfig

func (x *RunPodSandboxRequest) GetConfig() *PodSandboxConfig

func (*RunPodSandboxRequest) GetRuntimeHandler

func (x *RunPodSandboxRequest) GetRuntimeHandler() string

func (*RunPodSandboxRequest) HasConfig

func (x *RunPodSandboxRequest) HasConfig() bool

func (*RunPodSandboxRequest) ProtoMessage

func (*RunPodSandboxRequest) ProtoMessage()

func (*RunPodSandboxRequest) ProtoReflect

func (x *RunPodSandboxRequest) ProtoReflect() protoreflect.Message

func (*RunPodSandboxRequest) Reset

func (x *RunPodSandboxRequest) Reset()

func (*RunPodSandboxRequest) SetConfig

func (x *RunPodSandboxRequest) SetConfig(v *PodSandboxConfig)

func (*RunPodSandboxRequest) SetRuntimeHandler

func (x *RunPodSandboxRequest) SetRuntimeHandler(v string)

func (*RunPodSandboxRequest) String

func (x *RunPodSandboxRequest) String() string

type RunPodSandboxRequest_builder

type RunPodSandboxRequest_builder struct {

	// Configuration for creating a PodSandbox.
	Config *PodSandboxConfig
	// Named runtime configuration to use for this PodSandbox.
	// If the runtime handler is unknown, this request should be rejected.  An
	// empty string should select the default handler, equivalent to the
	// behavior before this feature was added.
	// See https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
	RuntimeHandler string
	// contains filtered or unexported fields
}

func (RunPodSandboxRequest_builder) Build

type RunPodSandboxResponse

type RunPodSandboxResponse struct {

	// ID of the PodSandbox to run.
	PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RunPodSandboxResponse) GetPodSandboxId

func (x *RunPodSandboxResponse) GetPodSandboxId() string

func (*RunPodSandboxResponse) ProtoMessage

func (*RunPodSandboxResponse) ProtoMessage()

func (*RunPodSandboxResponse) ProtoReflect

func (x *RunPodSandboxResponse) ProtoReflect() protoreflect.Message

func (*RunPodSandboxResponse) Reset

func (x *RunPodSandboxResponse) Reset()

func (*RunPodSandboxResponse) SetPodSandboxId

func (x *RunPodSandboxResponse) SetPodSandboxId(v string)

func (*RunPodSandboxResponse) String

func (x *RunPodSandboxResponse) String() string

type RunPodSandboxResponse_builder

type RunPodSandboxResponse_builder struct {

	// ID of the PodSandbox to run.
	PodSandboxId string
	// contains filtered or unexported fields
}

func (RunPodSandboxResponse_builder) Build

type RuntimeCondition

type RuntimeCondition struct {

	// Type of runtime condition.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Status of the condition, one of true/false. Default: false.
	Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// Brief CamelCase string containing reason for the condition's last transition.
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// Human-readable message indicating details about last transition.
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

RuntimeCondition contains condition information for the runtime. There are 2 kinds of runtime conditions: 1. Required conditions: Conditions are required for kubelet to work properly. If any required condition is unmet, the node will be not ready. The required conditions include:

  • RuntimeReady: RuntimeReady means the runtime is up and ready to accept basic containers e.g. container only needs host network.
  • NetworkReady: NetworkReady means the runtime network is up and ready to accept containers which require container network.

2. Optional conditions: Conditions are informative to the user, but kubelet will not rely on. Since condition type is an arbitrary string, all conditions not required are optional. These conditions will be exposed to users to help them understand the status of the system.

func (*RuntimeCondition) GetMessage

func (x *RuntimeCondition) GetMessage() string

func (*RuntimeCondition) GetReason

func (x *RuntimeCondition) GetReason() string

func (*RuntimeCondition) GetStatus

func (x *RuntimeCondition) GetStatus() bool

func (*RuntimeCondition) GetType

func (x *RuntimeCondition) GetType() string

func (*RuntimeCondition) ProtoMessage

func (*RuntimeCondition) ProtoMessage()

func (*RuntimeCondition) ProtoReflect

func (x *RuntimeCondition) ProtoReflect() protoreflect.Message

func (*RuntimeCondition) Reset

func (x *RuntimeCondition) Reset()

func (*RuntimeCondition) SetMessage

func (x *RuntimeCondition) SetMessage(v string)

func (*RuntimeCondition) SetReason

func (x *RuntimeCondition) SetReason(v string)

func (*RuntimeCondition) SetStatus

func (x *RuntimeCondition) SetStatus(v bool)

func (*RuntimeCondition) SetType

func (x *RuntimeCondition) SetType(v string)

func (*RuntimeCondition) String

func (x *RuntimeCondition) String() string

type RuntimeCondition_builder

type RuntimeCondition_builder struct {

	// Type of runtime condition.
	Type string
	// Status of the condition, one of true/false. Default: false.
	Status bool
	// Brief CamelCase string containing reason for the condition's last transition.
	Reason string
	// Human-readable message indicating details about last transition.
	Message string
	// contains filtered or unexported fields
}

func (RuntimeCondition_builder) Build

type RuntimeConfig

type RuntimeConfig struct {
	NetworkConfig *NetworkConfig `protobuf:"bytes,1,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
	// contains filtered or unexported fields
}

func (*RuntimeConfig) ClearNetworkConfig

func (x *RuntimeConfig) ClearNetworkConfig()

func (*RuntimeConfig) GetNetworkConfig

func (x *RuntimeConfig) GetNetworkConfig() *NetworkConfig

func (*RuntimeConfig) HasNetworkConfig

func (x *RuntimeConfig) HasNetworkConfig() bool

func (*RuntimeConfig) ProtoMessage

func (*RuntimeConfig) ProtoMessage()

func (*RuntimeConfig) ProtoReflect

func (x *RuntimeConfig) ProtoReflect() protoreflect.Message

func (*RuntimeConfig) Reset

func (x *RuntimeConfig) Reset()

func (*RuntimeConfig) SetNetworkConfig

func (x *RuntimeConfig) SetNetworkConfig(v *NetworkConfig)

func (*RuntimeConfig) String

func (x *RuntimeConfig) String() string

type RuntimeConfigRequest

type RuntimeConfigRequest struct {
	// contains filtered or unexported fields
}

func (*RuntimeConfigRequest) ProtoMessage

func (*RuntimeConfigRequest) ProtoMessage()

func (*RuntimeConfigRequest) ProtoReflect

func (x *RuntimeConfigRequest) ProtoReflect() protoreflect.Message

func (*RuntimeConfigRequest) Reset

func (x *RuntimeConfigRequest) Reset()

func (*RuntimeConfigRequest) String

func (x *RuntimeConfigRequest) String() string

type RuntimeConfigRequest_builder

type RuntimeConfigRequest_builder struct {
	// contains filtered or unexported fields
}

func (RuntimeConfigRequest_builder) Build

type RuntimeConfigResponse

type RuntimeConfigResponse struct {

	// Configuration information for Linux-based runtimes. This field contains
	// global runtime configuration options that are not specific to runtime
	// handlers.
	Linux *LinuxRuntimeConfiguration `protobuf:"bytes,1,opt,name=linux,proto3" json:"linux,omitempty"`
	// contains filtered or unexported fields
}

func (*RuntimeConfigResponse) ClearLinux

func (x *RuntimeConfigResponse) ClearLinux()

func (*RuntimeConfigResponse) GetLinux

func (*RuntimeConfigResponse) HasLinux

func (x *RuntimeConfigResponse) HasLinux() bool

func (*RuntimeConfigResponse) ProtoMessage

func (*RuntimeConfigResponse) ProtoMessage()

func (*RuntimeConfigResponse) ProtoReflect

func (x *RuntimeConfigResponse) ProtoReflect() protoreflect.Message

func (*RuntimeConfigResponse) Reset

func (x *RuntimeConfigResponse) Reset()

func (*RuntimeConfigResponse) SetLinux

func (*RuntimeConfigResponse) String

func (x *RuntimeConfigResponse) String() string

type RuntimeConfigResponse_builder

type RuntimeConfigResponse_builder struct {

	// Configuration information for Linux-based runtimes. This field contains
	// global runtime configuration options that are not specific to runtime
	// handlers.
	Linux *LinuxRuntimeConfiguration
	// contains filtered or unexported fields
}

func (RuntimeConfigResponse_builder) Build

type RuntimeConfig_builder

type RuntimeConfig_builder struct {
	NetworkConfig *NetworkConfig
	// contains filtered or unexported fields
}

func (RuntimeConfig_builder) Build

type RuntimeStatus

type RuntimeStatus struct {

	// List of current observed runtime conditions.
	Conditions []*RuntimeCondition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

RuntimeStatus is information about the current status of the runtime.

func (*RuntimeStatus) GetConditions

func (x *RuntimeStatus) GetConditions() []*RuntimeCondition

func (*RuntimeStatus) ProtoMessage

func (*RuntimeStatus) ProtoMessage()

func (*RuntimeStatus) ProtoReflect

func (x *RuntimeStatus) ProtoReflect() protoreflect.Message

func (*RuntimeStatus) Reset

func (x *RuntimeStatus) Reset()

func (*RuntimeStatus) SetConditions

func (x *RuntimeStatus) SetConditions(v []*RuntimeCondition)

func (*RuntimeStatus) String

func (x *RuntimeStatus) String() string

type RuntimeStatus_builder

type RuntimeStatus_builder struct {

	// List of current observed runtime conditions.
	Conditions []*RuntimeCondition
	// contains filtered or unexported fields
}

func (RuntimeStatus_builder) Build

type SELinuxOption

type SELinuxOption struct {
	User  string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Role  string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Type  string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

SELinuxOption are the labels to be applied to the container.

func (*SELinuxOption) GetLevel

func (x *SELinuxOption) GetLevel() string

func (*SELinuxOption) GetRole

func (x *SELinuxOption) GetRole() string

func (*SELinuxOption) GetType

func (x *SELinuxOption) GetType() string

func (*SELinuxOption) GetUser

func (x *SELinuxOption) GetUser() string

func (*SELinuxOption) ProtoMessage

func (*SELinuxOption) ProtoMessage()

func (*SELinuxOption) ProtoReflect

func (x *SELinuxOption) ProtoReflect() protoreflect.Message

func (*SELinuxOption) Reset

func (x *SELinuxOption) Reset()

func (*SELinuxOption) SetLevel

func (x *SELinuxOption) SetLevel(v string)

func (*SELinuxOption) SetRole

func (x *SELinuxOption) SetRole(v string)

func (*SELinuxOption) SetType

func (x *SELinuxOption) SetType(v string)

func (*SELinuxOption) SetUser

func (x *SELinuxOption) SetUser(v string)

func (*SELinuxOption) String

func (x *SELinuxOption) String() string

type SELinuxOption_builder

type SELinuxOption_builder struct {
	User  string
	Role  string
	Type  string
	Level string
	// contains filtered or unexported fields
}

func (SELinuxOption_builder) Build

type SecurityProfile

type SecurityProfile struct {

	// Indicator which `ProfileType` should be applied.
	ProfileType SecurityProfile_ProfileType `` /* 139-byte string literal not displayed */
	// Indicates that a pre-defined profile on the node should be used.
	// Must only be set if `ProfileType` is `Localhost`.
	// For seccomp, it must be an absolute path to the seccomp profile.
	// For AppArmor, this field is the AppArmor `<profile name>/`
	LocalhostRef string `protobuf:"bytes,2,opt,name=localhost_ref,json=localhostRef,proto3" json:"localhost_ref,omitempty"`
	// contains filtered or unexported fields
}

A security profile which can be used for sandboxes and containers.

func (*SecurityProfile) GetLocalhostRef

func (x *SecurityProfile) GetLocalhostRef() string

func (*SecurityProfile) GetProfileType

func (x *SecurityProfile) GetProfileType() SecurityProfile_ProfileType

func (*SecurityProfile) ProtoMessage

func (*SecurityProfile) ProtoMessage()

func (*SecurityProfile) ProtoReflect

func (x *SecurityProfile) ProtoReflect() protoreflect.Message

func (*SecurityProfile) Reset

func (x *SecurityProfile) Reset()

func (*SecurityProfile) SetLocalhostRef

func (x *SecurityProfile) SetLocalhostRef(v string)

func (*SecurityProfile) SetProfileType

func (x *SecurityProfile) SetProfileType(v SecurityProfile_ProfileType)

func (*SecurityProfile) String

func (x *SecurityProfile) String() string

type SecurityProfile_ProfileType

type SecurityProfile_ProfileType int32

Available profile types.

const (
	// The container runtime default profile should be used.
	SecurityProfile_RuntimeDefault SecurityProfile_ProfileType = 0
	// Disable the feature for the sandbox or the container.
	SecurityProfile_Unconfined SecurityProfile_ProfileType = 1
	// A pre-defined profile on the node should be used.
	SecurityProfile_Localhost SecurityProfile_ProfileType = 2
)

func (SecurityProfile_ProfileType) Descriptor

func (SecurityProfile_ProfileType) Enum

func (SecurityProfile_ProfileType) Number

func (SecurityProfile_ProfileType) String

func (SecurityProfile_ProfileType) Type

type SecurityProfile_builder

type SecurityProfile_builder struct {

	// Indicator which `ProfileType` should be applied.
	ProfileType SecurityProfile_ProfileType
	// Indicates that a pre-defined profile on the node should be used.
	// Must only be set if `ProfileType` is `Localhost`.
	// For seccomp, it must be an absolute path to the seccomp profile.
	// For AppArmor, this field is the AppArmor `<profile name>/`
	LocalhostRef string
	// contains filtered or unexported fields
}

func (SecurityProfile_builder) Build

type StartContainerRequest

type StartContainerRequest struct {

	// ID of the container to start.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartContainerRequest) GetContainerId

func (x *StartContainerRequest) GetContainerId() string

func (*StartContainerRequest) ProtoMessage

func (*StartContainerRequest) ProtoMessage()

func (*StartContainerRequest) ProtoReflect

func (x *StartContainerRequest) ProtoReflect() protoreflect.Message

func (*StartContainerRequest) Reset

func (x *StartContainerRequest) Reset()

func (*StartContainerRequest) SetContainerId

func (x *StartContainerRequest) SetContainerId(v string)

func (*StartContainerRequest) String

func (x *StartContainerRequest) String() string

type StartContainerRequest_builder

type StartContainerRequest_builder struct {

	// ID of the container to start.
	ContainerId string
	// contains filtered or unexported fields
}

func (StartContainerRequest_builder) Build

type StartContainerResponse

type StartContainerResponse struct {
	// contains filtered or unexported fields
}

func (*StartContainerResponse) ProtoMessage

func (*StartContainerResponse) ProtoMessage()

func (*StartContainerResponse) ProtoReflect

func (x *StartContainerResponse) ProtoReflect() protoreflect.Message

func (*StartContainerResponse) Reset

func (x *StartContainerResponse) Reset()

func (*StartContainerResponse) String

func (x *StartContainerResponse) String() string

type StartContainerResponse_builder

type StartContainerResponse_builder struct {
	// contains filtered or unexported fields
}

func (StartContainerResponse_builder) Build

type StatusRequest

type StatusRequest struct {

	// Verbose indicates whether to return extra information about the runtime.
	Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusRequest) GetVerbose

func (x *StatusRequest) GetVerbose() bool

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

func (x *StatusRequest) ProtoReflect() protoreflect.Message

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) SetVerbose

func (x *StatusRequest) SetVerbose(v bool)

func (*StatusRequest) String

func (x *StatusRequest) String() string

type StatusRequest_builder

type StatusRequest_builder struct {

	// Verbose indicates whether to return extra information about the runtime.
	Verbose bool
	// contains filtered or unexported fields
}

func (StatusRequest_builder) Build

type StatusResponse

type StatusResponse struct {

	// Status of the Runtime.
	Status *RuntimeStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Info is extra information of the Runtime. The key could be arbitrary string, and
	// value should be in json format. The information could include anything useful for
	// debug, e.g. plugins used by the container runtime.
	// It should only be returned non-empty when Verbose is true.
	Info map[string]string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StatusResponse) ClearStatus

func (x *StatusResponse) ClearStatus()

func (*StatusResponse) GetInfo

func (x *StatusResponse) GetInfo() map[string]string

func (*StatusResponse) GetStatus

func (x *StatusResponse) GetStatus() *RuntimeStatus

func (*StatusResponse) HasStatus

func (x *StatusResponse) HasStatus() bool

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

func (x *StatusResponse) ProtoReflect() protoreflect.Message

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) SetInfo

func (x *StatusResponse) SetInfo(v map[string]string)

func (*StatusResponse) SetStatus

func (x *StatusResponse) SetStatus(v *RuntimeStatus)

func (*StatusResponse) String

func (x *StatusResponse) String() string

type StatusResponse_builder

type StatusResponse_builder struct {

	// Status of the Runtime.
	Status *RuntimeStatus
	// Info is extra information of the Runtime. The key could be arbitrary string, and
	// value should be in json format. The information could include anything useful for
	// debug, e.g. plugins used by the container runtime.
	// It should only be returned non-empty when Verbose is true.
	Info map[string]string
	// contains filtered or unexported fields
}

func (StatusResponse_builder) Build

type StopContainerRequest

type StopContainerRequest struct {

	// ID of the container to stop.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Timeout in seconds to wait for the container to stop before forcibly
	// terminating it. Default: 0 (forcibly terminate the container immediately)
	Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*StopContainerRequest) GetContainerId

func (x *StopContainerRequest) GetContainerId() string

func (*StopContainerRequest) GetTimeout

func (x *StopContainerRequest) GetTimeout() int64

func (*StopContainerRequest) ProtoMessage

func (*StopContainerRequest) ProtoMessage()

func (*StopContainerRequest) ProtoReflect

func (x *StopContainerRequest) ProtoReflect() protoreflect.Message

func (*StopContainerRequest) Reset

func (x *StopContainerRequest) Reset()

func (*StopContainerRequest) SetContainerId

func (x *StopContainerRequest) SetContainerId(v string)

func (*StopContainerRequest) SetTimeout

func (x *StopContainerRequest) SetTimeout(v int64)

func (*StopContainerRequest) String

func (x *StopContainerRequest) String() string

type StopContainerRequest_builder

type StopContainerRequest_builder struct {

	// ID of the container to stop.
	ContainerId string
	// Timeout in seconds to wait for the container to stop before forcibly
	// terminating it. Default: 0 (forcibly terminate the container immediately)
	Timeout int64
	// contains filtered or unexported fields
}

func (StopContainerRequest_builder) Build

type StopContainerResponse

type StopContainerResponse struct {
	// contains filtered or unexported fields
}

func (*StopContainerResponse) ProtoMessage

func (*StopContainerResponse) ProtoMessage()

func (*StopContainerResponse) ProtoReflect

func (x *StopContainerResponse) ProtoReflect() protoreflect.Message

func (*StopContainerResponse) Reset

func (x *StopContainerResponse) Reset()

func (*StopContainerResponse) String

func (x *StopContainerResponse) String() string

type StopContainerResponse_builder

type StopContainerResponse_builder struct {
	// contains filtered or unexported fields
}

func (StopContainerResponse_builder) Build

type StopPodSandboxRequest

type StopPodSandboxRequest struct {

	// ID of the PodSandbox to stop.
	PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopPodSandboxRequest) GetPodSandboxId

func (x *StopPodSandboxRequest) GetPodSandboxId() string

func (*StopPodSandboxRequest) ProtoMessage

func (*StopPodSandboxRequest) ProtoMessage()

func (*StopPodSandboxRequest) ProtoReflect

func (x *StopPodSandboxRequest) ProtoReflect() protoreflect.Message

func (*StopPodSandboxRequest) Reset

func (x *StopPodSandboxRequest) Reset()

func (*StopPodSandboxRequest) SetPodSandboxId

func (x *StopPodSandboxRequest) SetPodSandboxId(v string)

func (*StopPodSandboxRequest) String

func (x *StopPodSandboxRequest) String() string

type StopPodSandboxRequest_builder

type StopPodSandboxRequest_builder struct {

	// ID of the PodSandbox to stop.
	PodSandboxId string
	// contains filtered or unexported fields
}

func (StopPodSandboxRequest_builder) Build

type StopPodSandboxResponse

type StopPodSandboxResponse struct {
	// contains filtered or unexported fields
}

func (*StopPodSandboxResponse) ProtoMessage

func (*StopPodSandboxResponse) ProtoMessage()

func (*StopPodSandboxResponse) ProtoReflect

func (x *StopPodSandboxResponse) ProtoReflect() protoreflect.Message

func (*StopPodSandboxResponse) Reset

func (x *StopPodSandboxResponse) Reset()

func (*StopPodSandboxResponse) String

func (x *StopPodSandboxResponse) String() string

type StopPodSandboxResponse_builder

type StopPodSandboxResponse_builder struct {
	// contains filtered or unexported fields
}

func (StopPodSandboxResponse_builder) Build

type SwapUsage

type SwapUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Available swap for use. This is defined as the swap limit - swapUsageBytes.
	SwapAvailableBytes *UInt64Value `protobuf:"bytes,2,opt,name=swap_available_bytes,json=swapAvailableBytes,proto3" json:"swap_available_bytes,omitempty"`
	// Total memory in use. This includes all memory regardless of when it was accessed.
	SwapUsageBytes *UInt64Value `protobuf:"bytes,3,opt,name=swap_usage_bytes,json=swapUsageBytes,proto3" json:"swap_usage_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapUsage) ClearSwapAvailableBytes

func (x *SwapUsage) ClearSwapAvailableBytes()

func (*SwapUsage) ClearSwapUsageBytes

func (x *SwapUsage) ClearSwapUsageBytes()

func (*SwapUsage) GetSwapAvailableBytes

func (x *SwapUsage) GetSwapAvailableBytes() *UInt64Value

func (*SwapUsage) GetSwapUsageBytes

func (x *SwapUsage) GetSwapUsageBytes() *UInt64Value

func (*SwapUsage) GetTimestamp

func (x *SwapUsage) GetTimestamp() int64

func (*SwapUsage) HasSwapAvailableBytes

func (x *SwapUsage) HasSwapAvailableBytes() bool

func (*SwapUsage) HasSwapUsageBytes

func (x *SwapUsage) HasSwapUsageBytes() bool

func (*SwapUsage) ProtoMessage

func (*SwapUsage) ProtoMessage()

func (*SwapUsage) ProtoReflect

func (x *SwapUsage) ProtoReflect() protoreflect.Message

func (*SwapUsage) Reset

func (x *SwapUsage) Reset()

func (*SwapUsage) SetSwapAvailableBytes

func (x *SwapUsage) SetSwapAvailableBytes(v *UInt64Value)

func (*SwapUsage) SetSwapUsageBytes

func (x *SwapUsage) SetSwapUsageBytes(v *UInt64Value)

func (*SwapUsage) SetTimestamp

func (x *SwapUsage) SetTimestamp(v int64)

func (*SwapUsage) String

func (x *SwapUsage) String() string

type SwapUsage_builder

type SwapUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// Available swap for use. This is defined as the swap limit - swapUsageBytes.
	SwapAvailableBytes *UInt64Value
	// Total memory in use. This includes all memory regardless of when it was accessed.
	SwapUsageBytes *UInt64Value
	// contains filtered or unexported fields
}

func (SwapUsage_builder) Build

func (b0 SwapUsage_builder) Build() *SwapUsage

type UInt64Value

type UInt64Value struct {

	// The value.
	Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

UInt64Value is the wrapper of uint64.

func (*UInt64Value) GetValue

func (x *UInt64Value) GetValue() uint64

func (*UInt64Value) ProtoMessage

func (*UInt64Value) ProtoMessage()

func (*UInt64Value) ProtoReflect

func (x *UInt64Value) ProtoReflect() protoreflect.Message

func (*UInt64Value) Reset

func (x *UInt64Value) Reset()

func (*UInt64Value) SetValue

func (x *UInt64Value) SetValue(v uint64)

func (*UInt64Value) String

func (x *UInt64Value) String() string

type UInt64Value_builder

type UInt64Value_builder struct {

	// The value.
	Value uint64
	// contains filtered or unexported fields
}

func (UInt64Value_builder) Build

func (b0 UInt64Value_builder) Build() *UInt64Value

type UpdateContainerResourcesRequest

type UpdateContainerResourcesRequest struct {

	// ID of the container to update.
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Resource configuration specific to Linux containers.
	Linux *LinuxContainerResources `protobuf:"bytes,2,opt,name=linux,proto3" json:"linux,omitempty"`
	// Resource configuration specific to Windows containers.
	Windows *WindowsContainerResources `protobuf:"bytes,3,opt,name=windows,proto3" json:"windows,omitempty"`
	// Unstructured key-value map holding arbitrary additional information for
	// container resources updating. This can be used for specifying experimental
	// resources to update or other options to use when updating the container.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateContainerResourcesRequest) ClearLinux

func (x *UpdateContainerResourcesRequest) ClearLinux()

func (*UpdateContainerResourcesRequest) ClearWindows

func (x *UpdateContainerResourcesRequest) ClearWindows()

func (*UpdateContainerResourcesRequest) GetAnnotations

func (x *UpdateContainerResourcesRequest) GetAnnotations() map[string]string

func (*UpdateContainerResourcesRequest) GetContainerId

func (x *UpdateContainerResourcesRequest) GetContainerId() string

func (*UpdateContainerResourcesRequest) GetLinux

func (*UpdateContainerResourcesRequest) GetWindows

func (*UpdateContainerResourcesRequest) HasLinux

func (x *UpdateContainerResourcesRequest) HasLinux() bool

func (*UpdateContainerResourcesRequest) HasWindows

func (x *UpdateContainerResourcesRequest) HasWindows() bool

func (*UpdateContainerResourcesRequest) ProtoMessage

func (*UpdateContainerResourcesRequest) ProtoMessage()

func (*UpdateContainerResourcesRequest) ProtoReflect

func (*UpdateContainerResourcesRequest) Reset

func (*UpdateContainerResourcesRequest) SetAnnotations

func (x *UpdateContainerResourcesRequest) SetAnnotations(v map[string]string)

func (*UpdateContainerResourcesRequest) SetContainerId

func (x *UpdateContainerResourcesRequest) SetContainerId(v string)

func (*UpdateContainerResourcesRequest) SetLinux

func (*UpdateContainerResourcesRequest) SetWindows

func (*UpdateContainerResourcesRequest) String

type UpdateContainerResourcesRequest_builder

type UpdateContainerResourcesRequest_builder struct {

	// ID of the container to update.
	ContainerId string
	// Resource configuration specific to Linux containers.
	Linux *LinuxContainerResources
	// Resource configuration specific to Windows containers.
	Windows *WindowsContainerResources
	// Unstructured key-value map holding arbitrary additional information for
	// container resources updating. This can be used for specifying experimental
	// resources to update or other options to use when updating the container.
	Annotations map[string]string
	// contains filtered or unexported fields
}

func (UpdateContainerResourcesRequest_builder) Build

type UpdateContainerResourcesResponse

type UpdateContainerResourcesResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateContainerResourcesResponse) ProtoMessage

func (*UpdateContainerResourcesResponse) ProtoMessage()

func (*UpdateContainerResourcesResponse) ProtoReflect

func (*UpdateContainerResourcesResponse) Reset

func (*UpdateContainerResourcesResponse) String

type UpdateContainerResourcesResponse_builder

type UpdateContainerResourcesResponse_builder struct {
	// contains filtered or unexported fields
}

func (UpdateContainerResourcesResponse_builder) Build

type UpdateRuntimeConfigRequest

type UpdateRuntimeConfigRequest struct {
	RuntimeConfig *RuntimeConfig `protobuf:"bytes,1,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRuntimeConfigRequest) ClearRuntimeConfig

func (x *UpdateRuntimeConfigRequest) ClearRuntimeConfig()

func (*UpdateRuntimeConfigRequest) GetRuntimeConfig

func (x *UpdateRuntimeConfigRequest) GetRuntimeConfig() *RuntimeConfig

func (*UpdateRuntimeConfigRequest) HasRuntimeConfig

func (x *UpdateRuntimeConfigRequest) HasRuntimeConfig() bool

func (*UpdateRuntimeConfigRequest) ProtoMessage

func (*UpdateRuntimeConfigRequest) ProtoMessage()

func (*UpdateRuntimeConfigRequest) ProtoReflect

func (*UpdateRuntimeConfigRequest) Reset

func (x *UpdateRuntimeConfigRequest) Reset()

func (*UpdateRuntimeConfigRequest) SetRuntimeConfig

func (x *UpdateRuntimeConfigRequest) SetRuntimeConfig(v *RuntimeConfig)

func (*UpdateRuntimeConfigRequest) String

func (x *UpdateRuntimeConfigRequest) String() string

type UpdateRuntimeConfigRequest_builder

type UpdateRuntimeConfigRequest_builder struct {
	RuntimeConfig *RuntimeConfig
	// contains filtered or unexported fields
}

func (UpdateRuntimeConfigRequest_builder) Build

type UpdateRuntimeConfigResponse

type UpdateRuntimeConfigResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateRuntimeConfigResponse) ProtoMessage

func (*UpdateRuntimeConfigResponse) ProtoMessage()

func (*UpdateRuntimeConfigResponse) ProtoReflect

func (*UpdateRuntimeConfigResponse) Reset

func (x *UpdateRuntimeConfigResponse) Reset()

func (*UpdateRuntimeConfigResponse) String

func (x *UpdateRuntimeConfigResponse) String() string

type UpdateRuntimeConfigResponse_builder

type UpdateRuntimeConfigResponse_builder struct {
	// contains filtered or unexported fields
}

func (UpdateRuntimeConfigResponse_builder) Build

type UserNamespace

type UserNamespace struct {

	// Mode is the NamespaceMode for this UserNamespace.
	// Note: NamespaceMode for UserNamespace currently supports only POD and NODE, not CONTAINER OR TARGET.
	Mode NamespaceMode `protobuf:"varint,1,opt,name=mode,proto3,enum=runtime.v1.NamespaceMode" json:"mode,omitempty"`
	// Uids specifies the UID mappings for the user namespace.
	Uids []*IDMapping `protobuf:"bytes,2,rep,name=uids,proto3" json:"uids,omitempty"`
	// Gids specifies the GID mappings for the user namespace.
	Gids []*IDMapping `protobuf:"bytes,3,rep,name=gids,proto3" json:"gids,omitempty"`
	// contains filtered or unexported fields
}

UserNamespace describes the intended user namespace configuration for a pod sandbox.

func (*UserNamespace) GetGids

func (x *UserNamespace) GetGids() []*IDMapping

func (*UserNamespace) GetMode

func (x *UserNamespace) GetMode() NamespaceMode

func (*UserNamespace) GetUids

func (x *UserNamespace) GetUids() []*IDMapping

func (*UserNamespace) ProtoMessage

func (*UserNamespace) ProtoMessage()

func (*UserNamespace) ProtoReflect

func (x *UserNamespace) ProtoReflect() protoreflect.Message

func (*UserNamespace) Reset

func (x *UserNamespace) Reset()

func (*UserNamespace) SetGids

func (x *UserNamespace) SetGids(v []*IDMapping)

func (*UserNamespace) SetMode

func (x *UserNamespace) SetMode(v NamespaceMode)

func (*UserNamespace) SetUids

func (x *UserNamespace) SetUids(v []*IDMapping)

func (*UserNamespace) String

func (x *UserNamespace) String() string

type UserNamespace_builder

type UserNamespace_builder struct {

	// Mode is the NamespaceMode for this UserNamespace.
	// Note: NamespaceMode for UserNamespace currently supports only POD and NODE, not CONTAINER OR TARGET.
	Mode NamespaceMode
	// Uids specifies the UID mappings for the user namespace.
	Uids []*IDMapping
	// Gids specifies the GID mappings for the user namespace.
	Gids []*IDMapping
	// contains filtered or unexported fields
}

func (UserNamespace_builder) Build

type VersionRequest

type VersionRequest struct {

	// Version of the kubelet runtime API.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionRequest) GetVersion

func (x *VersionRequest) GetVersion() string

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) ProtoReflect

func (x *VersionRequest) ProtoReflect() protoreflect.Message

func (*VersionRequest) Reset

func (x *VersionRequest) Reset()

func (*VersionRequest) SetVersion

func (x *VersionRequest) SetVersion(v string)

func (*VersionRequest) String

func (x *VersionRequest) String() string

type VersionRequest_builder

type VersionRequest_builder struct {

	// Version of the kubelet runtime API.
	Version string
	// contains filtered or unexported fields
}

func (VersionRequest_builder) Build

type VersionResponse

type VersionResponse struct {

	// Version of the kubelet runtime API.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Name of the container runtime.
	RuntimeName string `protobuf:"bytes,2,opt,name=runtime_name,json=runtimeName,proto3" json:"runtime_name,omitempty"`
	// Version of the container runtime. The string must be
	// semver-compatible.
	RuntimeVersion string `protobuf:"bytes,3,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
	// API version of the container runtime. The string must be
	// semver-compatible.
	RuntimeApiVersion string `protobuf:"bytes,4,opt,name=runtime_api_version,json=runtimeApiVersion,proto3" json:"runtime_api_version,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionResponse) GetRuntimeApiVersion

func (x *VersionResponse) GetRuntimeApiVersion() string

func (*VersionResponse) GetRuntimeName

func (x *VersionResponse) GetRuntimeName() string

func (*VersionResponse) GetRuntimeVersion

func (x *VersionResponse) GetRuntimeVersion() string

func (*VersionResponse) GetVersion

func (x *VersionResponse) GetVersion() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect

func (x *VersionResponse) ProtoReflect() protoreflect.Message

func (*VersionResponse) Reset

func (x *VersionResponse) Reset()

func (*VersionResponse) SetRuntimeApiVersion

func (x *VersionResponse) SetRuntimeApiVersion(v string)

func (*VersionResponse) SetRuntimeName

func (x *VersionResponse) SetRuntimeName(v string)

func (*VersionResponse) SetRuntimeVersion

func (x *VersionResponse) SetRuntimeVersion(v string)

func (*VersionResponse) SetVersion

func (x *VersionResponse) SetVersion(v string)

func (*VersionResponse) String

func (x *VersionResponse) String() string

type VersionResponse_builder

type VersionResponse_builder struct {

	// Version of the kubelet runtime API.
	Version string
	// Name of the container runtime.
	RuntimeName string
	// Version of the container runtime. The string must be
	// semver-compatible.
	RuntimeVersion string
	// API version of the container runtime. The string must be
	// semver-compatible.
	RuntimeApiVersion string
	// contains filtered or unexported fields
}

func (VersionResponse_builder) Build

type WindowsContainerConfig

type WindowsContainerConfig struct {

	// Resources specification for the container.
	Resources *WindowsContainerResources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
	// WindowsContainerSecurityContext configuration for the container.
	SecurityContext *WindowsContainerSecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	// contains filtered or unexported fields
}

WindowsContainerConfig contains platform-specific configuration for Windows-based containers.

func (*WindowsContainerConfig) ClearResources

func (x *WindowsContainerConfig) ClearResources()

func (*WindowsContainerConfig) ClearSecurityContext

func (x *WindowsContainerConfig) ClearSecurityContext()

func (*WindowsContainerConfig) GetResources

func (*WindowsContainerConfig) GetSecurityContext

func (*WindowsContainerConfig) HasResources

func (x *WindowsContainerConfig) HasResources() bool

func (*WindowsContainerConfig) HasSecurityContext

func (x *WindowsContainerConfig) HasSecurityContext() bool

func (*WindowsContainerConfig) ProtoMessage

func (*WindowsContainerConfig) ProtoMessage()

func (*WindowsContainerConfig) ProtoReflect

func (x *WindowsContainerConfig) ProtoReflect() protoreflect.Message

func (*WindowsContainerConfig) Reset

func (x *WindowsContainerConfig) Reset()

func (*WindowsContainerConfig) SetResources

func (*WindowsContainerConfig) SetSecurityContext

func (x *WindowsContainerConfig) SetSecurityContext(v *WindowsContainerSecurityContext)

func (*WindowsContainerConfig) String

func (x *WindowsContainerConfig) String() string

type WindowsContainerConfig_builder

type WindowsContainerConfig_builder struct {

	// Resources specification for the container.
	Resources *WindowsContainerResources
	// WindowsContainerSecurityContext configuration for the container.
	SecurityContext *WindowsContainerSecurityContext
	// contains filtered or unexported fields
}

func (WindowsContainerConfig_builder) Build

type WindowsContainerResources

type WindowsContainerResources struct {

	// CPU shares (relative weight vs. other containers). Default: 0 (not specified).
	CpuShares int64 `protobuf:"varint,1,opt,name=cpu_shares,json=cpuShares,proto3" json:"cpu_shares,omitempty"`
	// Number of CPUs available to the container. Default: 0 (not specified).
	CpuCount int64 `protobuf:"varint,2,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
	// Specifies the portion of processor cycles that this container can use as a percentage times 100.
	CpuMaximum int64 `protobuf:"varint,3,opt,name=cpu_maximum,json=cpuMaximum,proto3" json:"cpu_maximum,omitempty"`
	// Memory limit in bytes. Default: 0 (not specified).
	MemoryLimitInBytes int64 `protobuf:"varint,4,opt,name=memory_limit_in_bytes,json=memoryLimitInBytes,proto3" json:"memory_limit_in_bytes,omitempty"`
	// Specifies the size of the rootfs / scratch space in bytes to be configured for this container. Default: 0 (not specified).
	RootfsSizeInBytes int64 `protobuf:"varint,5,opt,name=rootfs_size_in_bytes,json=rootfsSizeInBytes,proto3" json:"rootfs_size_in_bytes,omitempty"`
	// contains filtered or unexported fields
}

WindowsContainerResources specifies Windows specific configuration for resources.

func (*WindowsContainerResources) GetCpuCount

func (x *WindowsContainerResources) GetCpuCount() int64

func (*WindowsContainerResources) GetCpuMaximum

func (x *WindowsContainerResources) GetCpuMaximum() int64

func (*WindowsContainerResources) GetCpuShares

func (x *WindowsContainerResources) GetCpuShares() int64

func (*WindowsContainerResources) GetMemoryLimitInBytes

func (x *WindowsContainerResources) GetMemoryLimitInBytes() int64

func (*WindowsContainerResources) GetRootfsSizeInBytes

func (x *WindowsContainerResources) GetRootfsSizeInBytes() int64

func (*WindowsContainerResources) ProtoMessage

func (*WindowsContainerResources) ProtoMessage()

func (*WindowsContainerResources) ProtoReflect

func (*WindowsContainerResources) Reset

func (x *WindowsContainerResources) Reset()

func (*WindowsContainerResources) SetCpuCount

func (x *WindowsContainerResources) SetCpuCount(v int64)

func (*WindowsContainerResources) SetCpuMaximum

func (x *WindowsContainerResources) SetCpuMaximum(v int64)

func (*WindowsContainerResources) SetCpuShares

func (x *WindowsContainerResources) SetCpuShares(v int64)

func (*WindowsContainerResources) SetMemoryLimitInBytes

func (x *WindowsContainerResources) SetMemoryLimitInBytes(v int64)

func (*WindowsContainerResources) SetRootfsSizeInBytes

func (x *WindowsContainerResources) SetRootfsSizeInBytes(v int64)

func (*WindowsContainerResources) String

func (x *WindowsContainerResources) String() string

type WindowsContainerResources_builder

type WindowsContainerResources_builder struct {

	// CPU shares (relative weight vs. other containers). Default: 0 (not specified).
	CpuShares int64
	// Number of CPUs available to the container. Default: 0 (not specified).
	CpuCount int64
	// Specifies the portion of processor cycles that this container can use as a percentage times 100.
	CpuMaximum int64
	// Memory limit in bytes. Default: 0 (not specified).
	MemoryLimitInBytes int64
	// Specifies the size of the rootfs / scratch space in bytes to be configured for this container. Default: 0 (not specified).
	RootfsSizeInBytes int64
	// contains filtered or unexported fields
}

func (WindowsContainerResources_builder) Build

type WindowsContainerSecurityContext

type WindowsContainerSecurityContext struct {

	// User name to run the container process as. If specified, the user MUST
	// exist in the container image and be resolved there by the runtime;
	// otherwise, the runtime MUST return error.
	RunAsUsername string `protobuf:"bytes,1,opt,name=run_as_username,json=runAsUsername,proto3" json:"run_as_username,omitempty"`
	// The contents of the GMSA credential spec to use to run this container.
	CredentialSpec string `protobuf:"bytes,2,opt,name=credential_spec,json=credentialSpec,proto3" json:"credential_spec,omitempty"`
	// Indicates whether a container is to be run as a HostProcess container.
	HostProcess bool `protobuf:"varint,3,opt,name=host_process,json=hostProcess,proto3" json:"host_process,omitempty"`
	// contains filtered or unexported fields
}

WindowsContainerSecurityContext holds windows security configuration that will be applied to a container.

func (*WindowsContainerSecurityContext) GetCredentialSpec

func (x *WindowsContainerSecurityContext) GetCredentialSpec() string

func (*WindowsContainerSecurityContext) GetHostProcess

func (x *WindowsContainerSecurityContext) GetHostProcess() bool

func (*WindowsContainerSecurityContext) GetRunAsUsername

func (x *WindowsContainerSecurityContext) GetRunAsUsername() string

func (*WindowsContainerSecurityContext) ProtoMessage

func (*WindowsContainerSecurityContext) ProtoMessage()

func (*WindowsContainerSecurityContext) ProtoReflect

func (*WindowsContainerSecurityContext) Reset

func (*WindowsContainerSecurityContext) SetCredentialSpec

func (x *WindowsContainerSecurityContext) SetCredentialSpec(v string)

func (*WindowsContainerSecurityContext) SetHostProcess

func (x *WindowsContainerSecurityContext) SetHostProcess(v bool)

func (*WindowsContainerSecurityContext) SetRunAsUsername

func (x *WindowsContainerSecurityContext) SetRunAsUsername(v string)

func (*WindowsContainerSecurityContext) String

type WindowsContainerSecurityContext_builder

type WindowsContainerSecurityContext_builder struct {

	// User name to run the container process as. If specified, the user MUST
	// exist in the container image and be resolved there by the runtime;
	// otherwise, the runtime MUST return error.
	RunAsUsername string
	// The contents of the GMSA credential spec to use to run this container.
	CredentialSpec string
	// Indicates whether a container is to be run as a HostProcess container.
	HostProcess bool
	// contains filtered or unexported fields
}

func (WindowsContainerSecurityContext_builder) Build

type WindowsContainerStats

type WindowsContainerStats struct {

	// Information of the container.
	Attributes *ContainerAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// CPU usage gathered from the container.
	Cpu *WindowsCpuUsage `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// Memory usage gathered from the container.
	Memory *WindowsMemoryUsage `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"`
	// Usage of the writable layer.
	WritableLayer *WindowsFilesystemUsage `protobuf:"bytes,4,opt,name=writable_layer,json=writableLayer,proto3" json:"writable_layer,omitempty"`
	// contains filtered or unexported fields
}

WindowsContainerStats provides the resource usage statistics for a container specific for Windows

func (*WindowsContainerStats) ClearAttributes

func (x *WindowsContainerStats) ClearAttributes()

func (*WindowsContainerStats) ClearCpu

func (x *WindowsContainerStats) ClearCpu()

func (*WindowsContainerStats) ClearMemory

func (x *WindowsContainerStats) ClearMemory()

func (*WindowsContainerStats) ClearWritableLayer

func (x *WindowsContainerStats) ClearWritableLayer()

func (*WindowsContainerStats) GetAttributes

func (x *WindowsContainerStats) GetAttributes() *ContainerAttributes

func (*WindowsContainerStats) GetCpu

func (*WindowsContainerStats) GetMemory

func (x *WindowsContainerStats) GetMemory() *WindowsMemoryUsage

func (*WindowsContainerStats) GetWritableLayer

func (x *WindowsContainerStats) GetWritableLayer() *WindowsFilesystemUsage

func (*WindowsContainerStats) HasAttributes

func (x *WindowsContainerStats) HasAttributes() bool

func (*WindowsContainerStats) HasCpu

func (x *WindowsContainerStats) HasCpu() bool

func (*WindowsContainerStats) HasMemory

func (x *WindowsContainerStats) HasMemory() bool

func (*WindowsContainerStats) HasWritableLayer

func (x *WindowsContainerStats) HasWritableLayer() bool

func (*WindowsContainerStats) ProtoMessage

func (*WindowsContainerStats) ProtoMessage()

func (*WindowsContainerStats) ProtoReflect

func (x *WindowsContainerStats) ProtoReflect() protoreflect.Message

func (*WindowsContainerStats) Reset

func (x *WindowsContainerStats) Reset()

func (*WindowsContainerStats) SetAttributes

func (x *WindowsContainerStats) SetAttributes(v *ContainerAttributes)

func (*WindowsContainerStats) SetCpu

func (x *WindowsContainerStats) SetCpu(v *WindowsCpuUsage)

func (*WindowsContainerStats) SetMemory

func (x *WindowsContainerStats) SetMemory(v *WindowsMemoryUsage)

func (*WindowsContainerStats) SetWritableLayer

func (x *WindowsContainerStats) SetWritableLayer(v *WindowsFilesystemUsage)

func (*WindowsContainerStats) String

func (x *WindowsContainerStats) String() string

type WindowsContainerStats_builder

type WindowsContainerStats_builder struct {

	// Information of the container.
	Attributes *ContainerAttributes
	// CPU usage gathered from the container.
	Cpu *WindowsCpuUsage
	// Memory usage gathered from the container.
	Memory *WindowsMemoryUsage
	// Usage of the writable layer.
	WritableLayer *WindowsFilesystemUsage
	// contains filtered or unexported fields
}

func (WindowsContainerStats_builder) Build

type WindowsCpuUsage

type WindowsCpuUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Cumulative CPU usage (sum across all cores) since object creation.
	UsageCoreNanoSeconds *UInt64Value `protobuf:"bytes,2,opt,name=usage_core_nano_seconds,json=usageCoreNanoSeconds,proto3" json:"usage_core_nano_seconds,omitempty"`
	// Total CPU usage (sum of all cores) averaged over the sample window.
	// The "core" unit can be interpreted as CPU core-nanoseconds per second.
	UsageNanoCores *UInt64Value `protobuf:"bytes,3,opt,name=usage_nano_cores,json=usageNanoCores,proto3" json:"usage_nano_cores,omitempty"`
	// contains filtered or unexported fields
}

WindowsCpuUsage provides the CPU usage information specific to Windows

func (*WindowsCpuUsage) ClearUsageCoreNanoSeconds

func (x *WindowsCpuUsage) ClearUsageCoreNanoSeconds()

func (*WindowsCpuUsage) ClearUsageNanoCores

func (x *WindowsCpuUsage) ClearUsageNanoCores()

func (*WindowsCpuUsage) GetTimestamp

func (x *WindowsCpuUsage) GetTimestamp() int64

func (*WindowsCpuUsage) GetUsageCoreNanoSeconds

func (x *WindowsCpuUsage) GetUsageCoreNanoSeconds() *UInt64Value

func (*WindowsCpuUsage) GetUsageNanoCores

func (x *WindowsCpuUsage) GetUsageNanoCores() *UInt64Value

func (*WindowsCpuUsage) HasUsageCoreNanoSeconds

func (x *WindowsCpuUsage) HasUsageCoreNanoSeconds() bool

func (*WindowsCpuUsage) HasUsageNanoCores

func (x *WindowsCpuUsage) HasUsageNanoCores() bool

func (*WindowsCpuUsage) ProtoMessage

func (*WindowsCpuUsage) ProtoMessage()

func (*WindowsCpuUsage) ProtoReflect

func (x *WindowsCpuUsage) ProtoReflect() protoreflect.Message

func (*WindowsCpuUsage) Reset

func (x *WindowsCpuUsage) Reset()

func (*WindowsCpuUsage) SetTimestamp

func (x *WindowsCpuUsage) SetTimestamp(v int64)

func (*WindowsCpuUsage) SetUsageCoreNanoSeconds

func (x *WindowsCpuUsage) SetUsageCoreNanoSeconds(v *UInt64Value)

func (*WindowsCpuUsage) SetUsageNanoCores

func (x *WindowsCpuUsage) SetUsageNanoCores(v *UInt64Value)

func (*WindowsCpuUsage) String

func (x *WindowsCpuUsage) String() string

type WindowsCpuUsage_builder

type WindowsCpuUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// Cumulative CPU usage (sum across all cores) since object creation.
	UsageCoreNanoSeconds *UInt64Value
	// Total CPU usage (sum of all cores) averaged over the sample window.
	// The "core" unit can be interpreted as CPU core-nanoseconds per second.
	UsageNanoCores *UInt64Value
	// contains filtered or unexported fields
}

func (WindowsCpuUsage_builder) Build

type WindowsFilesystemUsage

type WindowsFilesystemUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The unique identifier of the filesystem.
	FsId *FilesystemIdentifier `protobuf:"bytes,2,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"`
	// UsedBytes represents the bytes used for images on the filesystem.
	// This may differ from the total bytes used on the filesystem and may not
	// equal CapacityBytes - AvailableBytes.
	UsedBytes *UInt64Value `protobuf:"bytes,3,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
	// contains filtered or unexported fields
}

WindowsFilesystemUsage provides the filesystem usage information specific to Windows.

func (*WindowsFilesystemUsage) ClearFsId

func (x *WindowsFilesystemUsage) ClearFsId()

func (*WindowsFilesystemUsage) ClearUsedBytes

func (x *WindowsFilesystemUsage) ClearUsedBytes()

func (*WindowsFilesystemUsage) GetFsId

func (*WindowsFilesystemUsage) GetTimestamp

func (x *WindowsFilesystemUsage) GetTimestamp() int64

func (*WindowsFilesystemUsage) GetUsedBytes

func (x *WindowsFilesystemUsage) GetUsedBytes() *UInt64Value

func (*WindowsFilesystemUsage) HasFsId

func (x *WindowsFilesystemUsage) HasFsId() bool

func (*WindowsFilesystemUsage) HasUsedBytes

func (x *WindowsFilesystemUsage) HasUsedBytes() bool

func (*WindowsFilesystemUsage) ProtoMessage

func (*WindowsFilesystemUsage) ProtoMessage()

func (*WindowsFilesystemUsage) ProtoReflect

func (x *WindowsFilesystemUsage) ProtoReflect() protoreflect.Message

func (*WindowsFilesystemUsage) Reset

func (x *WindowsFilesystemUsage) Reset()

func (*WindowsFilesystemUsage) SetFsId

func (*WindowsFilesystemUsage) SetTimestamp

func (x *WindowsFilesystemUsage) SetTimestamp(v int64)

func (*WindowsFilesystemUsage) SetUsedBytes

func (x *WindowsFilesystemUsage) SetUsedBytes(v *UInt64Value)

func (*WindowsFilesystemUsage) String

func (x *WindowsFilesystemUsage) String() string

type WindowsFilesystemUsage_builder

type WindowsFilesystemUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// The unique identifier of the filesystem.
	FsId *FilesystemIdentifier
	// UsedBytes represents the bytes used for images on the filesystem.
	// This may differ from the total bytes used on the filesystem and may not
	// equal CapacityBytes - AvailableBytes.
	UsedBytes *UInt64Value
	// contains filtered or unexported fields
}

func (WindowsFilesystemUsage_builder) Build

type WindowsMemoryUsage

type WindowsMemoryUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The amount of working set memory in bytes.
	WorkingSetBytes *UInt64Value `protobuf:"bytes,2,opt,name=working_set_bytes,json=workingSetBytes,proto3" json:"working_set_bytes,omitempty"`
	// Available memory for use. This is defined as the memory limit - commit_memory_bytes.
	AvailableBytes *UInt64Value `protobuf:"bytes,3,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"`
	// Cumulative number of page faults.
	PageFaults *UInt64Value `protobuf:"bytes,4,opt,name=page_faults,json=pageFaults,proto3" json:"page_faults,omitempty"`
	// Total commit memory in use. Commit memory is total of physical and virtual memory in use.
	CommitMemoryBytes *UInt64Value `protobuf:"bytes,5,opt,name=commit_memory_bytes,json=commitMemoryBytes,proto3" json:"commit_memory_bytes,omitempty"`
	// contains filtered or unexported fields
}

WindowsMemoryUsage provides the memory usage information specific to Windows

func (*WindowsMemoryUsage) ClearAvailableBytes

func (x *WindowsMemoryUsage) ClearAvailableBytes()

func (*WindowsMemoryUsage) ClearCommitMemoryBytes

func (x *WindowsMemoryUsage) ClearCommitMemoryBytes()

func (*WindowsMemoryUsage) ClearPageFaults

func (x *WindowsMemoryUsage) ClearPageFaults()

func (*WindowsMemoryUsage) ClearWorkingSetBytes

func (x *WindowsMemoryUsage) ClearWorkingSetBytes()

func (*WindowsMemoryUsage) GetAvailableBytes

func (x *WindowsMemoryUsage) GetAvailableBytes() *UInt64Value

func (*WindowsMemoryUsage) GetCommitMemoryBytes

func (x *WindowsMemoryUsage) GetCommitMemoryBytes() *UInt64Value

func (*WindowsMemoryUsage) GetPageFaults

func (x *WindowsMemoryUsage) GetPageFaults() *UInt64Value

func (*WindowsMemoryUsage) GetTimestamp

func (x *WindowsMemoryUsage) GetTimestamp() int64

func (*WindowsMemoryUsage) GetWorkingSetBytes

func (x *WindowsMemoryUsage) GetWorkingSetBytes() *UInt64Value

func (*WindowsMemoryUsage) HasAvailableBytes

func (x *WindowsMemoryUsage) HasAvailableBytes() bool

func (*WindowsMemoryUsage) HasCommitMemoryBytes

func (x *WindowsMemoryUsage) HasCommitMemoryBytes() bool

func (*WindowsMemoryUsage) HasPageFaults

func (x *WindowsMemoryUsage) HasPageFaults() bool

func (*WindowsMemoryUsage) HasWorkingSetBytes

func (x *WindowsMemoryUsage) HasWorkingSetBytes() bool

func (*WindowsMemoryUsage) ProtoMessage

func (*WindowsMemoryUsage) ProtoMessage()

func (*WindowsMemoryUsage) ProtoReflect

func (x *WindowsMemoryUsage) ProtoReflect() protoreflect.Message

func (*WindowsMemoryUsage) Reset

func (x *WindowsMemoryUsage) Reset()

func (*WindowsMemoryUsage) SetAvailableBytes

func (x *WindowsMemoryUsage) SetAvailableBytes(v *UInt64Value)

func (*WindowsMemoryUsage) SetCommitMemoryBytes

func (x *WindowsMemoryUsage) SetCommitMemoryBytes(v *UInt64Value)

func (*WindowsMemoryUsage) SetPageFaults

func (x *WindowsMemoryUsage) SetPageFaults(v *UInt64Value)

func (*WindowsMemoryUsage) SetTimestamp

func (x *WindowsMemoryUsage) SetTimestamp(v int64)

func (*WindowsMemoryUsage) SetWorkingSetBytes

func (x *WindowsMemoryUsage) SetWorkingSetBytes(v *UInt64Value)

func (*WindowsMemoryUsage) String

func (x *WindowsMemoryUsage) String() string

type WindowsMemoryUsage_builder

type WindowsMemoryUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// The amount of working set memory in bytes.
	WorkingSetBytes *UInt64Value
	// Available memory for use. This is defined as the memory limit - commit_memory_bytes.
	AvailableBytes *UInt64Value
	// Cumulative number of page faults.
	PageFaults *UInt64Value
	// Total commit memory in use. Commit memory is total of physical and virtual memory in use.
	CommitMemoryBytes *UInt64Value
	// contains filtered or unexported fields
}

func (WindowsMemoryUsage_builder) Build

type WindowsNamespaceOption

type WindowsNamespaceOption struct {

	// Network namespace for this container/sandbox.
	// Namespaces currently set by the kubelet: POD, NODE
	Network NamespaceMode `protobuf:"varint,1,opt,name=network,proto3,enum=runtime.v1.NamespaceMode" json:"network,omitempty"`
	// contains filtered or unexported fields
}

WindowsNamespaceOption provides options for Windows namespaces.

func (*WindowsNamespaceOption) GetNetwork

func (x *WindowsNamespaceOption) GetNetwork() NamespaceMode

func (*WindowsNamespaceOption) ProtoMessage

func (*WindowsNamespaceOption) ProtoMessage()

func (*WindowsNamespaceOption) ProtoReflect

func (x *WindowsNamespaceOption) ProtoReflect() protoreflect.Message

func (*WindowsNamespaceOption) Reset

func (x *WindowsNamespaceOption) Reset()

func (*WindowsNamespaceOption) SetNetwork

func (x *WindowsNamespaceOption) SetNetwork(v NamespaceMode)

func (*WindowsNamespaceOption) String

func (x *WindowsNamespaceOption) String() string

type WindowsNamespaceOption_builder

type WindowsNamespaceOption_builder struct {

	// Network namespace for this container/sandbox.
	// Namespaces currently set by the kubelet: POD, NODE
	Network NamespaceMode
	// contains filtered or unexported fields
}

func (WindowsNamespaceOption_builder) Build

type WindowsNetworkInterfaceUsage

type WindowsNetworkInterfaceUsage struct {

	// The name of the network interface.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Cumulative count of bytes received.
	RxBytes *UInt64Value `protobuf:"bytes,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
	// Cumulative count of receive errors encountered.
	RxPacketsDropped *UInt64Value `protobuf:"bytes,3,opt,name=rx_packets_dropped,json=rxPacketsDropped,proto3" json:"rx_packets_dropped,omitempty"`
	// Cumulative count of bytes transmitted.
	TxBytes *UInt64Value `protobuf:"bytes,4,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	// Cumulative count of transmit errors encountered.
	TxPacketsDropped *UInt64Value `protobuf:"bytes,5,opt,name=tx_packets_dropped,json=txPacketsDropped,proto3" json:"tx_packets_dropped,omitempty"`
	// contains filtered or unexported fields
}

WindowsNetworkInterfaceUsage contains resource value data about a network interface specific for Windows.

func (*WindowsNetworkInterfaceUsage) ClearRxBytes

func (x *WindowsNetworkInterfaceUsage) ClearRxBytes()

func (*WindowsNetworkInterfaceUsage) ClearRxPacketsDropped

func (x *WindowsNetworkInterfaceUsage) ClearRxPacketsDropped()

func (*WindowsNetworkInterfaceUsage) ClearTxBytes

func (x *WindowsNetworkInterfaceUsage) ClearTxBytes()

func (*WindowsNetworkInterfaceUsage) ClearTxPacketsDropped

func (x *WindowsNetworkInterfaceUsage) ClearTxPacketsDropped()

func (*WindowsNetworkInterfaceUsage) GetName

func (x *WindowsNetworkInterfaceUsage) GetName() string

func (*WindowsNetworkInterfaceUsage) GetRxBytes

func (x *WindowsNetworkInterfaceUsage) GetRxBytes() *UInt64Value

func (*WindowsNetworkInterfaceUsage) GetRxPacketsDropped

func (x *WindowsNetworkInterfaceUsage) GetRxPacketsDropped() *UInt64Value

func (*WindowsNetworkInterfaceUsage) GetTxBytes

func (x *WindowsNetworkInterfaceUsage) GetTxBytes() *UInt64Value

func (*WindowsNetworkInterfaceUsage) GetTxPacketsDropped

func (x *WindowsNetworkInterfaceUsage) GetTxPacketsDropped() *UInt64Value

func (*WindowsNetworkInterfaceUsage) HasRxBytes

func (x *WindowsNetworkInterfaceUsage) HasRxBytes() bool

func (*WindowsNetworkInterfaceUsage) HasRxPacketsDropped

func (x *WindowsNetworkInterfaceUsage) HasRxPacketsDropped() bool

func (*WindowsNetworkInterfaceUsage) HasTxBytes

func (x *WindowsNetworkInterfaceUsage) HasTxBytes() bool

func (*WindowsNetworkInterfaceUsage) HasTxPacketsDropped

func (x *WindowsNetworkInterfaceUsage) HasTxPacketsDropped() bool

func (*WindowsNetworkInterfaceUsage) ProtoMessage

func (*WindowsNetworkInterfaceUsage) ProtoMessage()

func (*WindowsNetworkInterfaceUsage) ProtoReflect

func (*WindowsNetworkInterfaceUsage) Reset

func (x *WindowsNetworkInterfaceUsage) Reset()

func (*WindowsNetworkInterfaceUsage) SetName

func (x *WindowsNetworkInterfaceUsage) SetName(v string)

func (*WindowsNetworkInterfaceUsage) SetRxBytes

func (x *WindowsNetworkInterfaceUsage) SetRxBytes(v *UInt64Value)

func (*WindowsNetworkInterfaceUsage) SetRxPacketsDropped

func (x *WindowsNetworkInterfaceUsage) SetRxPacketsDropped(v *UInt64Value)

func (*WindowsNetworkInterfaceUsage) SetTxBytes

func (x *WindowsNetworkInterfaceUsage) SetTxBytes(v *UInt64Value)

func (*WindowsNetworkInterfaceUsage) SetTxPacketsDropped

func (x *WindowsNetworkInterfaceUsage) SetTxPacketsDropped(v *UInt64Value)

func (*WindowsNetworkInterfaceUsage) String

type WindowsNetworkInterfaceUsage_builder

type WindowsNetworkInterfaceUsage_builder struct {

	// The name of the network interface.
	Name string
	// Cumulative count of bytes received.
	RxBytes *UInt64Value
	// Cumulative count of receive errors encountered.
	RxPacketsDropped *UInt64Value
	// Cumulative count of bytes transmitted.
	TxBytes *UInt64Value
	// Cumulative count of transmit errors encountered.
	TxPacketsDropped *UInt64Value
	// contains filtered or unexported fields
}

func (WindowsNetworkInterfaceUsage_builder) Build

type WindowsNetworkUsage

type WindowsNetworkUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Stats for the default network interface.
	DefaultInterface *WindowsNetworkInterfaceUsage `protobuf:"bytes,2,opt,name=default_interface,json=defaultInterface,proto3" json:"default_interface,omitempty"`
	// Stats for all found network interfaces, excluding the default.
	Interfaces []*WindowsNetworkInterfaceUsage `protobuf:"bytes,3,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
	// contains filtered or unexported fields
}

WindowsNetworkUsage contains data about network resources specific to Windows.

func (*WindowsNetworkUsage) ClearDefaultInterface

func (x *WindowsNetworkUsage) ClearDefaultInterface()

func (*WindowsNetworkUsage) GetDefaultInterface

func (x *WindowsNetworkUsage) GetDefaultInterface() *WindowsNetworkInterfaceUsage

func (*WindowsNetworkUsage) GetInterfaces

func (x *WindowsNetworkUsage) GetInterfaces() []*WindowsNetworkInterfaceUsage

func (*WindowsNetworkUsage) GetTimestamp

func (x *WindowsNetworkUsage) GetTimestamp() int64

func (*WindowsNetworkUsage) HasDefaultInterface

func (x *WindowsNetworkUsage) HasDefaultInterface() bool

func (*WindowsNetworkUsage) ProtoMessage

func (*WindowsNetworkUsage) ProtoMessage()

func (*WindowsNetworkUsage) ProtoReflect

func (x *WindowsNetworkUsage) ProtoReflect() protoreflect.Message

func (*WindowsNetworkUsage) Reset

func (x *WindowsNetworkUsage) Reset()

func (*WindowsNetworkUsage) SetDefaultInterface

func (x *WindowsNetworkUsage) SetDefaultInterface(v *WindowsNetworkInterfaceUsage)

func (*WindowsNetworkUsage) SetInterfaces

func (x *WindowsNetworkUsage) SetInterfaces(v []*WindowsNetworkInterfaceUsage)

func (*WindowsNetworkUsage) SetTimestamp

func (x *WindowsNetworkUsage) SetTimestamp(v int64)

func (*WindowsNetworkUsage) String

func (x *WindowsNetworkUsage) String() string

type WindowsNetworkUsage_builder

type WindowsNetworkUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// Stats for the default network interface.
	DefaultInterface *WindowsNetworkInterfaceUsage
	// Stats for all found network interfaces, excluding the default.
	Interfaces []*WindowsNetworkInterfaceUsage
	// contains filtered or unexported fields
}

func (WindowsNetworkUsage_builder) Build

type WindowsPodSandboxConfig

type WindowsPodSandboxConfig struct {

	// WindowsSandboxSecurityContext holds sandbox security attributes.
	SecurityContext *WindowsSandboxSecurityContext `protobuf:"bytes,1,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	// contains filtered or unexported fields
}

WindowsPodSandboxConfig holds platform-specific configurations for Windows host platforms and Windows-based containers.

func (*WindowsPodSandboxConfig) ClearSecurityContext

func (x *WindowsPodSandboxConfig) ClearSecurityContext()

func (*WindowsPodSandboxConfig) GetSecurityContext

func (x *WindowsPodSandboxConfig) GetSecurityContext() *WindowsSandboxSecurityContext

func (*WindowsPodSandboxConfig) HasSecurityContext

func (x *WindowsPodSandboxConfig) HasSecurityContext() bool

func (*WindowsPodSandboxConfig) ProtoMessage

func (*WindowsPodSandboxConfig) ProtoMessage()

func (*WindowsPodSandboxConfig) ProtoReflect

func (x *WindowsPodSandboxConfig) ProtoReflect() protoreflect.Message

func (*WindowsPodSandboxConfig) Reset

func (x *WindowsPodSandboxConfig) Reset()

func (*WindowsPodSandboxConfig) SetSecurityContext

func (x *WindowsPodSandboxConfig) SetSecurityContext(v *WindowsSandboxSecurityContext)

func (*WindowsPodSandboxConfig) String

func (x *WindowsPodSandboxConfig) String() string

type WindowsPodSandboxConfig_builder

type WindowsPodSandboxConfig_builder struct {

	// WindowsSandboxSecurityContext holds sandbox security attributes.
	SecurityContext *WindowsSandboxSecurityContext
	// contains filtered or unexported fields
}

func (WindowsPodSandboxConfig_builder) Build

type WindowsPodSandboxStats

type WindowsPodSandboxStats struct {

	// CPU usage gathered for the pod sandbox.
	Cpu *WindowsCpuUsage `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// Memory usage gathered for the pod sandbox.
	Memory *WindowsMemoryUsage `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	// Network usage gathered for the pod sandbox
	Network *WindowsNetworkUsage `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	// Stats pertaining to processes in the pod sandbox.
	Process *WindowsProcessUsage `protobuf:"bytes,4,opt,name=process,proto3" json:"process,omitempty"`
	// Stats of containers in the measured pod sandbox.
	Containers []*WindowsContainerStats `protobuf:"bytes,5,rep,name=containers,proto3" json:"containers,omitempty"`
	// contains filtered or unexported fields
}

WindowsPodSandboxStats provides the resource usage statistics for a pod sandbox on windows

func (*WindowsPodSandboxStats) ClearCpu

func (x *WindowsPodSandboxStats) ClearCpu()

func (*WindowsPodSandboxStats) ClearMemory

func (x *WindowsPodSandboxStats) ClearMemory()

func (*WindowsPodSandboxStats) ClearNetwork

func (x *WindowsPodSandboxStats) ClearNetwork()

func (*WindowsPodSandboxStats) ClearProcess

func (x *WindowsPodSandboxStats) ClearProcess()

func (*WindowsPodSandboxStats) GetContainers

func (x *WindowsPodSandboxStats) GetContainers() []*WindowsContainerStats

func (*WindowsPodSandboxStats) GetCpu

func (*WindowsPodSandboxStats) GetMemory

func (*WindowsPodSandboxStats) GetNetwork

func (*WindowsPodSandboxStats) GetProcess

func (*WindowsPodSandboxStats) HasCpu

func (x *WindowsPodSandboxStats) HasCpu() bool

func (*WindowsPodSandboxStats) HasMemory

func (x *WindowsPodSandboxStats) HasMemory() bool

func (*WindowsPodSandboxStats) HasNetwork

func (x *WindowsPodSandboxStats) HasNetwork() bool

func (*WindowsPodSandboxStats) HasProcess

func (x *WindowsPodSandboxStats) HasProcess() bool

func (*WindowsPodSandboxStats) ProtoMessage

func (*WindowsPodSandboxStats) ProtoMessage()

func (*WindowsPodSandboxStats) ProtoReflect

func (x *WindowsPodSandboxStats) ProtoReflect() protoreflect.Message

func (*WindowsPodSandboxStats) Reset

func (x *WindowsPodSandboxStats) Reset()

func (*WindowsPodSandboxStats) SetContainers

func (x *WindowsPodSandboxStats) SetContainers(v []*WindowsContainerStats)

func (*WindowsPodSandboxStats) SetCpu

func (*WindowsPodSandboxStats) SetMemory

func (x *WindowsPodSandboxStats) SetMemory(v *WindowsMemoryUsage)

func (*WindowsPodSandboxStats) SetNetwork

func (x *WindowsPodSandboxStats) SetNetwork(v *WindowsNetworkUsage)

func (*WindowsPodSandboxStats) SetProcess

func (x *WindowsPodSandboxStats) SetProcess(v *WindowsProcessUsage)

func (*WindowsPodSandboxStats) String

func (x *WindowsPodSandboxStats) String() string

type WindowsPodSandboxStats_builder

type WindowsPodSandboxStats_builder struct {

	// CPU usage gathered for the pod sandbox.
	Cpu *WindowsCpuUsage
	// Memory usage gathered for the pod sandbox.
	Memory *WindowsMemoryUsage
	// Network usage gathered for the pod sandbox
	Network *WindowsNetworkUsage
	// Stats pertaining to processes in the pod sandbox.
	Process *WindowsProcessUsage
	// Stats of containers in the measured pod sandbox.
	Containers []*WindowsContainerStats
	// contains filtered or unexported fields
}

func (WindowsPodSandboxStats_builder) Build

type WindowsProcessUsage

type WindowsProcessUsage struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Number of processes.
	ProcessCount *UInt64Value `protobuf:"bytes,2,opt,name=process_count,json=processCount,proto3" json:"process_count,omitempty"`
	// contains filtered or unexported fields
}

WindowsProcessUsage are stats pertaining to processes specific to Windows.

func (*WindowsProcessUsage) ClearProcessCount

func (x *WindowsProcessUsage) ClearProcessCount()

func (*WindowsProcessUsage) GetProcessCount

func (x *WindowsProcessUsage) GetProcessCount() *UInt64Value

func (*WindowsProcessUsage) GetTimestamp

func (x *WindowsProcessUsage) GetTimestamp() int64

func (*WindowsProcessUsage) HasProcessCount

func (x *WindowsProcessUsage) HasProcessCount() bool

func (*WindowsProcessUsage) ProtoMessage

func (*WindowsProcessUsage) ProtoMessage()

func (*WindowsProcessUsage) ProtoReflect

func (x *WindowsProcessUsage) ProtoReflect() protoreflect.Message

func (*WindowsProcessUsage) Reset

func (x *WindowsProcessUsage) Reset()

func (*WindowsProcessUsage) SetProcessCount

func (x *WindowsProcessUsage) SetProcessCount(v *UInt64Value)

func (*WindowsProcessUsage) SetTimestamp

func (x *WindowsProcessUsage) SetTimestamp(v int64)

func (*WindowsProcessUsage) String

func (x *WindowsProcessUsage) String() string

type WindowsProcessUsage_builder

type WindowsProcessUsage_builder struct {

	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64
	// Number of processes.
	ProcessCount *UInt64Value
	// contains filtered or unexported fields
}

func (WindowsProcessUsage_builder) Build

type WindowsSandboxSecurityContext

type WindowsSandboxSecurityContext struct {

	// User name to run the container process as. If specified, the user MUST
	// exist in the container image and be resolved there by the runtime;
	// otherwise, the runtime MUST return error.
	RunAsUsername string `protobuf:"bytes,1,opt,name=run_as_username,json=runAsUsername,proto3" json:"run_as_username,omitempty"`
	// The contents of the GMSA credential spec to use to run this container.
	CredentialSpec string `protobuf:"bytes,2,opt,name=credential_spec,json=credentialSpec,proto3" json:"credential_spec,omitempty"`
	// Indicates whether the container requested to run as a HostProcess container.
	HostProcess bool `protobuf:"varint,3,opt,name=host_process,json=hostProcess,proto3" json:"host_process,omitempty"`
	// Configuration for the sandbox's namespaces
	NamespaceOptions *WindowsNamespaceOption `protobuf:"bytes,4,opt,name=namespace_options,json=namespaceOptions,proto3" json:"namespace_options,omitempty"`
	// contains filtered or unexported fields
}

WindowsSandboxSecurityContext holds platform-specific configurations that will be applied to a sandbox. These settings will only apply to the sandbox container.

func (*WindowsSandboxSecurityContext) ClearNamespaceOptions

func (x *WindowsSandboxSecurityContext) ClearNamespaceOptions()

func (*WindowsSandboxSecurityContext) GetCredentialSpec

func (x *WindowsSandboxSecurityContext) GetCredentialSpec() string

func (*WindowsSandboxSecurityContext) GetHostProcess

func (x *WindowsSandboxSecurityContext) GetHostProcess() bool

func (*WindowsSandboxSecurityContext) GetNamespaceOptions

func (x *WindowsSandboxSecurityContext) GetNamespaceOptions() *WindowsNamespaceOption

func (*WindowsSandboxSecurityContext) GetRunAsUsername

func (x *WindowsSandboxSecurityContext) GetRunAsUsername() string

func (*WindowsSandboxSecurityContext) HasNamespaceOptions

func (x *WindowsSandboxSecurityContext) HasNamespaceOptions() bool

func (*WindowsSandboxSecurityContext) ProtoMessage

func (*WindowsSandboxSecurityContext) ProtoMessage()

func (*WindowsSandboxSecurityContext) ProtoReflect

func (*WindowsSandboxSecurityContext) Reset

func (x *WindowsSandboxSecurityContext) Reset()

func (*WindowsSandboxSecurityContext) SetCredentialSpec

func (x *WindowsSandboxSecurityContext) SetCredentialSpec(v string)

func (*WindowsSandboxSecurityContext) SetHostProcess

func (x *WindowsSandboxSecurityContext) SetHostProcess(v bool)

func (*WindowsSandboxSecurityContext) SetNamespaceOptions

func (x *WindowsSandboxSecurityContext) SetNamespaceOptions(v *WindowsNamespaceOption)

func (*WindowsSandboxSecurityContext) SetRunAsUsername

func (x *WindowsSandboxSecurityContext) SetRunAsUsername(v string)

func (*WindowsSandboxSecurityContext) String

type WindowsSandboxSecurityContext_builder

type WindowsSandboxSecurityContext_builder struct {

	// User name to run the container process as. If specified, the user MUST
	// exist in the container image and be resolved there by the runtime;
	// otherwise, the runtime MUST return error.
	RunAsUsername string
	// The contents of the GMSA credential spec to use to run this container.
	CredentialSpec string
	// Indicates whether the container requested to run as a HostProcess container.
	HostProcess bool
	// Configuration for the sandbox's namespaces
	NamespaceOptions *WindowsNamespaceOption
	// contains filtered or unexported fields
}

func (WindowsSandboxSecurityContext_builder) Build

Jump to

Keyboard shortcuts

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