v1alpha2

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// RuntimeReady means the runtime is up and ready to accept basic containers.
	RuntimeReady = "RuntimeReady"
	// NetworkReady means the runtime network is up and ready to accept containers which require network.
	NetworkReady = "NetworkReady"
)

Required runtime condition type.

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 (
	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_github_com_containerd_containerd_third_party_k8s_io_cri_api_pkg_apis_runtime_v1alpha2_api_proto protoreflect.FileDescriptor
View Source
var ImageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "runtime.v1alpha2.ImageService",
	HandlerType: (*ImageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListImages",
			Handler:    _ImageService_ListImages_Handler,
		},
		{
			MethodName: "ImageStatus",
			Handler:    _ImageService_ImageStatus_Handler,
		},
		{
			MethodName: "PullImage",
			Handler:    _ImageService_PullImage_Handler,
		},
		{
			MethodName: "RemoveImage",
			Handler:    _ImageService_RemoveImage_Handler,
		},
		{
			MethodName: "ImageFsInfo",
			Handler:    _ImageService_ImageFsInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/containerd/containerd/third_party/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.proto",
}

ImageService_ServiceDesc is the grpc.ServiceDesc for ImageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RuntimeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "runtime.v1alpha2.RuntimeService",
	HandlerType: (*RuntimeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Version",
			Handler:    _RuntimeService_Version_Handler,
		},
		{
			MethodName: "RunPodSandbox",
			Handler:    _RuntimeService_RunPodSandbox_Handler,
		},
		{
			MethodName: "StopPodSandbox",
			Handler:    _RuntimeService_StopPodSandbox_Handler,
		},
		{
			MethodName: "RemovePodSandbox",
			Handler:    _RuntimeService_RemovePodSandbox_Handler,
		},
		{
			MethodName: "PodSandboxStatus",
			Handler:    _RuntimeService_PodSandboxStatus_Handler,
		},
		{
			MethodName: "ListPodSandbox",
			Handler:    _RuntimeService_ListPodSandbox_Handler,
		},
		{
			MethodName: "CreateContainer",
			Handler:    _RuntimeService_CreateContainer_Handler,
		},
		{
			MethodName: "StartContainer",
			Handler:    _RuntimeService_StartContainer_Handler,
		},
		{
			MethodName: "StopContainer",
			Handler:    _RuntimeService_StopContainer_Handler,
		},
		{
			MethodName: "RemoveContainer",
			Handler:    _RuntimeService_RemoveContainer_Handler,
		},
		{
			MethodName: "ListContainers",
			Handler:    _RuntimeService_ListContainers_Handler,
		},
		{
			MethodName: "ContainerStatus",
			Handler:    _RuntimeService_ContainerStatus_Handler,
		},
		{
			MethodName: "UpdateContainerResources",
			Handler:    _RuntimeService_UpdateContainerResources_Handler,
		},
		{
			MethodName: "ReopenContainerLog",
			Handler:    _RuntimeService_ReopenContainerLog_Handler,
		},
		{
			MethodName: "ExecSync",
			Handler:    _RuntimeService_ExecSync_Handler,
		},
		{
			MethodName: "Exec",
			Handler:    _RuntimeService_Exec_Handler,
		},
		{
			MethodName: "Attach",
			Handler:    _RuntimeService_Attach_Handler,
		},
		{
			MethodName: "PortForward",
			Handler:    _RuntimeService_PortForward_Handler,
		},
		{
			MethodName: "ContainerStats",
			Handler:    _RuntimeService_ContainerStats_Handler,
		},
		{
			MethodName: "ListContainerStats",
			Handler:    _RuntimeService_ListContainerStats_Handler,
		},
		{
			MethodName: "PodSandboxStats",
			Handler:    _RuntimeService_PodSandboxStats_Handler,
		},
		{
			MethodName: "ListPodSandboxStats",
			Handler:    _RuntimeService_ListPodSandboxStats_Handler,
		},
		{
			MethodName: "UpdateRuntimeConfig",
			Handler:    _RuntimeService_UpdateRuntimeConfig_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _RuntimeService_Status_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/containerd/containerd/third_party/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.proto",
}

RuntimeService_ServiceDesc is the grpc.ServiceDesc for RuntimeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterImageServiceServer

func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)

func RegisterRuntimeServiceServer

func RegisterRuntimeServiceServer(s grpc.ServiceRegistrar, srv RuntimeServiceServer)

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) Descriptor deprecated

func (*AttachRequest) Descriptor() ([]byte, []int)

Deprecated: Use AttachRequest.ProtoReflect.Descriptor instead.

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) String

func (x *AttachRequest) String() string

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) Descriptor deprecated

func (*AttachResponse) Descriptor() ([]byte, []int)

Deprecated: Use AttachResponse.ProtoReflect.Descriptor instead.

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) String

func (x *AttachResponse) String() string

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) Descriptor deprecated

func (*AuthConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig.ProtoReflect.Descriptor instead.

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) String

func (x *AuthConfig) String() string

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) Descriptor deprecated

func (*Capability) Descriptor() ([]byte, []int)

Deprecated: Use Capability.ProtoReflect.Descriptor instead.

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) String

func (x *Capability) String() string

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.v1alpha2.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 `` /* 153-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 `` /* 163-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) Descriptor deprecated

func (*Container) Descriptor() ([]byte, []int)

Deprecated: Use Container.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

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 `` /* 153-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 `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

ContainerAttributes provides basic information of the container.

func (*ContainerAttributes) Descriptor deprecated

func (*ContainerAttributes) Descriptor() ([]byte, []int)

Deprecated: Use ContainerAttributes.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*ContainerAttributes) ProtoMessage()

func (*ContainerAttributes) ProtoReflect

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

func (*ContainerAttributes) Reset

func (x *ContainerAttributes) Reset()

func (*ContainerAttributes) String

func (x *ContainerAttributes) String() string

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 `` /* 153-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 `` /* 164-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/<podUID>/`
	//	ContainerConfig.LogPath = `containerName/Instance#.log`
	//
	// WARNING: Log management and how kubelet should interface with the
	// container logs are under active discussion in
	// https://issues.k8s.io/24677. There *may* be future change of direction
	// for logging as the discussion carries on.
	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"`
	// contains filtered or unexported fields
}

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

func (*ContainerConfig) Descriptor deprecated

func (*ContainerConfig) Descriptor() ([]byte, []int)

Deprecated: Use ContainerConfig.ProtoReflect.Descriptor instead.

func (*ContainerConfig) GetAnnotations

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

func (*ContainerConfig) GetArgs

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

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) ProtoMessage

func (*ContainerConfig) ProtoMessage()

func (*ContainerConfig) ProtoReflect

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

func (*ContainerConfig) Reset

func (x *ContainerConfig) Reset()

func (*ContainerConfig) String

func (x *ContainerConfig) String() string

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 `` /* 188-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) Descriptor deprecated

func (*ContainerFilter) Descriptor() ([]byte, []int)

Deprecated: Use ContainerFilter.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*ContainerFilter) ProtoMessage()

func (*ContainerFilter) ProtoReflect

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

func (*ContainerFilter) Reset

func (x *ContainerFilter) Reset()

func (*ContainerFilter) String

func (x *ContainerFilter) String() string

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) Descriptor deprecated

func (*ContainerMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ContainerMetadata.ProtoReflect.Descriptor instead.

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) String

func (x *ContainerMetadata) String() string

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) Descriptor deprecated

func (*ContainerResources) Descriptor() ([]byte, []int)

Deprecated: Use ContainerResources.ProtoReflect.Descriptor instead.

func (*ContainerResources) GetLinux

func (*ContainerResources) GetWindows

func (*ContainerResources) ProtoMessage

func (*ContainerResources) ProtoMessage()

func (*ContainerResources) ProtoReflect

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

func (*ContainerResources) Reset

func (x *ContainerResources) Reset()

func (*ContainerResources) String

func (x *ContainerResources) String() string

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) EnumDescriptor deprecated

func (ContainerState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContainerState.Descriptor instead.

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.v1alpha2.ContainerState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

ContainerStateValue is the wrapper of ContainerState.

func (*ContainerStateValue) Descriptor deprecated

func (*ContainerStateValue) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStateValue.ProtoReflect.Descriptor instead.

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) String

func (x *ContainerStateValue) String() string

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"`
	// contains filtered or unexported fields
}

ContainerStats provides the resource usage statistics for a container.

func (*ContainerStats) Descriptor deprecated

func (*ContainerStats) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStats.ProtoReflect.Descriptor instead.

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) GetWritableLayer

func (x *ContainerStats) GetWritableLayer() *FilesystemUsage

func (*ContainerStats) ProtoMessage

func (*ContainerStats) ProtoMessage()

func (*ContainerStats) ProtoReflect

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

func (*ContainerStats) Reset

func (x *ContainerStats) Reset()

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 `` /* 188-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) Descriptor deprecated

func (*ContainerStatsFilter) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStatsFilter.ProtoReflect.Descriptor instead.

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) String

func (x *ContainerStatsFilter) String() string

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) Descriptor deprecated

func (*ContainerStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStatsRequest.ProtoReflect.Descriptor instead.

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) String

func (x *ContainerStatsRequest) String() string

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) Descriptor deprecated

func (*ContainerStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStatsResponse.ProtoReflect.Descriptor instead.

func (*ContainerStatsResponse) GetStats

func (x *ContainerStatsResponse) GetStats() *ContainerStats

func (*ContainerStatsResponse) ProtoMessage

func (*ContainerStatsResponse) ProtoMessage()

func (*ContainerStatsResponse) ProtoReflect

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

func (*ContainerStatsResponse) Reset

func (x *ContainerStatsResponse) Reset()

func (*ContainerStatsResponse) String

func (x *ContainerStatsResponse) String() string

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.v1alpha2.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.
	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 `` /* 154-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 `` /* 164-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) Descriptor deprecated

func (*ContainerStatus) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStatus.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) ProtoReflect

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

func (*ContainerStatus) Reset

func (x *ContainerStatus) Reset()

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) Descriptor deprecated

func (*ContainerStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStatusRequest.ProtoReflect.Descriptor instead.

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) String

func (x *ContainerStatusRequest) String() string

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 `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ContainerStatusResponse) Descriptor deprecated

func (*ContainerStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStatusResponse.ProtoReflect.Descriptor instead.

func (*ContainerStatusResponse) GetInfo

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

func (*ContainerStatusResponse) GetStatus

func (x *ContainerStatusResponse) GetStatus() *ContainerStatus

func (*ContainerStatusResponse) ProtoMessage

func (*ContainerStatusResponse) ProtoMessage()

func (*ContainerStatusResponse) ProtoReflect

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

func (*ContainerStatusResponse) Reset

func (x *ContainerStatusResponse) Reset()

func (*ContainerStatusResponse) String

func (x *ContainerStatusResponse) String() string

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) Descriptor deprecated

func (*CpuUsage) Descriptor() ([]byte, []int)

Deprecated: Use CpuUsage.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*CpuUsage) ProtoMessage()

func (*CpuUsage) ProtoReflect

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

func (*CpuUsage) Reset

func (x *CpuUsage) Reset()

func (*CpuUsage) String

func (x *CpuUsage) String() string

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) Descriptor deprecated

func (*CreateContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*CreateContainerRequest) ProtoMessage()

func (*CreateContainerRequest) ProtoReflect

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

func (*CreateContainerRequest) Reset

func (x *CreateContainerRequest) Reset()

func (*CreateContainerRequest) String

func (x *CreateContainerRequest) String() string

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) Descriptor deprecated

func (*CreateContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead.

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) String

func (x *CreateContainerResponse) String() string

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) Descriptor deprecated

func (*DNSConfig) Descriptor() ([]byte, []int)

Deprecated: Use DNSConfig.ProtoReflect.Descriptor instead.

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) String

func (x *DNSConfig) String() string

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) Descriptor deprecated

func (*Device) Descriptor() ([]byte, []int)

Deprecated: Use Device.ProtoReflect.Descriptor instead.

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) String

func (x *Device) String() string

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) Descriptor deprecated

func (*ExecRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.

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) String

func (x *ExecRequest) String() string

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) Descriptor deprecated

func (*ExecResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.

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) String

func (x *ExecResponse) String() string

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) Descriptor deprecated

func (*ExecSyncRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExecSyncRequest.ProtoReflect.Descriptor instead.

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) String

func (x *ExecSyncRequest) String() string

type ExecSyncResponse

type ExecSyncResponse struct {

	// Captured command stdout output.
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// Captured command stderr output.
	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) Descriptor deprecated

func (*ExecSyncResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecSyncResponse.ProtoReflect.Descriptor instead.

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) String

func (x *ExecSyncResponse) String() string

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) Descriptor deprecated

func (*FilesystemIdentifier) Descriptor() ([]byte, []int)

Deprecated: Use FilesystemIdentifier.ProtoReflect.Descriptor instead.

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) String

func (x *FilesystemIdentifier) String() string

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) Descriptor deprecated

func (*FilesystemUsage) Descriptor() ([]byte, []int)

Deprecated: Use FilesystemUsage.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*FilesystemUsage) ProtoMessage()

func (*FilesystemUsage) ProtoReflect

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

func (*FilesystemUsage) Reset

func (x *FilesystemUsage) Reset()

func (*FilesystemUsage) String

func (x *FilesystemUsage) String() string

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) Descriptor deprecated

func (*HugepageLimit) Descriptor() ([]byte, []int)

Deprecated: Use HugepageLimit.ProtoReflect.Descriptor instead.

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) String

func (x *HugepageLimit) String() string

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) Descriptor deprecated

func (*IDMapping) Descriptor() ([]byte, []int)

Deprecated: Use IDMapping.ProtoReflect.Descriptor instead.

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) String

func (x *IDMapping) String() string

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) Descriptor deprecated

func (*Image) Descriptor() ([]byte, []int)

Deprecated: Use Image.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

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) Descriptor deprecated

func (*ImageFilter) Descriptor() ([]byte, []int)

Deprecated: Use ImageFilter.ProtoReflect.Descriptor instead.

func (*ImageFilter) GetImage

func (x *ImageFilter) GetImage() *ImageSpec

func (*ImageFilter) ProtoMessage

func (*ImageFilter) ProtoMessage()

func (*ImageFilter) ProtoReflect

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

func (*ImageFilter) Reset

func (x *ImageFilter) Reset()

func (*ImageFilter) String

func (x *ImageFilter) String() string

type ImageFsInfoRequest

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

func (*ImageFsInfoRequest) Descriptor deprecated

func (*ImageFsInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImageFsInfoRequest.ProtoReflect.Descriptor instead.

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 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"`
	// contains filtered or unexported fields
}

func (*ImageFsInfoResponse) Descriptor deprecated

func (*ImageFsInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImageFsInfoResponse.ProtoReflect.Descriptor instead.

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) String

func (x *ImageFsInfoResponse) String() string

type ImageServiceClient

type ImageServiceClient interface {
	// ListImages lists existing images.
	ListImages(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error)
	// ImageStatus returns the status of the image. If the image is not
	// present, returns a response with ImageStatusResponse.Image set to
	// nil.
	ImageStatus(ctx context.Context, in *ImageStatusRequest, opts ...grpc.CallOption) (*ImageStatusResponse, error)
	// PullImage pulls an image with authentication config.
	PullImage(ctx context.Context, in *PullImageRequest, opts ...grpc.CallOption) (*PullImageResponse, error)
	// RemoveImage removes the image.
	// This call is idempotent, and must not return an error if the image has
	// already been removed.
	RemoveImage(ctx context.Context, in *RemoveImageRequest, opts ...grpc.CallOption) (*RemoveImageResponse, error)
	// ImageFSInfo returns information of the filesystem that is used to store images.
	ImageFsInfo(ctx context.Context, in *ImageFsInfoRequest, opts ...grpc.CallOption) (*ImageFsInfoResponse, error)
}

ImageServiceClient is the client API for ImageService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ImageServiceServer

type ImageServiceServer interface {
	// ListImages lists existing images.
	ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
	// ImageStatus returns the status of the image. If the image is not
	// present, returns a response with ImageStatusResponse.Image set to
	// nil.
	ImageStatus(context.Context, *ImageStatusRequest) (*ImageStatusResponse, error)
	// PullImage pulls an image with authentication config.
	PullImage(context.Context, *PullImageRequest) (*PullImageResponse, error)
	// RemoveImage removes the image.
	// This call is idempotent, and must not return an error if the image has
	// already been removed.
	RemoveImage(context.Context, *RemoveImageRequest) (*RemoveImageResponse, error)
	// ImageFSInfo returns information of the filesystem that is used to store images.
	ImageFsInfo(context.Context, *ImageFsInfoRequest) (*ImageFsInfoResponse, error)
	// contains filtered or unexported methods
}

ImageServiceServer is the server API for ImageService service. All implementations must embed UnimplementedImageServiceServer for forward compatibility

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 `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

ImageSpec is an internal representation of an image.

func (*ImageSpec) Descriptor deprecated

func (*ImageSpec) Descriptor() ([]byte, []int)

Deprecated: Use ImageSpec.ProtoReflect.Descriptor instead.

func (*ImageSpec) GetAnnotations

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

func (*ImageSpec) GetImage

func (x *ImageSpec) GetImage() 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) String

func (x *ImageSpec) String() string

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) Descriptor deprecated

func (*ImageStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImageStatusRequest.ProtoReflect.Descriptor instead.

func (*ImageStatusRequest) GetImage

func (x *ImageStatusRequest) GetImage() *ImageSpec

func (*ImageStatusRequest) GetVerbose

func (x *ImageStatusRequest) GetVerbose() 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) String

func (x *ImageStatusRequest) String() string

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 `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ImageStatusResponse) Descriptor deprecated

func (*ImageStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImageStatusResponse.ProtoReflect.Descriptor instead.

func (*ImageStatusResponse) GetImage

func (x *ImageStatusResponse) GetImage() *Image

func (*ImageStatusResponse) GetInfo

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

func (*ImageStatusResponse) ProtoMessage

func (*ImageStatusResponse) ProtoMessage()

func (*ImageStatusResponse) ProtoReflect

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

func (*ImageStatusResponse) Reset

func (x *ImageStatusResponse) Reset()

func (*ImageStatusResponse) String

func (x *ImageStatusResponse) String() string

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) Descriptor deprecated

func (*Int64Value) Descriptor() ([]byte, []int)

Deprecated: Use Int64Value.ProtoReflect.Descriptor instead.

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) String

func (x *Int64Value) String() string

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) Descriptor deprecated

func (*KeyValue) Descriptor() ([]byte, []int)

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

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) String

func (x *KeyValue) String() string

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) Descriptor deprecated

func (*LinuxContainerConfig) Descriptor() ([]byte, []int)

Deprecated: Use LinuxContainerConfig.ProtoReflect.Descriptor instead.

func (*LinuxContainerConfig) GetResources

func (x *LinuxContainerConfig) GetResources() *LinuxContainerResources

func (*LinuxContainerConfig) GetSecurityContext

func (x *LinuxContainerConfig) GetSecurityContext() *LinuxContainerSecurityContext

func (*LinuxContainerConfig) ProtoMessage

func (*LinuxContainerConfig) ProtoMessage()

func (*LinuxContainerConfig) ProtoReflect

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

func (*LinuxContainerConfig) Reset

func (x *LinuxContainerConfig) Reset()

func (*LinuxContainerConfig) String

func (x *LinuxContainerConfig) String() string

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 `` /* 155-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) Descriptor deprecated

func (*LinuxContainerResources) Descriptor() ([]byte, []int)

Deprecated: Use LinuxContainerResources.ProtoReflect.Descriptor instead.

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) String

func (x *LinuxContainerResources) String() string

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.
	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: Do not use.
	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: Do not use.
	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) Descriptor deprecated

func (*LinuxContainerSecurityContext) Descriptor() ([]byte, []int)

Deprecated: Use LinuxContainerSecurityContext.ProtoReflect.Descriptor instead.

func (*LinuxContainerSecurityContext) GetApparmor

func (*LinuxContainerSecurityContext) GetApparmorProfile deprecated

func (x *LinuxContainerSecurityContext) GetApparmorProfile() string

Deprecated: Do not use.

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: Do not use.

func (*LinuxContainerSecurityContext) GetSelinuxOptions

func (x *LinuxContainerSecurityContext) GetSelinuxOptions() *SELinuxOption

func (*LinuxContainerSecurityContext) GetSupplementalGroups

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

func (*LinuxContainerSecurityContext) ProtoMessage

func (*LinuxContainerSecurityContext) ProtoMessage()

func (*LinuxContainerSecurityContext) ProtoReflect

func (*LinuxContainerSecurityContext) Reset

func (x *LinuxContainerSecurityContext) Reset()

func (*LinuxContainerSecurityContext) String

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 `` /* 155-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) Descriptor deprecated

func (*LinuxPodSandboxConfig) Descriptor() ([]byte, []int)

Deprecated: Use LinuxPodSandboxConfig.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*LinuxPodSandboxConfig) ProtoMessage()

func (*LinuxPodSandboxConfig) ProtoReflect

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

func (*LinuxPodSandboxConfig) Reset

func (x *LinuxPodSandboxConfig) Reset()

func (*LinuxPodSandboxConfig) String

func (x *LinuxPodSandboxConfig) String() string

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) Descriptor deprecated

func (*LinuxPodSandboxStats) Descriptor() ([]byte, []int)

Deprecated: Use LinuxPodSandboxStats.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*LinuxPodSandboxStats) ProtoMessage()

func (*LinuxPodSandboxStats) ProtoReflect

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

func (*LinuxPodSandboxStats) Reset

func (x *LinuxPodSandboxStats) Reset()

func (*LinuxPodSandboxStats) String

func (x *LinuxPodSandboxStats) String() string

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) Descriptor deprecated

func (*LinuxPodSandboxStatus) Descriptor() ([]byte, []int)

Deprecated: Use LinuxPodSandboxStatus.ProtoReflect.Descriptor instead.

func (*LinuxPodSandboxStatus) GetNamespaces

func (x *LinuxPodSandboxStatus) GetNamespaces() *Namespace

func (*LinuxPodSandboxStatus) ProtoMessage

func (*LinuxPodSandboxStatus) ProtoMessage()

func (*LinuxPodSandboxStatus) ProtoReflect

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

func (*LinuxPodSandboxStatus) Reset

func (x *LinuxPodSandboxStatus) Reset()

func (*LinuxPodSandboxStatus) String

func (x *LinuxPodSandboxStatus) String() string

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.
	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: Do not use.
	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) Descriptor deprecated

func (*LinuxSandboxSecurityContext) Descriptor() ([]byte, []int)

Deprecated: Use LinuxSandboxSecurityContext.ProtoReflect.Descriptor instead.

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: Do not use.

func (*LinuxSandboxSecurityContext) GetSelinuxOptions

func (x *LinuxSandboxSecurityContext) GetSelinuxOptions() *SELinuxOption

func (*LinuxSandboxSecurityContext) GetSupplementalGroups

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

func (*LinuxSandboxSecurityContext) ProtoMessage

func (*LinuxSandboxSecurityContext) ProtoMessage()

func (*LinuxSandboxSecurityContext) ProtoReflect

func (*LinuxSandboxSecurityContext) Reset

func (x *LinuxSandboxSecurityContext) Reset()

func (*LinuxSandboxSecurityContext) String

func (x *LinuxSandboxSecurityContext) String() string

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) Descriptor deprecated

func (*ListContainerStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListContainerStatsRequest.ProtoReflect.Descriptor instead.

func (*ListContainerStatsRequest) GetFilter

func (*ListContainerStatsRequest) ProtoMessage

func (*ListContainerStatsRequest) ProtoMessage()

func (*ListContainerStatsRequest) ProtoReflect

func (*ListContainerStatsRequest) Reset

func (x *ListContainerStatsRequest) Reset()

func (*ListContainerStatsRequest) String

func (x *ListContainerStatsRequest) String() string

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) Descriptor deprecated

func (*ListContainerStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListContainerStatsResponse.ProtoReflect.Descriptor instead.

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) String

func (x *ListContainerStatsResponse) String() string

type ListContainersRequest

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

func (*ListContainersRequest) Descriptor deprecated

func (*ListContainersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListContainersRequest.ProtoReflect.Descriptor instead.

func (*ListContainersRequest) GetFilter

func (x *ListContainersRequest) GetFilter() *ContainerFilter

func (*ListContainersRequest) ProtoMessage

func (*ListContainersRequest) ProtoMessage()

func (*ListContainersRequest) ProtoReflect

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

func (*ListContainersRequest) Reset

func (x *ListContainersRequest) Reset()

func (*ListContainersRequest) String

func (x *ListContainersRequest) String() string

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) Descriptor deprecated

func (*ListContainersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListContainersResponse.ProtoReflect.Descriptor instead.

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) String

func (x *ListContainersResponse) String() string

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) Descriptor deprecated

func (*ListImagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListImagesRequest.ProtoReflect.Descriptor instead.

func (*ListImagesRequest) GetFilter

func (x *ListImagesRequest) GetFilter() *ImageFilter

func (*ListImagesRequest) ProtoMessage

func (*ListImagesRequest) ProtoMessage()

func (*ListImagesRequest) ProtoReflect

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

func (*ListImagesRequest) Reset

func (x *ListImagesRequest) Reset()

func (*ListImagesRequest) String

func (x *ListImagesRequest) String() string

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) Descriptor deprecated

func (*ListImagesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListImagesResponse.ProtoReflect.Descriptor instead.

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) String

func (x *ListImagesResponse) String() string

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) Descriptor deprecated

func (*ListPodSandboxRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPodSandboxRequest.ProtoReflect.Descriptor instead.

func (*ListPodSandboxRequest) GetFilter

func (x *ListPodSandboxRequest) GetFilter() *PodSandboxFilter

func (*ListPodSandboxRequest) ProtoMessage

func (*ListPodSandboxRequest) ProtoMessage()

func (*ListPodSandboxRequest) ProtoReflect

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

func (*ListPodSandboxRequest) Reset

func (x *ListPodSandboxRequest) Reset()

func (*ListPodSandboxRequest) String

func (x *ListPodSandboxRequest) String() string

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) Descriptor deprecated

func (*ListPodSandboxResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPodSandboxResponse.ProtoReflect.Descriptor instead.

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) String

func (x *ListPodSandboxResponse) String() string

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) Descriptor deprecated

func (*ListPodSandboxStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPodSandboxStatsRequest.ProtoReflect.Descriptor instead.

func (*ListPodSandboxStatsRequest) GetFilter

func (*ListPodSandboxStatsRequest) ProtoMessage

func (*ListPodSandboxStatsRequest) ProtoMessage()

func (*ListPodSandboxStatsRequest) ProtoReflect

func (*ListPodSandboxStatsRequest) Reset

func (x *ListPodSandboxStatsRequest) Reset()

func (*ListPodSandboxStatsRequest) String

func (x *ListPodSandboxStatsRequest) String() string

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) Descriptor deprecated

func (*ListPodSandboxStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPodSandboxStatsResponse.ProtoReflect.Descriptor instead.

func (*ListPodSandboxStatsResponse) GetStats

func (*ListPodSandboxStatsResponse) ProtoMessage

func (*ListPodSandboxStatsResponse) ProtoMessage()

func (*ListPodSandboxStatsResponse) ProtoReflect

func (*ListPodSandboxStatsResponse) Reset

func (x *ListPodSandboxStatsResponse) Reset()

func (*ListPodSandboxStatsResponse) String

func (x *ListPodSandboxStatsResponse) String() string

type LogStreamType

type LogStreamType string

LogStreamType is the type of the stream in CRI container log.

const (
	// Stdout is the stream type for stdout.
	Stdout LogStreamType = "stdout"
	// Stderr is the stream type for stderr.
	Stderr LogStreamType = "stderr"
)

type LogTag

type LogTag string

LogTag is the tag of a log line in CRI container log. Currently defined log tags: * First tag: Partial/Full - P/F. The field in the container log format can be extended to include multiple tags by using a delimiter, but changes should be rare. If it becomes clear that better extensibility is desired, a more extensible format (e.g., json) should be adopted as a replacement and/or addition.

const (
	// LogTagPartial means the line is part of multiple lines.
	LogTagPartial LogTag = "P"
	// LogTagFull means the line is a single full line or the end of multiple lines.
	LogTagFull LogTag = "F"
	// LogTagDelimiter is the delimiter for different log tags.
	LogTagDelimiter = ":"
)

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) Descriptor deprecated

func (*MemoryUsage) Descriptor() ([]byte, []int)

Deprecated: Use MemoryUsage.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*MemoryUsage) ProtoMessage()

func (*MemoryUsage) ProtoReflect

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

func (*MemoryUsage) Reset

func (x *MemoryUsage) Reset()

func (*MemoryUsage) String

func (x *MemoryUsage) String() string

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.v1alpha2.MountPropagation" json:"propagation,omitempty"`
	// contains filtered or unexported fields
}

Mount specifies a host volume to mount into a container.

func (*Mount) Descriptor deprecated

func (*Mount) Descriptor() ([]byte, []int)

Deprecated: Use Mount.ProtoReflect.Descriptor instead.

func (*Mount) GetContainerPath

func (x *Mount) GetContainerPath() string

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) ProtoMessage

func (*Mount) ProtoMessage()

func (*Mount) ProtoReflect

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

func (*Mount) Reset

func (x *Mount) Reset()

func (*Mount) String

func (x *Mount) String() string

type MountPropagation

type MountPropagation int32
const (
	// No mount propagation ("private" 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) EnumDescriptor deprecated

func (MountPropagation) EnumDescriptor() ([]byte, []int)

Deprecated: Use MountPropagation.Descriptor instead.

func (MountPropagation) Number

func (MountPropagation) String

func (x MountPropagation) String() string

func (MountPropagation) Type

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) Descriptor deprecated

func (*Namespace) Descriptor() ([]byte, []int)

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetOptions

func (x *Namespace) GetOptions() *NamespaceOption

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

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

func (*Namespace) Reset

func (x *Namespace) Reset()

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) EnumDescriptor deprecated

func (NamespaceMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use NamespaceMode.Descriptor instead.

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.v1alpha2.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.v1alpha2.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.v1alpha2.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) Descriptor deprecated

func (*NamespaceOption) Descriptor() ([]byte, []int)

Deprecated: Use NamespaceOption.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*NamespaceOption) ProtoMessage()

func (*NamespaceOption) ProtoReflect

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

func (*NamespaceOption) Reset

func (x *NamespaceOption) Reset()

func (*NamespaceOption) String

func (x *NamespaceOption) String() string

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) Descriptor deprecated

func (*NetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.

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) String

func (x *NetworkConfig) String() string

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) Descriptor deprecated

func (*NetworkInterfaceUsage) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInterfaceUsage.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*NetworkInterfaceUsage) ProtoMessage()

func (*NetworkInterfaceUsage) ProtoReflect

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

func (*NetworkInterfaceUsage) Reset

func (x *NetworkInterfaceUsage) Reset()

func (*NetworkInterfaceUsage) String

func (x *NetworkInterfaceUsage) String() string

type NetworkUsage

type NetworkUsage struct {

	// The time at which these stats were updated.
	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) Descriptor deprecated

func (*NetworkUsage) Descriptor() ([]byte, []int)

Deprecated: Use NetworkUsage.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*NetworkUsage) ProtoMessage()

func (*NetworkUsage) ProtoReflect

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

func (*NetworkUsage) Reset

func (x *NetworkUsage) Reset()

func (*NetworkUsage) String

func (x *NetworkUsage) String() string

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) Descriptor deprecated

func (*PodIP) Descriptor() ([]byte, []int)

Deprecated: Use PodIP.ProtoReflect.Descriptor instead.

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) String

func (x *PodIP) String() string

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.v1alpha2.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 `` /* 153-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 `` /* 163-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) Descriptor deprecated

func (*PodSandbox) Descriptor() ([]byte, []int)

Deprecated: Use PodSandbox.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*PodSandbox) ProtoMessage()

func (*PodSandbox) ProtoReflect

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

func (*PodSandbox) Reset

func (x *PodSandbox) Reset()

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 `` /* 153-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 `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

PodSandboxAttributes provides basic information of the pod sandbox.

func (*PodSandboxAttributes) Descriptor deprecated

func (*PodSandboxAttributes) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxAttributes.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*PodSandboxAttributes) ProtoMessage()

func (*PodSandboxAttributes) ProtoReflect

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

func (*PodSandboxAttributes) Reset

func (x *PodSandboxAttributes) Reset()

func (*PodSandboxAttributes) String

func (x *PodSandboxAttributes) String() string

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/<podUID>/`
	//	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 `` /* 153-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 `` /* 163-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) Descriptor deprecated

func (*PodSandboxConfig) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxConfig.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*PodSandboxConfig) ProtoMessage()

func (*PodSandboxConfig) ProtoReflect

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

func (*PodSandboxConfig) Reset

func (x *PodSandboxConfig) Reset()

func (*PodSandboxConfig) String

func (x *PodSandboxConfig) String() string

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 `` /* 188-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) Descriptor deprecated

func (*PodSandboxFilter) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxFilter.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*PodSandboxFilter) ProtoMessage()

func (*PodSandboxFilter) ProtoReflect

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

func (*PodSandboxFilter) Reset

func (x *PodSandboxFilter) Reset()

func (*PodSandboxFilter) String

func (x *PodSandboxFilter) String() string

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) Descriptor deprecated

func (*PodSandboxMetadata) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxMetadata.ProtoReflect.Descriptor instead.

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) String

func (x *PodSandboxMetadata) String() string

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) Descriptor deprecated

func (*PodSandboxNetworkStatus) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxNetworkStatus.ProtoReflect.Descriptor instead.

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) String

func (x *PodSandboxNetworkStatus) String() string

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) EnumDescriptor deprecated

func (PodSandboxState) EnumDescriptor() ([]byte, []int)

Deprecated: Use PodSandboxState.Descriptor instead.

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.v1alpha2.PodSandboxState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

PodSandboxStateValue is the wrapper of PodSandboxState.

func (*PodSandboxStateValue) Descriptor deprecated

func (*PodSandboxStateValue) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxStateValue.ProtoReflect.Descriptor instead.

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) String

func (x *PodSandboxStateValue) String() string

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) Descriptor deprecated

func (*PodSandboxStats) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxStats.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*PodSandboxStats) ProtoMessage()

func (*PodSandboxStats) ProtoReflect

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

func (*PodSandboxStats) Reset

func (x *PodSandboxStats) Reset()

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 `` /* 188-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) Descriptor deprecated

func (*PodSandboxStatsFilter) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxStatsFilter.ProtoReflect.Descriptor instead.

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) String

func (x *PodSandboxStatsFilter) String() string

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) Descriptor deprecated

func (*PodSandboxStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxStatsRequest.ProtoReflect.Descriptor instead.

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) String

func (x *PodSandboxStatsRequest) String() string

type PodSandboxStatsResponse

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

func (*PodSandboxStatsResponse) Descriptor deprecated

func (*PodSandboxStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxStatsResponse.ProtoReflect.Descriptor instead.

func (*PodSandboxStatsResponse) GetStats

func (*PodSandboxStatsResponse) ProtoMessage

func (*PodSandboxStatsResponse) ProtoMessage()

func (*PodSandboxStatsResponse) ProtoReflect

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

func (*PodSandboxStatsResponse) Reset

func (x *PodSandboxStatsResponse) Reset()

func (*PodSandboxStatsResponse) String

func (x *PodSandboxStatsResponse) String() string

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.v1alpha2.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 `` /* 153-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 `` /* 163-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) Descriptor deprecated

func (*PodSandboxStatus) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxStatus.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*PodSandboxStatus) ProtoMessage()

func (*PodSandboxStatus) ProtoReflect

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

func (*PodSandboxStatus) Reset

func (x *PodSandboxStatus) Reset()

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) Descriptor deprecated

func (*PodSandboxStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxStatusRequest.ProtoReflect.Descriptor instead.

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) String

func (x *PodSandboxStatusRequest) String() string

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 `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PodSandboxStatusResponse) Descriptor deprecated

func (*PodSandboxStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use PodSandboxStatusResponse.ProtoReflect.Descriptor instead.

func (*PodSandboxStatusResponse) GetInfo

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

func (*PodSandboxStatusResponse) GetStatus

func (*PodSandboxStatusResponse) ProtoMessage

func (*PodSandboxStatusResponse) ProtoMessage()

func (*PodSandboxStatusResponse) ProtoReflect

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

func (*PodSandboxStatusResponse) Reset

func (x *PodSandboxStatusResponse) Reset()

func (*PodSandboxStatusResponse) String

func (x *PodSandboxStatusResponse) String() string

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) Descriptor deprecated

func (*PortForwardRequest) Descriptor() ([]byte, []int)

Deprecated: Use PortForwardRequest.ProtoReflect.Descriptor instead.

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) String

func (x *PortForwardRequest) String() string

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) Descriptor deprecated

func (*PortForwardResponse) Descriptor() ([]byte, []int)

Deprecated: Use PortForwardResponse.ProtoReflect.Descriptor instead.

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) String

func (x *PortForwardResponse) String() string

type PortMapping

type PortMapping struct {

	// Protocol of the port mapping.
	Protocol Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=runtime.v1alpha2.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) Descriptor deprecated

func (*PortMapping) Descriptor() ([]byte, []int)

Deprecated: Use PortMapping.ProtoReflect.Descriptor instead.

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) String

func (x *PortMapping) String() string

type ProcessUsage

type ProcessUsage struct {

	// The time at which these stats were updated.
	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) Descriptor deprecated

func (*ProcessUsage) Descriptor() ([]byte, []int)

Deprecated: Use ProcessUsage.ProtoReflect.Descriptor instead.

func (*ProcessUsage) GetProcessCount

func (x *ProcessUsage) GetProcessCount() *UInt64Value

func (*ProcessUsage) GetTimestamp

func (x *ProcessUsage) GetTimestamp() int64

func (*ProcessUsage) ProtoMessage

func (*ProcessUsage) ProtoMessage()

func (*ProcessUsage) ProtoReflect

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

func (*ProcessUsage) Reset

func (x *ProcessUsage) Reset()

func (*ProcessUsage) String

func (x *ProcessUsage) String() string

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) EnumDescriptor deprecated

func (Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use Protocol.Descriptor instead.

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) Descriptor deprecated

func (*PullImageRequest) Descriptor() ([]byte, []int)

Deprecated: Use PullImageRequest.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*PullImageRequest) ProtoMessage()

func (*PullImageRequest) ProtoReflect

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

func (*PullImageRequest) Reset

func (x *PullImageRequest) Reset()

func (*PullImageRequest) String

func (x *PullImageRequest) String() string

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) Descriptor deprecated

func (*PullImageResponse) Descriptor() ([]byte, []int)

Deprecated: Use PullImageResponse.ProtoReflect.Descriptor instead.

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) String

func (x *PullImageResponse) String() string

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) Descriptor deprecated

func (*RemoveContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveContainerRequest.ProtoReflect.Descriptor instead.

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) String

func (x *RemoveContainerRequest) String() string

type RemoveContainerResponse

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

func (*RemoveContainerResponse) Descriptor deprecated

func (*RemoveContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveContainerResponse.ProtoReflect.Descriptor instead.

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 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) Descriptor deprecated

func (*RemoveImageRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveImageRequest.ProtoReflect.Descriptor instead.

func (*RemoveImageRequest) GetImage

func (x *RemoveImageRequest) GetImage() *ImageSpec

func (*RemoveImageRequest) ProtoMessage

func (*RemoveImageRequest) ProtoMessage()

func (*RemoveImageRequest) ProtoReflect

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

func (*RemoveImageRequest) Reset

func (x *RemoveImageRequest) Reset()

func (*RemoveImageRequest) String

func (x *RemoveImageRequest) String() string

type RemoveImageResponse

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

func (*RemoveImageResponse) Descriptor deprecated

func (*RemoveImageResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveImageResponse.ProtoReflect.Descriptor instead.

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 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) Descriptor deprecated

func (*RemovePodSandboxRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemovePodSandboxRequest.ProtoReflect.Descriptor instead.

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) String

func (x *RemovePodSandboxRequest) String() string

type RemovePodSandboxResponse

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

func (*RemovePodSandboxResponse) Descriptor deprecated

func (*RemovePodSandboxResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemovePodSandboxResponse.ProtoReflect.Descriptor instead.

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 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) Descriptor deprecated

func (*ReopenContainerLogRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReopenContainerLogRequest.ProtoReflect.Descriptor instead.

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) String

func (x *ReopenContainerLogRequest) String() string

type ReopenContainerLogResponse

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

func (*ReopenContainerLogResponse) Descriptor deprecated

func (*ReopenContainerLogResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReopenContainerLogResponse.ProtoReflect.Descriptor instead.

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 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) Descriptor deprecated

func (*RunPodSandboxRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunPodSandboxRequest.ProtoReflect.Descriptor instead.

func (*RunPodSandboxRequest) GetConfig

func (x *RunPodSandboxRequest) GetConfig() *PodSandboxConfig

func (*RunPodSandboxRequest) GetRuntimeHandler

func (x *RunPodSandboxRequest) GetRuntimeHandler() string

func (*RunPodSandboxRequest) ProtoMessage

func (*RunPodSandboxRequest) ProtoMessage()

func (*RunPodSandboxRequest) ProtoReflect

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

func (*RunPodSandboxRequest) Reset

func (x *RunPodSandboxRequest) Reset()

func (*RunPodSandboxRequest) String

func (x *RunPodSandboxRequest) String() string

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) Descriptor deprecated

func (*RunPodSandboxResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunPodSandboxResponse.ProtoReflect.Descriptor instead.

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) String

func (x *RunPodSandboxResponse) String() string

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) Descriptor deprecated

func (*RuntimeCondition) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeCondition.ProtoReflect.Descriptor instead.

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) String

func (x *RuntimeCondition) String() string

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) Descriptor deprecated

func (*RuntimeConfig) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeConfig.ProtoReflect.Descriptor instead.

func (*RuntimeConfig) GetNetworkConfig

func (x *RuntimeConfig) GetNetworkConfig() *NetworkConfig

func (*RuntimeConfig) ProtoMessage

func (*RuntimeConfig) ProtoMessage()

func (*RuntimeConfig) ProtoReflect

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

func (*RuntimeConfig) Reset

func (x *RuntimeConfig) Reset()

func (*RuntimeConfig) String

func (x *RuntimeConfig) String() string

type RuntimeServiceClient

type RuntimeServiceClient interface {
	// Version returns the runtime name, runtime version, and runtime API version.
	Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
	// RunPodSandbox creates and starts a pod-level sandbox. Runtimes must ensure
	// the sandbox is in the ready state on success.
	RunPodSandbox(ctx context.Context, in *RunPodSandboxRequest, opts ...grpc.CallOption) (*RunPodSandboxResponse, error)
	// StopPodSandbox stops any running process that is part of the sandbox and
	// reclaims network resources (e.g., IP addresses) allocated to the sandbox.
	// If there are any running containers in the sandbox, they must be forcibly
	// terminated.
	// This call is idempotent, and must not return an error if all relevant
	// resources have already been reclaimed. kubelet will call StopPodSandbox
	// at least once before calling RemovePodSandbox. It will also attempt to
	// reclaim resources eagerly, as soon as a sandbox is not needed. Hence,
	// multiple StopPodSandbox calls are expected.
	StopPodSandbox(ctx context.Context, in *StopPodSandboxRequest, opts ...grpc.CallOption) (*StopPodSandboxResponse, error)
	// RemovePodSandbox removes the sandbox. If there are any running containers
	// in the sandbox, they must be forcibly terminated and removed.
	// This call is idempotent, and must not return an error if the sandbox has
	// already been removed.
	RemovePodSandbox(ctx context.Context, in *RemovePodSandboxRequest, opts ...grpc.CallOption) (*RemovePodSandboxResponse, error)
	// PodSandboxStatus returns the status of the PodSandbox. If the PodSandbox is not
	// present, returns an error.
	PodSandboxStatus(ctx context.Context, in *PodSandboxStatusRequest, opts ...grpc.CallOption) (*PodSandboxStatusResponse, error)
	// ListPodSandbox returns a list of PodSandboxes.
	ListPodSandbox(ctx context.Context, in *ListPodSandboxRequest, opts ...grpc.CallOption) (*ListPodSandboxResponse, error)
	// CreateContainer creates a new container in specified PodSandbox
	CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error)
	// StartContainer starts the container.
	StartContainer(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*StartContainerResponse, error)
	// StopContainer stops a running container with a grace period (i.e., timeout).
	// This call is idempotent, and must not return an error if the container has
	// already been stopped.
	// The runtime must forcibly kill the container after the grace period is
	// reached.
	StopContainer(ctx context.Context, in *StopContainerRequest, opts ...grpc.CallOption) (*StopContainerResponse, error)
	// RemoveContainer removes the container. If the container is running, the
	// container must be forcibly removed.
	// This call is idempotent, and must not return an error if the container has
	// already been removed.
	RemoveContainer(ctx context.Context, in *RemoveContainerRequest, opts ...grpc.CallOption) (*RemoveContainerResponse, error)
	// ListContainers lists all containers by filters.
	ListContainers(ctx context.Context, in *ListContainersRequest, opts ...grpc.CallOption) (*ListContainersResponse, error)
	// ContainerStatus returns status of the container. If the container is not
	// present, returns an error.
	ContainerStatus(ctx context.Context, in *ContainerStatusRequest, opts ...grpc.CallOption) (*ContainerStatusResponse, error)
	// UpdateContainerResources updates ContainerConfig of the container synchronously.
	// If runtime fails to transactionally update the requested resources, an error is returned.
	UpdateContainerResources(ctx context.Context, in *UpdateContainerResourcesRequest, opts ...grpc.CallOption) (*UpdateContainerResourcesResponse, error)
	// ReopenContainerLog asks runtime to reopen the stdout/stderr log file
	// for the container. This is often called after the log file has been
	// rotated. If the container is not running, container runtime can choose
	// to either create a new log file and return nil, or return an error.
	// Once it returns error, new container log file MUST NOT be created.
	ReopenContainerLog(ctx context.Context, in *ReopenContainerLogRequest, opts ...grpc.CallOption) (*ReopenContainerLogResponse, error)
	// ExecSync runs a command in a container synchronously.
	ExecSync(ctx context.Context, in *ExecSyncRequest, opts ...grpc.CallOption) (*ExecSyncResponse, error)
	// Exec prepares a streaming endpoint to execute a command in the container.
	Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
	// Attach prepares a streaming endpoint to attach to a running container.
	Attach(ctx context.Context, in *AttachRequest, opts ...grpc.CallOption) (*AttachResponse, error)
	// PortForward prepares a streaming endpoint to forward ports from a PodSandbox.
	PortForward(ctx context.Context, in *PortForwardRequest, opts ...grpc.CallOption) (*PortForwardResponse, error)
	// ContainerStats returns stats of the container. If the container does not
	// exist, the call returns an error.
	ContainerStats(ctx context.Context, in *ContainerStatsRequest, opts ...grpc.CallOption) (*ContainerStatsResponse, error)
	// ListContainerStats returns stats of all running containers.
	ListContainerStats(ctx context.Context, in *ListContainerStatsRequest, opts ...grpc.CallOption) (*ListContainerStatsResponse, error)
	// PodSandboxStats returns stats of the pod sandbox. If the pod sandbox does not
	// exist, the call returns an error.
	PodSandboxStats(ctx context.Context, in *PodSandboxStatsRequest, opts ...grpc.CallOption) (*PodSandboxStatsResponse, error)
	// ListPodSandboxStats returns stats of the pod sandboxes matching a filter.
	ListPodSandboxStats(ctx context.Context, in *ListPodSandboxStatsRequest, opts ...grpc.CallOption) (*ListPodSandboxStatsResponse, error)
	// UpdateRuntimeConfig updates the runtime configuration based on the given request.
	UpdateRuntimeConfig(ctx context.Context, in *UpdateRuntimeConfigRequest, opts ...grpc.CallOption) (*UpdateRuntimeConfigResponse, error)
	// Status returns the status of the runtime.
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
}

RuntimeServiceClient is the client API for RuntimeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RuntimeServiceServer

type RuntimeServiceServer interface {
	// Version returns the runtime name, runtime version, and runtime API version.
	Version(context.Context, *VersionRequest) (*VersionResponse, error)
	// RunPodSandbox creates and starts a pod-level sandbox. Runtimes must ensure
	// the sandbox is in the ready state on success.
	RunPodSandbox(context.Context, *RunPodSandboxRequest) (*RunPodSandboxResponse, error)
	// StopPodSandbox stops any running process that is part of the sandbox and
	// reclaims network resources (e.g., IP addresses) allocated to the sandbox.
	// If there are any running containers in the sandbox, they must be forcibly
	// terminated.
	// This call is idempotent, and must not return an error if all relevant
	// resources have already been reclaimed. kubelet will call StopPodSandbox
	// at least once before calling RemovePodSandbox. It will also attempt to
	// reclaim resources eagerly, as soon as a sandbox is not needed. Hence,
	// multiple StopPodSandbox calls are expected.
	StopPodSandbox(context.Context, *StopPodSandboxRequest) (*StopPodSandboxResponse, error)
	// RemovePodSandbox removes the sandbox. If there are any running containers
	// in the sandbox, they must be forcibly terminated and removed.
	// This call is idempotent, and must not return an error if the sandbox has
	// already been removed.
	RemovePodSandbox(context.Context, *RemovePodSandboxRequest) (*RemovePodSandboxResponse, error)
	// PodSandboxStatus returns the status of the PodSandbox. If the PodSandbox is not
	// present, returns an error.
	PodSandboxStatus(context.Context, *PodSandboxStatusRequest) (*PodSandboxStatusResponse, error)
	// ListPodSandbox returns a list of PodSandboxes.
	ListPodSandbox(context.Context, *ListPodSandboxRequest) (*ListPodSandboxResponse, error)
	// CreateContainer creates a new container in specified PodSandbox
	CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
	// StartContainer starts the container.
	StartContainer(context.Context, *StartContainerRequest) (*StartContainerResponse, error)
	// StopContainer stops a running container with a grace period (i.e., timeout).
	// This call is idempotent, and must not return an error if the container has
	// already been stopped.
	// The runtime must forcibly kill the container after the grace period is
	// reached.
	StopContainer(context.Context, *StopContainerRequest) (*StopContainerResponse, error)
	// RemoveContainer removes the container. If the container is running, the
	// container must be forcibly removed.
	// This call is idempotent, and must not return an error if the container has
	// already been removed.
	RemoveContainer(context.Context, *RemoveContainerRequest) (*RemoveContainerResponse, error)
	// ListContainers lists all containers by filters.
	ListContainers(context.Context, *ListContainersRequest) (*ListContainersResponse, error)
	// ContainerStatus returns status of the container. If the container is not
	// present, returns an error.
	ContainerStatus(context.Context, *ContainerStatusRequest) (*ContainerStatusResponse, error)
	// UpdateContainerResources updates ContainerConfig of the container synchronously.
	// If runtime fails to transactionally update the requested resources, an error is returned.
	UpdateContainerResources(context.Context, *UpdateContainerResourcesRequest) (*UpdateContainerResourcesResponse, error)
	// ReopenContainerLog asks runtime to reopen the stdout/stderr log file
	// for the container. This is often called after the log file has been
	// rotated. If the container is not running, container runtime can choose
	// to either create a new log file and return nil, or return an error.
	// Once it returns error, new container log file MUST NOT be created.
	ReopenContainerLog(context.Context, *ReopenContainerLogRequest) (*ReopenContainerLogResponse, error)
	// ExecSync runs a command in a container synchronously.
	ExecSync(context.Context, *ExecSyncRequest) (*ExecSyncResponse, error)
	// Exec prepares a streaming endpoint to execute a command in the container.
	Exec(context.Context, *ExecRequest) (*ExecResponse, error)
	// Attach prepares a streaming endpoint to attach to a running container.
	Attach(context.Context, *AttachRequest) (*AttachResponse, error)
	// PortForward prepares a streaming endpoint to forward ports from a PodSandbox.
	PortForward(context.Context, *PortForwardRequest) (*PortForwardResponse, error)
	// ContainerStats returns stats of the container. If the container does not
	// exist, the call returns an error.
	ContainerStats(context.Context, *ContainerStatsRequest) (*ContainerStatsResponse, error)
	// ListContainerStats returns stats of all running containers.
	ListContainerStats(context.Context, *ListContainerStatsRequest) (*ListContainerStatsResponse, error)
	// PodSandboxStats returns stats of the pod sandbox. If the pod sandbox does not
	// exist, the call returns an error.
	PodSandboxStats(context.Context, *PodSandboxStatsRequest) (*PodSandboxStatsResponse, error)
	// ListPodSandboxStats returns stats of the pod sandboxes matching a filter.
	ListPodSandboxStats(context.Context, *ListPodSandboxStatsRequest) (*ListPodSandboxStatsResponse, error)
	// UpdateRuntimeConfig updates the runtime configuration based on the given request.
	UpdateRuntimeConfig(context.Context, *UpdateRuntimeConfigRequest) (*UpdateRuntimeConfigResponse, error)
	// Status returns the status of the runtime.
	Status(context.Context, *StatusRequest) (*StatusResponse, error)
	// contains filtered or unexported methods
}

RuntimeServiceServer is the server API for RuntimeService service. All implementations must embed UnimplementedRuntimeServiceServer for forward compatibility

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) Descriptor deprecated

func (*RuntimeStatus) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeStatus.ProtoReflect.Descriptor instead.

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) String

func (x *RuntimeStatus) String() string

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) Descriptor deprecated

func (*SELinuxOption) Descriptor() ([]byte, []int)

Deprecated: Use SELinuxOption.ProtoReflect.Descriptor instead.

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) String

func (x *SELinuxOption) String() string

type SecurityProfile

type SecurityProfile struct {

	// Indicator which `ProfileType` should be applied.
	ProfileType SecurityProfile_ProfileType `` /* 145-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) Descriptor deprecated

func (*SecurityProfile) Descriptor() ([]byte, []int)

Deprecated: Use SecurityProfile.ProtoReflect.Descriptor instead.

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) 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) EnumDescriptor deprecated

func (SecurityProfile_ProfileType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecurityProfile_ProfileType.Descriptor instead.

func (SecurityProfile_ProfileType) Number

func (SecurityProfile_ProfileType) String

func (SecurityProfile_ProfileType) Type

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) Descriptor deprecated

func (*StartContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartContainerRequest.ProtoReflect.Descriptor instead.

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) String

func (x *StartContainerRequest) String() string

type StartContainerResponse

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

func (*StartContainerResponse) Descriptor deprecated

func (*StartContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartContainerResponse.ProtoReflect.Descriptor instead.

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 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) Descriptor deprecated

func (*StatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

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) String

func (x *StatusRequest) String() string

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 `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

func (*StatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetInfo

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

func (*StatusResponse) GetStatus

func (x *StatusResponse) GetStatus() *RuntimeStatus

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

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

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

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) Descriptor deprecated

func (*StopContainerRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopContainerRequest.ProtoReflect.Descriptor instead.

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) String

func (x *StopContainerRequest) String() string

type StopContainerResponse

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

func (*StopContainerResponse) Descriptor deprecated

func (*StopContainerResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopContainerResponse.ProtoReflect.Descriptor instead.

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 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) Descriptor deprecated

func (*StopPodSandboxRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopPodSandboxRequest.ProtoReflect.Descriptor instead.

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) String

func (x *StopPodSandboxRequest) String() string

type StopPodSandboxResponse

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

func (*StopPodSandboxResponse) Descriptor deprecated

func (*StopPodSandboxResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopPodSandboxResponse.ProtoReflect.Descriptor instead.

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 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) Descriptor deprecated

func (*UInt64Value) Descriptor() ([]byte, []int)

Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead.

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) String

func (x *UInt64Value) String() string

type UnimplementedImageServiceServer

type UnimplementedImageServiceServer struct {
}

UnimplementedImageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedImageServiceServer) ImageFsInfo

func (UnimplementedImageServiceServer) ImageStatus

func (UnimplementedImageServiceServer) ListImages

func (UnimplementedImageServiceServer) PullImage

func (UnimplementedImageServiceServer) RemoveImage

type UnimplementedRuntimeServiceServer

type UnimplementedRuntimeServiceServer struct {
}

UnimplementedRuntimeServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRuntimeServiceServer) Attach

func (UnimplementedRuntimeServiceServer) ContainerStats

func (UnimplementedRuntimeServiceServer) ContainerStatus

func (UnimplementedRuntimeServiceServer) CreateContainer

func (UnimplementedRuntimeServiceServer) Exec

func (UnimplementedRuntimeServiceServer) ExecSync

func (UnimplementedRuntimeServiceServer) ListContainerStats

func (UnimplementedRuntimeServiceServer) ListContainers

func (UnimplementedRuntimeServiceServer) ListPodSandbox

func (UnimplementedRuntimeServiceServer) ListPodSandboxStats

func (UnimplementedRuntimeServiceServer) PodSandboxStats

func (UnimplementedRuntimeServiceServer) PodSandboxStatus

func (UnimplementedRuntimeServiceServer) PortForward

func (UnimplementedRuntimeServiceServer) RemoveContainer

func (UnimplementedRuntimeServiceServer) RemovePodSandbox

func (UnimplementedRuntimeServiceServer) ReopenContainerLog

func (UnimplementedRuntimeServiceServer) RunPodSandbox

func (UnimplementedRuntimeServiceServer) StartContainer

func (UnimplementedRuntimeServiceServer) Status

func (UnimplementedRuntimeServiceServer) StopContainer

func (UnimplementedRuntimeServiceServer) StopPodSandbox

func (UnimplementedRuntimeServiceServer) UpdateRuntimeConfig

func (UnimplementedRuntimeServiceServer) Version

type UnsafeImageServiceServer

type UnsafeImageServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeImageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ImageServiceServer will result in compilation errors.

type UnsafeRuntimeServiceServer

type UnsafeRuntimeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRuntimeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RuntimeServiceServer will result in compilation errors.

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 `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateContainerResourcesRequest) Descriptor deprecated

func (*UpdateContainerResourcesRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateContainerResourcesRequest.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*UpdateContainerResourcesRequest) ProtoMessage()

func (*UpdateContainerResourcesRequest) ProtoReflect

func (*UpdateContainerResourcesRequest) Reset

func (*UpdateContainerResourcesRequest) String

type UpdateContainerResourcesResponse

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

func (*UpdateContainerResourcesResponse) Descriptor deprecated

func (*UpdateContainerResourcesResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateContainerResourcesResponse.ProtoReflect.Descriptor instead.

func (*UpdateContainerResourcesResponse) ProtoMessage

func (*UpdateContainerResourcesResponse) ProtoMessage()

func (*UpdateContainerResourcesResponse) ProtoReflect

func (*UpdateContainerResourcesResponse) Reset

func (*UpdateContainerResourcesResponse) String

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) Descriptor deprecated

func (*UpdateRuntimeConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRuntimeConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateRuntimeConfigRequest) GetRuntimeConfig

func (x *UpdateRuntimeConfigRequest) GetRuntimeConfig() *RuntimeConfig

func (*UpdateRuntimeConfigRequest) ProtoMessage

func (*UpdateRuntimeConfigRequest) ProtoMessage()

func (*UpdateRuntimeConfigRequest) ProtoReflect

func (*UpdateRuntimeConfigRequest) Reset

func (x *UpdateRuntimeConfigRequest) Reset()

func (*UpdateRuntimeConfigRequest) String

func (x *UpdateRuntimeConfigRequest) String() string

type UpdateRuntimeConfigResponse

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

func (*UpdateRuntimeConfigResponse) Descriptor deprecated

func (*UpdateRuntimeConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRuntimeConfigResponse.ProtoReflect.Descriptor instead.

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 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.v1alpha2.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) Descriptor deprecated

func (*UserNamespace) Descriptor() ([]byte, []int)

Deprecated: Use UserNamespace.ProtoReflect.Descriptor instead.

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) String

func (x *UserNamespace) String() string

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) Descriptor deprecated

func (*VersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.

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) String

func (x *VersionRequest) String() string

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) Descriptor deprecated

func (*VersionResponse) Descriptor() ([]byte, []int)

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

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) String

func (x *VersionResponse) String() string

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) Descriptor deprecated

func (*WindowsContainerConfig) Descriptor() ([]byte, []int)

Deprecated: Use WindowsContainerConfig.ProtoReflect.Descriptor instead.

func (*WindowsContainerConfig) GetResources

func (*WindowsContainerConfig) GetSecurityContext

func (*WindowsContainerConfig) ProtoMessage

func (*WindowsContainerConfig) ProtoMessage()

func (*WindowsContainerConfig) ProtoReflect

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

func (*WindowsContainerConfig) Reset

func (x *WindowsContainerConfig) Reset()

func (*WindowsContainerConfig) String

func (x *WindowsContainerConfig) String() string

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) Descriptor deprecated

func (*WindowsContainerResources) Descriptor() ([]byte, []int)

Deprecated: Use WindowsContainerResources.ProtoReflect.Descriptor instead.

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) String

func (x *WindowsContainerResources) String() string

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) Descriptor deprecated

func (*WindowsContainerSecurityContext) Descriptor() ([]byte, []int)

Deprecated: Use WindowsContainerSecurityContext.ProtoReflect.Descriptor instead.

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) String

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) Descriptor deprecated

func (*WindowsPodSandboxConfig) Descriptor() ([]byte, []int)

Deprecated: Use WindowsPodSandboxConfig.ProtoReflect.Descriptor instead.

func (*WindowsPodSandboxConfig) GetSecurityContext

func (x *WindowsPodSandboxConfig) GetSecurityContext() *WindowsSandboxSecurityContext

func (*WindowsPodSandboxConfig) ProtoMessage

func (*WindowsPodSandboxConfig) ProtoMessage()

func (*WindowsPodSandboxConfig) ProtoReflect

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

func (*WindowsPodSandboxConfig) Reset

func (x *WindowsPodSandboxConfig) Reset()

func (*WindowsPodSandboxConfig) String

func (x *WindowsPodSandboxConfig) String() string

type WindowsPodSandboxStats

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

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

func (*WindowsPodSandboxStats) Descriptor deprecated

func (*WindowsPodSandboxStats) Descriptor() ([]byte, []int)

Deprecated: Use WindowsPodSandboxStats.ProtoReflect.Descriptor instead.

func (*WindowsPodSandboxStats) ProtoMessage

func (*WindowsPodSandboxStats) ProtoMessage()

func (*WindowsPodSandboxStats) ProtoReflect

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

func (*WindowsPodSandboxStats) Reset

func (x *WindowsPodSandboxStats) Reset()

func (*WindowsPodSandboxStats) String

func (x *WindowsPodSandboxStats) String() string

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"`
	// 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) Descriptor deprecated

func (*WindowsSandboxSecurityContext) Descriptor() ([]byte, []int)

Deprecated: Use WindowsSandboxSecurityContext.ProtoReflect.Descriptor instead.

func (*WindowsSandboxSecurityContext) GetCredentialSpec

func (x *WindowsSandboxSecurityContext) GetCredentialSpec() string

func (*WindowsSandboxSecurityContext) GetHostProcess

func (x *WindowsSandboxSecurityContext) GetHostProcess() bool

func (*WindowsSandboxSecurityContext) GetRunAsUsername

func (x *WindowsSandboxSecurityContext) GetRunAsUsername() string

func (*WindowsSandboxSecurityContext) ProtoMessage

func (*WindowsSandboxSecurityContext) ProtoMessage()

func (*WindowsSandboxSecurityContext) ProtoReflect

func (*WindowsSandboxSecurityContext) Reset

func (x *WindowsSandboxSecurityContext) Reset()

func (*WindowsSandboxSecurityContext) String

Jump to

Keyboard shortcuts

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