v1

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 13 Imported by: 249

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 (
	ErrInvalidLengthApi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group")
)
View Source
var CgroupDriver_name = map[int32]string{
	0: "SYSTEMD",
	1: "CGROUPFS",
}
View Source
var CgroupDriver_value = map[string]int32{
	"SYSTEMD":  0,
	"CGROUPFS": 1,
}
View Source
var ContainerEventType_name = map[int32]string{
	0: "CONTAINER_CREATED_EVENT",
	1: "CONTAINER_STARTED_EVENT",
	2: "CONTAINER_STOPPED_EVENT",
	3: "CONTAINER_DELETED_EVENT",
}
View Source
var ContainerEventType_value = map[string]int32{
	"CONTAINER_CREATED_EVENT": 0,
	"CONTAINER_STARTED_EVENT": 1,
	"CONTAINER_STOPPED_EVENT": 2,
	"CONTAINER_DELETED_EVENT": 3,
}
View Source
var ContainerState_name = map[int32]string{
	0: "CONTAINER_CREATED",
	1: "CONTAINER_RUNNING",
	2: "CONTAINER_EXITED",
	3: "CONTAINER_UNKNOWN",
}
View Source
var ContainerState_value = map[string]int32{
	"CONTAINER_CREATED": 0,
	"CONTAINER_RUNNING": 1,
	"CONTAINER_EXITED":  2,
	"CONTAINER_UNKNOWN": 3,
}
View Source
var MetricType_name = map[int32]string{
	0: "COUNTER",
	1: "GAUGE",
}
View Source
var MetricType_value = map[string]int32{
	"COUNTER": 0,
	"GAUGE":   1,
}
View Source
var MountPropagation_name = map[int32]string{
	0: "PROPAGATION_PRIVATE",
	1: "PROPAGATION_HOST_TO_CONTAINER",
	2: "PROPAGATION_BIDIRECTIONAL",
}
View Source
var MountPropagation_value = map[string]int32{
	"PROPAGATION_PRIVATE":           0,
	"PROPAGATION_HOST_TO_CONTAINER": 1,
	"PROPAGATION_BIDIRECTIONAL":     2,
}
View Source
var NamespaceMode_name = map[int32]string{
	0: "POD",
	1: "CONTAINER",
	2: "NODE",
	3: "TARGET",
}
View Source
var NamespaceMode_value = map[string]int32{
	"POD":       0,
	"CONTAINER": 1,
	"NODE":      2,
	"TARGET":    3,
}
View Source
var PodSandboxState_name = map[int32]string{
	0: "SANDBOX_READY",
	1: "SANDBOX_NOTREADY",
}
View Source
var PodSandboxState_value = map[string]int32{
	"SANDBOX_READY":    0,
	"SANDBOX_NOTREADY": 1,
}
View Source
var Protocol_name = map[int32]string{
	0: "TCP",
	1: "UDP",
	2: "SCTP",
}
View Source
var Protocol_value = map[string]int32{
	"TCP":  0,
	"UDP":  1,
	"SCTP": 2,
}
View Source
var SecurityProfile_ProfileType_name = map[int32]string{
	0: "RuntimeDefault",
	1: "Unconfined",
	2: "Localhost",
}
View Source
var SecurityProfile_ProfileType_value = map[string]int32{
	"RuntimeDefault": 0,
	"Unconfined":     1,
	"Localhost":      2,
}
View Source
var SupplementalGroupsPolicy_name = map[int32]string{
	0: "Merge",
	1: "Strict",
}
View Source
var SupplementalGroupsPolicy_value = map[string]int32{
	"Merge":  0,
	"Strict": 1,
}

Functions

func RegisterImageServiceServer

func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer)

func RegisterRuntimeServiceServer

func RegisterRuntimeServiceServer(s *grpc.Server, 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttachRequest) Descriptor

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

func (*AttachRequest) GetContainerId

func (m *AttachRequest) GetContainerId() string

func (*AttachRequest) GetStderr

func (m *AttachRequest) GetStderr() bool

func (*AttachRequest) GetStdin

func (m *AttachRequest) GetStdin() bool

func (*AttachRequest) GetStdout

func (m *AttachRequest) GetStdout() bool

func (*AttachRequest) GetTty

func (m *AttachRequest) GetTty() bool

func (*AttachRequest) Marshal

func (m *AttachRequest) Marshal() (dAtA []byte, err error)

func (*AttachRequest) MarshalTo

func (m *AttachRequest) MarshalTo(dAtA []byte) (int, error)

func (*AttachRequest) MarshalToSizedBuffer

func (m *AttachRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachRequest) ProtoMessage

func (*AttachRequest) ProtoMessage()

func (*AttachRequest) Reset

func (m *AttachRequest) Reset()

func (*AttachRequest) Size

func (m *AttachRequest) Size() (n int)

func (*AttachRequest) String

func (this *AttachRequest) String() string

func (*AttachRequest) Unmarshal

func (m *AttachRequest) Unmarshal(dAtA []byte) error

func (*AttachRequest) XXX_DiscardUnknown

func (m *AttachRequest) XXX_DiscardUnknown()

func (*AttachRequest) XXX_Marshal

func (m *AttachRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachRequest) XXX_Merge

func (m *AttachRequest) XXX_Merge(src proto.Message)

func (*AttachRequest) XXX_Size

func (m *AttachRequest) XXX_Size() int

func (*AttachRequest) XXX_Unmarshal

func (m *AttachRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttachResponse) Descriptor

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

func (*AttachResponse) GetUrl

func (m *AttachResponse) GetUrl() string

func (*AttachResponse) Marshal

func (m *AttachResponse) Marshal() (dAtA []byte, err error)

func (*AttachResponse) MarshalTo

func (m *AttachResponse) MarshalTo(dAtA []byte) (int, error)

func (*AttachResponse) MarshalToSizedBuffer

func (m *AttachResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachResponse) ProtoMessage

func (*AttachResponse) ProtoMessage()

func (*AttachResponse) Reset

func (m *AttachResponse) Reset()

func (*AttachResponse) Size

func (m *AttachResponse) Size() (n int)

func (*AttachResponse) String

func (this *AttachResponse) String() string

func (*AttachResponse) Unmarshal

func (m *AttachResponse) Unmarshal(dAtA []byte) error

func (*AttachResponse) XXX_DiscardUnknown

func (m *AttachResponse) XXX_DiscardUnknown()

func (*AttachResponse) XXX_Marshal

func (m *AttachResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachResponse) XXX_Merge

func (m *AttachResponse) XXX_Merge(src proto.Message)

func (*AttachResponse) XXX_Size

func (m *AttachResponse) XXX_Size() int

func (*AttachResponse) XXX_Unmarshal

func (m *AttachResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AuthConfig contains authorization information for connecting to a registry.

func (*AuthConfig) Descriptor

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

func (*AuthConfig) GetAuth

func (m *AuthConfig) GetAuth() string

func (*AuthConfig) GetIdentityToken

func (m *AuthConfig) GetIdentityToken() string

func (*AuthConfig) GetPassword

func (m *AuthConfig) GetPassword() string

func (*AuthConfig) GetRegistryToken

func (m *AuthConfig) GetRegistryToken() string

func (*AuthConfig) GetServerAddress

func (m *AuthConfig) GetServerAddress() string

func (*AuthConfig) GetUsername

func (m *AuthConfig) GetUsername() string

func (*AuthConfig) Marshal

func (m *AuthConfig) Marshal() (dAtA []byte, err error)

func (*AuthConfig) MarshalTo

func (m *AuthConfig) MarshalTo(dAtA []byte) (int, error)

func (*AuthConfig) MarshalToSizedBuffer

func (m *AuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthConfig) ProtoMessage

func (*AuthConfig) ProtoMessage()

func (*AuthConfig) Reset

func (m *AuthConfig) Reset()

func (*AuthConfig) Size

func (m *AuthConfig) Size() (n int)

func (*AuthConfig) String

func (this *AuthConfig) String() string

func (*AuthConfig) Unmarshal

func (m *AuthConfig) Unmarshal(dAtA []byte) error

func (*AuthConfig) XXX_DiscardUnknown

func (m *AuthConfig) XXX_DiscardUnknown()

func (*AuthConfig) XXX_Marshal

func (m *AuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthConfig) XXX_Merge

func (m *AuthConfig) XXX_Merge(src proto.Message)

func (*AuthConfig) XXX_Size

func (m *AuthConfig) XXX_Size() int

func (*AuthConfig) XXX_Unmarshal

func (m *AuthConfig) XXX_Unmarshal(b []byte) error

type CDIDevice added in v0.27.0

type CDIDevice struct {
	// Fully qualified CDI device name
	// for example: vendor.com/gpu=gpudevice1
	// see more details in the CDI specification:
	// https://github.com/container-orchestrated-devices/container-device-interface/blob/main/SPEC.md
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CDIDevice specifies a CDI device information.

func (*CDIDevice) Descriptor added in v0.27.0

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

func (*CDIDevice) GetName added in v0.27.0

func (m *CDIDevice) GetName() string

func (*CDIDevice) Marshal added in v0.27.0

func (m *CDIDevice) Marshal() (dAtA []byte, err error)

func (*CDIDevice) MarshalTo added in v0.27.0

func (m *CDIDevice) MarshalTo(dAtA []byte) (int, error)

func (*CDIDevice) MarshalToSizedBuffer added in v0.27.0

func (m *CDIDevice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CDIDevice) ProtoMessage added in v0.27.0

func (*CDIDevice) ProtoMessage()

func (*CDIDevice) Reset added in v0.27.0

func (m *CDIDevice) Reset()

func (*CDIDevice) Size added in v0.27.0

func (m *CDIDevice) Size() (n int)

func (*CDIDevice) String added in v0.27.0

func (this *CDIDevice) String() string

func (*CDIDevice) Unmarshal added in v0.27.0

func (m *CDIDevice) Unmarshal(dAtA []byte) error

func (*CDIDevice) XXX_DiscardUnknown added in v0.27.0

func (m *CDIDevice) XXX_DiscardUnknown()

func (*CDIDevice) XXX_Marshal added in v0.27.0

func (m *CDIDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CDIDevice) XXX_Merge added in v0.27.0

func (m *CDIDevice) XXX_Merge(src proto.Message)

func (*CDIDevice) XXX_Size added in v0.27.0

func (m *CDIDevice) XXX_Size() int

func (*CDIDevice) XXX_Unmarshal added in v0.27.0

func (m *CDIDevice) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

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

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

func (*Capability) GetAddAmbientCapabilities added in v0.24.0

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

func (*Capability) GetAddCapabilities

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

func (*Capability) GetDropCapabilities

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

func (*Capability) Marshal

func (m *Capability) Marshal() (dAtA []byte, err error)

func (*Capability) MarshalTo

func (m *Capability) MarshalTo(dAtA []byte) (int, error)

func (*Capability) MarshalToSizedBuffer

func (m *Capability) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Capability) ProtoMessage

func (*Capability) ProtoMessage()

func (*Capability) Reset

func (m *Capability) Reset()

func (*Capability) Size

func (m *Capability) Size() (n int)

func (*Capability) String

func (this *Capability) String() string

func (*Capability) Unmarshal

func (m *Capability) Unmarshal(dAtA []byte) error

func (*Capability) XXX_DiscardUnknown

func (m *Capability) XXX_DiscardUnknown()

func (*Capability) XXX_Marshal

func (m *Capability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Capability) XXX_Merge

func (m *Capability) XXX_Merge(src proto.Message)

func (*Capability) XXX_Size

func (m *Capability) XXX_Size() int

func (*Capability) XXX_Unmarshal

func (m *Capability) XXX_Unmarshal(b []byte) error

type CgroupDriver added in v0.28.0

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

func (CgroupDriver) EnumDescriptor added in v0.28.0

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

func (CgroupDriver) String added in v0.28.0

func (x CgroupDriver) String() string

type CheckpointContainerRequest added in v0.25.0

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

func (*CheckpointContainerRequest) Descriptor added in v0.25.0

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

func (*CheckpointContainerRequest) GetContainerId added in v0.25.0

func (m *CheckpointContainerRequest) GetContainerId() string

func (*CheckpointContainerRequest) GetLocation added in v0.25.0

func (m *CheckpointContainerRequest) GetLocation() string

func (*CheckpointContainerRequest) GetTimeout added in v0.25.0

func (m *CheckpointContainerRequest) GetTimeout() int64

func (*CheckpointContainerRequest) Marshal added in v0.25.0

func (m *CheckpointContainerRequest) Marshal() (dAtA []byte, err error)

func (*CheckpointContainerRequest) MarshalTo added in v0.25.0

func (m *CheckpointContainerRequest) MarshalTo(dAtA []byte) (int, error)

func (*CheckpointContainerRequest) MarshalToSizedBuffer added in v0.25.0

func (m *CheckpointContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckpointContainerRequest) ProtoMessage added in v0.25.0

func (*CheckpointContainerRequest) ProtoMessage()

func (*CheckpointContainerRequest) Reset added in v0.25.0

func (m *CheckpointContainerRequest) Reset()

func (*CheckpointContainerRequest) Size added in v0.25.0

func (m *CheckpointContainerRequest) Size() (n int)

func (*CheckpointContainerRequest) String added in v0.25.0

func (this *CheckpointContainerRequest) String() string

func (*CheckpointContainerRequest) Unmarshal added in v0.25.0

func (m *CheckpointContainerRequest) Unmarshal(dAtA []byte) error

func (*CheckpointContainerRequest) XXX_DiscardUnknown added in v0.25.0

func (m *CheckpointContainerRequest) XXX_DiscardUnknown()

func (*CheckpointContainerRequest) XXX_Marshal added in v0.25.0

func (m *CheckpointContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointContainerRequest) XXX_Merge added in v0.25.0

func (m *CheckpointContainerRequest) XXX_Merge(src proto.Message)

func (*CheckpointContainerRequest) XXX_Size added in v0.25.0

func (m *CheckpointContainerRequest) XXX_Size() int

func (*CheckpointContainerRequest) XXX_Unmarshal added in v0.25.0

func (m *CheckpointContainerRequest) XXX_Unmarshal(b []byte) error

type CheckpointContainerResponse added in v0.25.0

type CheckpointContainerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckpointContainerResponse) Descriptor added in v0.25.0

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

func (*CheckpointContainerResponse) Marshal added in v0.25.0

func (m *CheckpointContainerResponse) Marshal() (dAtA []byte, err error)

func (*CheckpointContainerResponse) MarshalTo added in v0.25.0

func (m *CheckpointContainerResponse) MarshalTo(dAtA []byte) (int, error)

func (*CheckpointContainerResponse) MarshalToSizedBuffer added in v0.25.0

func (m *CheckpointContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckpointContainerResponse) ProtoMessage added in v0.25.0

func (*CheckpointContainerResponse) ProtoMessage()

func (*CheckpointContainerResponse) Reset added in v0.25.0

func (m *CheckpointContainerResponse) Reset()

func (*CheckpointContainerResponse) Size added in v0.25.0

func (m *CheckpointContainerResponse) Size() (n int)

func (*CheckpointContainerResponse) String added in v0.25.0

func (this *CheckpointContainerResponse) String() string

func (*CheckpointContainerResponse) Unmarshal added in v0.25.0

func (m *CheckpointContainerResponse) Unmarshal(dAtA []byte) error

func (*CheckpointContainerResponse) XXX_DiscardUnknown added in v0.25.0

func (m *CheckpointContainerResponse) XXX_DiscardUnknown()

func (*CheckpointContainerResponse) XXX_Marshal added in v0.25.0

func (m *CheckpointContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointContainerResponse) XXX_Merge added in v0.25.0

func (m *CheckpointContainerResponse) XXX_Merge(src proto.Message)

func (*CheckpointContainerResponse) XXX_Size added in v0.25.0

func (m *CheckpointContainerResponse) XXX_Size() int

func (*CheckpointContainerResponse) XXX_Unmarshal added in v0.25.0

func (m *CheckpointContainerResponse) XXX_Unmarshal(b []byte) error

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"`
	// Digested reference to the image in use.
	ImageRef string `protobuf:"bytes,5,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"`
	// State of the container.
	State ContainerState `protobuf:"varint,6,opt,name=state,proto3,enum=runtime.v1.ContainerState" json:"state,omitempty"`
	// Creation time of the container in nanoseconds.
	CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 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 */
	// Reference to the unique identifier of the image, on the node, as
	// returned in the image service apis.
	//
	// Note: The image_ref above has been historically used by container
	// runtimes to reference images by digest. The image_ref has been also used
	// in the kubelet image garbage collection, which does not work with
	// digests at all. To separate and avoid possible misusage, we now
	// introduce the image_id field, which should always refer to a unique
	// image identifier on the node.
	ImageId              string   `protobuf:"bytes,10,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*Container) Descriptor

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

func (*Container) GetAnnotations

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

func (*Container) GetCreatedAt

func (m *Container) GetCreatedAt() int64

func (*Container) GetId

func (m *Container) GetId() string

func (*Container) GetImage

func (m *Container) GetImage() *ImageSpec

func (*Container) GetImageId added in v0.30.0

func (m *Container) GetImageId() string

func (*Container) GetImageRef

func (m *Container) GetImageRef() string

func (*Container) GetLabels

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

func (*Container) GetMetadata

func (m *Container) GetMetadata() *ContainerMetadata

func (*Container) GetPodSandboxId

func (m *Container) GetPodSandboxId() string

func (*Container) GetState

func (m *Container) GetState() ContainerState

func (*Container) Marshal

func (m *Container) Marshal() (dAtA []byte, err error)

func (*Container) MarshalTo

func (m *Container) MarshalTo(dAtA []byte) (int, error)

func (*Container) MarshalToSizedBuffer

func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) Size

func (m *Container) Size() (n int)

func (*Container) String

func (this *Container) String() string

func (*Container) Unmarshal

func (m *Container) Unmarshal(dAtA []byte) error

func (*Container) XXX_DiscardUnknown

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal

func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container) XXX_Merge

func (m *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_Size

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal

func (m *Container) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

ContainerAttributes provides basic information of the container.

func (*ContainerAttributes) Descriptor

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

func (*ContainerAttributes) GetAnnotations

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

func (*ContainerAttributes) GetId

func (m *ContainerAttributes) GetId() string

func (*ContainerAttributes) GetLabels

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

func (*ContainerAttributes) GetMetadata

func (m *ContainerAttributes) GetMetadata() *ContainerMetadata

func (*ContainerAttributes) Marshal

func (m *ContainerAttributes) Marshal() (dAtA []byte, err error)

func (*ContainerAttributes) MarshalTo

func (m *ContainerAttributes) MarshalTo(dAtA []byte) (int, error)

func (*ContainerAttributes) MarshalToSizedBuffer

func (m *ContainerAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerAttributes) ProtoMessage

func (*ContainerAttributes) ProtoMessage()

func (*ContainerAttributes) Reset

func (m *ContainerAttributes) Reset()

func (*ContainerAttributes) Size

func (m *ContainerAttributes) Size() (n int)

func (*ContainerAttributes) String

func (this *ContainerAttributes) String() string

func (*ContainerAttributes) Unmarshal

func (m *ContainerAttributes) Unmarshal(dAtA []byte) error

func (*ContainerAttributes) XXX_DiscardUnknown

func (m *ContainerAttributes) XXX_DiscardUnknown()

func (*ContainerAttributes) XXX_Marshal

func (m *ContainerAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerAttributes) XXX_Merge

func (m *ContainerAttributes) XXX_Merge(src proto.Message)

func (*ContainerAttributes) XXX_Size

func (m *ContainerAttributes) XXX_Size() int

func (*ContainerAttributes) XXX_Unmarshal

func (m *ContainerAttributes) XXX_Unmarshal(b []byte) error

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/<NAMESPACE>_<NAME>_<UID>/`
	//	ContainerConfig.LogPath = `containerName/Instance#.log`
	LogPath string `protobuf:"bytes,11,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"`
	// Variables for interactive containers, these have very specialized
	// use-cases (e.g. debugging).
	Stdin     bool `protobuf:"varint,12,opt,name=stdin,proto3" json:"stdin,omitempty"`
	StdinOnce bool `protobuf:"varint,13,opt,name=stdin_once,json=stdinOnce,proto3" json:"stdin_once,omitempty"`
	Tty       bool `protobuf:"varint,14,opt,name=tty,proto3" json:"tty,omitempty"`
	// Configuration specific to Linux containers.
	Linux *LinuxContainerConfig `protobuf:"bytes,15,opt,name=linux,proto3" json:"linux,omitempty"`
	// Configuration specific to Windows containers.
	Windows *WindowsContainerConfig `protobuf:"bytes,16,opt,name=windows,proto3" json:"windows,omitempty"`
	// CDI devices for the container.
	CDIDevices           []*CDIDevice `protobuf:"bytes,17,rep,name=CDI_devices,json=CDIDevices,proto3" json:"CDI_devices,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

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

func (*ContainerConfig) Descriptor

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

func (*ContainerConfig) GetAnnotations

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

func (*ContainerConfig) GetArgs

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

func (*ContainerConfig) GetCDIDevices added in v0.27.0

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

func (*ContainerConfig) GetCommand

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

func (*ContainerConfig) GetDevices

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

func (*ContainerConfig) GetEnvs

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

func (*ContainerConfig) GetImage

func (m *ContainerConfig) GetImage() *ImageSpec

func (*ContainerConfig) GetLabels

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

func (*ContainerConfig) GetLinux

func (m *ContainerConfig) GetLinux() *LinuxContainerConfig

func (*ContainerConfig) GetLogPath

func (m *ContainerConfig) GetLogPath() string

func (*ContainerConfig) GetMetadata

func (m *ContainerConfig) GetMetadata() *ContainerMetadata

func (*ContainerConfig) GetMounts

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

func (*ContainerConfig) GetStdin

func (m *ContainerConfig) GetStdin() bool

func (*ContainerConfig) GetStdinOnce

func (m *ContainerConfig) GetStdinOnce() bool

func (*ContainerConfig) GetTty

func (m *ContainerConfig) GetTty() bool

func (*ContainerConfig) GetWindows

func (m *ContainerConfig) GetWindows() *WindowsContainerConfig

func (*ContainerConfig) GetWorkingDir

func (m *ContainerConfig) GetWorkingDir() string

func (*ContainerConfig) Marshal

func (m *ContainerConfig) Marshal() (dAtA []byte, err error)

func (*ContainerConfig) MarshalTo

func (m *ContainerConfig) MarshalTo(dAtA []byte) (int, error)

func (*ContainerConfig) MarshalToSizedBuffer

func (m *ContainerConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerConfig) ProtoMessage

func (*ContainerConfig) ProtoMessage()

func (*ContainerConfig) Reset

func (m *ContainerConfig) Reset()

func (*ContainerConfig) Size

func (m *ContainerConfig) Size() (n int)

func (*ContainerConfig) String

func (this *ContainerConfig) String() string

func (*ContainerConfig) Unmarshal

func (m *ContainerConfig) Unmarshal(dAtA []byte) error

func (*ContainerConfig) XXX_DiscardUnknown

func (m *ContainerConfig) XXX_DiscardUnknown()

func (*ContainerConfig) XXX_Marshal

func (m *ContainerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerConfig) XXX_Merge

func (m *ContainerConfig) XXX_Merge(src proto.Message)

func (*ContainerConfig) XXX_Size

func (m *ContainerConfig) XXX_Size() int

func (*ContainerConfig) XXX_Unmarshal

func (m *ContainerConfig) XXX_Unmarshal(b []byte) error

type ContainerEventResponse added in v0.25.0

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

func (*ContainerEventResponse) Descriptor added in v0.25.0

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

func (*ContainerEventResponse) GetContainerEventType added in v0.25.0

func (m *ContainerEventResponse) GetContainerEventType() ContainerEventType

func (*ContainerEventResponse) GetContainerId added in v0.25.0

func (m *ContainerEventResponse) GetContainerId() string

func (*ContainerEventResponse) GetContainersStatuses added in v0.26.0

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

func (*ContainerEventResponse) GetCreatedAt added in v0.25.0

func (m *ContainerEventResponse) GetCreatedAt() int64

func (*ContainerEventResponse) GetPodSandboxStatus added in v0.26.0

func (m *ContainerEventResponse) GetPodSandboxStatus() *PodSandboxStatus

func (*ContainerEventResponse) Marshal added in v0.25.0

func (m *ContainerEventResponse) Marshal() (dAtA []byte, err error)

func (*ContainerEventResponse) MarshalTo added in v0.25.0

func (m *ContainerEventResponse) MarshalTo(dAtA []byte) (int, error)

func (*ContainerEventResponse) MarshalToSizedBuffer added in v0.25.0

func (m *ContainerEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerEventResponse) ProtoMessage added in v0.25.0

func (*ContainerEventResponse) ProtoMessage()

func (*ContainerEventResponse) Reset added in v0.25.0

func (m *ContainerEventResponse) Reset()

func (*ContainerEventResponse) Size added in v0.25.0

func (m *ContainerEventResponse) Size() (n int)

func (*ContainerEventResponse) String added in v0.25.0

func (this *ContainerEventResponse) String() string

func (*ContainerEventResponse) Unmarshal added in v0.25.0

func (m *ContainerEventResponse) Unmarshal(dAtA []byte) error

func (*ContainerEventResponse) XXX_DiscardUnknown added in v0.25.0

func (m *ContainerEventResponse) XXX_DiscardUnknown()

func (*ContainerEventResponse) XXX_Marshal added in v0.25.0

func (m *ContainerEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerEventResponse) XXX_Merge added in v0.25.0

func (m *ContainerEventResponse) XXX_Merge(src proto.Message)

func (*ContainerEventResponse) XXX_Size added in v0.25.0

func (m *ContainerEventResponse) XXX_Size() int

func (*ContainerEventResponse) XXX_Unmarshal added in v0.25.0

func (m *ContainerEventResponse) XXX_Unmarshal(b []byte) error

type ContainerEventType added in v0.25.0

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

func (ContainerEventType) EnumDescriptor added in v0.25.0

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

func (ContainerEventType) String added in v0.25.0

func (x ContainerEventType) 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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*ContainerFilter) Descriptor

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

func (*ContainerFilter) GetId

func (m *ContainerFilter) GetId() string

func (*ContainerFilter) GetLabelSelector

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

func (*ContainerFilter) GetPodSandboxId

func (m *ContainerFilter) GetPodSandboxId() string

func (*ContainerFilter) GetState

func (m *ContainerFilter) GetState() *ContainerStateValue

func (*ContainerFilter) Marshal

func (m *ContainerFilter) Marshal() (dAtA []byte, err error)

func (*ContainerFilter) MarshalTo

func (m *ContainerFilter) MarshalTo(dAtA []byte) (int, error)

func (*ContainerFilter) MarshalToSizedBuffer

func (m *ContainerFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerFilter) ProtoMessage

func (*ContainerFilter) ProtoMessage()

func (*ContainerFilter) Reset

func (m *ContainerFilter) Reset()

func (*ContainerFilter) Size

func (m *ContainerFilter) Size() (n int)

func (*ContainerFilter) String

func (this *ContainerFilter) String() string

func (*ContainerFilter) Unmarshal

func (m *ContainerFilter) Unmarshal(dAtA []byte) error

func (*ContainerFilter) XXX_DiscardUnknown

func (m *ContainerFilter) XXX_DiscardUnknown()

func (*ContainerFilter) XXX_Marshal

func (m *ContainerFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerFilter) XXX_Merge

func (m *ContainerFilter) XXX_Merge(src proto.Message)

func (*ContainerFilter) XXX_Size

func (m *ContainerFilter) XXX_Size() int

func (*ContainerFilter) XXX_Unmarshal

func (m *ContainerFilter) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*ContainerMetadata) GetAttempt

func (m *ContainerMetadata) GetAttempt() uint32

func (*ContainerMetadata) GetName

func (m *ContainerMetadata) GetName() string

func (*ContainerMetadata) Marshal

func (m *ContainerMetadata) Marshal() (dAtA []byte, err error)

func (*ContainerMetadata) MarshalTo

func (m *ContainerMetadata) MarshalTo(dAtA []byte) (int, error)

func (*ContainerMetadata) MarshalToSizedBuffer

func (m *ContainerMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerMetadata) ProtoMessage

func (*ContainerMetadata) ProtoMessage()

func (*ContainerMetadata) Reset

func (m *ContainerMetadata) Reset()

func (*ContainerMetadata) Size

func (m *ContainerMetadata) Size() (n int)

func (*ContainerMetadata) String

func (this *ContainerMetadata) String() string

func (*ContainerMetadata) Unmarshal

func (m *ContainerMetadata) Unmarshal(dAtA []byte) error

func (*ContainerMetadata) XXX_DiscardUnknown

func (m *ContainerMetadata) XXX_DiscardUnknown()

func (*ContainerMetadata) XXX_Marshal

func (m *ContainerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerMetadata) XXX_Merge

func (m *ContainerMetadata) XXX_Merge(src proto.Message)

func (*ContainerMetadata) XXX_Size

func (m *ContainerMetadata) XXX_Size() int

func (*ContainerMetadata) XXX_Unmarshal

func (m *ContainerMetadata) XXX_Unmarshal(b []byte) error

type ContainerMetrics added in v0.26.0

type ContainerMetrics struct {
	ContainerId          string    `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	Metrics              []*Metric `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ContainerMetrics) Descriptor added in v0.26.0

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

func (*ContainerMetrics) GetContainerId added in v0.26.0

func (m *ContainerMetrics) GetContainerId() string

func (*ContainerMetrics) GetMetrics added in v0.26.0

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

func (*ContainerMetrics) Marshal added in v0.26.0

func (m *ContainerMetrics) Marshal() (dAtA []byte, err error)

func (*ContainerMetrics) MarshalTo added in v0.26.0

func (m *ContainerMetrics) MarshalTo(dAtA []byte) (int, error)

func (*ContainerMetrics) MarshalToSizedBuffer added in v0.26.0

func (m *ContainerMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerMetrics) ProtoMessage added in v0.26.0

func (*ContainerMetrics) ProtoMessage()

func (*ContainerMetrics) Reset added in v0.26.0

func (m *ContainerMetrics) Reset()

func (*ContainerMetrics) Size added in v0.26.0

func (m *ContainerMetrics) Size() (n int)

func (*ContainerMetrics) String added in v0.26.0

func (this *ContainerMetrics) String() string

func (*ContainerMetrics) Unmarshal added in v0.26.0

func (m *ContainerMetrics) Unmarshal(dAtA []byte) error

func (*ContainerMetrics) XXX_DiscardUnknown added in v0.26.0

func (m *ContainerMetrics) XXX_DiscardUnknown()

func (*ContainerMetrics) XXX_Marshal added in v0.26.0

func (m *ContainerMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerMetrics) XXX_Merge added in v0.26.0

func (m *ContainerMetrics) XXX_Merge(src proto.Message)

func (*ContainerMetrics) XXX_Size added in v0.26.0

func (m *ContainerMetrics) XXX_Size() int

func (*ContainerMetrics) XXX_Unmarshal added in v0.26.0

func (m *ContainerMetrics) XXX_Unmarshal(b []byte) error

type ContainerResources added in v0.25.0

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"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

ContainerResources holds resource limits configuration for a container.

func (*ContainerResources) Descriptor added in v0.25.0

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

func (*ContainerResources) GetLinux added in v0.25.0

func (*ContainerResources) GetWindows added in v0.25.0

func (*ContainerResources) Marshal added in v0.25.0

func (m *ContainerResources) Marshal() (dAtA []byte, err error)

func (*ContainerResources) MarshalTo added in v0.25.0

func (m *ContainerResources) MarshalTo(dAtA []byte) (int, error)

func (*ContainerResources) MarshalToSizedBuffer added in v0.25.0

func (m *ContainerResources) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerResources) ProtoMessage added in v0.25.0

func (*ContainerResources) ProtoMessage()

func (*ContainerResources) Reset added in v0.25.0

func (m *ContainerResources) Reset()

func (*ContainerResources) Size added in v0.25.0

func (m *ContainerResources) Size() (n int)

func (*ContainerResources) String added in v0.25.0

func (this *ContainerResources) String() string

func (*ContainerResources) Unmarshal added in v0.25.0

func (m *ContainerResources) Unmarshal(dAtA []byte) error

func (*ContainerResources) XXX_DiscardUnknown added in v0.25.0

func (m *ContainerResources) XXX_DiscardUnknown()

func (*ContainerResources) XXX_Marshal added in v0.25.0

func (m *ContainerResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerResources) XXX_Merge added in v0.25.0

func (m *ContainerResources) XXX_Merge(src proto.Message)

func (*ContainerResources) XXX_Size added in v0.25.0

func (m *ContainerResources) XXX_Size() int

func (*ContainerResources) XXX_Unmarshal added in v0.25.0

func (m *ContainerResources) XXX_Unmarshal(b []byte) error

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

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

func (ContainerState) String

func (x ContainerState) String() string

type ContainerStateValue

type ContainerStateValue struct {
	// State of the container.
	State                ContainerState `protobuf:"varint,1,opt,name=state,proto3,enum=runtime.v1.ContainerState" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

ContainerStateValue is the wrapper of ContainerState.

func (*ContainerStateValue) Descriptor

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

func (*ContainerStateValue) GetState

func (m *ContainerStateValue) GetState() ContainerState

func (*ContainerStateValue) Marshal

func (m *ContainerStateValue) Marshal() (dAtA []byte, err error)

func (*ContainerStateValue) MarshalTo

func (m *ContainerStateValue) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStateValue) MarshalToSizedBuffer

func (m *ContainerStateValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStateValue) ProtoMessage

func (*ContainerStateValue) ProtoMessage()

func (*ContainerStateValue) Reset

func (m *ContainerStateValue) Reset()

func (*ContainerStateValue) Size

func (m *ContainerStateValue) Size() (n int)

func (*ContainerStateValue) String

func (this *ContainerStateValue) String() string

func (*ContainerStateValue) Unmarshal

func (m *ContainerStateValue) Unmarshal(dAtA []byte) error

func (*ContainerStateValue) XXX_DiscardUnknown

func (m *ContainerStateValue) XXX_DiscardUnknown()

func (*ContainerStateValue) XXX_Marshal

func (m *ContainerStateValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStateValue) XXX_Merge

func (m *ContainerStateValue) XXX_Merge(src proto.Message)

func (*ContainerStateValue) XXX_Size

func (m *ContainerStateValue) XXX_Size() int

func (*ContainerStateValue) XXX_Unmarshal

func (m *ContainerStateValue) XXX_Unmarshal(b []byte) error

type ContainerStats

type ContainerStats struct {
	// Information of the container.
	Attributes *ContainerAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// CPU usage gathered from the container.
	Cpu *CpuUsage `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// Memory usage gathered from the container.
	Memory *MemoryUsage `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"`
	// Usage of the writable layer.
	WritableLayer *FilesystemUsage `protobuf:"bytes,4,opt,name=writable_layer,json=writableLayer,proto3" json:"writable_layer,omitempty"`
	// Swap usage gathered from the container.
	Swap                 *SwapUsage `protobuf:"bytes,5,opt,name=swap,proto3" json:"swap,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

ContainerStats provides the resource usage statistics for a container.

func (*ContainerStats) Descriptor

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

func (*ContainerStats) GetAttributes

func (m *ContainerStats) GetAttributes() *ContainerAttributes

func (*ContainerStats) GetCpu

func (m *ContainerStats) GetCpu() *CpuUsage

func (*ContainerStats) GetMemory

func (m *ContainerStats) GetMemory() *MemoryUsage

func (*ContainerStats) GetSwap added in v0.28.0

func (m *ContainerStats) GetSwap() *SwapUsage

func (*ContainerStats) GetWritableLayer

func (m *ContainerStats) GetWritableLayer() *FilesystemUsage

func (*ContainerStats) Marshal

func (m *ContainerStats) Marshal() (dAtA []byte, err error)

func (*ContainerStats) MarshalTo

func (m *ContainerStats) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStats) MarshalToSizedBuffer

func (m *ContainerStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStats) ProtoMessage

func (*ContainerStats) ProtoMessage()

func (*ContainerStats) Reset

func (m *ContainerStats) Reset()

func (*ContainerStats) Size

func (m *ContainerStats) Size() (n int)

func (*ContainerStats) String

func (this *ContainerStats) String() string

func (*ContainerStats) Unmarshal

func (m *ContainerStats) Unmarshal(dAtA []byte) error

func (*ContainerStats) XXX_DiscardUnknown

func (m *ContainerStats) XXX_DiscardUnknown()

func (*ContainerStats) XXX_Marshal

func (m *ContainerStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStats) XXX_Merge

func (m *ContainerStats) XXX_Merge(src proto.Message)

func (*ContainerStats) XXX_Size

func (m *ContainerStats) XXX_Size() int

func (*ContainerStats) XXX_Unmarshal

func (m *ContainerStats) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*ContainerStatsFilter) Descriptor

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

func (*ContainerStatsFilter) GetId

func (m *ContainerStatsFilter) GetId() string

func (*ContainerStatsFilter) GetLabelSelector

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

func (*ContainerStatsFilter) GetPodSandboxId

func (m *ContainerStatsFilter) GetPodSandboxId() string

func (*ContainerStatsFilter) Marshal

func (m *ContainerStatsFilter) Marshal() (dAtA []byte, err error)

func (*ContainerStatsFilter) MarshalTo

func (m *ContainerStatsFilter) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatsFilter) MarshalToSizedBuffer

func (m *ContainerStatsFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatsFilter) ProtoMessage

func (*ContainerStatsFilter) ProtoMessage()

func (*ContainerStatsFilter) Reset

func (m *ContainerStatsFilter) Reset()

func (*ContainerStatsFilter) Size

func (m *ContainerStatsFilter) Size() (n int)

func (*ContainerStatsFilter) String

func (this *ContainerStatsFilter) String() string

func (*ContainerStatsFilter) Unmarshal

func (m *ContainerStatsFilter) Unmarshal(dAtA []byte) error

func (*ContainerStatsFilter) XXX_DiscardUnknown

func (m *ContainerStatsFilter) XXX_DiscardUnknown()

func (*ContainerStatsFilter) XXX_Marshal

func (m *ContainerStatsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatsFilter) XXX_Merge

func (m *ContainerStatsFilter) XXX_Merge(src proto.Message)

func (*ContainerStatsFilter) XXX_Size

func (m *ContainerStatsFilter) XXX_Size() int

func (*ContainerStatsFilter) XXX_Unmarshal

func (m *ContainerStatsFilter) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContainerStatsRequest) Descriptor

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

func (*ContainerStatsRequest) GetContainerId

func (m *ContainerStatsRequest) GetContainerId() string

func (*ContainerStatsRequest) Marshal

func (m *ContainerStatsRequest) Marshal() (dAtA []byte, err error)

func (*ContainerStatsRequest) MarshalTo

func (m *ContainerStatsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatsRequest) MarshalToSizedBuffer

func (m *ContainerStatsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatsRequest) ProtoMessage

func (*ContainerStatsRequest) ProtoMessage()

func (*ContainerStatsRequest) Reset

func (m *ContainerStatsRequest) Reset()

func (*ContainerStatsRequest) Size

func (m *ContainerStatsRequest) Size() (n int)

func (*ContainerStatsRequest) String

func (this *ContainerStatsRequest) String() string

func (*ContainerStatsRequest) Unmarshal

func (m *ContainerStatsRequest) Unmarshal(dAtA []byte) error

func (*ContainerStatsRequest) XXX_DiscardUnknown

func (m *ContainerStatsRequest) XXX_DiscardUnknown()

func (*ContainerStatsRequest) XXX_Marshal

func (m *ContainerStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatsRequest) XXX_Merge

func (m *ContainerStatsRequest) XXX_Merge(src proto.Message)

func (*ContainerStatsRequest) XXX_Size

func (m *ContainerStatsRequest) XXX_Size() int

func (*ContainerStatsRequest) XXX_Unmarshal

func (m *ContainerStatsRequest) XXX_Unmarshal(b []byte) error

type ContainerStatsResponse

type ContainerStatsResponse struct {
	// Stats of the container.
	Stats                *ContainerStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ContainerStatsResponse) Descriptor

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

func (*ContainerStatsResponse) GetStats

func (m *ContainerStatsResponse) GetStats() *ContainerStats

func (*ContainerStatsResponse) Marshal

func (m *ContainerStatsResponse) Marshal() (dAtA []byte, err error)

func (*ContainerStatsResponse) MarshalTo

func (m *ContainerStatsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatsResponse) MarshalToSizedBuffer

func (m *ContainerStatsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatsResponse) ProtoMessage

func (*ContainerStatsResponse) ProtoMessage()

func (*ContainerStatsResponse) Reset

func (m *ContainerStatsResponse) Reset()

func (*ContainerStatsResponse) Size

func (m *ContainerStatsResponse) Size() (n int)

func (*ContainerStatsResponse) String

func (this *ContainerStatsResponse) String() string

func (*ContainerStatsResponse) Unmarshal

func (m *ContainerStatsResponse) Unmarshal(dAtA []byte) error

func (*ContainerStatsResponse) XXX_DiscardUnknown

func (m *ContainerStatsResponse) XXX_DiscardUnknown()

func (*ContainerStatsResponse) XXX_Marshal

func (m *ContainerStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatsResponse) XXX_Merge

func (m *ContainerStatsResponse) XXX_Merge(src proto.Message)

func (*ContainerStatsResponse) XXX_Size

func (m *ContainerStatsResponse) XXX_Size() int

func (*ContainerStatsResponse) XXX_Unmarshal

func (m *ContainerStatsResponse) XXX_Unmarshal(b []byte) error

type ContainerStatus

type ContainerStatus struct {
	// ID of the container.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata of the container.
	Metadata *ContainerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Status of the container.
	State ContainerState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1.ContainerState" json:"state,omitempty"`
	// Creation time of the container in nanoseconds.
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Start time of the container in nanoseconds. Default: 0 (not specified).
	StartedAt int64 `protobuf:"varint,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Finish time of the container in nanoseconds. Default: 0 (not specified).
	FinishedAt int64 `protobuf:"varint,6,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	// Exit code of the container. Only required when finished_at != 0. Default: 0.
	ExitCode int32 `protobuf:"varint,7,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// Spec of the image.
	Image *ImageSpec `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"`
	// Digested reference to the image in use.
	ImageRef string `protobuf:"bytes,9,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"`
	// Brief CamelCase string explaining why container is in its current state.
	// Must be set to "OOMKilled" for containers terminated by cgroup-based Out-of-Memory killer.
	Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"`
	// Human-readable message indicating details about why container is in its
	// current state.
	Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"`
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 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"`
	// Reference to the unique identifier of the image, on the node, as
	// returned in the image service apis.
	//
	// Note: The image_ref above has been historically used by container
	// runtimes to reference images by digest. To separate and avoid possible
	// misusage, we now introduce the image_id field, which should always refer
	// to a unique image identifier on the node.
	ImageId string `protobuf:"bytes,17,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// User identities initially attached to the container
	User                 *ContainerUser `protobuf:"bytes,18,opt,name=user,proto3" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

ContainerStatus represents the status of a container.

func (*ContainerStatus) Descriptor

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

func (*ContainerStatus) GetAnnotations

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

func (*ContainerStatus) GetCreatedAt

func (m *ContainerStatus) GetCreatedAt() int64

func (*ContainerStatus) GetExitCode

func (m *ContainerStatus) GetExitCode() int32

func (*ContainerStatus) GetFinishedAt

func (m *ContainerStatus) GetFinishedAt() int64

func (*ContainerStatus) GetId

func (m *ContainerStatus) GetId() string

func (*ContainerStatus) GetImage

func (m *ContainerStatus) GetImage() *ImageSpec

func (*ContainerStatus) GetImageId added in v0.30.0

func (m *ContainerStatus) GetImageId() string

func (*ContainerStatus) GetImageRef

func (m *ContainerStatus) GetImageRef() string

func (*ContainerStatus) GetLabels

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

func (*ContainerStatus) GetLogPath

func (m *ContainerStatus) GetLogPath() string

func (*ContainerStatus) GetMessage

func (m *ContainerStatus) GetMessage() string

func (*ContainerStatus) GetMetadata

func (m *ContainerStatus) GetMetadata() *ContainerMetadata

func (*ContainerStatus) GetMounts

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

func (*ContainerStatus) GetReason

func (m *ContainerStatus) GetReason() string

func (*ContainerStatus) GetResources added in v0.25.0

func (m *ContainerStatus) GetResources() *ContainerResources

func (*ContainerStatus) GetStartedAt

func (m *ContainerStatus) GetStartedAt() int64

func (*ContainerStatus) GetState

func (m *ContainerStatus) GetState() ContainerState

func (*ContainerStatus) GetUser added in v0.31.0

func (m *ContainerStatus) GetUser() *ContainerUser

func (*ContainerStatus) Marshal

func (m *ContainerStatus) Marshal() (dAtA []byte, err error)

func (*ContainerStatus) MarshalTo

func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatus) MarshalToSizedBuffer

func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatus) ProtoMessage

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) Reset

func (m *ContainerStatus) Reset()

func (*ContainerStatus) Size

func (m *ContainerStatus) Size() (n int)

func (*ContainerStatus) String

func (this *ContainerStatus) String() string

func (*ContainerStatus) Unmarshal

func (m *ContainerStatus) Unmarshal(dAtA []byte) error

func (*ContainerStatus) XXX_DiscardUnknown

func (m *ContainerStatus) XXX_DiscardUnknown()

func (*ContainerStatus) XXX_Marshal

func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatus) XXX_Merge

func (m *ContainerStatus) XXX_Merge(src proto.Message)

func (*ContainerStatus) XXX_Size

func (m *ContainerStatus) XXX_Size() int

func (*ContainerStatus) XXX_Unmarshal

func (m *ContainerStatus) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContainerStatusRequest) Descriptor

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

func (*ContainerStatusRequest) GetContainerId

func (m *ContainerStatusRequest) GetContainerId() string

func (*ContainerStatusRequest) GetVerbose

func (m *ContainerStatusRequest) GetVerbose() bool

func (*ContainerStatusRequest) Marshal

func (m *ContainerStatusRequest) Marshal() (dAtA []byte, err error)

func (*ContainerStatusRequest) MarshalTo

func (m *ContainerStatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatusRequest) MarshalToSizedBuffer

func (m *ContainerStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatusRequest) ProtoMessage

func (*ContainerStatusRequest) ProtoMessage()

func (*ContainerStatusRequest) Reset

func (m *ContainerStatusRequest) Reset()

func (*ContainerStatusRequest) Size

func (m *ContainerStatusRequest) Size() (n int)

func (*ContainerStatusRequest) String

func (this *ContainerStatusRequest) String() string

func (*ContainerStatusRequest) Unmarshal

func (m *ContainerStatusRequest) Unmarshal(dAtA []byte) error

func (*ContainerStatusRequest) XXX_DiscardUnknown

func (m *ContainerStatusRequest) XXX_DiscardUnknown()

func (*ContainerStatusRequest) XXX_Marshal

func (m *ContainerStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatusRequest) XXX_Merge

func (m *ContainerStatusRequest) XXX_Merge(src proto.Message)

func (*ContainerStatusRequest) XXX_Size

func (m *ContainerStatusRequest) XXX_Size() int

func (*ContainerStatusRequest) XXX_Unmarshal

func (m *ContainerStatusRequest) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ContainerStatusResponse) Descriptor

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

func (*ContainerStatusResponse) GetInfo

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

func (*ContainerStatusResponse) GetStatus

func (m *ContainerStatusResponse) GetStatus() *ContainerStatus

func (*ContainerStatusResponse) Marshal

func (m *ContainerStatusResponse) Marshal() (dAtA []byte, err error)

func (*ContainerStatusResponse) MarshalTo

func (m *ContainerStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatusResponse) MarshalToSizedBuffer

func (m *ContainerStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatusResponse) ProtoMessage

func (*ContainerStatusResponse) ProtoMessage()

func (*ContainerStatusResponse) Reset

func (m *ContainerStatusResponse) Reset()

func (*ContainerStatusResponse) Size

func (m *ContainerStatusResponse) Size() (n int)

func (*ContainerStatusResponse) String

func (this *ContainerStatusResponse) String() string

func (*ContainerStatusResponse) Unmarshal

func (m *ContainerStatusResponse) Unmarshal(dAtA []byte) error

func (*ContainerStatusResponse) XXX_DiscardUnknown

func (m *ContainerStatusResponse) XXX_DiscardUnknown()

func (*ContainerStatusResponse) XXX_Marshal

func (m *ContainerStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatusResponse) XXX_Merge

func (m *ContainerStatusResponse) XXX_Merge(src proto.Message)

func (*ContainerStatusResponse) XXX_Size

func (m *ContainerStatusResponse) XXX_Size() int

func (*ContainerStatusResponse) XXX_Unmarshal

func (m *ContainerStatusResponse) XXX_Unmarshal(b []byte) error

type ContainerUser added in v0.31.0

type ContainerUser struct {
	// User identities initially attached to first process in the Linux container.
	// Note that the actual running identity can be changed if the process has enough privilege to do so.
	Linux                *LinuxContainerUser `protobuf:"bytes,1,opt,name=linux,proto3" json:"linux,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ContainerUser) Descriptor added in v0.31.0

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

func (*ContainerUser) GetLinux added in v0.31.0

func (m *ContainerUser) GetLinux() *LinuxContainerUser

func (*ContainerUser) Marshal added in v0.31.0

func (m *ContainerUser) Marshal() (dAtA []byte, err error)

func (*ContainerUser) MarshalTo added in v0.31.0

func (m *ContainerUser) MarshalTo(dAtA []byte) (int, error)

func (*ContainerUser) MarshalToSizedBuffer added in v0.31.0

func (m *ContainerUser) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerUser) ProtoMessage added in v0.31.0

func (*ContainerUser) ProtoMessage()

func (*ContainerUser) Reset added in v0.31.0

func (m *ContainerUser) Reset()

func (*ContainerUser) Size added in v0.31.0

func (m *ContainerUser) Size() (n int)

func (*ContainerUser) String added in v0.31.0

func (this *ContainerUser) String() string

func (*ContainerUser) Unmarshal added in v0.31.0

func (m *ContainerUser) Unmarshal(dAtA []byte) error

func (*ContainerUser) XXX_DiscardUnknown added in v0.31.0

func (m *ContainerUser) XXX_DiscardUnknown()

func (*ContainerUser) XXX_Marshal added in v0.31.0

func (m *ContainerUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerUser) XXX_Merge added in v0.31.0

func (m *ContainerUser) XXX_Merge(src proto.Message)

func (*ContainerUser) XXX_Size added in v0.31.0

func (m *ContainerUser) XXX_Size() int

func (*ContainerUser) XXX_Unmarshal added in v0.31.0

func (m *ContainerUser) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

CpuUsage provides the CPU usage information.

func (*CpuUsage) Descriptor

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

func (*CpuUsage) GetTimestamp

func (m *CpuUsage) GetTimestamp() int64

func (*CpuUsage) GetUsageCoreNanoSeconds

func (m *CpuUsage) GetUsageCoreNanoSeconds() *UInt64Value

func (*CpuUsage) GetUsageNanoCores added in v0.23.0

func (m *CpuUsage) GetUsageNanoCores() *UInt64Value

func (*CpuUsage) Marshal

func (m *CpuUsage) Marshal() (dAtA []byte, err error)

func (*CpuUsage) MarshalTo

func (m *CpuUsage) MarshalTo(dAtA []byte) (int, error)

func (*CpuUsage) MarshalToSizedBuffer

func (m *CpuUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CpuUsage) ProtoMessage

func (*CpuUsage) ProtoMessage()

func (*CpuUsage) Reset

func (m *CpuUsage) Reset()

func (*CpuUsage) Size

func (m *CpuUsage) Size() (n int)

func (*CpuUsage) String

func (this *CpuUsage) String() string

func (*CpuUsage) Unmarshal

func (m *CpuUsage) Unmarshal(dAtA []byte) error

func (*CpuUsage) XXX_DiscardUnknown

func (m *CpuUsage) XXX_DiscardUnknown()

func (*CpuUsage) XXX_Marshal

func (m *CpuUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CpuUsage) XXX_Merge

func (m *CpuUsage) XXX_Merge(src proto.Message)

func (*CpuUsage) XXX_Size

func (m *CpuUsage) XXX_Size() int

func (*CpuUsage) XXX_Unmarshal

func (m *CpuUsage) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*CreateContainerRequest) Descriptor

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

func (*CreateContainerRequest) GetConfig

func (m *CreateContainerRequest) GetConfig() *ContainerConfig

func (*CreateContainerRequest) GetPodSandboxId

func (m *CreateContainerRequest) GetPodSandboxId() string

func (*CreateContainerRequest) GetSandboxConfig

func (m *CreateContainerRequest) GetSandboxConfig() *PodSandboxConfig

func (*CreateContainerRequest) Marshal

func (m *CreateContainerRequest) Marshal() (dAtA []byte, err error)

func (*CreateContainerRequest) MarshalTo

func (m *CreateContainerRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateContainerRequest) MarshalToSizedBuffer

func (m *CreateContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateContainerRequest) ProtoMessage

func (*CreateContainerRequest) ProtoMessage()

func (*CreateContainerRequest) Reset

func (m *CreateContainerRequest) Reset()

func (*CreateContainerRequest) Size

func (m *CreateContainerRequest) Size() (n int)

func (*CreateContainerRequest) String

func (this *CreateContainerRequest) String() string

func (*CreateContainerRequest) Unmarshal

func (m *CreateContainerRequest) Unmarshal(dAtA []byte) error

func (*CreateContainerRequest) XXX_DiscardUnknown

func (m *CreateContainerRequest) XXX_DiscardUnknown()

func (*CreateContainerRequest) XXX_Marshal

func (m *CreateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateContainerRequest) XXX_Merge

func (m *CreateContainerRequest) XXX_Merge(src proto.Message)

func (*CreateContainerRequest) XXX_Size

func (m *CreateContainerRequest) XXX_Size() int

func (*CreateContainerRequest) XXX_Unmarshal

func (m *CreateContainerRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateContainerResponse) Descriptor

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

func (*CreateContainerResponse) GetContainerId

func (m *CreateContainerResponse) GetContainerId() string

func (*CreateContainerResponse) Marshal

func (m *CreateContainerResponse) Marshal() (dAtA []byte, err error)

func (*CreateContainerResponse) MarshalTo

func (m *CreateContainerResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateContainerResponse) MarshalToSizedBuffer

func (m *CreateContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateContainerResponse) ProtoMessage

func (*CreateContainerResponse) ProtoMessage()

func (*CreateContainerResponse) Reset

func (m *CreateContainerResponse) Reset()

func (*CreateContainerResponse) Size

func (m *CreateContainerResponse) Size() (n int)

func (*CreateContainerResponse) String

func (this *CreateContainerResponse) String() string

func (*CreateContainerResponse) Unmarshal

func (m *CreateContainerResponse) Unmarshal(dAtA []byte) error

func (*CreateContainerResponse) XXX_DiscardUnknown

func (m *CreateContainerResponse) XXX_DiscardUnknown()

func (*CreateContainerResponse) XXX_Marshal

func (m *CreateContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateContainerResponse) XXX_Merge

func (m *CreateContainerResponse) XXX_Merge(src proto.Message)

func (*CreateContainerResponse) XXX_Size

func (m *CreateContainerResponse) XXX_Size() int

func (*CreateContainerResponse) XXX_Unmarshal

func (m *CreateContainerResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*DNSConfig) Descriptor

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

func (*DNSConfig) GetOptions

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

func (*DNSConfig) GetSearches

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

func (*DNSConfig) GetServers

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

func (*DNSConfig) Marshal

func (m *DNSConfig) Marshal() (dAtA []byte, err error)

func (*DNSConfig) MarshalTo

func (m *DNSConfig) MarshalTo(dAtA []byte) (int, error)

func (*DNSConfig) MarshalToSizedBuffer

func (m *DNSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DNSConfig) ProtoMessage

func (*DNSConfig) ProtoMessage()

func (*DNSConfig) Reset

func (m *DNSConfig) Reset()

func (*DNSConfig) Size

func (m *DNSConfig) Size() (n int)

func (*DNSConfig) String

func (this *DNSConfig) String() string

func (*DNSConfig) Unmarshal

func (m *DNSConfig) Unmarshal(dAtA []byte) error

func (*DNSConfig) XXX_DiscardUnknown

func (m *DNSConfig) XXX_DiscardUnknown()

func (*DNSConfig) XXX_Marshal

func (m *DNSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DNSConfig) XXX_Merge

func (m *DNSConfig) XXX_Merge(src proto.Message)

func (*DNSConfig) XXX_Size

func (m *DNSConfig) XXX_Size() int

func (*DNSConfig) XXX_Unmarshal

func (m *DNSConfig) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Device specifies a host device to mount into a container.

func (*Device) Descriptor

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

func (*Device) GetContainerPath

func (m *Device) GetContainerPath() string

func (*Device) GetHostPath

func (m *Device) GetHostPath() string

func (*Device) GetPermissions

func (m *Device) GetPermissions() string

func (*Device) Marshal

func (m *Device) Marshal() (dAtA []byte, err error)

func (*Device) MarshalTo

func (m *Device) MarshalTo(dAtA []byte) (int, error)

func (*Device) MarshalToSizedBuffer

func (m *Device) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) Reset

func (m *Device) Reset()

func (*Device) Size

func (m *Device) Size() (n int)

func (*Device) String

func (this *Device) String() string

func (*Device) Unmarshal

func (m *Device) Unmarshal(dAtA []byte) error

func (*Device) XXX_DiscardUnknown

func (m *Device) XXX_DiscardUnknown()

func (*Device) XXX_Marshal

func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Device) XXX_Merge

func (m *Device) XXX_Merge(src proto.Message)

func (*Device) XXX_Size

func (m *Device) XXX_Size() int

func (*Device) XXX_Unmarshal

func (m *Device) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecRequest) Descriptor

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

func (*ExecRequest) GetCmd

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

func (*ExecRequest) GetContainerId

func (m *ExecRequest) GetContainerId() string

func (*ExecRequest) GetStderr

func (m *ExecRequest) GetStderr() bool

func (*ExecRequest) GetStdin

func (m *ExecRequest) GetStdin() bool

func (*ExecRequest) GetStdout

func (m *ExecRequest) GetStdout() bool

func (*ExecRequest) GetTty

func (m *ExecRequest) GetTty() bool

func (*ExecRequest) Marshal

func (m *ExecRequest) Marshal() (dAtA []byte, err error)

func (*ExecRequest) MarshalTo

func (m *ExecRequest) MarshalTo(dAtA []byte) (int, error)

func (*ExecRequest) MarshalToSizedBuffer

func (m *ExecRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecRequest) ProtoMessage

func (*ExecRequest) ProtoMessage()

func (*ExecRequest) Reset

func (m *ExecRequest) Reset()

func (*ExecRequest) Size

func (m *ExecRequest) Size() (n int)

func (*ExecRequest) String

func (this *ExecRequest) String() string

func (*ExecRequest) Unmarshal

func (m *ExecRequest) Unmarshal(dAtA []byte) error

func (*ExecRequest) XXX_DiscardUnknown

func (m *ExecRequest) XXX_DiscardUnknown()

func (*ExecRequest) XXX_Marshal

func (m *ExecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecRequest) XXX_Merge

func (m *ExecRequest) XXX_Merge(src proto.Message)

func (*ExecRequest) XXX_Size

func (m *ExecRequest) XXX_Size() int

func (*ExecRequest) XXX_Unmarshal

func (m *ExecRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecResponse) Descriptor

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

func (*ExecResponse) GetUrl

func (m *ExecResponse) GetUrl() string

func (*ExecResponse) Marshal

func (m *ExecResponse) Marshal() (dAtA []byte, err error)

func (*ExecResponse) MarshalTo

func (m *ExecResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExecResponse) MarshalToSizedBuffer

func (m *ExecResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecResponse) ProtoMessage

func (*ExecResponse) ProtoMessage()

func (*ExecResponse) Reset

func (m *ExecResponse) Reset()

func (*ExecResponse) Size

func (m *ExecResponse) Size() (n int)

func (*ExecResponse) String

func (this *ExecResponse) String() string

func (*ExecResponse) Unmarshal

func (m *ExecResponse) Unmarshal(dAtA []byte) error

func (*ExecResponse) XXX_DiscardUnknown

func (m *ExecResponse) XXX_DiscardUnknown()

func (*ExecResponse) XXX_Marshal

func (m *ExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecResponse) XXX_Merge

func (m *ExecResponse) XXX_Merge(src proto.Message)

func (*ExecResponse) XXX_Size

func (m *ExecResponse) XXX_Size() int

func (*ExecResponse) XXX_Unmarshal

func (m *ExecResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecSyncRequest) Descriptor

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

func (*ExecSyncRequest) GetCmd

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

func (*ExecSyncRequest) GetContainerId

func (m *ExecSyncRequest) GetContainerId() string

func (*ExecSyncRequest) GetTimeout

func (m *ExecSyncRequest) GetTimeout() int64

func (*ExecSyncRequest) Marshal

func (m *ExecSyncRequest) Marshal() (dAtA []byte, err error)

func (*ExecSyncRequest) MarshalTo

func (m *ExecSyncRequest) MarshalTo(dAtA []byte) (int, error)

func (*ExecSyncRequest) MarshalToSizedBuffer

func (m *ExecSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecSyncRequest) ProtoMessage

func (*ExecSyncRequest) ProtoMessage()

func (*ExecSyncRequest) Reset

func (m *ExecSyncRequest) Reset()

func (*ExecSyncRequest) Size

func (m *ExecSyncRequest) Size() (n int)

func (*ExecSyncRequest) String

func (this *ExecSyncRequest) String() string

func (*ExecSyncRequest) Unmarshal

func (m *ExecSyncRequest) Unmarshal(dAtA []byte) error

func (*ExecSyncRequest) XXX_DiscardUnknown

func (m *ExecSyncRequest) XXX_DiscardUnknown()

func (*ExecSyncRequest) XXX_Marshal

func (m *ExecSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecSyncRequest) XXX_Merge

func (m *ExecSyncRequest) XXX_Merge(src proto.Message)

func (*ExecSyncRequest) XXX_Size

func (m *ExecSyncRequest) XXX_Size() int

func (*ExecSyncRequest) XXX_Unmarshal

func (m *ExecSyncRequest) XXX_Unmarshal(b []byte) error

type ExecSyncResponse

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

func (*ExecSyncResponse) Descriptor

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

func (*ExecSyncResponse) GetExitCode

func (m *ExecSyncResponse) GetExitCode() int32

func (*ExecSyncResponse) GetStderr

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

func (*ExecSyncResponse) GetStdout

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

func (*ExecSyncResponse) Marshal

func (m *ExecSyncResponse) Marshal() (dAtA []byte, err error)

func (*ExecSyncResponse) MarshalTo

func (m *ExecSyncResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExecSyncResponse) MarshalToSizedBuffer

func (m *ExecSyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecSyncResponse) ProtoMessage

func (*ExecSyncResponse) ProtoMessage()

func (*ExecSyncResponse) Reset

func (m *ExecSyncResponse) Reset()

func (*ExecSyncResponse) Size

func (m *ExecSyncResponse) Size() (n int)

func (*ExecSyncResponse) String

func (this *ExecSyncResponse) String() string

func (*ExecSyncResponse) Unmarshal

func (m *ExecSyncResponse) Unmarshal(dAtA []byte) error

func (*ExecSyncResponse) XXX_DiscardUnknown

func (m *ExecSyncResponse) XXX_DiscardUnknown()

func (*ExecSyncResponse) XXX_Marshal

func (m *ExecSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecSyncResponse) XXX_Merge

func (m *ExecSyncResponse) XXX_Merge(src proto.Message)

func (*ExecSyncResponse) XXX_Size

func (m *ExecSyncResponse) XXX_Size() int

func (*ExecSyncResponse) XXX_Unmarshal

func (m *ExecSyncResponse) XXX_Unmarshal(b []byte) error

type FilesystemIdentifier

type FilesystemIdentifier struct {
	// Mountpoint of a filesystem.
	Mountpoint           string   `protobuf:"bytes,1,opt,name=mountpoint,proto3" json:"mountpoint,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

FilesystemIdentifier uniquely identify the filesystem.

func (*FilesystemIdentifier) Descriptor

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

func (*FilesystemIdentifier) GetMountpoint

func (m *FilesystemIdentifier) GetMountpoint() string

func (*FilesystemIdentifier) Marshal

func (m *FilesystemIdentifier) Marshal() (dAtA []byte, err error)

func (*FilesystemIdentifier) MarshalTo

func (m *FilesystemIdentifier) MarshalTo(dAtA []byte) (int, error)

func (*FilesystemIdentifier) MarshalToSizedBuffer

func (m *FilesystemIdentifier) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FilesystemIdentifier) ProtoMessage

func (*FilesystemIdentifier) ProtoMessage()

func (*FilesystemIdentifier) Reset

func (m *FilesystemIdentifier) Reset()

func (*FilesystemIdentifier) Size

func (m *FilesystemIdentifier) Size() (n int)

func (*FilesystemIdentifier) String

func (this *FilesystemIdentifier) String() string

func (*FilesystemIdentifier) Unmarshal

func (m *FilesystemIdentifier) Unmarshal(dAtA []byte) error

func (*FilesystemIdentifier) XXX_DiscardUnknown

func (m *FilesystemIdentifier) XXX_DiscardUnknown()

func (*FilesystemIdentifier) XXX_Marshal

func (m *FilesystemIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilesystemIdentifier) XXX_Merge

func (m *FilesystemIdentifier) XXX_Merge(src proto.Message)

func (*FilesystemIdentifier) XXX_Size

func (m *FilesystemIdentifier) XXX_Size() int

func (*FilesystemIdentifier) XXX_Unmarshal

func (m *FilesystemIdentifier) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

FilesystemUsage provides the filesystem usage information.

func (*FilesystemUsage) Descriptor

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

func (*FilesystemUsage) GetFsId

func (m *FilesystemUsage) GetFsId() *FilesystemIdentifier

func (*FilesystemUsage) GetInodesUsed

func (m *FilesystemUsage) GetInodesUsed() *UInt64Value

func (*FilesystemUsage) GetTimestamp

func (m *FilesystemUsage) GetTimestamp() int64

func (*FilesystemUsage) GetUsedBytes

func (m *FilesystemUsage) GetUsedBytes() *UInt64Value

func (*FilesystemUsage) Marshal

func (m *FilesystemUsage) Marshal() (dAtA []byte, err error)

func (*FilesystemUsage) MarshalTo

func (m *FilesystemUsage) MarshalTo(dAtA []byte) (int, error)

func (*FilesystemUsage) MarshalToSizedBuffer

func (m *FilesystemUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FilesystemUsage) ProtoMessage

func (*FilesystemUsage) ProtoMessage()

func (*FilesystemUsage) Reset

func (m *FilesystemUsage) Reset()

func (*FilesystemUsage) Size

func (m *FilesystemUsage) Size() (n int)

func (*FilesystemUsage) String

func (this *FilesystemUsage) String() string

func (*FilesystemUsage) Unmarshal

func (m *FilesystemUsage) Unmarshal(dAtA []byte) error

func (*FilesystemUsage) XXX_DiscardUnknown

func (m *FilesystemUsage) XXX_DiscardUnknown()

func (*FilesystemUsage) XXX_Marshal

func (m *FilesystemUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilesystemUsage) XXX_Merge

func (m *FilesystemUsage) XXX_Merge(src proto.Message)

func (*FilesystemUsage) XXX_Size

func (m *FilesystemUsage) XXX_Size() int

func (*FilesystemUsage) XXX_Unmarshal

func (m *FilesystemUsage) XXX_Unmarshal(b []byte) error

type GetEventsRequest added in v0.25.0

type GetEventsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetEventsRequest) Descriptor added in v0.25.0

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

func (*GetEventsRequest) Marshal added in v0.25.0

func (m *GetEventsRequest) Marshal() (dAtA []byte, err error)

func (*GetEventsRequest) MarshalTo added in v0.25.0

func (m *GetEventsRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetEventsRequest) MarshalToSizedBuffer added in v0.25.0

func (m *GetEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetEventsRequest) ProtoMessage added in v0.25.0

func (*GetEventsRequest) ProtoMessage()

func (*GetEventsRequest) Reset added in v0.25.0

func (m *GetEventsRequest) Reset()

func (*GetEventsRequest) Size added in v0.25.0

func (m *GetEventsRequest) Size() (n int)

func (*GetEventsRequest) String added in v0.25.0

func (this *GetEventsRequest) String() string

func (*GetEventsRequest) Unmarshal added in v0.25.0

func (m *GetEventsRequest) Unmarshal(dAtA []byte) error

func (*GetEventsRequest) XXX_DiscardUnknown added in v0.25.0

func (m *GetEventsRequest) XXX_DiscardUnknown()

func (*GetEventsRequest) XXX_Marshal added in v0.25.0

func (m *GetEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetEventsRequest) XXX_Merge added in v0.25.0

func (m *GetEventsRequest) XXX_Merge(src proto.Message)

func (*GetEventsRequest) XXX_Size added in v0.25.0

func (m *GetEventsRequest) XXX_Size() int

func (*GetEventsRequest) XXX_Unmarshal added in v0.25.0

func (m *GetEventsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*HugepageLimit) GetLimit

func (m *HugepageLimit) GetLimit() uint64

func (*HugepageLimit) GetPageSize

func (m *HugepageLimit) GetPageSize() string

func (*HugepageLimit) Marshal

func (m *HugepageLimit) Marshal() (dAtA []byte, err error)

func (*HugepageLimit) MarshalTo

func (m *HugepageLimit) MarshalTo(dAtA []byte) (int, error)

func (*HugepageLimit) MarshalToSizedBuffer

func (m *HugepageLimit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HugepageLimit) ProtoMessage

func (*HugepageLimit) ProtoMessage()

func (*HugepageLimit) Reset

func (m *HugepageLimit) Reset()

func (*HugepageLimit) Size

func (m *HugepageLimit) Size() (n int)

func (*HugepageLimit) String

func (this *HugepageLimit) String() string

func (*HugepageLimit) Unmarshal

func (m *HugepageLimit) Unmarshal(dAtA []byte) error

func (*HugepageLimit) XXX_DiscardUnknown

func (m *HugepageLimit) XXX_DiscardUnknown()

func (*HugepageLimit) XXX_Marshal

func (m *HugepageLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HugepageLimit) XXX_Merge

func (m *HugepageLimit) XXX_Merge(src proto.Message)

func (*HugepageLimit) XXX_Size

func (m *HugepageLimit) XXX_Size() int

func (*HugepageLimit) XXX_Unmarshal

func (m *HugepageLimit) XXX_Unmarshal(b []byte) error

type IDMapping added in v0.25.0

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*IDMapping) Descriptor added in v0.25.0

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

func (*IDMapping) GetContainerId added in v0.25.0

func (m *IDMapping) GetContainerId() uint32

func (*IDMapping) GetHostId added in v0.25.0

func (m *IDMapping) GetHostId() uint32

func (*IDMapping) GetLength added in v0.25.0

func (m *IDMapping) GetLength() uint32

func (*IDMapping) Marshal added in v0.25.0

func (m *IDMapping) Marshal() (dAtA []byte, err error)

func (*IDMapping) MarshalTo added in v0.25.0

func (m *IDMapping) MarshalTo(dAtA []byte) (int, error)

func (*IDMapping) MarshalToSizedBuffer added in v0.25.0

func (m *IDMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IDMapping) ProtoMessage added in v0.25.0

func (*IDMapping) ProtoMessage()

func (*IDMapping) Reset added in v0.25.0

func (m *IDMapping) Reset()

func (*IDMapping) Size added in v0.25.0

func (m *IDMapping) Size() (n int)

func (*IDMapping) String added in v0.25.0

func (this *IDMapping) String() string

func (*IDMapping) Unmarshal added in v0.25.0

func (m *IDMapping) Unmarshal(dAtA []byte) error

func (*IDMapping) XXX_DiscardUnknown added in v0.25.0

func (m *IDMapping) XXX_DiscardUnknown()

func (*IDMapping) XXX_Marshal added in v0.25.0

func (m *IDMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IDMapping) XXX_Merge added in v0.25.0

func (m *IDMapping) XXX_Merge(src proto.Message)

func (*IDMapping) XXX_Size added in v0.25.0

func (m *IDMapping) XXX_Size() int

func (*IDMapping) XXX_Unmarshal added in v0.25.0

func (m *IDMapping) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Basic information about a container image.

func (*Image) Descriptor

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

func (*Image) GetId

func (m *Image) GetId() string

func (*Image) GetPinned added in v0.23.0

func (m *Image) GetPinned() bool

func (*Image) GetRepoDigests

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

func (*Image) GetRepoTags

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

func (*Image) GetSize_

func (m *Image) GetSize_() uint64

func (*Image) GetSpec

func (m *Image) GetSpec() *ImageSpec

func (*Image) GetUid

func (m *Image) GetUid() *Int64Value

func (*Image) GetUsername

func (m *Image) GetUsername() string

func (*Image) Marshal

func (m *Image) Marshal() (dAtA []byte, err error)

func (*Image) MarshalTo

func (m *Image) MarshalTo(dAtA []byte) (int, error)

func (*Image) MarshalToSizedBuffer

func (m *Image) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) Size

func (m *Image) Size() (n int)

func (*Image) String

func (this *Image) String() string

func (*Image) Unmarshal

func (m *Image) Unmarshal(dAtA []byte) error

func (*Image) XXX_DiscardUnknown

func (m *Image) XXX_DiscardUnknown()

func (*Image) XXX_Marshal

func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Image) XXX_Merge

func (m *Image) XXX_Merge(src proto.Message)

func (*Image) XXX_Size

func (m *Image) XXX_Size() int

func (*Image) XXX_Unmarshal

func (m *Image) XXX_Unmarshal(b []byte) error

type ImageFilter

type ImageFilter struct {
	// Spec of the image.
	Image                *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ImageFilter) Descriptor

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

func (*ImageFilter) GetImage

func (m *ImageFilter) GetImage() *ImageSpec

func (*ImageFilter) Marshal

func (m *ImageFilter) Marshal() (dAtA []byte, err error)

func (*ImageFilter) MarshalTo

func (m *ImageFilter) MarshalTo(dAtA []byte) (int, error)

func (*ImageFilter) MarshalToSizedBuffer

func (m *ImageFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageFilter) ProtoMessage

func (*ImageFilter) ProtoMessage()

func (*ImageFilter) Reset

func (m *ImageFilter) Reset()

func (*ImageFilter) Size

func (m *ImageFilter) Size() (n int)

func (*ImageFilter) String

func (this *ImageFilter) String() string

func (*ImageFilter) Unmarshal

func (m *ImageFilter) Unmarshal(dAtA []byte) error

func (*ImageFilter) XXX_DiscardUnknown

func (m *ImageFilter) XXX_DiscardUnknown()

func (*ImageFilter) XXX_Marshal

func (m *ImageFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageFilter) XXX_Merge

func (m *ImageFilter) XXX_Merge(src proto.Message)

func (*ImageFilter) XXX_Size

func (m *ImageFilter) XXX_Size() int

func (*ImageFilter) XXX_Unmarshal

func (m *ImageFilter) XXX_Unmarshal(b []byte) error

type ImageFsInfoRequest

type ImageFsInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImageFsInfoRequest) Descriptor

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

func (*ImageFsInfoRequest) Marshal

func (m *ImageFsInfoRequest) Marshal() (dAtA []byte, err error)

func (*ImageFsInfoRequest) MarshalTo

func (m *ImageFsInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*ImageFsInfoRequest) MarshalToSizedBuffer

func (m *ImageFsInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageFsInfoRequest) ProtoMessage

func (*ImageFsInfoRequest) ProtoMessage()

func (*ImageFsInfoRequest) Reset

func (m *ImageFsInfoRequest) Reset()

func (*ImageFsInfoRequest) Size

func (m *ImageFsInfoRequest) Size() (n int)

func (*ImageFsInfoRequest) String

func (this *ImageFsInfoRequest) String() string

func (*ImageFsInfoRequest) Unmarshal

func (m *ImageFsInfoRequest) Unmarshal(dAtA []byte) error

func (*ImageFsInfoRequest) XXX_DiscardUnknown

func (m *ImageFsInfoRequest) XXX_DiscardUnknown()

func (*ImageFsInfoRequest) XXX_Marshal

func (m *ImageFsInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageFsInfoRequest) XXX_Merge

func (m *ImageFsInfoRequest) XXX_Merge(src proto.Message)

func (*ImageFsInfoRequest) XXX_Size

func (m *ImageFsInfoRequest) XXX_Size() int

func (*ImageFsInfoRequest) XXX_Unmarshal

func (m *ImageFsInfoRequest) XXX_Unmarshal(b []byte) error

type ImageFsInfoResponse

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

func (*ImageFsInfoResponse) Descriptor

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

func (*ImageFsInfoResponse) GetContainerFilesystems added in v0.29.0

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

func (*ImageFsInfoResponse) GetImageFilesystems

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

func (*ImageFsInfoResponse) Marshal

func (m *ImageFsInfoResponse) Marshal() (dAtA []byte, err error)

func (*ImageFsInfoResponse) MarshalTo

func (m *ImageFsInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*ImageFsInfoResponse) MarshalToSizedBuffer

func (m *ImageFsInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageFsInfoResponse) ProtoMessage

func (*ImageFsInfoResponse) ProtoMessage()

func (*ImageFsInfoResponse) Reset

func (m *ImageFsInfoResponse) Reset()

func (*ImageFsInfoResponse) Size

func (m *ImageFsInfoResponse) Size() (n int)

func (*ImageFsInfoResponse) String

func (this *ImageFsInfoResponse) String() string

func (*ImageFsInfoResponse) Unmarshal

func (m *ImageFsInfoResponse) Unmarshal(dAtA []byte) error

func (*ImageFsInfoResponse) XXX_DiscardUnknown

func (m *ImageFsInfoResponse) XXX_DiscardUnknown()

func (*ImageFsInfoResponse) XXX_Marshal

func (m *ImageFsInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageFsInfoResponse) XXX_Merge

func (m *ImageFsInfoResponse) XXX_Merge(src proto.Message)

func (*ImageFsInfoResponse) XXX_Size

func (m *ImageFsInfoResponse) XXX_Size() int

func (*ImageFsInfoResponse) XXX_Unmarshal

func (m *ImageFsInfoResponse) XXX_Unmarshal(b []byte) error

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewImageServiceClient

func NewImageServiceClient(cc *grpc.ClientConn) ImageServiceClient

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

ImageServiceServer is the server API for ImageService service.

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 */
	// The container image reference specified by the user (e.g. image[:tag] or digest).
	// Only set if available within the RPC context.
	UserSpecifiedImage string `protobuf:"bytes,18,opt,name=user_specified_image,json=userSpecifiedImage,proto3" json:"user_specified_image,omitempty"`
	// Runtime handler to use for pulling the image.
	// If the runtime handler is unknown, the request should be rejected.
	// An empty string would select the default runtime handler.
	RuntimeHandler       string   `protobuf:"bytes,19,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ImageSpec is an internal representation of an image.

func (*ImageSpec) Descriptor

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

func (*ImageSpec) GetAnnotations

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

func (*ImageSpec) GetImage

func (m *ImageSpec) GetImage() string

func (*ImageSpec) GetRuntimeHandler added in v0.29.0

func (m *ImageSpec) GetRuntimeHandler() string

func (*ImageSpec) GetUserSpecifiedImage added in v0.28.0

func (m *ImageSpec) GetUserSpecifiedImage() string

func (*ImageSpec) Marshal

func (m *ImageSpec) Marshal() (dAtA []byte, err error)

func (*ImageSpec) MarshalTo

func (m *ImageSpec) MarshalTo(dAtA []byte) (int, error)

func (*ImageSpec) MarshalToSizedBuffer

func (m *ImageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageSpec) ProtoMessage

func (*ImageSpec) ProtoMessage()

func (*ImageSpec) Reset

func (m *ImageSpec) Reset()

func (*ImageSpec) Size

func (m *ImageSpec) Size() (n int)

func (*ImageSpec) String

func (this *ImageSpec) String() string

func (*ImageSpec) Unmarshal

func (m *ImageSpec) Unmarshal(dAtA []byte) error

func (*ImageSpec) XXX_DiscardUnknown

func (m *ImageSpec) XXX_DiscardUnknown()

func (*ImageSpec) XXX_Marshal

func (m *ImageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageSpec) XXX_Merge

func (m *ImageSpec) XXX_Merge(src proto.Message)

func (*ImageSpec) XXX_Size

func (m *ImageSpec) XXX_Size() int

func (*ImageSpec) XXX_Unmarshal

func (m *ImageSpec) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImageStatusRequest) Descriptor

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

func (*ImageStatusRequest) GetImage

func (m *ImageStatusRequest) GetImage() *ImageSpec

func (*ImageStatusRequest) GetVerbose

func (m *ImageStatusRequest) GetVerbose() bool

func (*ImageStatusRequest) Marshal

func (m *ImageStatusRequest) Marshal() (dAtA []byte, err error)

func (*ImageStatusRequest) MarshalTo

func (m *ImageStatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*ImageStatusRequest) MarshalToSizedBuffer

func (m *ImageStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageStatusRequest) ProtoMessage

func (*ImageStatusRequest) ProtoMessage()

func (*ImageStatusRequest) Reset

func (m *ImageStatusRequest) Reset()

func (*ImageStatusRequest) Size

func (m *ImageStatusRequest) Size() (n int)

func (*ImageStatusRequest) String

func (this *ImageStatusRequest) String() string

func (*ImageStatusRequest) Unmarshal

func (m *ImageStatusRequest) Unmarshal(dAtA []byte) error

func (*ImageStatusRequest) XXX_DiscardUnknown

func (m *ImageStatusRequest) XXX_DiscardUnknown()

func (*ImageStatusRequest) XXX_Marshal

func (m *ImageStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageStatusRequest) XXX_Merge

func (m *ImageStatusRequest) XXX_Merge(src proto.Message)

func (*ImageStatusRequest) XXX_Size

func (m *ImageStatusRequest) XXX_Size() int

func (*ImageStatusRequest) XXX_Unmarshal

func (m *ImageStatusRequest) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ImageStatusResponse) Descriptor

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

func (*ImageStatusResponse) GetImage

func (m *ImageStatusResponse) GetImage() *Image

func (*ImageStatusResponse) GetInfo

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

func (*ImageStatusResponse) Marshal

func (m *ImageStatusResponse) Marshal() (dAtA []byte, err error)

func (*ImageStatusResponse) MarshalTo

func (m *ImageStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*ImageStatusResponse) MarshalToSizedBuffer

func (m *ImageStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageStatusResponse) ProtoMessage

func (*ImageStatusResponse) ProtoMessage()

func (*ImageStatusResponse) Reset

func (m *ImageStatusResponse) Reset()

func (*ImageStatusResponse) Size

func (m *ImageStatusResponse) Size() (n int)

func (*ImageStatusResponse) String

func (this *ImageStatusResponse) String() string

func (*ImageStatusResponse) Unmarshal

func (m *ImageStatusResponse) Unmarshal(dAtA []byte) error

func (*ImageStatusResponse) XXX_DiscardUnknown

func (m *ImageStatusResponse) XXX_DiscardUnknown()

func (*ImageStatusResponse) XXX_Marshal

func (m *ImageStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageStatusResponse) XXX_Merge

func (m *ImageStatusResponse) XXX_Merge(src proto.Message)

func (*ImageStatusResponse) XXX_Size

func (m *ImageStatusResponse) XXX_Size() int

func (*ImageStatusResponse) XXX_Unmarshal

func (m *ImageStatusResponse) XXX_Unmarshal(b []byte) error

type Int64Value

type Int64Value struct {
	// The value.
	Value                int64    `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Int64Value is the wrapper of int64.

func (*Int64Value) Descriptor

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

func (*Int64Value) GetValue

func (m *Int64Value) GetValue() int64

func (*Int64Value) Marshal

func (m *Int64Value) Marshal() (dAtA []byte, err error)

func (*Int64Value) MarshalTo

func (m *Int64Value) MarshalTo(dAtA []byte) (int, error)

func (*Int64Value) MarshalToSizedBuffer

func (m *Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Int64Value) ProtoMessage

func (*Int64Value) ProtoMessage()

func (*Int64Value) Reset

func (m *Int64Value) Reset()

func (*Int64Value) Size

func (m *Int64Value) Size() (n int)

func (*Int64Value) String

func (this *Int64Value) String() string

func (*Int64Value) Unmarshal

func (m *Int64Value) Unmarshal(dAtA []byte) error

func (*Int64Value) XXX_DiscardUnknown

func (m *Int64Value) XXX_DiscardUnknown()

func (*Int64Value) XXX_Marshal

func (m *Int64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Int64Value) XXX_Merge

func (m *Int64Value) XXX_Merge(src proto.Message)

func (*Int64Value) XXX_Size

func (m *Int64Value) XXX_Size() int

func (*Int64Value) XXX_Unmarshal

func (m *Int64Value) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyValue) Descriptor

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

func (*KeyValue) GetKey

func (m *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (m *KeyValue) GetValue() string

func (*KeyValue) Marshal

func (m *KeyValue) Marshal() (dAtA []byte, err error)

func (*KeyValue) MarshalTo

func (m *KeyValue) MarshalTo(dAtA []byte) (int, error)

func (*KeyValue) MarshalToSizedBuffer

func (m *KeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset

func (m *KeyValue) Reset()

func (*KeyValue) Size

func (m *KeyValue) Size() (n int)

func (*KeyValue) String

func (this *KeyValue) String() string

func (*KeyValue) Unmarshal

func (m *KeyValue) Unmarshal(dAtA []byte) error

func (*KeyValue) XXX_DiscardUnknown

func (m *KeyValue) XXX_DiscardUnknown()

func (*KeyValue) XXX_Marshal

func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyValue) XXX_Merge

func (m *KeyValue) XXX_Merge(src proto.Message)

func (*KeyValue) XXX_Size

func (m *KeyValue) XXX_Size() int

func (*KeyValue) XXX_Unmarshal

func (m *KeyValue) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

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

func (*LinuxContainerConfig) Descriptor

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

func (*LinuxContainerConfig) GetResources

func (m *LinuxContainerConfig) GetResources() *LinuxContainerResources

func (*LinuxContainerConfig) GetSecurityContext

func (m *LinuxContainerConfig) GetSecurityContext() *LinuxContainerSecurityContext

func (*LinuxContainerConfig) Marshal

func (m *LinuxContainerConfig) Marshal() (dAtA []byte, err error)

func (*LinuxContainerConfig) MarshalTo

func (m *LinuxContainerConfig) MarshalTo(dAtA []byte) (int, error)

func (*LinuxContainerConfig) MarshalToSizedBuffer

func (m *LinuxContainerConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinuxContainerConfig) ProtoMessage

func (*LinuxContainerConfig) ProtoMessage()

func (*LinuxContainerConfig) Reset

func (m *LinuxContainerConfig) Reset()

func (*LinuxContainerConfig) Size

func (m *LinuxContainerConfig) Size() (n int)

func (*LinuxContainerConfig) String

func (this *LinuxContainerConfig) String() string

func (*LinuxContainerConfig) Unmarshal

func (m *LinuxContainerConfig) Unmarshal(dAtA []byte) error

func (*LinuxContainerConfig) XXX_DiscardUnknown

func (m *LinuxContainerConfig) XXX_DiscardUnknown()

func (*LinuxContainerConfig) XXX_Marshal

func (m *LinuxContainerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinuxContainerConfig) XXX_Merge

func (m *LinuxContainerConfig) XXX_Merge(src proto.Message)

func (*LinuxContainerConfig) XXX_Size

func (m *LinuxContainerConfig) XXX_Size() int

func (*LinuxContainerConfig) XXX_Unmarshal

func (m *LinuxContainerConfig) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

LinuxContainerResources specifies Linux specific configuration for resources.

func (*LinuxContainerResources) Descriptor

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

func (*LinuxContainerResources) GetCpuPeriod

func (m *LinuxContainerResources) GetCpuPeriod() int64

func (*LinuxContainerResources) GetCpuQuota

func (m *LinuxContainerResources) GetCpuQuota() int64

func (*LinuxContainerResources) GetCpuShares

func (m *LinuxContainerResources) GetCpuShares() int64

func (*LinuxContainerResources) GetCpusetCpus

func (m *LinuxContainerResources) GetCpusetCpus() string

func (*LinuxContainerResources) GetCpusetMems

func (m *LinuxContainerResources) GetCpusetMems() string

func (*LinuxContainerResources) GetHugepageLimits

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

func (*LinuxContainerResources) GetMemoryLimitInBytes

func (m *LinuxContainerResources) GetMemoryLimitInBytes() int64

func (*LinuxContainerResources) GetMemorySwapLimitInBytes added in v0.22.0

func (m *LinuxContainerResources) GetMemorySwapLimitInBytes() int64

func (*LinuxContainerResources) GetOomScoreAdj

func (m *LinuxContainerResources) GetOomScoreAdj() int64

func (*LinuxContainerResources) GetUnified added in v0.22.0

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

func (*LinuxContainerResources) Marshal

func (m *LinuxContainerResources) Marshal() (dAtA []byte, err error)

func (*LinuxContainerResources) MarshalTo

func (m *LinuxContainerResources) MarshalTo(dAtA []byte) (int, error)

func (*LinuxContainerResources) MarshalToSizedBuffer

func (m *LinuxContainerResources) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinuxContainerResources) ProtoMessage

func (*LinuxContainerResources) ProtoMessage()

func (*LinuxContainerResources) Reset

func (m *LinuxContainerResources) Reset()

func (*LinuxContainerResources) Size

func (m *LinuxContainerResources) Size() (n int)

func (*LinuxContainerResources) String

func (this *LinuxContainerResources) String() string

func (*LinuxContainerResources) Unmarshal

func (m *LinuxContainerResources) Unmarshal(dAtA []byte) error

func (*LinuxContainerResources) XXX_DiscardUnknown

func (m *LinuxContainerResources) XXX_DiscardUnknown()

func (*LinuxContainerResources) XXX_Marshal

func (m *LinuxContainerResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinuxContainerResources) XXX_Merge

func (m *LinuxContainerResources) XXX_Merge(src proto.Message)

func (*LinuxContainerResources) XXX_Size

func (m *LinuxContainerResources) XXX_Size() int

func (*LinuxContainerResources) XXX_Unmarshal

func (m *LinuxContainerResources) XXX_Unmarshal(b []byte) error

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 each container.
	// supplemental_groups_policy can control how groups will be calculated.
	SupplementalGroups []int64 `protobuf:"varint,8,rep,packed,name=supplemental_groups,json=supplementalGroups,proto3" json:"supplemental_groups,omitempty"`
	// supplemental_groups_policy defines how supplemental groups of the first
	// container processes are calculated.
	// Valid values are "Merge" and "Strict".
	// If not specified, "Merge" is used.
	SupplementalGroupsPolicy SupplementalGroupsPolicy `` /* 178-byte string literal not displayed */
	// 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
	ApparmorProfile string `protobuf:"bytes,9,opt,name=apparmor_profile,json=apparmorProfile,proto3" json:"apparmor_profile,omitempty"` // Deprecated: Do not use.
	// 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.
	SeccompProfilePath   string   `protobuf:"bytes,10,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"` // Deprecated: Do not use.
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*LinuxContainerSecurityContext) Descriptor

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

func (*LinuxContainerSecurityContext) GetApparmor

func (*LinuxContainerSecurityContext) GetApparmorProfile deprecated

func (m *LinuxContainerSecurityContext) GetApparmorProfile() string

Deprecated: Do not use.

func (*LinuxContainerSecurityContext) GetCapabilities

func (m *LinuxContainerSecurityContext) GetCapabilities() *Capability

func (*LinuxContainerSecurityContext) GetMaskedPaths

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

func (*LinuxContainerSecurityContext) GetNamespaceOptions

func (m *LinuxContainerSecurityContext) GetNamespaceOptions() *NamespaceOption

func (*LinuxContainerSecurityContext) GetNoNewPrivs

func (m *LinuxContainerSecurityContext) GetNoNewPrivs() bool

func (*LinuxContainerSecurityContext) GetPrivileged

func (m *LinuxContainerSecurityContext) GetPrivileged() bool

func (*LinuxContainerSecurityContext) GetReadonlyPaths

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

func (*LinuxContainerSecurityContext) GetReadonlyRootfs

func (m *LinuxContainerSecurityContext) GetReadonlyRootfs() bool

func (*LinuxContainerSecurityContext) GetRunAsGroup

func (m *LinuxContainerSecurityContext) GetRunAsGroup() *Int64Value

func (*LinuxContainerSecurityContext) GetRunAsUser

func (m *LinuxContainerSecurityContext) GetRunAsUser() *Int64Value

func (*LinuxContainerSecurityContext) GetRunAsUsername

func (m *LinuxContainerSecurityContext) GetRunAsUsername() string

func (*LinuxContainerSecurityContext) GetSeccomp

func (*LinuxContainerSecurityContext) GetSeccompProfilePath deprecated

func (m *LinuxContainerSecurityContext) GetSeccompProfilePath() string

Deprecated: Do not use.

func (*LinuxContainerSecurityContext) GetSelinuxOptions

func (m *LinuxContainerSecurityContext) GetSelinuxOptions() *SELinuxOption

func (*LinuxContainerSecurityContext) GetSupplementalGroups

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

func (*LinuxContainerSecurityContext) GetSupplementalGroupsPolicy added in v0.31.0

func (m *LinuxContainerSecurityContext) GetSupplementalGroupsPolicy() SupplementalGroupsPolicy

func (*LinuxContainerSecurityContext) Marshal

func (m *LinuxContainerSecurityContext) Marshal() (dAtA []byte, err error)

func (*LinuxContainerSecurityContext) MarshalTo

func (m *LinuxContainerSecurityContext) MarshalTo(dAtA []byte) (int, error)

func (*LinuxContainerSecurityContext) MarshalToSizedBuffer

func (m *LinuxContainerSecurityContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinuxContainerSecurityContext) ProtoMessage

func (*LinuxContainerSecurityContext) ProtoMessage()

func (*LinuxContainerSecurityContext) Reset

func (m *LinuxContainerSecurityContext) Reset()

func (*LinuxContainerSecurityContext) Size

func (m *LinuxContainerSecurityContext) Size() (n int)

func (*LinuxContainerSecurityContext) String

func (this *LinuxContainerSecurityContext) String() string

func (*LinuxContainerSecurityContext) Unmarshal

func (m *LinuxContainerSecurityContext) Unmarshal(dAtA []byte) error

func (*LinuxContainerSecurityContext) XXX_DiscardUnknown

func (m *LinuxContainerSecurityContext) XXX_DiscardUnknown()

func (*LinuxContainerSecurityContext) XXX_Marshal

func (m *LinuxContainerSecurityContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinuxContainerSecurityContext) XXX_Merge

func (m *LinuxContainerSecurityContext) XXX_Merge(src proto.Message)

func (*LinuxContainerSecurityContext) XXX_Size

func (m *LinuxContainerSecurityContext) XXX_Size() int

func (*LinuxContainerSecurityContext) XXX_Unmarshal

func (m *LinuxContainerSecurityContext) XXX_Unmarshal(b []byte) error

type LinuxContainerUser added in v0.31.0

type LinuxContainerUser struct {
	// uid is the primary uid initially attached to the first process in the container
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// gid is the primary gid initially attached to the first process in the container
	Gid int64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`
	// supplemental_groups are the supplemental groups initially attached to the first process in the container
	SupplementalGroups   []int64  `protobuf:"varint,3,rep,packed,name=supplemental_groups,json=supplementalGroups,proto3" json:"supplemental_groups,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LinuxContainerUser) Descriptor added in v0.31.0

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

func (*LinuxContainerUser) GetGid added in v0.31.0

func (m *LinuxContainerUser) GetGid() int64

func (*LinuxContainerUser) GetSupplementalGroups added in v0.31.0

func (m *LinuxContainerUser) GetSupplementalGroups() []int64

func (*LinuxContainerUser) GetUid added in v0.31.0

func (m *LinuxContainerUser) GetUid() int64

func (*LinuxContainerUser) Marshal added in v0.31.0

func (m *LinuxContainerUser) Marshal() (dAtA []byte, err error)

func (*LinuxContainerUser) MarshalTo added in v0.31.0

func (m *LinuxContainerUser) MarshalTo(dAtA []byte) (int, error)

func (*LinuxContainerUser) MarshalToSizedBuffer added in v0.31.0

func (m *LinuxContainerUser) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinuxContainerUser) ProtoMessage added in v0.31.0

func (*LinuxContainerUser) ProtoMessage()

func (*LinuxContainerUser) Reset added in v0.31.0

func (m *LinuxContainerUser) Reset()

func (*LinuxContainerUser) Size added in v0.31.0

func (m *LinuxContainerUser) Size() (n int)

func (*LinuxContainerUser) String added in v0.31.0

func (this *LinuxContainerUser) String() string

func (*LinuxContainerUser) Unmarshal added in v0.31.0

func (m *LinuxContainerUser) Unmarshal(dAtA []byte) error

func (*LinuxContainerUser) XXX_DiscardUnknown added in v0.31.0

func (m *LinuxContainerUser) XXX_DiscardUnknown()

func (*LinuxContainerUser) XXX_Marshal added in v0.31.0

func (m *LinuxContainerUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinuxContainerUser) XXX_Merge added in v0.31.0

func (m *LinuxContainerUser) XXX_Merge(src proto.Message)

func (*LinuxContainerUser) XXX_Size added in v0.31.0

func (m *LinuxContainerUser) XXX_Size() int

func (*LinuxContainerUser) XXX_Unmarshal added in v0.31.0

func (m *LinuxContainerUser) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

func (*LinuxPodSandboxConfig) Descriptor

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

func (*LinuxPodSandboxConfig) GetCgroupParent

func (m *LinuxPodSandboxConfig) GetCgroupParent() string

func (*LinuxPodSandboxConfig) GetOverhead added in v0.23.0

func (*LinuxPodSandboxConfig) GetResources added in v0.23.0

func (*LinuxPodSandboxConfig) GetSecurityContext

func (m *LinuxPodSandboxConfig) GetSecurityContext() *LinuxSandboxSecurityContext

func (*LinuxPodSandboxConfig) GetSysctls

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

func (*LinuxPodSandboxConfig) Marshal

func (m *LinuxPodSandboxConfig) Marshal() (dAtA []byte, err error)

func (*LinuxPodSandboxConfig) MarshalTo

func (m *LinuxPodSandboxConfig) MarshalTo(dAtA []byte) (int, error)

func (*LinuxPodSandboxConfig) MarshalToSizedBuffer

func (m *LinuxPodSandboxConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinuxPodSandboxConfig) ProtoMessage

func (*LinuxPodSandboxConfig) ProtoMessage()

func (*LinuxPodSandboxConfig) Reset

func (m *LinuxPodSandboxConfig) Reset()

func (*LinuxPodSandboxConfig) Size

func (m *LinuxPodSandboxConfig) Size() (n int)

func (*LinuxPodSandboxConfig) String

func (this *LinuxPodSandboxConfig) String() string

func (*LinuxPodSandboxConfig) Unmarshal

func (m *LinuxPodSandboxConfig) Unmarshal(dAtA []byte) error

func (*LinuxPodSandboxConfig) XXX_DiscardUnknown

func (m *LinuxPodSandboxConfig) XXX_DiscardUnknown()

func (*LinuxPodSandboxConfig) XXX_Marshal

func (m *LinuxPodSandboxConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinuxPodSandboxConfig) XXX_Merge

func (m *LinuxPodSandboxConfig) XXX_Merge(src proto.Message)

func (*LinuxPodSandboxConfig) XXX_Size

func (m *LinuxPodSandboxConfig) XXX_Size() int

func (*LinuxPodSandboxConfig) XXX_Unmarshal

func (m *LinuxPodSandboxConfig) XXX_Unmarshal(b []byte) error

type LinuxPodSandboxStats added in v0.23.0

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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*LinuxPodSandboxStats) Descriptor added in v0.23.0

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

func (*LinuxPodSandboxStats) GetContainers added in v0.23.0

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

func (*LinuxPodSandboxStats) GetCpu added in v0.23.0

func (m *LinuxPodSandboxStats) GetCpu() *CpuUsage

func (*LinuxPodSandboxStats) GetMemory added in v0.23.0

func (m *LinuxPodSandboxStats) GetMemory() *MemoryUsage

func (*LinuxPodSandboxStats) GetNetwork added in v0.23.0

func (m *LinuxPodSandboxStats) GetNetwork() *NetworkUsage

func (*LinuxPodSandboxStats) GetProcess added in v0.23.0

func (m *LinuxPodSandboxStats) GetProcess() *ProcessUsage

func (*LinuxPodSandboxStats) Marshal added in v0.23.0

func (m *LinuxPodSandboxStats) Marshal() (dAtA []byte, err error)

func (*LinuxPodSandboxStats) MarshalTo added in v0.23.0

func (m *LinuxPodSandboxStats) MarshalTo(dAtA []byte) (int, error)

func (*LinuxPodSandboxStats) MarshalToSizedBuffer added in v0.23.0

func (m *LinuxPodSandboxStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinuxPodSandboxStats) ProtoMessage added in v0.23.0

func (*LinuxPodSandboxStats) ProtoMessage()

func (*LinuxPodSandboxStats) Reset added in v0.23.0

func (m *LinuxPodSandboxStats) Reset()

func (*LinuxPodSandboxStats) Size added in v0.23.0

func (m *LinuxPodSandboxStats) Size() (n int)

func (*LinuxPodSandboxStats) String added in v0.23.0

func (this *LinuxPodSandboxStats) String() string

func (*LinuxPodSandboxStats) Unmarshal added in v0.23.0

func (m *LinuxPodSandboxStats) Unmarshal(dAtA []byte) error

func (*LinuxPodSandboxStats) XXX_DiscardUnknown added in v0.23.0

func (m *LinuxPodSandboxStats) XXX_DiscardUnknown()

func (*LinuxPodSandboxStats) XXX_Marshal added in v0.23.0

func (m *LinuxPodSandboxStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinuxPodSandboxStats) XXX_Merge added in v0.23.0

func (m *LinuxPodSandboxStats) XXX_Merge(src proto.Message)

func (*LinuxPodSandboxStats) XXX_Size added in v0.23.0

func (m *LinuxPodSandboxStats) XXX_Size() int

func (*LinuxPodSandboxStats) XXX_Unmarshal added in v0.23.0

func (m *LinuxPodSandboxStats) XXX_Unmarshal(b []byte) error

type LinuxPodSandboxStatus

type LinuxPodSandboxStatus struct {
	// Paths to the sandbox's namespaces.
	Namespaces           *Namespace `protobuf:"bytes,1,opt,name=namespaces,proto3" json:"namespaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

LinuxSandboxStatus contains status specific to Linux sandboxes.

func (*LinuxPodSandboxStatus) Descriptor

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

func (*LinuxPodSandboxStatus) GetNamespaces

func (m *LinuxPodSandboxStatus) GetNamespaces() *Namespace

func (*LinuxPodSandboxStatus) Marshal

func (m *LinuxPodSandboxStatus) Marshal() (dAtA []byte, err error)

func (*LinuxPodSandboxStatus) MarshalTo

func (m *LinuxPodSandboxStatus) MarshalTo(dAtA []byte) (int, error)

func (*LinuxPodSandboxStatus) MarshalToSizedBuffer

func (m *LinuxPodSandboxStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinuxPodSandboxStatus) ProtoMessage

func (*LinuxPodSandboxStatus) ProtoMessage()

func (*LinuxPodSandboxStatus) Reset

func (m *LinuxPodSandboxStatus) Reset()

func (*LinuxPodSandboxStatus) Size

func (m *LinuxPodSandboxStatus) Size() (n int)

func (*LinuxPodSandboxStatus) String

func (this *LinuxPodSandboxStatus) String() string

func (*LinuxPodSandboxStatus) Unmarshal

func (m *LinuxPodSandboxStatus) Unmarshal(dAtA []byte) error

func (*LinuxPodSandboxStatus) XXX_DiscardUnknown

func (m *LinuxPodSandboxStatus) XXX_DiscardUnknown()

func (*LinuxPodSandboxStatus) XXX_Marshal

func (m *LinuxPodSandboxStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinuxPodSandboxStatus) XXX_Merge

func (m *LinuxPodSandboxStatus) XXX_Merge(src proto.Message)

func (*LinuxPodSandboxStatus) XXX_Size

func (m *LinuxPodSandboxStatus) XXX_Size() int

func (*LinuxPodSandboxStatus) XXX_Unmarshal

func (m *LinuxPodSandboxStatus) XXX_Unmarshal(b []byte) error

type LinuxRuntimeConfiguration added in v0.28.0

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

func (*LinuxRuntimeConfiguration) Descriptor added in v0.28.0

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

func (*LinuxRuntimeConfiguration) GetCgroupDriver added in v0.28.0

func (m *LinuxRuntimeConfiguration) GetCgroupDriver() CgroupDriver

func (*LinuxRuntimeConfiguration) Marshal added in v0.28.0

func (m *LinuxRuntimeConfiguration) Marshal() (dAtA []byte, err error)

func (*LinuxRuntimeConfiguration) MarshalTo added in v0.28.0

func (m *LinuxRuntimeConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*LinuxRuntimeConfiguration) MarshalToSizedBuffer added in v0.28.0

func (m *LinuxRuntimeConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinuxRuntimeConfiguration) ProtoMessage added in v0.28.0

func (*LinuxRuntimeConfiguration) ProtoMessage()

func (*LinuxRuntimeConfiguration) Reset added in v0.28.0

func (m *LinuxRuntimeConfiguration) Reset()

func (*LinuxRuntimeConfiguration) Size added in v0.28.0

func (m *LinuxRuntimeConfiguration) Size() (n int)

func (*LinuxRuntimeConfiguration) String added in v0.28.0

func (this *LinuxRuntimeConfiguration) String() string

func (*LinuxRuntimeConfiguration) Unmarshal added in v0.28.0

func (m *LinuxRuntimeConfiguration) Unmarshal(dAtA []byte) error

func (*LinuxRuntimeConfiguration) XXX_DiscardUnknown added in v0.28.0

func (m *LinuxRuntimeConfiguration) XXX_DiscardUnknown()

func (*LinuxRuntimeConfiguration) XXX_Marshal added in v0.28.0

func (m *LinuxRuntimeConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinuxRuntimeConfiguration) XXX_Merge added in v0.28.0

func (m *LinuxRuntimeConfiguration) XXX_Merge(src proto.Message)

func (*LinuxRuntimeConfiguration) XXX_Size added in v0.28.0

func (m *LinuxRuntimeConfiguration) XXX_Size() int

func (*LinuxRuntimeConfiguration) XXX_Unmarshal added in v0.28.0

func (m *LinuxRuntimeConfiguration) XXX_Unmarshal(b []byte) error

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 each container.
	// supplemental_groups_policy can control how groups will be calculated.
	SupplementalGroups []int64 `protobuf:"varint,5,rep,packed,name=supplemental_groups,json=supplementalGroups,proto3" json:"supplemental_groups,omitempty"`
	// supplemental_groups_policy defines how supplemental groups of the first
	// container processes are calculated.
	// Valid values are "Merge" and "Strict".
	// If not specified, "Merge" is used.
	SupplementalGroupsPolicy SupplementalGroupsPolicy `` /* 178-byte string literal not displayed */
	// 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.
	SeccompProfilePath   string   `protobuf:"bytes,7,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"` // Deprecated: Do not use.
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*LinuxSandboxSecurityContext) GetApparmor

func (m *LinuxSandboxSecurityContext) GetApparmor() *SecurityProfile

func (*LinuxSandboxSecurityContext) GetNamespaceOptions

func (m *LinuxSandboxSecurityContext) GetNamespaceOptions() *NamespaceOption

func (*LinuxSandboxSecurityContext) GetPrivileged

func (m *LinuxSandboxSecurityContext) GetPrivileged() bool

func (*LinuxSandboxSecurityContext) GetReadonlyRootfs

func (m *LinuxSandboxSecurityContext) GetReadonlyRootfs() bool

func (*LinuxSandboxSecurityContext) GetRunAsGroup

func (m *LinuxSandboxSecurityContext) GetRunAsGroup() *Int64Value

func (*LinuxSandboxSecurityContext) GetRunAsUser

func (m *LinuxSandboxSecurityContext) GetRunAsUser() *Int64Value

func (*LinuxSandboxSecurityContext) GetSeccomp

func (*LinuxSandboxSecurityContext) GetSeccompProfilePath deprecated

func (m *LinuxSandboxSecurityContext) GetSeccompProfilePath() string

Deprecated: Do not use.

func (*LinuxSandboxSecurityContext) GetSelinuxOptions

func (m *LinuxSandboxSecurityContext) GetSelinuxOptions() *SELinuxOption

func (*LinuxSandboxSecurityContext) GetSupplementalGroups

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

func (*LinuxSandboxSecurityContext) GetSupplementalGroupsPolicy added in v0.31.0

func (m *LinuxSandboxSecurityContext) GetSupplementalGroupsPolicy() SupplementalGroupsPolicy

func (*LinuxSandboxSecurityContext) Marshal

func (m *LinuxSandboxSecurityContext) Marshal() (dAtA []byte, err error)

func (*LinuxSandboxSecurityContext) MarshalTo

func (m *LinuxSandboxSecurityContext) MarshalTo(dAtA []byte) (int, error)

func (*LinuxSandboxSecurityContext) MarshalToSizedBuffer

func (m *LinuxSandboxSecurityContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinuxSandboxSecurityContext) ProtoMessage

func (*LinuxSandboxSecurityContext) ProtoMessage()

func (*LinuxSandboxSecurityContext) Reset

func (m *LinuxSandboxSecurityContext) Reset()

func (*LinuxSandboxSecurityContext) Size

func (m *LinuxSandboxSecurityContext) Size() (n int)

func (*LinuxSandboxSecurityContext) String

func (this *LinuxSandboxSecurityContext) String() string

func (*LinuxSandboxSecurityContext) Unmarshal

func (m *LinuxSandboxSecurityContext) Unmarshal(dAtA []byte) error

func (*LinuxSandboxSecurityContext) XXX_DiscardUnknown

func (m *LinuxSandboxSecurityContext) XXX_DiscardUnknown()

func (*LinuxSandboxSecurityContext) XXX_Marshal

func (m *LinuxSandboxSecurityContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinuxSandboxSecurityContext) XXX_Merge

func (m *LinuxSandboxSecurityContext) XXX_Merge(src proto.Message)

func (*LinuxSandboxSecurityContext) XXX_Size

func (m *LinuxSandboxSecurityContext) XXX_Size() int

func (*LinuxSandboxSecurityContext) XXX_Unmarshal

func (m *LinuxSandboxSecurityContext) XXX_Unmarshal(b []byte) error

type ListContainerStatsRequest

type ListContainerStatsRequest struct {
	// Filter for the list request.
	Filter               *ContainerStatsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ListContainerStatsRequest) Descriptor

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

func (*ListContainerStatsRequest) GetFilter

func (*ListContainerStatsRequest) Marshal

func (m *ListContainerStatsRequest) Marshal() (dAtA []byte, err error)

func (*ListContainerStatsRequest) MarshalTo

func (m *ListContainerStatsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListContainerStatsRequest) MarshalToSizedBuffer

func (m *ListContainerStatsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListContainerStatsRequest) ProtoMessage

func (*ListContainerStatsRequest) ProtoMessage()

func (*ListContainerStatsRequest) Reset

func (m *ListContainerStatsRequest) Reset()

func (*ListContainerStatsRequest) Size

func (m *ListContainerStatsRequest) Size() (n int)

func (*ListContainerStatsRequest) String

func (this *ListContainerStatsRequest) String() string

func (*ListContainerStatsRequest) Unmarshal

func (m *ListContainerStatsRequest) Unmarshal(dAtA []byte) error

func (*ListContainerStatsRequest) XXX_DiscardUnknown

func (m *ListContainerStatsRequest) XXX_DiscardUnknown()

func (*ListContainerStatsRequest) XXX_Marshal

func (m *ListContainerStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListContainerStatsRequest) XXX_Merge

func (m *ListContainerStatsRequest) XXX_Merge(src proto.Message)

func (*ListContainerStatsRequest) XXX_Size

func (m *ListContainerStatsRequest) XXX_Size() int

func (*ListContainerStatsRequest) XXX_Unmarshal

func (m *ListContainerStatsRequest) XXX_Unmarshal(b []byte) error

type ListContainerStatsResponse

type ListContainerStatsResponse struct {
	// Stats of the container.
	Stats                []*ContainerStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ListContainerStatsResponse) Descriptor

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

func (*ListContainerStatsResponse) GetStats

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

func (*ListContainerStatsResponse) Marshal

func (m *ListContainerStatsResponse) Marshal() (dAtA []byte, err error)

func (*ListContainerStatsResponse) MarshalTo

func (m *ListContainerStatsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListContainerStatsResponse) MarshalToSizedBuffer

func (m *ListContainerStatsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListContainerStatsResponse) ProtoMessage

func (*ListContainerStatsResponse) ProtoMessage()

func (*ListContainerStatsResponse) Reset

func (m *ListContainerStatsResponse) Reset()

func (*ListContainerStatsResponse) Size

func (m *ListContainerStatsResponse) Size() (n int)

func (*ListContainerStatsResponse) String

func (this *ListContainerStatsResponse) String() string

func (*ListContainerStatsResponse) Unmarshal

func (m *ListContainerStatsResponse) Unmarshal(dAtA []byte) error

func (*ListContainerStatsResponse) XXX_DiscardUnknown

func (m *ListContainerStatsResponse) XXX_DiscardUnknown()

func (*ListContainerStatsResponse) XXX_Marshal

func (m *ListContainerStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListContainerStatsResponse) XXX_Merge

func (m *ListContainerStatsResponse) XXX_Merge(src proto.Message)

func (*ListContainerStatsResponse) XXX_Size

func (m *ListContainerStatsResponse) XXX_Size() int

func (*ListContainerStatsResponse) XXX_Unmarshal

func (m *ListContainerStatsResponse) XXX_Unmarshal(b []byte) error

type ListContainersRequest

type ListContainersRequest struct {
	Filter               *ContainerFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ListContainersRequest) Descriptor

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

func (*ListContainersRequest) GetFilter

func (m *ListContainersRequest) GetFilter() *ContainerFilter

func (*ListContainersRequest) Marshal

func (m *ListContainersRequest) Marshal() (dAtA []byte, err error)

func (*ListContainersRequest) MarshalTo

func (m *ListContainersRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListContainersRequest) MarshalToSizedBuffer

func (m *ListContainersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListContainersRequest) ProtoMessage

func (*ListContainersRequest) ProtoMessage()

func (*ListContainersRequest) Reset

func (m *ListContainersRequest) Reset()

func (*ListContainersRequest) Size

func (m *ListContainersRequest) Size() (n int)

func (*ListContainersRequest) String

func (this *ListContainersRequest) String() string

func (*ListContainersRequest) Unmarshal

func (m *ListContainersRequest) Unmarshal(dAtA []byte) error

func (*ListContainersRequest) XXX_DiscardUnknown

func (m *ListContainersRequest) XXX_DiscardUnknown()

func (*ListContainersRequest) XXX_Marshal

func (m *ListContainersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListContainersRequest) XXX_Merge

func (m *ListContainersRequest) XXX_Merge(src proto.Message)

func (*ListContainersRequest) XXX_Size

func (m *ListContainersRequest) XXX_Size() int

func (*ListContainersRequest) XXX_Unmarshal

func (m *ListContainersRequest) XXX_Unmarshal(b []byte) error

type ListContainersResponse

type ListContainersResponse struct {
	// List of containers.
	Containers           []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ListContainersResponse) Descriptor

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

func (*ListContainersResponse) GetContainers

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

func (*ListContainersResponse) Marshal

func (m *ListContainersResponse) Marshal() (dAtA []byte, err error)

func (*ListContainersResponse) MarshalTo

func (m *ListContainersResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListContainersResponse) MarshalToSizedBuffer

func (m *ListContainersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListContainersResponse) ProtoMessage

func (*ListContainersResponse) ProtoMessage()

func (*ListContainersResponse) Reset

func (m *ListContainersResponse) Reset()

func (*ListContainersResponse) Size

func (m *ListContainersResponse) Size() (n int)

func (*ListContainersResponse) String

func (this *ListContainersResponse) String() string

func (*ListContainersResponse) Unmarshal

func (m *ListContainersResponse) Unmarshal(dAtA []byte) error

func (*ListContainersResponse) XXX_DiscardUnknown

func (m *ListContainersResponse) XXX_DiscardUnknown()

func (*ListContainersResponse) XXX_Marshal

func (m *ListContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListContainersResponse) XXX_Merge

func (m *ListContainersResponse) XXX_Merge(src proto.Message)

func (*ListContainersResponse) XXX_Size

func (m *ListContainersResponse) XXX_Size() int

func (*ListContainersResponse) XXX_Unmarshal

func (m *ListContainersResponse) XXX_Unmarshal(b []byte) error

type ListImagesRequest

type ListImagesRequest struct {
	// Filter to list images.
	Filter               *ImageFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ListImagesRequest) Descriptor

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

func (*ListImagesRequest) GetFilter

func (m *ListImagesRequest) GetFilter() *ImageFilter

func (*ListImagesRequest) Marshal

func (m *ListImagesRequest) Marshal() (dAtA []byte, err error)

func (*ListImagesRequest) MarshalTo

func (m *ListImagesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListImagesRequest) MarshalToSizedBuffer

func (m *ListImagesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListImagesRequest) ProtoMessage

func (*ListImagesRequest) ProtoMessage()

func (*ListImagesRequest) Reset

func (m *ListImagesRequest) Reset()

func (*ListImagesRequest) Size

func (m *ListImagesRequest) Size() (n int)

func (*ListImagesRequest) String

func (this *ListImagesRequest) String() string

func (*ListImagesRequest) Unmarshal

func (m *ListImagesRequest) Unmarshal(dAtA []byte) error

func (*ListImagesRequest) XXX_DiscardUnknown

func (m *ListImagesRequest) XXX_DiscardUnknown()

func (*ListImagesRequest) XXX_Marshal

func (m *ListImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListImagesRequest) XXX_Merge

func (m *ListImagesRequest) XXX_Merge(src proto.Message)

func (*ListImagesRequest) XXX_Size

func (m *ListImagesRequest) XXX_Size() int

func (*ListImagesRequest) XXX_Unmarshal

func (m *ListImagesRequest) XXX_Unmarshal(b []byte) error

type ListImagesResponse

type ListImagesResponse struct {
	// List of images.
	Images               []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListImagesResponse) Descriptor

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

func (*ListImagesResponse) GetImages

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

func (*ListImagesResponse) Marshal

func (m *ListImagesResponse) Marshal() (dAtA []byte, err error)

func (*ListImagesResponse) MarshalTo

func (m *ListImagesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListImagesResponse) MarshalToSizedBuffer

func (m *ListImagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListImagesResponse) ProtoMessage

func (*ListImagesResponse) ProtoMessage()

func (*ListImagesResponse) Reset

func (m *ListImagesResponse) Reset()

func (*ListImagesResponse) Size

func (m *ListImagesResponse) Size() (n int)

func (*ListImagesResponse) String

func (this *ListImagesResponse) String() string

func (*ListImagesResponse) Unmarshal

func (m *ListImagesResponse) Unmarshal(dAtA []byte) error

func (*ListImagesResponse) XXX_DiscardUnknown

func (m *ListImagesResponse) XXX_DiscardUnknown()

func (*ListImagesResponse) XXX_Marshal

func (m *ListImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListImagesResponse) XXX_Merge

func (m *ListImagesResponse) XXX_Merge(src proto.Message)

func (*ListImagesResponse) XXX_Size

func (m *ListImagesResponse) XXX_Size() int

func (*ListImagesResponse) XXX_Unmarshal

func (m *ListImagesResponse) XXX_Unmarshal(b []byte) error

type ListMetricDescriptorsRequest added in v0.26.0

type ListMetricDescriptorsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListMetricDescriptorsRequest) Descriptor added in v0.26.0

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

func (*ListMetricDescriptorsRequest) Marshal added in v0.26.0

func (m *ListMetricDescriptorsRequest) Marshal() (dAtA []byte, err error)

func (*ListMetricDescriptorsRequest) MarshalTo added in v0.26.0

func (m *ListMetricDescriptorsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListMetricDescriptorsRequest) MarshalToSizedBuffer added in v0.26.0

func (m *ListMetricDescriptorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListMetricDescriptorsRequest) ProtoMessage added in v0.26.0

func (*ListMetricDescriptorsRequest) ProtoMessage()

func (*ListMetricDescriptorsRequest) Reset added in v0.26.0

func (m *ListMetricDescriptorsRequest) Reset()

func (*ListMetricDescriptorsRequest) Size added in v0.26.0

func (m *ListMetricDescriptorsRequest) Size() (n int)

func (*ListMetricDescriptorsRequest) String added in v0.26.0

func (this *ListMetricDescriptorsRequest) String() string

func (*ListMetricDescriptorsRequest) Unmarshal added in v0.26.0

func (m *ListMetricDescriptorsRequest) Unmarshal(dAtA []byte) error

func (*ListMetricDescriptorsRequest) XXX_DiscardUnknown added in v0.26.0

func (m *ListMetricDescriptorsRequest) XXX_DiscardUnknown()

func (*ListMetricDescriptorsRequest) XXX_Marshal added in v0.26.0

func (m *ListMetricDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMetricDescriptorsRequest) XXX_Merge added in v0.26.0

func (m *ListMetricDescriptorsRequest) XXX_Merge(src proto.Message)

func (*ListMetricDescriptorsRequest) XXX_Size added in v0.26.0

func (m *ListMetricDescriptorsRequest) XXX_Size() int

func (*ListMetricDescriptorsRequest) XXX_Unmarshal added in v0.26.0

func (m *ListMetricDescriptorsRequest) XXX_Unmarshal(b []byte) error

type ListMetricDescriptorsResponse added in v0.26.0

type ListMetricDescriptorsResponse struct {
	Descriptors          []*MetricDescriptor `protobuf:"bytes,1,rep,name=descriptors,proto3" json:"descriptors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ListMetricDescriptorsResponse) Descriptor added in v0.26.0

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

func (*ListMetricDescriptorsResponse) GetDescriptors added in v0.26.0

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

func (*ListMetricDescriptorsResponse) Marshal added in v0.26.0

func (m *ListMetricDescriptorsResponse) Marshal() (dAtA []byte, err error)

func (*ListMetricDescriptorsResponse) MarshalTo added in v0.26.0

func (m *ListMetricDescriptorsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListMetricDescriptorsResponse) MarshalToSizedBuffer added in v0.26.0

func (m *ListMetricDescriptorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListMetricDescriptorsResponse) ProtoMessage added in v0.26.0

func (*ListMetricDescriptorsResponse) ProtoMessage()

func (*ListMetricDescriptorsResponse) Reset added in v0.26.0

func (m *ListMetricDescriptorsResponse) Reset()

func (*ListMetricDescriptorsResponse) Size added in v0.26.0

func (m *ListMetricDescriptorsResponse) Size() (n int)

func (*ListMetricDescriptorsResponse) String added in v0.26.0

func (this *ListMetricDescriptorsResponse) String() string

func (*ListMetricDescriptorsResponse) Unmarshal added in v0.26.0

func (m *ListMetricDescriptorsResponse) Unmarshal(dAtA []byte) error

func (*ListMetricDescriptorsResponse) XXX_DiscardUnknown added in v0.26.0

func (m *ListMetricDescriptorsResponse) XXX_DiscardUnknown()

func (*ListMetricDescriptorsResponse) XXX_Marshal added in v0.26.0

func (m *ListMetricDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMetricDescriptorsResponse) XXX_Merge added in v0.26.0

func (m *ListMetricDescriptorsResponse) XXX_Merge(src proto.Message)

func (*ListMetricDescriptorsResponse) XXX_Size added in v0.26.0

func (m *ListMetricDescriptorsResponse) XXX_Size() int

func (*ListMetricDescriptorsResponse) XXX_Unmarshal added in v0.26.0

func (m *ListMetricDescriptorsResponse) XXX_Unmarshal(b []byte) error

type ListPodSandboxMetricsRequest added in v0.26.0

type ListPodSandboxMetricsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPodSandboxMetricsRequest) Descriptor added in v0.26.0

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

func (*ListPodSandboxMetricsRequest) Marshal added in v0.26.0

func (m *ListPodSandboxMetricsRequest) Marshal() (dAtA []byte, err error)

func (*ListPodSandboxMetricsRequest) MarshalTo added in v0.26.0

func (m *ListPodSandboxMetricsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListPodSandboxMetricsRequest) MarshalToSizedBuffer added in v0.26.0

func (m *ListPodSandboxMetricsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPodSandboxMetricsRequest) ProtoMessage added in v0.26.0

func (*ListPodSandboxMetricsRequest) ProtoMessage()

func (*ListPodSandboxMetricsRequest) Reset added in v0.26.0

func (m *ListPodSandboxMetricsRequest) Reset()

func (*ListPodSandboxMetricsRequest) Size added in v0.26.0

func (m *ListPodSandboxMetricsRequest) Size() (n int)

func (*ListPodSandboxMetricsRequest) String added in v0.26.0

func (this *ListPodSandboxMetricsRequest) String() string

func (*ListPodSandboxMetricsRequest) Unmarshal added in v0.26.0

func (m *ListPodSandboxMetricsRequest) Unmarshal(dAtA []byte) error

func (*ListPodSandboxMetricsRequest) XXX_DiscardUnknown added in v0.26.0

func (m *ListPodSandboxMetricsRequest) XXX_DiscardUnknown()

func (*ListPodSandboxMetricsRequest) XXX_Marshal added in v0.26.0

func (m *ListPodSandboxMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPodSandboxMetricsRequest) XXX_Merge added in v0.26.0

func (m *ListPodSandboxMetricsRequest) XXX_Merge(src proto.Message)

func (*ListPodSandboxMetricsRequest) XXX_Size added in v0.26.0

func (m *ListPodSandboxMetricsRequest) XXX_Size() int

func (*ListPodSandboxMetricsRequest) XXX_Unmarshal added in v0.26.0

func (m *ListPodSandboxMetricsRequest) XXX_Unmarshal(b []byte) error

type ListPodSandboxMetricsResponse added in v0.26.0

type ListPodSandboxMetricsResponse struct {
	PodMetrics           []*PodSandboxMetrics `protobuf:"bytes,1,rep,name=pod_metrics,json=podMetrics,proto3" json:"pod_metrics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ListPodSandboxMetricsResponse) Descriptor added in v0.26.0

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

func (*ListPodSandboxMetricsResponse) GetPodMetrics added in v0.26.0

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

func (*ListPodSandboxMetricsResponse) Marshal added in v0.26.0

func (m *ListPodSandboxMetricsResponse) Marshal() (dAtA []byte, err error)

func (*ListPodSandboxMetricsResponse) MarshalTo added in v0.26.0

func (m *ListPodSandboxMetricsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListPodSandboxMetricsResponse) MarshalToSizedBuffer added in v0.26.0

func (m *ListPodSandboxMetricsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPodSandboxMetricsResponse) ProtoMessage added in v0.26.0

func (*ListPodSandboxMetricsResponse) ProtoMessage()

func (*ListPodSandboxMetricsResponse) Reset added in v0.26.0

func (m *ListPodSandboxMetricsResponse) Reset()

func (*ListPodSandboxMetricsResponse) Size added in v0.26.0

func (m *ListPodSandboxMetricsResponse) Size() (n int)

func (*ListPodSandboxMetricsResponse) String added in v0.26.0

func (this *ListPodSandboxMetricsResponse) String() string

func (*ListPodSandboxMetricsResponse) Unmarshal added in v0.26.0

func (m *ListPodSandboxMetricsResponse) Unmarshal(dAtA []byte) error

func (*ListPodSandboxMetricsResponse) XXX_DiscardUnknown added in v0.26.0

func (m *ListPodSandboxMetricsResponse) XXX_DiscardUnknown()

func (*ListPodSandboxMetricsResponse) XXX_Marshal added in v0.26.0

func (m *ListPodSandboxMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPodSandboxMetricsResponse) XXX_Merge added in v0.26.0

func (m *ListPodSandboxMetricsResponse) XXX_Merge(src proto.Message)

func (*ListPodSandboxMetricsResponse) XXX_Size added in v0.26.0

func (m *ListPodSandboxMetricsResponse) XXX_Size() int

func (*ListPodSandboxMetricsResponse) XXX_Unmarshal added in v0.26.0

func (m *ListPodSandboxMetricsResponse) XXX_Unmarshal(b []byte) error

type ListPodSandboxRequest

type ListPodSandboxRequest struct {
	// PodSandboxFilter to filter a list of PodSandboxes.
	Filter               *PodSandboxFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ListPodSandboxRequest) Descriptor

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

func (*ListPodSandboxRequest) GetFilter

func (m *ListPodSandboxRequest) GetFilter() *PodSandboxFilter

func (*ListPodSandboxRequest) Marshal

func (m *ListPodSandboxRequest) Marshal() (dAtA []byte, err error)

func (*ListPodSandboxRequest) MarshalTo

func (m *ListPodSandboxRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListPodSandboxRequest) MarshalToSizedBuffer

func (m *ListPodSandboxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPodSandboxRequest) ProtoMessage

func (*ListPodSandboxRequest) ProtoMessage()

func (*ListPodSandboxRequest) Reset

func (m *ListPodSandboxRequest) Reset()

func (*ListPodSandboxRequest) Size

func (m *ListPodSandboxRequest) Size() (n int)

func (*ListPodSandboxRequest) String

func (this *ListPodSandboxRequest) String() string

func (*ListPodSandboxRequest) Unmarshal

func (m *ListPodSandboxRequest) Unmarshal(dAtA []byte) error

func (*ListPodSandboxRequest) XXX_DiscardUnknown

func (m *ListPodSandboxRequest) XXX_DiscardUnknown()

func (*ListPodSandboxRequest) XXX_Marshal

func (m *ListPodSandboxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPodSandboxRequest) XXX_Merge

func (m *ListPodSandboxRequest) XXX_Merge(src proto.Message)

func (*ListPodSandboxRequest) XXX_Size

func (m *ListPodSandboxRequest) XXX_Size() int

func (*ListPodSandboxRequest) XXX_Unmarshal

func (m *ListPodSandboxRequest) XXX_Unmarshal(b []byte) error

type ListPodSandboxResponse

type ListPodSandboxResponse struct {
	// List of PodSandboxes.
	Items                []*PodSandbox `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ListPodSandboxResponse) Descriptor

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

func (*ListPodSandboxResponse) GetItems

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

func (*ListPodSandboxResponse) Marshal

func (m *ListPodSandboxResponse) Marshal() (dAtA []byte, err error)

func (*ListPodSandboxResponse) MarshalTo

func (m *ListPodSandboxResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListPodSandboxResponse) MarshalToSizedBuffer

func (m *ListPodSandboxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPodSandboxResponse) ProtoMessage

func (*ListPodSandboxResponse) ProtoMessage()

func (*ListPodSandboxResponse) Reset

func (m *ListPodSandboxResponse) Reset()

func (*ListPodSandboxResponse) Size

func (m *ListPodSandboxResponse) Size() (n int)

func (*ListPodSandboxResponse) String

func (this *ListPodSandboxResponse) String() string

func (*ListPodSandboxResponse) Unmarshal

func (m *ListPodSandboxResponse) Unmarshal(dAtA []byte) error

func (*ListPodSandboxResponse) XXX_DiscardUnknown

func (m *ListPodSandboxResponse) XXX_DiscardUnknown()

func (*ListPodSandboxResponse) XXX_Marshal

func (m *ListPodSandboxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPodSandboxResponse) XXX_Merge

func (m *ListPodSandboxResponse) XXX_Merge(src proto.Message)

func (*ListPodSandboxResponse) XXX_Size

func (m *ListPodSandboxResponse) XXX_Size() int

func (*ListPodSandboxResponse) XXX_Unmarshal

func (m *ListPodSandboxResponse) XXX_Unmarshal(b []byte) error

type ListPodSandboxStatsRequest added in v0.23.0

type ListPodSandboxStatsRequest struct {
	// Filter for the list request.
	Filter               *PodSandboxStatsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ListPodSandboxStatsRequest) Descriptor added in v0.23.0

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

func (*ListPodSandboxStatsRequest) GetFilter added in v0.23.0

func (*ListPodSandboxStatsRequest) Marshal added in v0.23.0

func (m *ListPodSandboxStatsRequest) Marshal() (dAtA []byte, err error)

func (*ListPodSandboxStatsRequest) MarshalTo added in v0.23.0

func (m *ListPodSandboxStatsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListPodSandboxStatsRequest) MarshalToSizedBuffer added in v0.23.0

func (m *ListPodSandboxStatsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPodSandboxStatsRequest) ProtoMessage added in v0.23.0

func (*ListPodSandboxStatsRequest) ProtoMessage()

func (*ListPodSandboxStatsRequest) Reset added in v0.23.0

func (m *ListPodSandboxStatsRequest) Reset()

func (*ListPodSandboxStatsRequest) Size added in v0.23.0

func (m *ListPodSandboxStatsRequest) Size() (n int)

func (*ListPodSandboxStatsRequest) String added in v0.23.0

func (this *ListPodSandboxStatsRequest) String() string

func (*ListPodSandboxStatsRequest) Unmarshal added in v0.23.0

func (m *ListPodSandboxStatsRequest) Unmarshal(dAtA []byte) error

func (*ListPodSandboxStatsRequest) XXX_DiscardUnknown added in v0.23.0

func (m *ListPodSandboxStatsRequest) XXX_DiscardUnknown()

func (*ListPodSandboxStatsRequest) XXX_Marshal added in v0.23.0

func (m *ListPodSandboxStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPodSandboxStatsRequest) XXX_Merge added in v0.23.0

func (m *ListPodSandboxStatsRequest) XXX_Merge(src proto.Message)

func (*ListPodSandboxStatsRequest) XXX_Size added in v0.23.0

func (m *ListPodSandboxStatsRequest) XXX_Size() int

func (*ListPodSandboxStatsRequest) XXX_Unmarshal added in v0.23.0

func (m *ListPodSandboxStatsRequest) XXX_Unmarshal(b []byte) error

type ListPodSandboxStatsResponse added in v0.23.0

type ListPodSandboxStatsResponse struct {
	// Stats of the pod sandbox.
	Stats                []*PodSandboxStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ListPodSandboxStatsResponse) Descriptor added in v0.23.0

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

func (*ListPodSandboxStatsResponse) GetStats added in v0.23.0

func (*ListPodSandboxStatsResponse) Marshal added in v0.23.0

func (m *ListPodSandboxStatsResponse) Marshal() (dAtA []byte, err error)

func (*ListPodSandboxStatsResponse) MarshalTo added in v0.23.0

func (m *ListPodSandboxStatsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListPodSandboxStatsResponse) MarshalToSizedBuffer added in v0.23.0

func (m *ListPodSandboxStatsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPodSandboxStatsResponse) ProtoMessage added in v0.23.0

func (*ListPodSandboxStatsResponse) ProtoMessage()

func (*ListPodSandboxStatsResponse) Reset added in v0.23.0

func (m *ListPodSandboxStatsResponse) Reset()

func (*ListPodSandboxStatsResponse) Size added in v0.23.0

func (m *ListPodSandboxStatsResponse) Size() (n int)

func (*ListPodSandboxStatsResponse) String added in v0.23.0

func (this *ListPodSandboxStatsResponse) String() string

func (*ListPodSandboxStatsResponse) Unmarshal added in v0.23.0

func (m *ListPodSandboxStatsResponse) Unmarshal(dAtA []byte) error

func (*ListPodSandboxStatsResponse) XXX_DiscardUnknown added in v0.23.0

func (m *ListPodSandboxStatsResponse) XXX_DiscardUnknown()

func (*ListPodSandboxStatsResponse) XXX_Marshal added in v0.23.0

func (m *ListPodSandboxStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPodSandboxStatsResponse) XXX_Merge added in v0.23.0

func (m *ListPodSandboxStatsResponse) XXX_Merge(src proto.Message)

func (*ListPodSandboxStatsResponse) XXX_Size added in v0.23.0

func (m *ListPodSandboxStatsResponse) XXX_Size() int

func (*ListPodSandboxStatsResponse) XXX_Unmarshal added in v0.23.0

func (m *ListPodSandboxStatsResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

MemoryUsage provides the memory usage information.

func (*MemoryUsage) Descriptor

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

func (*MemoryUsage) GetAvailableBytes added in v0.23.0

func (m *MemoryUsage) GetAvailableBytes() *UInt64Value

func (*MemoryUsage) GetMajorPageFaults added in v0.23.0

func (m *MemoryUsage) GetMajorPageFaults() *UInt64Value

func (*MemoryUsage) GetPageFaults added in v0.23.0

func (m *MemoryUsage) GetPageFaults() *UInt64Value

func (*MemoryUsage) GetRssBytes added in v0.23.0

func (m *MemoryUsage) GetRssBytes() *UInt64Value

func (*MemoryUsage) GetTimestamp

func (m *MemoryUsage) GetTimestamp() int64

func (*MemoryUsage) GetUsageBytes added in v0.23.0

func (m *MemoryUsage) GetUsageBytes() *UInt64Value

func (*MemoryUsage) GetWorkingSetBytes

func (m *MemoryUsage) GetWorkingSetBytes() *UInt64Value

func (*MemoryUsage) Marshal

func (m *MemoryUsage) Marshal() (dAtA []byte, err error)

func (*MemoryUsage) MarshalTo

func (m *MemoryUsage) MarshalTo(dAtA []byte) (int, error)

func (*MemoryUsage) MarshalToSizedBuffer

func (m *MemoryUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemoryUsage) ProtoMessage

func (*MemoryUsage) ProtoMessage()

func (*MemoryUsage) Reset

func (m *MemoryUsage) Reset()

func (*MemoryUsage) Size

func (m *MemoryUsage) Size() (n int)

func (*MemoryUsage) String

func (this *MemoryUsage) String() string

func (*MemoryUsage) Unmarshal

func (m *MemoryUsage) Unmarshal(dAtA []byte) error

func (*MemoryUsage) XXX_DiscardUnknown

func (m *MemoryUsage) XXX_DiscardUnknown()

func (*MemoryUsage) XXX_Marshal

func (m *MemoryUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoryUsage) XXX_Merge

func (m *MemoryUsage) XXX_Merge(src proto.Message)

func (*MemoryUsage) XXX_Size

func (m *MemoryUsage) XXX_Size() int

func (*MemoryUsage) XXX_Unmarshal

func (m *MemoryUsage) XXX_Unmarshal(b []byte) error

type Metric added in v0.26.0

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

func (*Metric) Descriptor added in v0.26.0

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

func (*Metric) GetLabelValues added in v0.26.0

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

func (*Metric) GetMetricType added in v0.26.0

func (m *Metric) GetMetricType() MetricType

func (*Metric) GetName added in v0.26.0

func (m *Metric) GetName() string

func (*Metric) GetTimestamp added in v0.26.0

func (m *Metric) GetTimestamp() int64

func (*Metric) GetValue added in v0.26.0

func (m *Metric) GetValue() *UInt64Value

func (*Metric) Marshal added in v0.26.0

func (m *Metric) Marshal() (dAtA []byte, err error)

func (*Metric) MarshalTo added in v0.26.0

func (m *Metric) MarshalTo(dAtA []byte) (int, error)

func (*Metric) MarshalToSizedBuffer added in v0.26.0

func (m *Metric) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metric) ProtoMessage added in v0.26.0

func (*Metric) ProtoMessage()

func (*Metric) Reset added in v0.26.0

func (m *Metric) Reset()

func (*Metric) Size added in v0.26.0

func (m *Metric) Size() (n int)

func (*Metric) String added in v0.26.0

func (this *Metric) String() string

func (*Metric) Unmarshal added in v0.26.0

func (m *Metric) Unmarshal(dAtA []byte) error

func (*Metric) XXX_DiscardUnknown added in v0.26.0

func (m *Metric) XXX_DiscardUnknown()

func (*Metric) XXX_Marshal added in v0.26.0

func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metric) XXX_Merge added in v0.26.0

func (m *Metric) XXX_Merge(src proto.Message)

func (*Metric) XXX_Size added in v0.26.0

func (m *Metric) XXX_Size() int

func (*Metric) XXX_Unmarshal added in v0.26.0

func (m *Metric) XXX_Unmarshal(b []byte) error

type MetricDescriptor added in v0.26.0

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

func (*MetricDescriptor) Descriptor added in v0.26.0

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

func (*MetricDescriptor) GetHelp added in v0.26.0

func (m *MetricDescriptor) GetHelp() string

func (*MetricDescriptor) GetLabelKeys added in v0.26.0

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

func (*MetricDescriptor) GetName added in v0.26.0

func (m *MetricDescriptor) GetName() string

func (*MetricDescriptor) Marshal added in v0.26.0

func (m *MetricDescriptor) Marshal() (dAtA []byte, err error)

func (*MetricDescriptor) MarshalTo added in v0.26.0

func (m *MetricDescriptor) MarshalTo(dAtA []byte) (int, error)

func (*MetricDescriptor) MarshalToSizedBuffer added in v0.26.0

func (m *MetricDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricDescriptor) ProtoMessage added in v0.26.0

func (*MetricDescriptor) ProtoMessage()

func (*MetricDescriptor) Reset added in v0.26.0

func (m *MetricDescriptor) Reset()

func (*MetricDescriptor) Size added in v0.26.0

func (m *MetricDescriptor) Size() (n int)

func (*MetricDescriptor) String added in v0.26.0

func (this *MetricDescriptor) String() string

func (*MetricDescriptor) Unmarshal added in v0.26.0

func (m *MetricDescriptor) Unmarshal(dAtA []byte) error

func (*MetricDescriptor) XXX_DiscardUnknown added in v0.26.0

func (m *MetricDescriptor) XXX_DiscardUnknown()

func (*MetricDescriptor) XXX_Marshal added in v0.26.0

func (m *MetricDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricDescriptor) XXX_Merge added in v0.26.0

func (m *MetricDescriptor) XXX_Merge(src proto.Message)

func (*MetricDescriptor) XXX_Size added in v0.26.0

func (m *MetricDescriptor) XXX_Size() int

func (*MetricDescriptor) XXX_Unmarshal added in v0.26.0

func (m *MetricDescriptor) XXX_Unmarshal(b []byte) error

type MetricType added in v0.26.0

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

func (MetricType) EnumDescriptor added in v0.26.0

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

func (MetricType) String added in v0.26.0

func (x MetricType) 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. Has to be empty if the image field below
	// is provided, because those fields are mutually exclusive. If the image
	// field below is nil and the host path doesn't exist, then runtimes should
	// report an error. If the hostpath is a symbolic link, runtimes should
	// follow the symlink and mount the real destination to container.
	HostPath string `protobuf:"bytes,2,opt,name=host_path,json=hostPath,proto3" json:"host_path,omitempty"`
	// If set, the mount is read-only.
	Readonly bool `protobuf:"varint,3,opt,name=readonly,proto3" json:"readonly,omitempty"`
	// If set, the mount needs SELinux relabeling.
	SelinuxRelabel bool `protobuf:"varint,4,opt,name=selinux_relabel,json=selinuxRelabel,proto3" json:"selinux_relabel,omitempty"`
	// Requested propagation mode.
	Propagation MountPropagation `protobuf:"varint,5,opt,name=propagation,proto3,enum=runtime.v1.MountPropagation" json:"propagation,omitempty"`
	// UidMappings specifies the runtime UID mappings for the mount.
	UidMappings []*IDMapping `protobuf:"bytes,6,rep,name=uidMappings,proto3" json:"uidMappings,omitempty"`
	// GidMappings specifies the runtime GID mappings for the mount.
	GidMappings []*IDMapping `protobuf:"bytes,7,rep,name=gidMappings,proto3" json:"gidMappings,omitempty"`
	// If set to true, the mount is made recursive read-only.
	// In this CRI API, recursive_read_only is a plain true/false boolean, although its equivalent
	// in the Kubernetes core API is a quaternary that can be nil, "Enabled", "IfPossible", or "Disabled".
	// kubelet translates that quaternary value in the core API into a boolean in this CRI API.
	// Remarks:
	// - nil is just treated as false
	// - when set to true, readonly must be explicitly set to true, and propagation must be PRIVATE (0).
	// - (readonly == false && recursive_read_only == false) does not make the mount read-only.
	RecursiveReadOnly bool `protobuf:"varint,8,opt,name=recursive_read_only,json=recursiveReadOnly,proto3" json:"recursive_read_only,omitempty"`
	// Mount an image reference (image ID, with or without digest), which is a
	// special use case for image volume mounts. If this field is set, then
	// host_path should be unset. All OCI mounts are per feature definition
	// readonly. The kubelet does an PullImage RPC and evaluates the returned
	// PullImageResponse.image_ref value, which is then set to the
	// ImageSpec.image field. Runtimes are expected to mount the image as
	// required.
	// Introduced in the OCI Volume Source KEP: https://kep.k8s.io/4639
	Image                *ImageSpec `protobuf:"bytes,9,opt,name=image,proto3" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Mount specifies a host volume to mount into a container.

func (*Mount) Descriptor

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

func (*Mount) GetContainerPath

func (m *Mount) GetContainerPath() string

func (*Mount) GetGidMappings added in v0.27.0

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

func (*Mount) GetHostPath

func (m *Mount) GetHostPath() string

func (*Mount) GetImage added in v0.31.0

func (m *Mount) GetImage() *ImageSpec

func (*Mount) GetPropagation

func (m *Mount) GetPropagation() MountPropagation

func (*Mount) GetReadonly

func (m *Mount) GetReadonly() bool

func (*Mount) GetRecursiveReadOnly added in v0.30.0

func (m *Mount) GetRecursiveReadOnly() bool

func (*Mount) GetSelinuxRelabel

func (m *Mount) GetSelinuxRelabel() bool

func (*Mount) GetUidMappings added in v0.27.0

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

func (*Mount) Marshal

func (m *Mount) Marshal() (dAtA []byte, err error)

func (*Mount) MarshalTo

func (m *Mount) MarshalTo(dAtA []byte) (int, error)

func (*Mount) MarshalToSizedBuffer

func (m *Mount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Mount) ProtoMessage

func (*Mount) ProtoMessage()

func (*Mount) Reset

func (m *Mount) Reset()

func (*Mount) Size

func (m *Mount) Size() (n int)

func (*Mount) String

func (this *Mount) String() string

func (*Mount) Unmarshal

func (m *Mount) Unmarshal(dAtA []byte) error

func (*Mount) XXX_DiscardUnknown

func (m *Mount) XXX_DiscardUnknown()

func (*Mount) XXX_Marshal

func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mount) XXX_Merge

func (m *Mount) XXX_Merge(src proto.Message)

func (*Mount) XXX_Size

func (m *Mount) XXX_Size() int

func (*Mount) XXX_Unmarshal

func (m *Mount) XXX_Unmarshal(b []byte) error

type MountPropagation

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

func (MountPropagation) EnumDescriptor

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

func (MountPropagation) String

func (x MountPropagation) String() string

type Namespace

type Namespace struct {
	// Namespace options for Linux namespaces.
	Options              *NamespaceOption `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Namespace contains paths to the namespaces.

func (*Namespace) Descriptor

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

func (*Namespace) GetOptions

func (m *Namespace) GetOptions() *NamespaceOption

func (*Namespace) Marshal

func (m *Namespace) Marshal() (dAtA []byte, err error)

func (*Namespace) MarshalTo

func (m *Namespace) MarshalTo(dAtA []byte) (int, error)

func (*Namespace) MarshalToSizedBuffer

func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) Reset

func (m *Namespace) Reset()

func (*Namespace) Size

func (m *Namespace) Size() (n int)

func (*Namespace) String

func (this *Namespace) String() string

func (*Namespace) Unmarshal

func (m *Namespace) Unmarshal(dAtA []byte) error

func (*Namespace) XXX_DiscardUnknown

func (m *Namespace) XXX_DiscardUnknown()

func (*Namespace) XXX_Marshal

func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Namespace) XXX_Merge

func (m *Namespace) XXX_Merge(src proto.Message)

func (*Namespace) XXX_Size

func (m *Namespace) XXX_Size() int

func (*Namespace) XXX_Unmarshal

func (m *Namespace) XXX_Unmarshal(b []byte) error

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

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

func (NamespaceMode) String

func (x NamespaceMode) String() string

type NamespaceOption

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

NamespaceOption provides options for Linux namespaces.

func (*NamespaceOption) Descriptor

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

func (*NamespaceOption) GetIpc

func (m *NamespaceOption) GetIpc() NamespaceMode

func (*NamespaceOption) GetNetwork

func (m *NamespaceOption) GetNetwork() NamespaceMode

func (*NamespaceOption) GetPid

func (m *NamespaceOption) GetPid() NamespaceMode

func (*NamespaceOption) GetTargetId

func (m *NamespaceOption) GetTargetId() string

func (*NamespaceOption) GetUsernsOptions added in v0.25.0

func (m *NamespaceOption) GetUsernsOptions() *UserNamespace

func (*NamespaceOption) Marshal

func (m *NamespaceOption) Marshal() (dAtA []byte, err error)

func (*NamespaceOption) MarshalTo

func (m *NamespaceOption) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceOption) MarshalToSizedBuffer

func (m *NamespaceOption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceOption) ProtoMessage

func (*NamespaceOption) ProtoMessage()

func (*NamespaceOption) Reset

func (m *NamespaceOption) Reset()

func (*NamespaceOption) Size

func (m *NamespaceOption) Size() (n int)

func (*NamespaceOption) String

func (this *NamespaceOption) String() string

func (*NamespaceOption) Unmarshal

func (m *NamespaceOption) Unmarshal(dAtA []byte) error

func (*NamespaceOption) XXX_DiscardUnknown

func (m *NamespaceOption) XXX_DiscardUnknown()

func (*NamespaceOption) XXX_Marshal

func (m *NamespaceOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceOption) XXX_Merge

func (m *NamespaceOption) XXX_Merge(src proto.Message)

func (*NamespaceOption) XXX_Size

func (m *NamespaceOption) XXX_Size() int

func (*NamespaceOption) XXX_Unmarshal

func (m *NamespaceOption) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetworkConfig) Descriptor

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

func (*NetworkConfig) GetPodCidr

func (m *NetworkConfig) GetPodCidr() string

func (*NetworkConfig) Marshal

func (m *NetworkConfig) Marshal() (dAtA []byte, err error)

func (*NetworkConfig) MarshalTo

func (m *NetworkConfig) MarshalTo(dAtA []byte) (int, error)

func (*NetworkConfig) MarshalToSizedBuffer

func (m *NetworkConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkConfig) ProtoMessage

func (*NetworkConfig) ProtoMessage()

func (*NetworkConfig) Reset

func (m *NetworkConfig) Reset()

func (*NetworkConfig) Size

func (m *NetworkConfig) Size() (n int)

func (*NetworkConfig) String

func (this *NetworkConfig) String() string

func (*NetworkConfig) Unmarshal

func (m *NetworkConfig) Unmarshal(dAtA []byte) error

func (*NetworkConfig) XXX_DiscardUnknown

func (m *NetworkConfig) XXX_DiscardUnknown()

func (*NetworkConfig) XXX_Marshal

func (m *NetworkConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkConfig) XXX_Merge

func (m *NetworkConfig) XXX_Merge(src proto.Message)

func (*NetworkConfig) XXX_Size

func (m *NetworkConfig) XXX_Size() int

func (*NetworkConfig) XXX_Unmarshal

func (m *NetworkConfig) XXX_Unmarshal(b []byte) error

type NetworkInterfaceUsage added in v0.23.0

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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

NetworkInterfaceUsage contains resource value data about a network interface.

func (*NetworkInterfaceUsage) Descriptor added in v0.23.0

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

func (*NetworkInterfaceUsage) GetName added in v0.23.0

func (m *NetworkInterfaceUsage) GetName() string

func (*NetworkInterfaceUsage) GetRxBytes added in v0.23.0

func (m *NetworkInterfaceUsage) GetRxBytes() *UInt64Value

func (*NetworkInterfaceUsage) GetRxErrors added in v0.23.0

func (m *NetworkInterfaceUsage) GetRxErrors() *UInt64Value

func (*NetworkInterfaceUsage) GetTxBytes added in v0.23.0

func (m *NetworkInterfaceUsage) GetTxBytes() *UInt64Value

func (*NetworkInterfaceUsage) GetTxErrors added in v0.23.0

func (m *NetworkInterfaceUsage) GetTxErrors() *UInt64Value

func (*NetworkInterfaceUsage) Marshal added in v0.23.0

func (m *NetworkInterfaceUsage) Marshal() (dAtA []byte, err error)

func (*NetworkInterfaceUsage) MarshalTo added in v0.23.0

func (m *NetworkInterfaceUsage) MarshalTo(dAtA []byte) (int, error)

func (*NetworkInterfaceUsage) MarshalToSizedBuffer added in v0.23.0

func (m *NetworkInterfaceUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkInterfaceUsage) ProtoMessage added in v0.23.0

func (*NetworkInterfaceUsage) ProtoMessage()

func (*NetworkInterfaceUsage) Reset added in v0.23.0

func (m *NetworkInterfaceUsage) Reset()

func (*NetworkInterfaceUsage) Size added in v0.23.0

func (m *NetworkInterfaceUsage) Size() (n int)

func (*NetworkInterfaceUsage) String added in v0.23.0

func (this *NetworkInterfaceUsage) String() string

func (*NetworkInterfaceUsage) Unmarshal added in v0.23.0

func (m *NetworkInterfaceUsage) Unmarshal(dAtA []byte) error

func (*NetworkInterfaceUsage) XXX_DiscardUnknown added in v0.23.0

func (m *NetworkInterfaceUsage) XXX_DiscardUnknown()

func (*NetworkInterfaceUsage) XXX_Marshal added in v0.23.0

func (m *NetworkInterfaceUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInterfaceUsage) XXX_Merge added in v0.23.0

func (m *NetworkInterfaceUsage) XXX_Merge(src proto.Message)

func (*NetworkInterfaceUsage) XXX_Size added in v0.23.0

func (m *NetworkInterfaceUsage) XXX_Size() int

func (*NetworkInterfaceUsage) XXX_Unmarshal added in v0.23.0

func (m *NetworkInterfaceUsage) XXX_Unmarshal(b []byte) error

type NetworkUsage added in v0.23.0

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

NetworkUsage contains data about network resources.

func (*NetworkUsage) Descriptor added in v0.23.0

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

func (*NetworkUsage) GetDefaultInterface added in v0.23.0

func (m *NetworkUsage) GetDefaultInterface() *NetworkInterfaceUsage

func (*NetworkUsage) GetInterfaces added in v0.23.0

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

func (*NetworkUsage) GetTimestamp added in v0.23.0

func (m *NetworkUsage) GetTimestamp() int64

func (*NetworkUsage) Marshal added in v0.23.0

func (m *NetworkUsage) Marshal() (dAtA []byte, err error)

func (*NetworkUsage) MarshalTo added in v0.23.0

func (m *NetworkUsage) MarshalTo(dAtA []byte) (int, error)

func (*NetworkUsage) MarshalToSizedBuffer added in v0.23.0

func (m *NetworkUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkUsage) ProtoMessage added in v0.23.0

func (*NetworkUsage) ProtoMessage()

func (*NetworkUsage) Reset added in v0.23.0

func (m *NetworkUsage) Reset()

func (*NetworkUsage) Size added in v0.23.0

func (m *NetworkUsage) Size() (n int)

func (*NetworkUsage) String added in v0.23.0

func (this *NetworkUsage) String() string

func (*NetworkUsage) Unmarshal added in v0.23.0

func (m *NetworkUsage) Unmarshal(dAtA []byte) error

func (*NetworkUsage) XXX_DiscardUnknown added in v0.23.0

func (m *NetworkUsage) XXX_DiscardUnknown()

func (*NetworkUsage) XXX_Marshal added in v0.23.0

func (m *NetworkUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkUsage) XXX_Merge added in v0.23.0

func (m *NetworkUsage) XXX_Merge(src proto.Message)

func (*NetworkUsage) XXX_Size added in v0.23.0

func (m *NetworkUsage) XXX_Size() int

func (*NetworkUsage) XXX_Unmarshal added in v0.23.0

func (m *NetworkUsage) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PodIP represents an ip of a Pod

func (*PodIP) Descriptor

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

func (*PodIP) GetIp

func (m *PodIP) GetIp() string

func (*PodIP) Marshal

func (m *PodIP) Marshal() (dAtA []byte, err error)

func (*PodIP) MarshalTo

func (m *PodIP) MarshalTo(dAtA []byte) (int, error)

func (*PodIP) MarshalToSizedBuffer

func (m *PodIP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodIP) ProtoMessage

func (*PodIP) ProtoMessage()

func (*PodIP) Reset

func (m *PodIP) Reset()

func (*PodIP) Size

func (m *PodIP) Size() (n int)

func (*PodIP) String

func (this *PodIP) String() string

func (*PodIP) Unmarshal

func (m *PodIP) Unmarshal(dAtA []byte) error

func (*PodIP) XXX_DiscardUnknown

func (m *PodIP) XXX_DiscardUnknown()

func (*PodIP) XXX_Marshal

func (m *PodIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodIP) XXX_Merge

func (m *PodIP) XXX_Merge(src proto.Message)

func (*PodIP) XXX_Size

func (m *PodIP) XXX_Size() int

func (*PodIP) XXX_Unmarshal

func (m *PodIP) XXX_Unmarshal(b []byte) error

type PodSandbox

type PodSandbox struct {
	// ID of the PodSandbox.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata of the PodSandbox.
	Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// State of the PodSandbox.
	State PodSandboxState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1.PodSandboxState" json:"state,omitempty"`
	// Creation timestamps of the PodSandbox in nanoseconds. Must be > 0.
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Labels of the PodSandbox.
	Labels map[string]string `` /* 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PodSandbox contains minimal information about a sandbox.

func (*PodSandbox) Descriptor

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

func (*PodSandbox) GetAnnotations

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

func (*PodSandbox) GetCreatedAt

func (m *PodSandbox) GetCreatedAt() int64

func (*PodSandbox) GetId

func (m *PodSandbox) GetId() string

func (*PodSandbox) GetLabels

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

func (*PodSandbox) GetMetadata

func (m *PodSandbox) GetMetadata() *PodSandboxMetadata

func (*PodSandbox) GetRuntimeHandler

func (m *PodSandbox) GetRuntimeHandler() string

func (*PodSandbox) GetState

func (m *PodSandbox) GetState() PodSandboxState

func (*PodSandbox) Marshal

func (m *PodSandbox) Marshal() (dAtA []byte, err error)

func (*PodSandbox) MarshalTo

func (m *PodSandbox) MarshalTo(dAtA []byte) (int, error)

func (*PodSandbox) MarshalToSizedBuffer

func (m *PodSandbox) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandbox) ProtoMessage

func (*PodSandbox) ProtoMessage()

func (*PodSandbox) Reset

func (m *PodSandbox) Reset()

func (*PodSandbox) Size

func (m *PodSandbox) Size() (n int)

func (*PodSandbox) String

func (this *PodSandbox) String() string

func (*PodSandbox) Unmarshal

func (m *PodSandbox) Unmarshal(dAtA []byte) error

func (*PodSandbox) XXX_DiscardUnknown

func (m *PodSandbox) XXX_DiscardUnknown()

func (*PodSandbox) XXX_Marshal

func (m *PodSandbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandbox) XXX_Merge

func (m *PodSandbox) XXX_Merge(src proto.Message)

func (*PodSandbox) XXX_Size

func (m *PodSandbox) XXX_Size() int

func (*PodSandbox) XXX_Unmarshal

func (m *PodSandbox) XXX_Unmarshal(b []byte) error

type PodSandboxAttributes added in v0.23.0

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

PodSandboxAttributes provides basic information of the pod sandbox.

func (*PodSandboxAttributes) Descriptor added in v0.23.0

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

func (*PodSandboxAttributes) GetAnnotations added in v0.23.0

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

func (*PodSandboxAttributes) GetId added in v0.23.0

func (m *PodSandboxAttributes) GetId() string

func (*PodSandboxAttributes) GetLabels added in v0.23.0

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

func (*PodSandboxAttributes) GetMetadata added in v0.23.0

func (m *PodSandboxAttributes) GetMetadata() *PodSandboxMetadata

func (*PodSandboxAttributes) Marshal added in v0.23.0

func (m *PodSandboxAttributes) Marshal() (dAtA []byte, err error)

func (*PodSandboxAttributes) MarshalTo added in v0.23.0

func (m *PodSandboxAttributes) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxAttributes) MarshalToSizedBuffer added in v0.23.0

func (m *PodSandboxAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxAttributes) ProtoMessage added in v0.23.0

func (*PodSandboxAttributes) ProtoMessage()

func (*PodSandboxAttributes) Reset added in v0.23.0

func (m *PodSandboxAttributes) Reset()

func (*PodSandboxAttributes) Size added in v0.23.0

func (m *PodSandboxAttributes) Size() (n int)

func (*PodSandboxAttributes) String added in v0.23.0

func (this *PodSandboxAttributes) String() string

func (*PodSandboxAttributes) Unmarshal added in v0.23.0

func (m *PodSandboxAttributes) Unmarshal(dAtA []byte) error

func (*PodSandboxAttributes) XXX_DiscardUnknown added in v0.23.0

func (m *PodSandboxAttributes) XXX_DiscardUnknown()

func (*PodSandboxAttributes) XXX_Marshal added in v0.23.0

func (m *PodSandboxAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxAttributes) XXX_Merge added in v0.23.0

func (m *PodSandboxAttributes) XXX_Merge(src proto.Message)

func (*PodSandboxAttributes) XXX_Size added in v0.23.0

func (m *PodSandboxAttributes) XXX_Size() int

func (*PodSandboxAttributes) XXX_Unmarshal added in v0.23.0

func (m *PodSandboxAttributes) XXX_Unmarshal(b []byte) error

type PodSandboxConfig

type PodSandboxConfig struct {
	// Metadata of the sandbox. This information will uniquely identify the
	// sandbox, and the runtime should leverage this to ensure correct
	// operation. The runtime may also use this information to improve UX, such
	// as by constructing a readable name.
	Metadata *PodSandboxMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Hostname of the sandbox. Hostname could only be empty when the pod
	// network namespace is NODE.
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Path to the directory on the host in which container log files are
	// stored.
	// By default the log of a container going into the LogDirectory will be
	// hooked up to STDOUT and STDERR. However, the LogDirectory may contain
	// binary log files with structured logging data from the individual
	// containers. For example, the files might be newline separated JSON
	// structured logs, systemd-journald journal files, gRPC trace files, etc.
	// E.g.,
	//
	//	PodSandboxConfig.LogDirectory = `/var/log/pods/<NAMESPACE>_<NAME>_<UID>/`
	//	ContainerConfig.LogPath = `containerName/Instance#.log`
	LogDirectory string `protobuf:"bytes,3,opt,name=log_directory,json=logDirectory,proto3" json:"log_directory,omitempty"`
	// DNS config for the sandbox.
	DnsConfig *DNSConfig `protobuf:"bytes,4,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"`
	// Port mappings for the sandbox.
	PortMappings []*PortMapping `protobuf:"bytes,5,rep,name=port_mappings,json=portMappings,proto3" json:"port_mappings,omitempty"`
	// Key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 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"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

func (*PodSandboxConfig) Descriptor

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

func (*PodSandboxConfig) GetAnnotations

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

func (*PodSandboxConfig) GetDnsConfig

func (m *PodSandboxConfig) GetDnsConfig() *DNSConfig

func (*PodSandboxConfig) GetHostname

func (m *PodSandboxConfig) GetHostname() string

func (*PodSandboxConfig) GetLabels

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

func (*PodSandboxConfig) GetLinux

func (m *PodSandboxConfig) GetLinux() *LinuxPodSandboxConfig

func (*PodSandboxConfig) GetLogDirectory

func (m *PodSandboxConfig) GetLogDirectory() string

func (*PodSandboxConfig) GetMetadata

func (m *PodSandboxConfig) GetMetadata() *PodSandboxMetadata

func (*PodSandboxConfig) GetPortMappings

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

func (*PodSandboxConfig) GetWindows added in v0.22.0

func (m *PodSandboxConfig) GetWindows() *WindowsPodSandboxConfig

func (*PodSandboxConfig) Marshal

func (m *PodSandboxConfig) Marshal() (dAtA []byte, err error)

func (*PodSandboxConfig) MarshalTo

func (m *PodSandboxConfig) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxConfig) MarshalToSizedBuffer

func (m *PodSandboxConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxConfig) ProtoMessage

func (*PodSandboxConfig) ProtoMessage()

func (*PodSandboxConfig) Reset

func (m *PodSandboxConfig) Reset()

func (*PodSandboxConfig) Size

func (m *PodSandboxConfig) Size() (n int)

func (*PodSandboxConfig) String

func (this *PodSandboxConfig) String() string

func (*PodSandboxConfig) Unmarshal

func (m *PodSandboxConfig) Unmarshal(dAtA []byte) error

func (*PodSandboxConfig) XXX_DiscardUnknown

func (m *PodSandboxConfig) XXX_DiscardUnknown()

func (*PodSandboxConfig) XXX_Marshal

func (m *PodSandboxConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxConfig) XXX_Merge

func (m *PodSandboxConfig) XXX_Merge(src proto.Message)

func (*PodSandboxConfig) XXX_Size

func (m *PodSandboxConfig) XXX_Size() int

func (*PodSandboxConfig) XXX_Unmarshal

func (m *PodSandboxConfig) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*PodSandboxFilter) Descriptor

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

func (*PodSandboxFilter) GetId

func (m *PodSandboxFilter) GetId() string

func (*PodSandboxFilter) GetLabelSelector

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

func (*PodSandboxFilter) GetState

func (m *PodSandboxFilter) GetState() *PodSandboxStateValue

func (*PodSandboxFilter) Marshal

func (m *PodSandboxFilter) Marshal() (dAtA []byte, err error)

func (*PodSandboxFilter) MarshalTo

func (m *PodSandboxFilter) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxFilter) MarshalToSizedBuffer

func (m *PodSandboxFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxFilter) ProtoMessage

func (*PodSandboxFilter) ProtoMessage()

func (*PodSandboxFilter) Reset

func (m *PodSandboxFilter) Reset()

func (*PodSandboxFilter) Size

func (m *PodSandboxFilter) Size() (n int)

func (*PodSandboxFilter) String

func (this *PodSandboxFilter) String() string

func (*PodSandboxFilter) Unmarshal

func (m *PodSandboxFilter) Unmarshal(dAtA []byte) error

func (*PodSandboxFilter) XXX_DiscardUnknown

func (m *PodSandboxFilter) XXX_DiscardUnknown()

func (*PodSandboxFilter) XXX_Marshal

func (m *PodSandboxFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxFilter) XXX_Merge

func (m *PodSandboxFilter) XXX_Merge(src proto.Message)

func (*PodSandboxFilter) XXX_Size

func (m *PodSandboxFilter) XXX_Size() int

func (*PodSandboxFilter) XXX_Unmarshal

func (m *PodSandboxFilter) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*PodSandboxMetadata) GetAttempt

func (m *PodSandboxMetadata) GetAttempt() uint32

func (*PodSandboxMetadata) GetName

func (m *PodSandboxMetadata) GetName() string

func (*PodSandboxMetadata) GetNamespace

func (m *PodSandboxMetadata) GetNamespace() string

func (*PodSandboxMetadata) GetUid

func (m *PodSandboxMetadata) GetUid() string

func (*PodSandboxMetadata) Marshal

func (m *PodSandboxMetadata) Marshal() (dAtA []byte, err error)

func (*PodSandboxMetadata) MarshalTo

func (m *PodSandboxMetadata) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxMetadata) MarshalToSizedBuffer

func (m *PodSandboxMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxMetadata) ProtoMessage

func (*PodSandboxMetadata) ProtoMessage()

func (*PodSandboxMetadata) Reset

func (m *PodSandboxMetadata) Reset()

func (*PodSandboxMetadata) Size

func (m *PodSandboxMetadata) Size() (n int)

func (*PodSandboxMetadata) String

func (this *PodSandboxMetadata) String() string

func (*PodSandboxMetadata) Unmarshal

func (m *PodSandboxMetadata) Unmarshal(dAtA []byte) error

func (*PodSandboxMetadata) XXX_DiscardUnknown

func (m *PodSandboxMetadata) XXX_DiscardUnknown()

func (*PodSandboxMetadata) XXX_Marshal

func (m *PodSandboxMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxMetadata) XXX_Merge

func (m *PodSandboxMetadata) XXX_Merge(src proto.Message)

func (*PodSandboxMetadata) XXX_Size

func (m *PodSandboxMetadata) XXX_Size() int

func (*PodSandboxMetadata) XXX_Unmarshal

func (m *PodSandboxMetadata) XXX_Unmarshal(b []byte) error

type PodSandboxMetrics added in v0.26.0

type PodSandboxMetrics struct {
	PodSandboxId         string              `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`
	Metrics              []*Metric           `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
	ContainerMetrics     []*ContainerMetrics `protobuf:"bytes,3,rep,name=container_metrics,json=containerMetrics,proto3" json:"container_metrics,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*PodSandboxMetrics) Descriptor added in v0.26.0

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

func (*PodSandboxMetrics) GetContainerMetrics added in v0.26.0

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

func (*PodSandboxMetrics) GetMetrics added in v0.26.0

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

func (*PodSandboxMetrics) GetPodSandboxId added in v0.26.0

func (m *PodSandboxMetrics) GetPodSandboxId() string

func (*PodSandboxMetrics) Marshal added in v0.26.0

func (m *PodSandboxMetrics) Marshal() (dAtA []byte, err error)

func (*PodSandboxMetrics) MarshalTo added in v0.26.0

func (m *PodSandboxMetrics) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxMetrics) MarshalToSizedBuffer added in v0.26.0

func (m *PodSandboxMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxMetrics) ProtoMessage added in v0.26.0

func (*PodSandboxMetrics) ProtoMessage()

func (*PodSandboxMetrics) Reset added in v0.26.0

func (m *PodSandboxMetrics) Reset()

func (*PodSandboxMetrics) Size added in v0.26.0

func (m *PodSandboxMetrics) Size() (n int)

func (*PodSandboxMetrics) String added in v0.26.0

func (this *PodSandboxMetrics) String() string

func (*PodSandboxMetrics) Unmarshal added in v0.26.0

func (m *PodSandboxMetrics) Unmarshal(dAtA []byte) error

func (*PodSandboxMetrics) XXX_DiscardUnknown added in v0.26.0

func (m *PodSandboxMetrics) XXX_DiscardUnknown()

func (*PodSandboxMetrics) XXX_Marshal added in v0.26.0

func (m *PodSandboxMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxMetrics) XXX_Merge added in v0.26.0

func (m *PodSandboxMetrics) XXX_Merge(src proto.Message)

func (*PodSandboxMetrics) XXX_Size added in v0.26.0

func (m *PodSandboxMetrics) XXX_Size() int

func (*PodSandboxMetrics) XXX_Unmarshal added in v0.26.0

func (m *PodSandboxMetrics) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*PodSandboxNetworkStatus) Descriptor

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

func (*PodSandboxNetworkStatus) GetAdditionalIps

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

func (*PodSandboxNetworkStatus) GetIp

func (m *PodSandboxNetworkStatus) GetIp() string

func (*PodSandboxNetworkStatus) Marshal

func (m *PodSandboxNetworkStatus) Marshal() (dAtA []byte, err error)

func (*PodSandboxNetworkStatus) MarshalTo

func (m *PodSandboxNetworkStatus) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxNetworkStatus) MarshalToSizedBuffer

func (m *PodSandboxNetworkStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxNetworkStatus) ProtoMessage

func (*PodSandboxNetworkStatus) ProtoMessage()

func (*PodSandboxNetworkStatus) Reset

func (m *PodSandboxNetworkStatus) Reset()

func (*PodSandboxNetworkStatus) Size

func (m *PodSandboxNetworkStatus) Size() (n int)

func (*PodSandboxNetworkStatus) String

func (this *PodSandboxNetworkStatus) String() string

func (*PodSandboxNetworkStatus) Unmarshal

func (m *PodSandboxNetworkStatus) Unmarshal(dAtA []byte) error

func (*PodSandboxNetworkStatus) XXX_DiscardUnknown

func (m *PodSandboxNetworkStatus) XXX_DiscardUnknown()

func (*PodSandboxNetworkStatus) XXX_Marshal

func (m *PodSandboxNetworkStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxNetworkStatus) XXX_Merge

func (m *PodSandboxNetworkStatus) XXX_Merge(src proto.Message)

func (*PodSandboxNetworkStatus) XXX_Size

func (m *PodSandboxNetworkStatus) XXX_Size() int

func (*PodSandboxNetworkStatus) XXX_Unmarshal

func (m *PodSandboxNetworkStatus) XXX_Unmarshal(b []byte) error

type PodSandboxState

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

func (PodSandboxState) EnumDescriptor

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

func (PodSandboxState) String

func (x PodSandboxState) String() string

type PodSandboxStateValue

type PodSandboxStateValue struct {
	// State of the sandbox.
	State                PodSandboxState `protobuf:"varint,1,opt,name=state,proto3,enum=runtime.v1.PodSandboxState" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

PodSandboxStateValue is the wrapper of PodSandboxState.

func (*PodSandboxStateValue) Descriptor

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

func (*PodSandboxStateValue) GetState

func (m *PodSandboxStateValue) GetState() PodSandboxState

func (*PodSandboxStateValue) Marshal

func (m *PodSandboxStateValue) Marshal() (dAtA []byte, err error)

func (*PodSandboxStateValue) MarshalTo

func (m *PodSandboxStateValue) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxStateValue) MarshalToSizedBuffer

func (m *PodSandboxStateValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxStateValue) ProtoMessage

func (*PodSandboxStateValue) ProtoMessage()

func (*PodSandboxStateValue) Reset

func (m *PodSandboxStateValue) Reset()

func (*PodSandboxStateValue) Size

func (m *PodSandboxStateValue) Size() (n int)

func (*PodSandboxStateValue) String

func (this *PodSandboxStateValue) String() string

func (*PodSandboxStateValue) Unmarshal

func (m *PodSandboxStateValue) Unmarshal(dAtA []byte) error

func (*PodSandboxStateValue) XXX_DiscardUnknown

func (m *PodSandboxStateValue) XXX_DiscardUnknown()

func (*PodSandboxStateValue) XXX_Marshal

func (m *PodSandboxStateValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxStateValue) XXX_Merge

func (m *PodSandboxStateValue) XXX_Merge(src proto.Message)

func (*PodSandboxStateValue) XXX_Size

func (m *PodSandboxStateValue) XXX_Size() int

func (*PodSandboxStateValue) XXX_Unmarshal

func (m *PodSandboxStateValue) XXX_Unmarshal(b []byte) error

type PodSandboxStats added in v0.23.0

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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

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

func (*PodSandboxStats) Descriptor added in v0.23.0

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

func (*PodSandboxStats) GetAttributes added in v0.23.0

func (m *PodSandboxStats) GetAttributes() *PodSandboxAttributes

func (*PodSandboxStats) GetLinux added in v0.23.0

func (m *PodSandboxStats) GetLinux() *LinuxPodSandboxStats

func (*PodSandboxStats) GetWindows added in v0.23.0

func (m *PodSandboxStats) GetWindows() *WindowsPodSandboxStats

func (*PodSandboxStats) Marshal added in v0.23.0

func (m *PodSandboxStats) Marshal() (dAtA []byte, err error)

func (*PodSandboxStats) MarshalTo added in v0.23.0

func (m *PodSandboxStats) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxStats) MarshalToSizedBuffer added in v0.23.0

func (m *PodSandboxStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxStats) ProtoMessage added in v0.23.0

func (*PodSandboxStats) ProtoMessage()

func (*PodSandboxStats) Reset added in v0.23.0

func (m *PodSandboxStats) Reset()

func (*PodSandboxStats) Size added in v0.23.0

func (m *PodSandboxStats) Size() (n int)

func (*PodSandboxStats) String added in v0.23.0

func (this *PodSandboxStats) String() string

func (*PodSandboxStats) Unmarshal added in v0.23.0

func (m *PodSandboxStats) Unmarshal(dAtA []byte) error

func (*PodSandboxStats) XXX_DiscardUnknown added in v0.23.0

func (m *PodSandboxStats) XXX_DiscardUnknown()

func (*PodSandboxStats) XXX_Marshal added in v0.23.0

func (m *PodSandboxStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxStats) XXX_Merge added in v0.23.0

func (m *PodSandboxStats) XXX_Merge(src proto.Message)

func (*PodSandboxStats) XXX_Size added in v0.23.0

func (m *PodSandboxStats) XXX_Size() int

func (*PodSandboxStats) XXX_Unmarshal added in v0.23.0

func (m *PodSandboxStats) XXX_Unmarshal(b []byte) error

type PodSandboxStatsFilter added in v0.23.0

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*PodSandboxStatsFilter) Descriptor added in v0.23.0

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

func (*PodSandboxStatsFilter) GetId added in v0.23.0

func (m *PodSandboxStatsFilter) GetId() string

func (*PodSandboxStatsFilter) GetLabelSelector added in v0.23.0

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

func (*PodSandboxStatsFilter) Marshal added in v0.23.0

func (m *PodSandboxStatsFilter) Marshal() (dAtA []byte, err error)

func (*PodSandboxStatsFilter) MarshalTo added in v0.23.0

func (m *PodSandboxStatsFilter) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxStatsFilter) MarshalToSizedBuffer added in v0.23.0

func (m *PodSandboxStatsFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxStatsFilter) ProtoMessage added in v0.23.0

func (*PodSandboxStatsFilter) ProtoMessage()

func (*PodSandboxStatsFilter) Reset added in v0.23.0

func (m *PodSandboxStatsFilter) Reset()

func (*PodSandboxStatsFilter) Size added in v0.23.0

func (m *PodSandboxStatsFilter) Size() (n int)

func (*PodSandboxStatsFilter) String added in v0.23.0

func (this *PodSandboxStatsFilter) String() string

func (*PodSandboxStatsFilter) Unmarshal added in v0.23.0

func (m *PodSandboxStatsFilter) Unmarshal(dAtA []byte) error

func (*PodSandboxStatsFilter) XXX_DiscardUnknown added in v0.23.0

func (m *PodSandboxStatsFilter) XXX_DiscardUnknown()

func (*PodSandboxStatsFilter) XXX_Marshal added in v0.23.0

func (m *PodSandboxStatsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxStatsFilter) XXX_Merge added in v0.23.0

func (m *PodSandboxStatsFilter) XXX_Merge(src proto.Message)

func (*PodSandboxStatsFilter) XXX_Size added in v0.23.0

func (m *PodSandboxStatsFilter) XXX_Size() int

func (*PodSandboxStatsFilter) XXX_Unmarshal added in v0.23.0

func (m *PodSandboxStatsFilter) XXX_Unmarshal(b []byte) error

type PodSandboxStatsRequest added in v0.23.0

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PodSandboxStatsRequest) Descriptor added in v0.23.0

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

func (*PodSandboxStatsRequest) GetPodSandboxId added in v0.23.0

func (m *PodSandboxStatsRequest) GetPodSandboxId() string

func (*PodSandboxStatsRequest) Marshal added in v0.23.0

func (m *PodSandboxStatsRequest) Marshal() (dAtA []byte, err error)

func (*PodSandboxStatsRequest) MarshalTo added in v0.23.0

func (m *PodSandboxStatsRequest) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxStatsRequest) MarshalToSizedBuffer added in v0.23.0

func (m *PodSandboxStatsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxStatsRequest) ProtoMessage added in v0.23.0

func (*PodSandboxStatsRequest) ProtoMessage()

func (*PodSandboxStatsRequest) Reset added in v0.23.0

func (m *PodSandboxStatsRequest) Reset()

func (*PodSandboxStatsRequest) Size added in v0.23.0

func (m *PodSandboxStatsRequest) Size() (n int)

func (*PodSandboxStatsRequest) String added in v0.23.0

func (this *PodSandboxStatsRequest) String() string

func (*PodSandboxStatsRequest) Unmarshal added in v0.23.0

func (m *PodSandboxStatsRequest) Unmarshal(dAtA []byte) error

func (*PodSandboxStatsRequest) XXX_DiscardUnknown added in v0.23.0

func (m *PodSandboxStatsRequest) XXX_DiscardUnknown()

func (*PodSandboxStatsRequest) XXX_Marshal added in v0.23.0

func (m *PodSandboxStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxStatsRequest) XXX_Merge added in v0.23.0

func (m *PodSandboxStatsRequest) XXX_Merge(src proto.Message)

func (*PodSandboxStatsRequest) XXX_Size added in v0.23.0

func (m *PodSandboxStatsRequest) XXX_Size() int

func (*PodSandboxStatsRequest) XXX_Unmarshal added in v0.23.0

func (m *PodSandboxStatsRequest) XXX_Unmarshal(b []byte) error

type PodSandboxStatsResponse added in v0.23.0

type PodSandboxStatsResponse struct {
	Stats                *PodSandboxStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*PodSandboxStatsResponse) Descriptor added in v0.23.0

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

func (*PodSandboxStatsResponse) GetStats added in v0.23.0

func (*PodSandboxStatsResponse) Marshal added in v0.23.0

func (m *PodSandboxStatsResponse) Marshal() (dAtA []byte, err error)

func (*PodSandboxStatsResponse) MarshalTo added in v0.23.0

func (m *PodSandboxStatsResponse) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxStatsResponse) MarshalToSizedBuffer added in v0.23.0

func (m *PodSandboxStatsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxStatsResponse) ProtoMessage added in v0.23.0

func (*PodSandboxStatsResponse) ProtoMessage()

func (*PodSandboxStatsResponse) Reset added in v0.23.0

func (m *PodSandboxStatsResponse) Reset()

func (*PodSandboxStatsResponse) Size added in v0.23.0

func (m *PodSandboxStatsResponse) Size() (n int)

func (*PodSandboxStatsResponse) String added in v0.23.0

func (this *PodSandboxStatsResponse) String() string

func (*PodSandboxStatsResponse) Unmarshal added in v0.23.0

func (m *PodSandboxStatsResponse) Unmarshal(dAtA []byte) error

func (*PodSandboxStatsResponse) XXX_DiscardUnknown added in v0.23.0

func (m *PodSandboxStatsResponse) XXX_DiscardUnknown()

func (*PodSandboxStatsResponse) XXX_Marshal added in v0.23.0

func (m *PodSandboxStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxStatsResponse) XXX_Merge added in v0.23.0

func (m *PodSandboxStatsResponse) XXX_Merge(src proto.Message)

func (*PodSandboxStatsResponse) XXX_Size added in v0.23.0

func (m *PodSandboxStatsResponse) XXX_Size() int

func (*PodSandboxStatsResponse) XXX_Unmarshal added in v0.23.0

func (m *PodSandboxStatsResponse) XXX_Unmarshal(b []byte) error

type PodSandboxStatus

type PodSandboxStatus struct {
	// ID of the sandbox.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata of the sandbox.
	Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// State of the sandbox.
	State PodSandboxState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1.PodSandboxState" json:"state,omitempty"`
	// Creation timestamp of the sandbox in nanoseconds. Must be > 0.
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Network contains network status if network is handled by the runtime.
	Network *PodSandboxNetworkStatus `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
	// Linux-specific status to a pod sandbox.
	Linux *LinuxPodSandboxStatus `protobuf:"bytes,6,opt,name=linux,proto3" json:"linux,omitempty"`
	// Labels are key-value pairs that may be used to scope and select individual resources.
	Labels map[string]string `` /* 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PodSandboxStatus contains the status of the PodSandbox.

func (*PodSandboxStatus) Descriptor

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

func (*PodSandboxStatus) GetAnnotations

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

func (*PodSandboxStatus) GetCreatedAt

func (m *PodSandboxStatus) GetCreatedAt() int64

func (*PodSandboxStatus) GetId

func (m *PodSandboxStatus) GetId() string

func (*PodSandboxStatus) GetLabels

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

func (*PodSandboxStatus) GetLinux

func (m *PodSandboxStatus) GetLinux() *LinuxPodSandboxStatus

func (*PodSandboxStatus) GetMetadata

func (m *PodSandboxStatus) GetMetadata() *PodSandboxMetadata

func (*PodSandboxStatus) GetNetwork

func (m *PodSandboxStatus) GetNetwork() *PodSandboxNetworkStatus

func (*PodSandboxStatus) GetRuntimeHandler

func (m *PodSandboxStatus) GetRuntimeHandler() string

func (*PodSandboxStatus) GetState

func (m *PodSandboxStatus) GetState() PodSandboxState

func (*PodSandboxStatus) Marshal

func (m *PodSandboxStatus) Marshal() (dAtA []byte, err error)

func (*PodSandboxStatus) MarshalTo

func (m *PodSandboxStatus) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxStatus) MarshalToSizedBuffer

func (m *PodSandboxStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxStatus) ProtoMessage

func (*PodSandboxStatus) ProtoMessage()

func (*PodSandboxStatus) Reset

func (m *PodSandboxStatus) Reset()

func (*PodSandboxStatus) Size

func (m *PodSandboxStatus) Size() (n int)

func (*PodSandboxStatus) String

func (this *PodSandboxStatus) String() string

func (*PodSandboxStatus) Unmarshal

func (m *PodSandboxStatus) Unmarshal(dAtA []byte) error

func (*PodSandboxStatus) XXX_DiscardUnknown

func (m *PodSandboxStatus) XXX_DiscardUnknown()

func (*PodSandboxStatus) XXX_Marshal

func (m *PodSandboxStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxStatus) XXX_Merge

func (m *PodSandboxStatus) XXX_Merge(src proto.Message)

func (*PodSandboxStatus) XXX_Size

func (m *PodSandboxStatus) XXX_Size() int

func (*PodSandboxStatus) XXX_Unmarshal

func (m *PodSandboxStatus) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PodSandboxStatusRequest) Descriptor

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

func (*PodSandboxStatusRequest) GetPodSandboxId

func (m *PodSandboxStatusRequest) GetPodSandboxId() string

func (*PodSandboxStatusRequest) GetVerbose

func (m *PodSandboxStatusRequest) GetVerbose() bool

func (*PodSandboxStatusRequest) Marshal

func (m *PodSandboxStatusRequest) Marshal() (dAtA []byte, err error)

func (*PodSandboxStatusRequest) MarshalTo

func (m *PodSandboxStatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxStatusRequest) MarshalToSizedBuffer

func (m *PodSandboxStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxStatusRequest) ProtoMessage

func (*PodSandboxStatusRequest) ProtoMessage()

func (*PodSandboxStatusRequest) Reset

func (m *PodSandboxStatusRequest) Reset()

func (*PodSandboxStatusRequest) Size

func (m *PodSandboxStatusRequest) Size() (n int)

func (*PodSandboxStatusRequest) String

func (this *PodSandboxStatusRequest) String() string

func (*PodSandboxStatusRequest) Unmarshal

func (m *PodSandboxStatusRequest) Unmarshal(dAtA []byte) error

func (*PodSandboxStatusRequest) XXX_DiscardUnknown

func (m *PodSandboxStatusRequest) XXX_DiscardUnknown()

func (*PodSandboxStatusRequest) XXX_Marshal

func (m *PodSandboxStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxStatusRequest) XXX_Merge

func (m *PodSandboxStatusRequest) XXX_Merge(src proto.Message)

func (*PodSandboxStatusRequest) XXX_Size

func (m *PodSandboxStatusRequest) XXX_Size() int

func (*PodSandboxStatusRequest) XXX_Unmarshal

func (m *PodSandboxStatusRequest) XXX_Unmarshal(b []byte) error

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 */
	// Container statuses
	ContainersStatuses []*ContainerStatus `protobuf:"bytes,3,rep,name=containers_statuses,json=containersStatuses,proto3" json:"containers_statuses,omitempty"`
	// Timestamp in nanoseconds at which container and pod statuses were recorded
	Timestamp            int64    `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PodSandboxStatusResponse) Descriptor

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

func (*PodSandboxStatusResponse) GetContainersStatuses added in v0.26.0

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

func (*PodSandboxStatusResponse) GetInfo

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

func (*PodSandboxStatusResponse) GetStatus

func (*PodSandboxStatusResponse) GetTimestamp added in v0.26.0

func (m *PodSandboxStatusResponse) GetTimestamp() int64

func (*PodSandboxStatusResponse) Marshal

func (m *PodSandboxStatusResponse) Marshal() (dAtA []byte, err error)

func (*PodSandboxStatusResponse) MarshalTo

func (m *PodSandboxStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*PodSandboxStatusResponse) MarshalToSizedBuffer

func (m *PodSandboxStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSandboxStatusResponse) ProtoMessage

func (*PodSandboxStatusResponse) ProtoMessage()

func (*PodSandboxStatusResponse) Reset

func (m *PodSandboxStatusResponse) Reset()

func (*PodSandboxStatusResponse) Size

func (m *PodSandboxStatusResponse) Size() (n int)

func (*PodSandboxStatusResponse) String

func (this *PodSandboxStatusResponse) String() string

func (*PodSandboxStatusResponse) Unmarshal

func (m *PodSandboxStatusResponse) Unmarshal(dAtA []byte) error

func (*PodSandboxStatusResponse) XXX_DiscardUnknown

func (m *PodSandboxStatusResponse) XXX_DiscardUnknown()

func (*PodSandboxStatusResponse) XXX_Marshal

func (m *PodSandboxStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSandboxStatusResponse) XXX_Merge

func (m *PodSandboxStatusResponse) XXX_Merge(src proto.Message)

func (*PodSandboxStatusResponse) XXX_Size

func (m *PodSandboxStatusResponse) XXX_Size() int

func (*PodSandboxStatusResponse) XXX_Unmarshal

func (m *PodSandboxStatusResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PortForwardRequest) Descriptor

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

func (*PortForwardRequest) GetPodSandboxId

func (m *PortForwardRequest) GetPodSandboxId() string

func (*PortForwardRequest) GetPort

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

func (*PortForwardRequest) Marshal

func (m *PortForwardRequest) Marshal() (dAtA []byte, err error)

func (*PortForwardRequest) MarshalTo

func (m *PortForwardRequest) MarshalTo(dAtA []byte) (int, error)

func (*PortForwardRequest) MarshalToSizedBuffer

func (m *PortForwardRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortForwardRequest) ProtoMessage

func (*PortForwardRequest) ProtoMessage()

func (*PortForwardRequest) Reset

func (m *PortForwardRequest) Reset()

func (*PortForwardRequest) Size

func (m *PortForwardRequest) Size() (n int)

func (*PortForwardRequest) String

func (this *PortForwardRequest) String() string

func (*PortForwardRequest) Unmarshal

func (m *PortForwardRequest) Unmarshal(dAtA []byte) error

func (*PortForwardRequest) XXX_DiscardUnknown

func (m *PortForwardRequest) XXX_DiscardUnknown()

func (*PortForwardRequest) XXX_Marshal

func (m *PortForwardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortForwardRequest) XXX_Merge

func (m *PortForwardRequest) XXX_Merge(src proto.Message)

func (*PortForwardRequest) XXX_Size

func (m *PortForwardRequest) XXX_Size() int

func (*PortForwardRequest) XXX_Unmarshal

func (m *PortForwardRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PortForwardResponse) Descriptor

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

func (*PortForwardResponse) GetUrl

func (m *PortForwardResponse) GetUrl() string

func (*PortForwardResponse) Marshal

func (m *PortForwardResponse) Marshal() (dAtA []byte, err error)

func (*PortForwardResponse) MarshalTo

func (m *PortForwardResponse) MarshalTo(dAtA []byte) (int, error)

func (*PortForwardResponse) MarshalToSizedBuffer

func (m *PortForwardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortForwardResponse) ProtoMessage

func (*PortForwardResponse) ProtoMessage()

func (*PortForwardResponse) Reset

func (m *PortForwardResponse) Reset()

func (*PortForwardResponse) Size

func (m *PortForwardResponse) Size() (n int)

func (*PortForwardResponse) String

func (this *PortForwardResponse) String() string

func (*PortForwardResponse) Unmarshal

func (m *PortForwardResponse) Unmarshal(dAtA []byte) error

func (*PortForwardResponse) XXX_DiscardUnknown

func (m *PortForwardResponse) XXX_DiscardUnknown()

func (*PortForwardResponse) XXX_Marshal

func (m *PortForwardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortForwardResponse) XXX_Merge

func (m *PortForwardResponse) XXX_Merge(src proto.Message)

func (*PortForwardResponse) XXX_Size

func (m *PortForwardResponse) XXX_Size() int

func (*PortForwardResponse) XXX_Unmarshal

func (m *PortForwardResponse) XXX_Unmarshal(b []byte) error

type PortMapping

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

PortMapping specifies the port mapping configurations of a sandbox.

func (*PortMapping) Descriptor

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

func (*PortMapping) GetContainerPort

func (m *PortMapping) GetContainerPort() int32

func (*PortMapping) GetHostIp

func (m *PortMapping) GetHostIp() string

func (*PortMapping) GetHostPort

func (m *PortMapping) GetHostPort() int32

func (*PortMapping) GetProtocol

func (m *PortMapping) GetProtocol() Protocol

func (*PortMapping) Marshal

func (m *PortMapping) Marshal() (dAtA []byte, err error)

func (*PortMapping) MarshalTo

func (m *PortMapping) MarshalTo(dAtA []byte) (int, error)

func (*PortMapping) MarshalToSizedBuffer

func (m *PortMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortMapping) ProtoMessage

func (*PortMapping) ProtoMessage()

func (*PortMapping) Reset

func (m *PortMapping) Reset()

func (*PortMapping) Size

func (m *PortMapping) Size() (n int)

func (*PortMapping) String

func (this *PortMapping) String() string

func (*PortMapping) Unmarshal

func (m *PortMapping) Unmarshal(dAtA []byte) error

func (*PortMapping) XXX_DiscardUnknown

func (m *PortMapping) XXX_DiscardUnknown()

func (*PortMapping) XXX_Marshal

func (m *PortMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortMapping) XXX_Merge

func (m *PortMapping) XXX_Merge(src proto.Message)

func (*PortMapping) XXX_Size

func (m *PortMapping) XXX_Size() int

func (*PortMapping) XXX_Unmarshal

func (m *PortMapping) XXX_Unmarshal(b []byte) error

type ProcessUsage added in v0.23.0

type ProcessUsage struct {
	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Number of processes.
	ProcessCount         *UInt64Value `protobuf:"bytes,2,opt,name=process_count,json=processCount,proto3" json:"process_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

ProcessUsage are stats pertaining to processes.

func (*ProcessUsage) Descriptor added in v0.23.0

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

func (*ProcessUsage) GetProcessCount added in v0.23.0

func (m *ProcessUsage) GetProcessCount() *UInt64Value

func (*ProcessUsage) GetTimestamp added in v0.23.0

func (m *ProcessUsage) GetTimestamp() int64

func (*ProcessUsage) Marshal added in v0.23.0

func (m *ProcessUsage) Marshal() (dAtA []byte, err error)

func (*ProcessUsage) MarshalTo added in v0.23.0

func (m *ProcessUsage) MarshalTo(dAtA []byte) (int, error)

func (*ProcessUsage) MarshalToSizedBuffer added in v0.23.0

func (m *ProcessUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProcessUsage) ProtoMessage added in v0.23.0

func (*ProcessUsage) ProtoMessage()

func (*ProcessUsage) Reset added in v0.23.0

func (m *ProcessUsage) Reset()

func (*ProcessUsage) Size added in v0.23.0

func (m *ProcessUsage) Size() (n int)

func (*ProcessUsage) String added in v0.23.0

func (this *ProcessUsage) String() string

func (*ProcessUsage) Unmarshal added in v0.23.0

func (m *ProcessUsage) Unmarshal(dAtA []byte) error

func (*ProcessUsage) XXX_DiscardUnknown added in v0.23.0

func (m *ProcessUsage) XXX_DiscardUnknown()

func (*ProcessUsage) XXX_Marshal added in v0.23.0

func (m *ProcessUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProcessUsage) XXX_Merge added in v0.23.0

func (m *ProcessUsage) XXX_Merge(src proto.Message)

func (*ProcessUsage) XXX_Size added in v0.23.0

func (m *ProcessUsage) XXX_Size() int

func (*ProcessUsage) XXX_Unmarshal added in v0.23.0

func (m *ProcessUsage) XXX_Unmarshal(b []byte) error

type Protocol

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

func (Protocol) EnumDescriptor

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

func (Protocol) String

func (x Protocol) String() string

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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PullImageRequest) Descriptor

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

func (*PullImageRequest) GetAuth

func (m *PullImageRequest) GetAuth() *AuthConfig

func (*PullImageRequest) GetImage

func (m *PullImageRequest) GetImage() *ImageSpec

func (*PullImageRequest) GetSandboxConfig

func (m *PullImageRequest) GetSandboxConfig() *PodSandboxConfig

func (*PullImageRequest) Marshal

func (m *PullImageRequest) Marshal() (dAtA []byte, err error)

func (*PullImageRequest) MarshalTo

func (m *PullImageRequest) MarshalTo(dAtA []byte) (int, error)

func (*PullImageRequest) MarshalToSizedBuffer

func (m *PullImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullImageRequest) ProtoMessage

func (*PullImageRequest) ProtoMessage()

func (*PullImageRequest) Reset

func (m *PullImageRequest) Reset()

func (*PullImageRequest) Size

func (m *PullImageRequest) Size() (n int)

func (*PullImageRequest) String

func (this *PullImageRequest) String() string

func (*PullImageRequest) Unmarshal

func (m *PullImageRequest) Unmarshal(dAtA []byte) error

func (*PullImageRequest) XXX_DiscardUnknown

func (m *PullImageRequest) XXX_DiscardUnknown()

func (*PullImageRequest) XXX_Marshal

func (m *PullImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PullImageRequest) XXX_Merge

func (m *PullImageRequest) XXX_Merge(src proto.Message)

func (*PullImageRequest) XXX_Size

func (m *PullImageRequest) XXX_Size() int

func (*PullImageRequest) XXX_Unmarshal

func (m *PullImageRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PullImageResponse) Descriptor

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

func (*PullImageResponse) GetImageRef

func (m *PullImageResponse) GetImageRef() string

func (*PullImageResponse) Marshal

func (m *PullImageResponse) Marshal() (dAtA []byte, err error)

func (*PullImageResponse) MarshalTo

func (m *PullImageResponse) MarshalTo(dAtA []byte) (int, error)

func (*PullImageResponse) MarshalToSizedBuffer

func (m *PullImageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullImageResponse) ProtoMessage

func (*PullImageResponse) ProtoMessage()

func (*PullImageResponse) Reset

func (m *PullImageResponse) Reset()

func (*PullImageResponse) Size

func (m *PullImageResponse) Size() (n int)

func (*PullImageResponse) String

func (this *PullImageResponse) String() string

func (*PullImageResponse) Unmarshal

func (m *PullImageResponse) Unmarshal(dAtA []byte) error

func (*PullImageResponse) XXX_DiscardUnknown

func (m *PullImageResponse) XXX_DiscardUnknown()

func (*PullImageResponse) XXX_Marshal

func (m *PullImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PullImageResponse) XXX_Merge

func (m *PullImageResponse) XXX_Merge(src proto.Message)

func (*PullImageResponse) XXX_Size

func (m *PullImageResponse) XXX_Size() int

func (*PullImageResponse) XXX_Unmarshal

func (m *PullImageResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveContainerRequest) Descriptor

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

func (*RemoveContainerRequest) GetContainerId

func (m *RemoveContainerRequest) GetContainerId() string

func (*RemoveContainerRequest) Marshal

func (m *RemoveContainerRequest) Marshal() (dAtA []byte, err error)

func (*RemoveContainerRequest) MarshalTo

func (m *RemoveContainerRequest) MarshalTo(dAtA []byte) (int, error)

func (*RemoveContainerRequest) MarshalToSizedBuffer

func (m *RemoveContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoveContainerRequest) ProtoMessage

func (*RemoveContainerRequest) ProtoMessage()

func (*RemoveContainerRequest) Reset

func (m *RemoveContainerRequest) Reset()

func (*RemoveContainerRequest) Size

func (m *RemoveContainerRequest) Size() (n int)

func (*RemoveContainerRequest) String

func (this *RemoveContainerRequest) String() string

func (*RemoveContainerRequest) Unmarshal

func (m *RemoveContainerRequest) Unmarshal(dAtA []byte) error

func (*RemoveContainerRequest) XXX_DiscardUnknown

func (m *RemoveContainerRequest) XXX_DiscardUnknown()

func (*RemoveContainerRequest) XXX_Marshal

func (m *RemoveContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveContainerRequest) XXX_Merge

func (m *RemoveContainerRequest) XXX_Merge(src proto.Message)

func (*RemoveContainerRequest) XXX_Size

func (m *RemoveContainerRequest) XXX_Size() int

func (*RemoveContainerRequest) XXX_Unmarshal

func (m *RemoveContainerRequest) XXX_Unmarshal(b []byte) error

type RemoveContainerResponse

type RemoveContainerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveContainerResponse) Descriptor

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

func (*RemoveContainerResponse) Marshal

func (m *RemoveContainerResponse) Marshal() (dAtA []byte, err error)

func (*RemoveContainerResponse) MarshalTo

func (m *RemoveContainerResponse) MarshalTo(dAtA []byte) (int, error)

func (*RemoveContainerResponse) MarshalToSizedBuffer

func (m *RemoveContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoveContainerResponse) ProtoMessage

func (*RemoveContainerResponse) ProtoMessage()

func (*RemoveContainerResponse) Reset

func (m *RemoveContainerResponse) Reset()

func (*RemoveContainerResponse) Size

func (m *RemoveContainerResponse) Size() (n int)

func (*RemoveContainerResponse) String

func (this *RemoveContainerResponse) String() string

func (*RemoveContainerResponse) Unmarshal

func (m *RemoveContainerResponse) Unmarshal(dAtA []byte) error

func (*RemoveContainerResponse) XXX_DiscardUnknown

func (m *RemoveContainerResponse) XXX_DiscardUnknown()

func (*RemoveContainerResponse) XXX_Marshal

func (m *RemoveContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveContainerResponse) XXX_Merge

func (m *RemoveContainerResponse) XXX_Merge(src proto.Message)

func (*RemoveContainerResponse) XXX_Size

func (m *RemoveContainerResponse) XXX_Size() int

func (*RemoveContainerResponse) XXX_Unmarshal

func (m *RemoveContainerResponse) XXX_Unmarshal(b []byte) error

type RemoveImageRequest

type RemoveImageRequest struct {
	// Spec of the image to remove.
	Image                *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*RemoveImageRequest) Descriptor

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

func (*RemoveImageRequest) GetImage

func (m *RemoveImageRequest) GetImage() *ImageSpec

func (*RemoveImageRequest) Marshal

func (m *RemoveImageRequest) Marshal() (dAtA []byte, err error)

func (*RemoveImageRequest) MarshalTo

func (m *RemoveImageRequest) MarshalTo(dAtA []byte) (int, error)

func (*RemoveImageRequest) MarshalToSizedBuffer

func (m *RemoveImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoveImageRequest) ProtoMessage

func (*RemoveImageRequest) ProtoMessage()

func (*RemoveImageRequest) Reset

func (m *RemoveImageRequest) Reset()

func (*RemoveImageRequest) Size

func (m *RemoveImageRequest) Size() (n int)

func (*RemoveImageRequest) String

func (this *RemoveImageRequest) String() string

func (*RemoveImageRequest) Unmarshal

func (m *RemoveImageRequest) Unmarshal(dAtA []byte) error

func (*RemoveImageRequest) XXX_DiscardUnknown

func (m *RemoveImageRequest) XXX_DiscardUnknown()

func (*RemoveImageRequest) XXX_Marshal

func (m *RemoveImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveImageRequest) XXX_Merge

func (m *RemoveImageRequest) XXX_Merge(src proto.Message)

func (*RemoveImageRequest) XXX_Size

func (m *RemoveImageRequest) XXX_Size() int

func (*RemoveImageRequest) XXX_Unmarshal

func (m *RemoveImageRequest) XXX_Unmarshal(b []byte) error

type RemoveImageResponse

type RemoveImageResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveImageResponse) Descriptor

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

func (*RemoveImageResponse) Marshal

func (m *RemoveImageResponse) Marshal() (dAtA []byte, err error)

func (*RemoveImageResponse) MarshalTo

func (m *RemoveImageResponse) MarshalTo(dAtA []byte) (int, error)

func (*RemoveImageResponse) MarshalToSizedBuffer

func (m *RemoveImageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoveImageResponse) ProtoMessage

func (*RemoveImageResponse) ProtoMessage()

func (*RemoveImageResponse) Reset

func (m *RemoveImageResponse) Reset()

func (*RemoveImageResponse) Size

func (m *RemoveImageResponse) Size() (n int)

func (*RemoveImageResponse) String

func (this *RemoveImageResponse) String() string

func (*RemoveImageResponse) Unmarshal

func (m *RemoveImageResponse) Unmarshal(dAtA []byte) error

func (*RemoveImageResponse) XXX_DiscardUnknown

func (m *RemoveImageResponse) XXX_DiscardUnknown()

func (*RemoveImageResponse) XXX_Marshal

func (m *RemoveImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveImageResponse) XXX_Merge

func (m *RemoveImageResponse) XXX_Merge(src proto.Message)

func (*RemoveImageResponse) XXX_Size

func (m *RemoveImageResponse) XXX_Size() int

func (*RemoveImageResponse) XXX_Unmarshal

func (m *RemoveImageResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemovePodSandboxRequest) Descriptor

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

func (*RemovePodSandboxRequest) GetPodSandboxId

func (m *RemovePodSandboxRequest) GetPodSandboxId() string

func (*RemovePodSandboxRequest) Marshal

func (m *RemovePodSandboxRequest) Marshal() (dAtA []byte, err error)

func (*RemovePodSandboxRequest) MarshalTo

func (m *RemovePodSandboxRequest) MarshalTo(dAtA []byte) (int, error)

func (*RemovePodSandboxRequest) MarshalToSizedBuffer

func (m *RemovePodSandboxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemovePodSandboxRequest) ProtoMessage

func (*RemovePodSandboxRequest) ProtoMessage()

func (*RemovePodSandboxRequest) Reset

func (m *RemovePodSandboxRequest) Reset()

func (*RemovePodSandboxRequest) Size

func (m *RemovePodSandboxRequest) Size() (n int)

func (*RemovePodSandboxRequest) String

func (this *RemovePodSandboxRequest) String() string

func (*RemovePodSandboxRequest) Unmarshal

func (m *RemovePodSandboxRequest) Unmarshal(dAtA []byte) error

func (*RemovePodSandboxRequest) XXX_DiscardUnknown

func (m *RemovePodSandboxRequest) XXX_DiscardUnknown()

func (*RemovePodSandboxRequest) XXX_Marshal

func (m *RemovePodSandboxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemovePodSandboxRequest) XXX_Merge

func (m *RemovePodSandboxRequest) XXX_Merge(src proto.Message)

func (*RemovePodSandboxRequest) XXX_Size

func (m *RemovePodSandboxRequest) XXX_Size() int

func (*RemovePodSandboxRequest) XXX_Unmarshal

func (m *RemovePodSandboxRequest) XXX_Unmarshal(b []byte) error

type RemovePodSandboxResponse

type RemovePodSandboxResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemovePodSandboxResponse) Descriptor

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

func (*RemovePodSandboxResponse) Marshal

func (m *RemovePodSandboxResponse) Marshal() (dAtA []byte, err error)

func (*RemovePodSandboxResponse) MarshalTo

func (m *RemovePodSandboxResponse) MarshalTo(dAtA []byte) (int, error)

func (*RemovePodSandboxResponse) MarshalToSizedBuffer

func (m *RemovePodSandboxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemovePodSandboxResponse) ProtoMessage

func (*RemovePodSandboxResponse) ProtoMessage()

func (*RemovePodSandboxResponse) Reset

func (m *RemovePodSandboxResponse) Reset()

func (*RemovePodSandboxResponse) Size

func (m *RemovePodSandboxResponse) Size() (n int)

func (*RemovePodSandboxResponse) String

func (this *RemovePodSandboxResponse) String() string

func (*RemovePodSandboxResponse) Unmarshal

func (m *RemovePodSandboxResponse) Unmarshal(dAtA []byte) error

func (*RemovePodSandboxResponse) XXX_DiscardUnknown

func (m *RemovePodSandboxResponse) XXX_DiscardUnknown()

func (*RemovePodSandboxResponse) XXX_Marshal

func (m *RemovePodSandboxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemovePodSandboxResponse) XXX_Merge

func (m *RemovePodSandboxResponse) XXX_Merge(src proto.Message)

func (*RemovePodSandboxResponse) XXX_Size

func (m *RemovePodSandboxResponse) XXX_Size() int

func (*RemovePodSandboxResponse) XXX_Unmarshal

func (m *RemovePodSandboxResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReopenContainerLogRequest) Descriptor

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

func (*ReopenContainerLogRequest) GetContainerId

func (m *ReopenContainerLogRequest) GetContainerId() string

func (*ReopenContainerLogRequest) Marshal

func (m *ReopenContainerLogRequest) Marshal() (dAtA []byte, err error)

func (*ReopenContainerLogRequest) MarshalTo

func (m *ReopenContainerLogRequest) MarshalTo(dAtA []byte) (int, error)

func (*ReopenContainerLogRequest) MarshalToSizedBuffer

func (m *ReopenContainerLogRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReopenContainerLogRequest) ProtoMessage

func (*ReopenContainerLogRequest) ProtoMessage()

func (*ReopenContainerLogRequest) Reset

func (m *ReopenContainerLogRequest) Reset()

func (*ReopenContainerLogRequest) Size

func (m *ReopenContainerLogRequest) Size() (n int)

func (*ReopenContainerLogRequest) String

func (this *ReopenContainerLogRequest) String() string

func (*ReopenContainerLogRequest) Unmarshal

func (m *ReopenContainerLogRequest) Unmarshal(dAtA []byte) error

func (*ReopenContainerLogRequest) XXX_DiscardUnknown

func (m *ReopenContainerLogRequest) XXX_DiscardUnknown()

func (*ReopenContainerLogRequest) XXX_Marshal

func (m *ReopenContainerLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReopenContainerLogRequest) XXX_Merge

func (m *ReopenContainerLogRequest) XXX_Merge(src proto.Message)

func (*ReopenContainerLogRequest) XXX_Size

func (m *ReopenContainerLogRequest) XXX_Size() int

func (*ReopenContainerLogRequest) XXX_Unmarshal

func (m *ReopenContainerLogRequest) XXX_Unmarshal(b []byte) error

type ReopenContainerLogResponse

type ReopenContainerLogResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReopenContainerLogResponse) Descriptor

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

func (*ReopenContainerLogResponse) Marshal

func (m *ReopenContainerLogResponse) Marshal() (dAtA []byte, err error)

func (*ReopenContainerLogResponse) MarshalTo

func (m *ReopenContainerLogResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReopenContainerLogResponse) MarshalToSizedBuffer

func (m *ReopenContainerLogResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReopenContainerLogResponse) ProtoMessage

func (*ReopenContainerLogResponse) ProtoMessage()

func (*ReopenContainerLogResponse) Reset

func (m *ReopenContainerLogResponse) Reset()

func (*ReopenContainerLogResponse) Size

func (m *ReopenContainerLogResponse) Size() (n int)

func (*ReopenContainerLogResponse) String

func (this *ReopenContainerLogResponse) String() string

func (*ReopenContainerLogResponse) Unmarshal

func (m *ReopenContainerLogResponse) Unmarshal(dAtA []byte) error

func (*ReopenContainerLogResponse) XXX_DiscardUnknown

func (m *ReopenContainerLogResponse) XXX_DiscardUnknown()

func (*ReopenContainerLogResponse) XXX_Marshal

func (m *ReopenContainerLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReopenContainerLogResponse) XXX_Merge

func (m *ReopenContainerLogResponse) XXX_Merge(src proto.Message)

func (*ReopenContainerLogResponse) XXX_Size

func (m *ReopenContainerLogResponse) XXX_Size() int

func (*ReopenContainerLogResponse) XXX_Unmarshal

func (m *ReopenContainerLogResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RunPodSandboxRequest) Descriptor

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

func (*RunPodSandboxRequest) GetConfig

func (m *RunPodSandboxRequest) GetConfig() *PodSandboxConfig

func (*RunPodSandboxRequest) GetRuntimeHandler

func (m *RunPodSandboxRequest) GetRuntimeHandler() string

func (*RunPodSandboxRequest) Marshal

func (m *RunPodSandboxRequest) Marshal() (dAtA []byte, err error)

func (*RunPodSandboxRequest) MarshalTo

func (m *RunPodSandboxRequest) MarshalTo(dAtA []byte) (int, error)

func (*RunPodSandboxRequest) MarshalToSizedBuffer

func (m *RunPodSandboxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunPodSandboxRequest) ProtoMessage

func (*RunPodSandboxRequest) ProtoMessage()

func (*RunPodSandboxRequest) Reset

func (m *RunPodSandboxRequest) Reset()

func (*RunPodSandboxRequest) Size

func (m *RunPodSandboxRequest) Size() (n int)

func (*RunPodSandboxRequest) String

func (this *RunPodSandboxRequest) String() string

func (*RunPodSandboxRequest) Unmarshal

func (m *RunPodSandboxRequest) Unmarshal(dAtA []byte) error

func (*RunPodSandboxRequest) XXX_DiscardUnknown

func (m *RunPodSandboxRequest) XXX_DiscardUnknown()

func (*RunPodSandboxRequest) XXX_Marshal

func (m *RunPodSandboxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunPodSandboxRequest) XXX_Merge

func (m *RunPodSandboxRequest) XXX_Merge(src proto.Message)

func (*RunPodSandboxRequest) XXX_Size

func (m *RunPodSandboxRequest) XXX_Size() int

func (*RunPodSandboxRequest) XXX_Unmarshal

func (m *RunPodSandboxRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RunPodSandboxResponse) Descriptor

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

func (*RunPodSandboxResponse) GetPodSandboxId

func (m *RunPodSandboxResponse) GetPodSandboxId() string

func (*RunPodSandboxResponse) Marshal

func (m *RunPodSandboxResponse) Marshal() (dAtA []byte, err error)

func (*RunPodSandboxResponse) MarshalTo

func (m *RunPodSandboxResponse) MarshalTo(dAtA []byte) (int, error)

func (*RunPodSandboxResponse) MarshalToSizedBuffer

func (m *RunPodSandboxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunPodSandboxResponse) ProtoMessage

func (*RunPodSandboxResponse) ProtoMessage()

func (*RunPodSandboxResponse) Reset

func (m *RunPodSandboxResponse) Reset()

func (*RunPodSandboxResponse) Size

func (m *RunPodSandboxResponse) Size() (n int)

func (*RunPodSandboxResponse) String

func (this *RunPodSandboxResponse) String() string

func (*RunPodSandboxResponse) Unmarshal

func (m *RunPodSandboxResponse) Unmarshal(dAtA []byte) error

func (*RunPodSandboxResponse) XXX_DiscardUnknown

func (m *RunPodSandboxResponse) XXX_DiscardUnknown()

func (*RunPodSandboxResponse) XXX_Marshal

func (m *RunPodSandboxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunPodSandboxResponse) XXX_Merge

func (m *RunPodSandboxResponse) XXX_Merge(src proto.Message)

func (*RunPodSandboxResponse) XXX_Size

func (m *RunPodSandboxResponse) XXX_Size() int

func (*RunPodSandboxResponse) XXX_Unmarshal

func (m *RunPodSandboxResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*RuntimeCondition) GetMessage

func (m *RuntimeCondition) GetMessage() string

func (*RuntimeCondition) GetReason

func (m *RuntimeCondition) GetReason() string

func (*RuntimeCondition) GetStatus

func (m *RuntimeCondition) GetStatus() bool

func (*RuntimeCondition) GetType

func (m *RuntimeCondition) GetType() string

func (*RuntimeCondition) Marshal

func (m *RuntimeCondition) Marshal() (dAtA []byte, err error)

func (*RuntimeCondition) MarshalTo

func (m *RuntimeCondition) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeCondition) MarshalToSizedBuffer

func (m *RuntimeCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeCondition) ProtoMessage

func (*RuntimeCondition) ProtoMessage()

func (*RuntimeCondition) Reset

func (m *RuntimeCondition) Reset()

func (*RuntimeCondition) Size

func (m *RuntimeCondition) Size() (n int)

func (*RuntimeCondition) String

func (this *RuntimeCondition) String() string

func (*RuntimeCondition) Unmarshal

func (m *RuntimeCondition) Unmarshal(dAtA []byte) error

func (*RuntimeCondition) XXX_DiscardUnknown

func (m *RuntimeCondition) XXX_DiscardUnknown()

func (*RuntimeCondition) XXX_Marshal

func (m *RuntimeCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeCondition) XXX_Merge

func (m *RuntimeCondition) XXX_Merge(src proto.Message)

func (*RuntimeCondition) XXX_Size

func (m *RuntimeCondition) XXX_Size() int

func (*RuntimeCondition) XXX_Unmarshal

func (m *RuntimeCondition) XXX_Unmarshal(b []byte) error

type RuntimeConfig

type RuntimeConfig struct {
	NetworkConfig        *NetworkConfig `protobuf:"bytes,1,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*RuntimeConfig) Descriptor

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

func (*RuntimeConfig) GetNetworkConfig

func (m *RuntimeConfig) GetNetworkConfig() *NetworkConfig

func (*RuntimeConfig) Marshal

func (m *RuntimeConfig) Marshal() (dAtA []byte, err error)

func (*RuntimeConfig) MarshalTo

func (m *RuntimeConfig) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeConfig) MarshalToSizedBuffer

func (m *RuntimeConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeConfig) ProtoMessage

func (*RuntimeConfig) ProtoMessage()

func (*RuntimeConfig) Reset

func (m *RuntimeConfig) Reset()

func (*RuntimeConfig) Size

func (m *RuntimeConfig) Size() (n int)

func (*RuntimeConfig) String

func (this *RuntimeConfig) String() string

func (*RuntimeConfig) Unmarshal

func (m *RuntimeConfig) Unmarshal(dAtA []byte) error

func (*RuntimeConfig) XXX_DiscardUnknown

func (m *RuntimeConfig) XXX_DiscardUnknown()

func (*RuntimeConfig) XXX_Marshal

func (m *RuntimeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeConfig) XXX_Merge

func (m *RuntimeConfig) XXX_Merge(src proto.Message)

func (*RuntimeConfig) XXX_Size

func (m *RuntimeConfig) XXX_Size() int

func (*RuntimeConfig) XXX_Unmarshal

func (m *RuntimeConfig) XXX_Unmarshal(b []byte) error

type RuntimeConfigRequest added in v0.28.0

type RuntimeConfigRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RuntimeConfigRequest) Descriptor added in v0.28.0

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

func (*RuntimeConfigRequest) Marshal added in v0.28.0

func (m *RuntimeConfigRequest) Marshal() (dAtA []byte, err error)

func (*RuntimeConfigRequest) MarshalTo added in v0.28.0

func (m *RuntimeConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeConfigRequest) MarshalToSizedBuffer added in v0.28.0

func (m *RuntimeConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeConfigRequest) ProtoMessage added in v0.28.0

func (*RuntimeConfigRequest) ProtoMessage()

func (*RuntimeConfigRequest) Reset added in v0.28.0

func (m *RuntimeConfigRequest) Reset()

func (*RuntimeConfigRequest) Size added in v0.28.0

func (m *RuntimeConfigRequest) Size() (n int)

func (*RuntimeConfigRequest) String added in v0.28.0

func (this *RuntimeConfigRequest) String() string

func (*RuntimeConfigRequest) Unmarshal added in v0.28.0

func (m *RuntimeConfigRequest) Unmarshal(dAtA []byte) error

func (*RuntimeConfigRequest) XXX_DiscardUnknown added in v0.28.0

func (m *RuntimeConfigRequest) XXX_DiscardUnknown()

func (*RuntimeConfigRequest) XXX_Marshal added in v0.28.0

func (m *RuntimeConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeConfigRequest) XXX_Merge added in v0.28.0

func (m *RuntimeConfigRequest) XXX_Merge(src proto.Message)

func (*RuntimeConfigRequest) XXX_Size added in v0.28.0

func (m *RuntimeConfigRequest) XXX_Size() int

func (*RuntimeConfigRequest) XXX_Unmarshal added in v0.28.0

func (m *RuntimeConfigRequest) XXX_Unmarshal(b []byte) error

type RuntimeConfigResponse added in v0.28.0

type RuntimeConfigResponse struct {
	// Configuration information for Linux-based runtimes. This field contains
	// global runtime configuration options that are not specific to runtime
	// handlers.
	Linux                *LinuxRuntimeConfiguration `protobuf:"bytes,1,opt,name=linux,proto3" json:"linux,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*RuntimeConfigResponse) Descriptor added in v0.28.0

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

func (*RuntimeConfigResponse) GetLinux added in v0.28.0

func (*RuntimeConfigResponse) Marshal added in v0.28.0

func (m *RuntimeConfigResponse) Marshal() (dAtA []byte, err error)

func (*RuntimeConfigResponse) MarshalTo added in v0.28.0

func (m *RuntimeConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeConfigResponse) MarshalToSizedBuffer added in v0.28.0

func (m *RuntimeConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeConfigResponse) ProtoMessage added in v0.28.0

func (*RuntimeConfigResponse) ProtoMessage()

func (*RuntimeConfigResponse) Reset added in v0.28.0

func (m *RuntimeConfigResponse) Reset()

func (*RuntimeConfigResponse) Size added in v0.28.0

func (m *RuntimeConfigResponse) Size() (n int)

func (*RuntimeConfigResponse) String added in v0.28.0

func (this *RuntimeConfigResponse) String() string

func (*RuntimeConfigResponse) Unmarshal added in v0.28.0

func (m *RuntimeConfigResponse) Unmarshal(dAtA []byte) error

func (*RuntimeConfigResponse) XXX_DiscardUnknown added in v0.28.0

func (m *RuntimeConfigResponse) XXX_DiscardUnknown()

func (*RuntimeConfigResponse) XXX_Marshal added in v0.28.0

func (m *RuntimeConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeConfigResponse) XXX_Merge added in v0.28.0

func (m *RuntimeConfigResponse) XXX_Merge(src proto.Message)

func (*RuntimeConfigResponse) XXX_Size added in v0.28.0

func (m *RuntimeConfigResponse) XXX_Size() int

func (*RuntimeConfigResponse) XXX_Unmarshal added in v0.28.0

func (m *RuntimeConfigResponse) XXX_Unmarshal(b []byte) error

type RuntimeFeatures added in v0.31.0

type RuntimeFeatures struct {
	// supplemental_groups_policy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.
	SupplementalGroupsPolicy bool     `` /* 136-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
	XXX_sizecache            int32    `json:"-"`
}

RuntimeFeatures describes the set of features implemented by the CRI implementation. The features contained in the RuntimeFeatures should depend only on the cri implementation independent of runtime handlers.

func (*RuntimeFeatures) Descriptor added in v0.31.0

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

func (*RuntimeFeatures) GetSupplementalGroupsPolicy added in v0.31.0

func (m *RuntimeFeatures) GetSupplementalGroupsPolicy() bool

func (*RuntimeFeatures) Marshal added in v0.31.0

func (m *RuntimeFeatures) Marshal() (dAtA []byte, err error)

func (*RuntimeFeatures) MarshalTo added in v0.31.0

func (m *RuntimeFeatures) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeFeatures) MarshalToSizedBuffer added in v0.31.0

func (m *RuntimeFeatures) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeFeatures) ProtoMessage added in v0.31.0

func (*RuntimeFeatures) ProtoMessage()

func (*RuntimeFeatures) Reset added in v0.31.0

func (m *RuntimeFeatures) Reset()

func (*RuntimeFeatures) Size added in v0.31.0

func (m *RuntimeFeatures) Size() (n int)

func (*RuntimeFeatures) String added in v0.31.0

func (this *RuntimeFeatures) String() string

func (*RuntimeFeatures) Unmarshal added in v0.31.0

func (m *RuntimeFeatures) Unmarshal(dAtA []byte) error

func (*RuntimeFeatures) XXX_DiscardUnknown added in v0.31.0

func (m *RuntimeFeatures) XXX_DiscardUnknown()

func (*RuntimeFeatures) XXX_Marshal added in v0.31.0

func (m *RuntimeFeatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeFeatures) XXX_Merge added in v0.31.0

func (m *RuntimeFeatures) XXX_Merge(src proto.Message)

func (*RuntimeFeatures) XXX_Size added in v0.31.0

func (m *RuntimeFeatures) XXX_Size() int

func (*RuntimeFeatures) XXX_Unmarshal added in v0.31.0

func (m *RuntimeFeatures) XXX_Unmarshal(b []byte) error

type RuntimeHandler added in v0.30.0

type RuntimeHandler struct {
	// Name must be unique in StatusResponse.
	// An empty string denotes the default handler.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Supported features.
	Features             *RuntimeHandlerFeatures `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*RuntimeHandler) Descriptor added in v0.30.0

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

func (*RuntimeHandler) GetFeatures added in v0.30.0

func (m *RuntimeHandler) GetFeatures() *RuntimeHandlerFeatures

func (*RuntimeHandler) GetName added in v0.30.0

func (m *RuntimeHandler) GetName() string

func (*RuntimeHandler) Marshal added in v0.30.0

func (m *RuntimeHandler) Marshal() (dAtA []byte, err error)

func (*RuntimeHandler) MarshalTo added in v0.30.0

func (m *RuntimeHandler) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeHandler) MarshalToSizedBuffer added in v0.30.0

func (m *RuntimeHandler) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeHandler) ProtoMessage added in v0.30.0

func (*RuntimeHandler) ProtoMessage()

func (*RuntimeHandler) Reset added in v0.30.0

func (m *RuntimeHandler) Reset()

func (*RuntimeHandler) Size added in v0.30.0

func (m *RuntimeHandler) Size() (n int)

func (*RuntimeHandler) String added in v0.30.0

func (this *RuntimeHandler) String() string

func (*RuntimeHandler) Unmarshal added in v0.30.0

func (m *RuntimeHandler) Unmarshal(dAtA []byte) error

func (*RuntimeHandler) XXX_DiscardUnknown added in v0.30.0

func (m *RuntimeHandler) XXX_DiscardUnknown()

func (*RuntimeHandler) XXX_Marshal added in v0.30.0

func (m *RuntimeHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeHandler) XXX_Merge added in v0.30.0

func (m *RuntimeHandler) XXX_Merge(src proto.Message)

func (*RuntimeHandler) XXX_Size added in v0.30.0

func (m *RuntimeHandler) XXX_Size() int

func (*RuntimeHandler) XXX_Unmarshal added in v0.30.0

func (m *RuntimeHandler) XXX_Unmarshal(b []byte) error

type RuntimeHandlerFeatures added in v0.30.0

type RuntimeHandlerFeatures struct {
	// recursive_read_only_mounts is set to true if the runtime handler supports
	// recursive read-only mounts.
	// For runc-compatible runtimes, availability of this feature can be detected by checking whether
	// the Linux kernel version is >= 5.12, and,  `runc features | jq .mountOptions` contains "rro".
	RecursiveReadOnlyMounts bool `` /* 135-byte string literal not displayed */
	// user_namespaces is set to true if the runtime handler supports user namespaces as implemented
	// in Kubernetes. This means support for both, user namespaces and idmap mounts.
	UserNamespaces       bool     `protobuf:"varint,2,opt,name=user_namespaces,json=userNamespaces,proto3" json:"user_namespaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RuntimeHandlerFeatures is a set of features implemented by the runtime handler.

func (*RuntimeHandlerFeatures) Descriptor added in v0.30.0

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

func (*RuntimeHandlerFeatures) GetRecursiveReadOnlyMounts added in v0.30.0

func (m *RuntimeHandlerFeatures) GetRecursiveReadOnlyMounts() bool

func (*RuntimeHandlerFeatures) GetUserNamespaces added in v0.30.0

func (m *RuntimeHandlerFeatures) GetUserNamespaces() bool

func (*RuntimeHandlerFeatures) Marshal added in v0.30.0

func (m *RuntimeHandlerFeatures) Marshal() (dAtA []byte, err error)

func (*RuntimeHandlerFeatures) MarshalTo added in v0.30.0

func (m *RuntimeHandlerFeatures) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeHandlerFeatures) MarshalToSizedBuffer added in v0.30.0

func (m *RuntimeHandlerFeatures) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeHandlerFeatures) ProtoMessage added in v0.30.0

func (*RuntimeHandlerFeatures) ProtoMessage()

func (*RuntimeHandlerFeatures) Reset added in v0.30.0

func (m *RuntimeHandlerFeatures) Reset()

func (*RuntimeHandlerFeatures) Size added in v0.30.0

func (m *RuntimeHandlerFeatures) Size() (n int)

func (*RuntimeHandlerFeatures) String added in v0.30.0

func (this *RuntimeHandlerFeatures) String() string

func (*RuntimeHandlerFeatures) Unmarshal added in v0.30.0

func (m *RuntimeHandlerFeatures) Unmarshal(dAtA []byte) error

func (*RuntimeHandlerFeatures) XXX_DiscardUnknown added in v0.30.0

func (m *RuntimeHandlerFeatures) XXX_DiscardUnknown()

func (*RuntimeHandlerFeatures) XXX_Marshal added in v0.30.0

func (m *RuntimeHandlerFeatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeHandlerFeatures) XXX_Merge added in v0.30.0

func (m *RuntimeHandlerFeatures) XXX_Merge(src proto.Message)

func (*RuntimeHandlerFeatures) XXX_Size added in v0.30.0

func (m *RuntimeHandlerFeatures) XXX_Size() int

func (*RuntimeHandlerFeatures) XXX_Unmarshal added in v0.30.0

func (m *RuntimeHandlerFeatures) XXX_Unmarshal(b []byte) error

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)
	// CheckpointContainer checkpoints a container
	CheckpointContainer(ctx context.Context, in *CheckpointContainerRequest, opts ...grpc.CallOption) (*CheckpointContainerResponse, error)
	// GetContainerEvents gets container events from the CRI runtime
	GetContainerEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (RuntimeService_GetContainerEventsClient, error)
	// ListMetricDescriptors gets the descriptors for the metrics that will be returned in ListPodSandboxMetrics.
	// This list should be static at startup: either the client and server restart together when
	// adding or removing metrics descriptors, or they should not change.
	// Put differently, if ListPodSandboxMetrics references a name that is not described in the initial
	// ListMetricDescriptors call, then the metric will not be broadcasted.
	ListMetricDescriptors(ctx context.Context, in *ListMetricDescriptorsRequest, opts ...grpc.CallOption) (*ListMetricDescriptorsResponse, error)
	// ListPodSandboxMetrics gets pod sandbox metrics from CRI Runtime
	ListPodSandboxMetrics(ctx context.Context, in *ListPodSandboxMetricsRequest, opts ...grpc.CallOption) (*ListPodSandboxMetricsResponse, error)
	// RuntimeConfig returns configuration information of the runtime.
	// A couple of notes:
	//   - The RuntimeConfigRequest object is not to be confused with the contents of UpdateRuntimeConfigRequest.
	//     The former is for having runtime tell Kubelet what to do, the latter vice versa.
	//   - It is the expectation of the Kubelet that these fields are static for the lifecycle of the Kubelet.
	//     The Kubelet will not re-request the RuntimeConfiguration after startup, and CRI implementations should
	//     avoid updating them without a full node reboot.
	RuntimeConfig(ctx context.Context, in *RuntimeConfigRequest, opts ...grpc.CallOption) (*RuntimeConfigResponse, error)
}

RuntimeServiceClient is the client API for RuntimeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRuntimeServiceClient

func NewRuntimeServiceClient(cc *grpc.ClientConn) RuntimeServiceClient

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)
	// CheckpointContainer checkpoints a container
	CheckpointContainer(context.Context, *CheckpointContainerRequest) (*CheckpointContainerResponse, error)
	// GetContainerEvents gets container events from the CRI runtime
	GetContainerEvents(*GetEventsRequest, RuntimeService_GetContainerEventsServer) error
	// ListMetricDescriptors gets the descriptors for the metrics that will be returned in ListPodSandboxMetrics.
	// This list should be static at startup: either the client and server restart together when
	// adding or removing metrics descriptors, or they should not change.
	// Put differently, if ListPodSandboxMetrics references a name that is not described in the initial
	// ListMetricDescriptors call, then the metric will not be broadcasted.
	ListMetricDescriptors(context.Context, *ListMetricDescriptorsRequest) (*ListMetricDescriptorsResponse, error)
	// ListPodSandboxMetrics gets pod sandbox metrics from CRI Runtime
	ListPodSandboxMetrics(context.Context, *ListPodSandboxMetricsRequest) (*ListPodSandboxMetricsResponse, error)
	// RuntimeConfig returns configuration information of the runtime.
	// A couple of notes:
	//   - The RuntimeConfigRequest object is not to be confused with the contents of UpdateRuntimeConfigRequest.
	//     The former is for having runtime tell Kubelet what to do, the latter vice versa.
	//   - It is the expectation of the Kubelet that these fields are static for the lifecycle of the Kubelet.
	//     The Kubelet will not re-request the RuntimeConfiguration after startup, and CRI implementations should
	//     avoid updating them without a full node reboot.
	RuntimeConfig(context.Context, *RuntimeConfigRequest) (*RuntimeConfigResponse, error)
}

RuntimeServiceServer is the server API for RuntimeService service.

type RuntimeService_GetContainerEventsClient added in v0.25.0

type RuntimeService_GetContainerEventsClient interface {
	Recv() (*ContainerEventResponse, error)
	grpc.ClientStream
}

type RuntimeService_GetContainerEventsServer added in v0.25.0

type RuntimeService_GetContainerEventsServer interface {
	Send(*ContainerEventResponse) error
	grpc.ServerStream
}

type RuntimeStatus

type RuntimeStatus struct {
	// List of current observed runtime conditions.
	Conditions           []*RuntimeCondition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

RuntimeStatus is information about the current status of the runtime.

func (*RuntimeStatus) Descriptor

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

func (*RuntimeStatus) GetConditions

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

func (*RuntimeStatus) Marshal

func (m *RuntimeStatus) Marshal() (dAtA []byte, err error)

func (*RuntimeStatus) MarshalTo

func (m *RuntimeStatus) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeStatus) MarshalToSizedBuffer

func (m *RuntimeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeStatus) ProtoMessage

func (*RuntimeStatus) ProtoMessage()

func (*RuntimeStatus) Reset

func (m *RuntimeStatus) Reset()

func (*RuntimeStatus) Size

func (m *RuntimeStatus) Size() (n int)

func (*RuntimeStatus) String

func (this *RuntimeStatus) String() string

func (*RuntimeStatus) Unmarshal

func (m *RuntimeStatus) Unmarshal(dAtA []byte) error

func (*RuntimeStatus) XXX_DiscardUnknown

func (m *RuntimeStatus) XXX_DiscardUnknown()

func (*RuntimeStatus) XXX_Marshal

func (m *RuntimeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeStatus) XXX_Merge

func (m *RuntimeStatus) XXX_Merge(src proto.Message)

func (*RuntimeStatus) XXX_Size

func (m *RuntimeStatus) XXX_Size() int

func (*RuntimeStatus) XXX_Unmarshal

func (m *RuntimeStatus) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SELinuxOption are the labels to be applied to the container.

func (*SELinuxOption) Descriptor

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

func (*SELinuxOption) GetLevel

func (m *SELinuxOption) GetLevel() string

func (*SELinuxOption) GetRole

func (m *SELinuxOption) GetRole() string

func (*SELinuxOption) GetType

func (m *SELinuxOption) GetType() string

func (*SELinuxOption) GetUser

func (m *SELinuxOption) GetUser() string

func (*SELinuxOption) Marshal

func (m *SELinuxOption) Marshal() (dAtA []byte, err error)

func (*SELinuxOption) MarshalTo

func (m *SELinuxOption) MarshalTo(dAtA []byte) (int, error)

func (*SELinuxOption) MarshalToSizedBuffer

func (m *SELinuxOption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SELinuxOption) ProtoMessage

func (*SELinuxOption) ProtoMessage()

func (*SELinuxOption) Reset

func (m *SELinuxOption) Reset()

func (*SELinuxOption) Size

func (m *SELinuxOption) Size() (n int)

func (*SELinuxOption) String

func (this *SELinuxOption) String() string

func (*SELinuxOption) Unmarshal

func (m *SELinuxOption) Unmarshal(dAtA []byte) error

func (*SELinuxOption) XXX_DiscardUnknown

func (m *SELinuxOption) XXX_DiscardUnknown()

func (*SELinuxOption) XXX_Marshal

func (m *SELinuxOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SELinuxOption) XXX_Merge

func (m *SELinuxOption) XXX_Merge(src proto.Message)

func (*SELinuxOption) XXX_Size

func (m *SELinuxOption) XXX_Size() int

func (*SELinuxOption) XXX_Unmarshal

func (m *SELinuxOption) XXX_Unmarshal(b []byte) error

type SecurityProfile

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

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

func (*SecurityProfile) Descriptor

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

func (*SecurityProfile) GetLocalhostRef

func (m *SecurityProfile) GetLocalhostRef() string

func (*SecurityProfile) GetProfileType

func (m *SecurityProfile) GetProfileType() SecurityProfile_ProfileType

func (*SecurityProfile) Marshal

func (m *SecurityProfile) Marshal() (dAtA []byte, err error)

func (*SecurityProfile) MarshalTo

func (m *SecurityProfile) MarshalTo(dAtA []byte) (int, error)

func (*SecurityProfile) MarshalToSizedBuffer

func (m *SecurityProfile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecurityProfile) ProtoMessage

func (*SecurityProfile) ProtoMessage()

func (*SecurityProfile) Reset

func (m *SecurityProfile) Reset()

func (*SecurityProfile) Size

func (m *SecurityProfile) Size() (n int)

func (*SecurityProfile) String

func (this *SecurityProfile) String() string

func (*SecurityProfile) Unmarshal

func (m *SecurityProfile) Unmarshal(dAtA []byte) error

func (*SecurityProfile) XXX_DiscardUnknown

func (m *SecurityProfile) XXX_DiscardUnknown()

func (*SecurityProfile) XXX_Marshal

func (m *SecurityProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecurityProfile) XXX_Merge

func (m *SecurityProfile) XXX_Merge(src proto.Message)

func (*SecurityProfile) XXX_Size

func (m *SecurityProfile) XXX_Size() int

func (*SecurityProfile) XXX_Unmarshal

func (m *SecurityProfile) XXX_Unmarshal(b []byte) error

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

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

func (SecurityProfile_ProfileType) String

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartContainerRequest) Descriptor

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

func (*StartContainerRequest) GetContainerId

func (m *StartContainerRequest) GetContainerId() string

func (*StartContainerRequest) Marshal

func (m *StartContainerRequest) Marshal() (dAtA []byte, err error)

func (*StartContainerRequest) MarshalTo

func (m *StartContainerRequest) MarshalTo(dAtA []byte) (int, error)

func (*StartContainerRequest) MarshalToSizedBuffer

func (m *StartContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StartContainerRequest) ProtoMessage

func (*StartContainerRequest) ProtoMessage()

func (*StartContainerRequest) Reset

func (m *StartContainerRequest) Reset()

func (*StartContainerRequest) Size

func (m *StartContainerRequest) Size() (n int)

func (*StartContainerRequest) String

func (this *StartContainerRequest) String() string

func (*StartContainerRequest) Unmarshal

func (m *StartContainerRequest) Unmarshal(dAtA []byte) error

func (*StartContainerRequest) XXX_DiscardUnknown

func (m *StartContainerRequest) XXX_DiscardUnknown()

func (*StartContainerRequest) XXX_Marshal

func (m *StartContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartContainerRequest) XXX_Merge

func (m *StartContainerRequest) XXX_Merge(src proto.Message)

func (*StartContainerRequest) XXX_Size

func (m *StartContainerRequest) XXX_Size() int

func (*StartContainerRequest) XXX_Unmarshal

func (m *StartContainerRequest) XXX_Unmarshal(b []byte) error

type StartContainerResponse

type StartContainerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartContainerResponse) Descriptor

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

func (*StartContainerResponse) Marshal

func (m *StartContainerResponse) Marshal() (dAtA []byte, err error)

func (*StartContainerResponse) MarshalTo

func (m *StartContainerResponse) MarshalTo(dAtA []byte) (int, error)

func (*StartContainerResponse) MarshalToSizedBuffer

func (m *StartContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StartContainerResponse) ProtoMessage

func (*StartContainerResponse) ProtoMessage()

func (*StartContainerResponse) Reset

func (m *StartContainerResponse) Reset()

func (*StartContainerResponse) Size

func (m *StartContainerResponse) Size() (n int)

func (*StartContainerResponse) String

func (this *StartContainerResponse) String() string

func (*StartContainerResponse) Unmarshal

func (m *StartContainerResponse) Unmarshal(dAtA []byte) error

func (*StartContainerResponse) XXX_DiscardUnknown

func (m *StartContainerResponse) XXX_DiscardUnknown()

func (*StartContainerResponse) XXX_Marshal

func (m *StartContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartContainerResponse) XXX_Merge

func (m *StartContainerResponse) XXX_Merge(src proto.Message)

func (*StartContainerResponse) XXX_Size

func (m *StartContainerResponse) XXX_Size() int

func (*StartContainerResponse) XXX_Unmarshal

func (m *StartContainerResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatusRequest) Descriptor

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

func (*StatusRequest) GetVerbose

func (m *StatusRequest) GetVerbose() bool

func (*StatusRequest) Marshal

func (m *StatusRequest) Marshal() (dAtA []byte, err error)

func (*StatusRequest) MarshalTo

func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*StatusRequest) MarshalToSizedBuffer

func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) Reset

func (m *StatusRequest) Reset()

func (*StatusRequest) Size

func (m *StatusRequest) Size() (n int)

func (*StatusRequest) String

func (this *StatusRequest) String() string

func (*StatusRequest) Unmarshal

func (m *StatusRequest) Unmarshal(dAtA []byte) error

func (*StatusRequest) XXX_DiscardUnknown

func (m *StatusRequest) XXX_DiscardUnknown()

func (*StatusRequest) XXX_Marshal

func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusRequest) XXX_Merge

func (m *StatusRequest) XXX_Merge(src proto.Message)

func (*StatusRequest) XXX_Size

func (m *StatusRequest) XXX_Size() int

func (*StatusRequest) XXX_Unmarshal

func (m *StatusRequest) XXX_Unmarshal(b []byte) error

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 */
	// Runtime handlers.
	RuntimeHandlers []*RuntimeHandler `protobuf:"bytes,3,rep,name=runtime_handlers,json=runtimeHandlers,proto3" json:"runtime_handlers,omitempty"`
	// features describes the set of features implemented by the CRI implementation.
	// This field is supposed to propagate to NodeFeatures in Kubernetes API.
	Features             *RuntimeFeatures `protobuf:"bytes,4,opt,name=features,proto3" json:"features,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*StatusResponse) Descriptor

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

func (*StatusResponse) GetFeatures added in v0.31.0

func (m *StatusResponse) GetFeatures() *RuntimeFeatures

func (*StatusResponse) GetInfo

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

func (*StatusResponse) GetRuntimeHandlers added in v0.30.0

func (m *StatusResponse) GetRuntimeHandlers() []*RuntimeHandler

func (*StatusResponse) GetStatus

func (m *StatusResponse) GetStatus() *RuntimeStatus

func (*StatusResponse) Marshal

func (m *StatusResponse) Marshal() (dAtA []byte, err error)

func (*StatusResponse) MarshalTo

func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*StatusResponse) MarshalToSizedBuffer

func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) Reset

func (m *StatusResponse) Reset()

func (*StatusResponse) Size

func (m *StatusResponse) Size() (n int)

func (*StatusResponse) String

func (this *StatusResponse) String() string

func (*StatusResponse) Unmarshal

func (m *StatusResponse) Unmarshal(dAtA []byte) error

func (*StatusResponse) XXX_DiscardUnknown

func (m *StatusResponse) XXX_DiscardUnknown()

func (*StatusResponse) XXX_Marshal

func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusResponse) XXX_Merge

func (m *StatusResponse) XXX_Merge(src proto.Message)

func (*StatusResponse) XXX_Size

func (m *StatusResponse) XXX_Size() int

func (*StatusResponse) XXX_Unmarshal

func (m *StatusResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopContainerRequest) Descriptor

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

func (*StopContainerRequest) GetContainerId

func (m *StopContainerRequest) GetContainerId() string

func (*StopContainerRequest) GetTimeout

func (m *StopContainerRequest) GetTimeout() int64

func (*StopContainerRequest) Marshal

func (m *StopContainerRequest) Marshal() (dAtA []byte, err error)

func (*StopContainerRequest) MarshalTo

func (m *StopContainerRequest) MarshalTo(dAtA []byte) (int, error)

func (*StopContainerRequest) MarshalToSizedBuffer

func (m *StopContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StopContainerRequest) ProtoMessage

func (*StopContainerRequest) ProtoMessage()

func (*StopContainerRequest) Reset

func (m *StopContainerRequest) Reset()

func (*StopContainerRequest) Size

func (m *StopContainerRequest) Size() (n int)

func (*StopContainerRequest) String

func (this *StopContainerRequest) String() string

func (*StopContainerRequest) Unmarshal

func (m *StopContainerRequest) Unmarshal(dAtA []byte) error

func (*StopContainerRequest) XXX_DiscardUnknown

func (m *StopContainerRequest) XXX_DiscardUnknown()

func (*StopContainerRequest) XXX_Marshal

func (m *StopContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopContainerRequest) XXX_Merge

func (m *StopContainerRequest) XXX_Merge(src proto.Message)

func (*StopContainerRequest) XXX_Size

func (m *StopContainerRequest) XXX_Size() int

func (*StopContainerRequest) XXX_Unmarshal

func (m *StopContainerRequest) XXX_Unmarshal(b []byte) error

type StopContainerResponse

type StopContainerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopContainerResponse) Descriptor

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

func (*StopContainerResponse) Marshal

func (m *StopContainerResponse) Marshal() (dAtA []byte, err error)

func (*StopContainerResponse) MarshalTo

func (m *StopContainerResponse) MarshalTo(dAtA []byte) (int, error)

func (*StopContainerResponse) MarshalToSizedBuffer

func (m *StopContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StopContainerResponse) ProtoMessage

func (*StopContainerResponse) ProtoMessage()

func (*StopContainerResponse) Reset

func (m *StopContainerResponse) Reset()

func (*StopContainerResponse) Size

func (m *StopContainerResponse) Size() (n int)

func (*StopContainerResponse) String

func (this *StopContainerResponse) String() string

func (*StopContainerResponse) Unmarshal

func (m *StopContainerResponse) Unmarshal(dAtA []byte) error

func (*StopContainerResponse) XXX_DiscardUnknown

func (m *StopContainerResponse) XXX_DiscardUnknown()

func (*StopContainerResponse) XXX_Marshal

func (m *StopContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopContainerResponse) XXX_Merge

func (m *StopContainerResponse) XXX_Merge(src proto.Message)

func (*StopContainerResponse) XXX_Size

func (m *StopContainerResponse) XXX_Size() int

func (*StopContainerResponse) XXX_Unmarshal

func (m *StopContainerResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopPodSandboxRequest) Descriptor

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

func (*StopPodSandboxRequest) GetPodSandboxId

func (m *StopPodSandboxRequest) GetPodSandboxId() string

func (*StopPodSandboxRequest) Marshal

func (m *StopPodSandboxRequest) Marshal() (dAtA []byte, err error)

func (*StopPodSandboxRequest) MarshalTo

func (m *StopPodSandboxRequest) MarshalTo(dAtA []byte) (int, error)

func (*StopPodSandboxRequest) MarshalToSizedBuffer

func (m *StopPodSandboxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StopPodSandboxRequest) ProtoMessage

func (*StopPodSandboxRequest) ProtoMessage()

func (*StopPodSandboxRequest) Reset

func (m *StopPodSandboxRequest) Reset()

func (*StopPodSandboxRequest) Size

func (m *StopPodSandboxRequest) Size() (n int)

func (*StopPodSandboxRequest) String

func (this *StopPodSandboxRequest) String() string

func (*StopPodSandboxRequest) Unmarshal

func (m *StopPodSandboxRequest) Unmarshal(dAtA []byte) error

func (*StopPodSandboxRequest) XXX_DiscardUnknown

func (m *StopPodSandboxRequest) XXX_DiscardUnknown()

func (*StopPodSandboxRequest) XXX_Marshal

func (m *StopPodSandboxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopPodSandboxRequest) XXX_Merge

func (m *StopPodSandboxRequest) XXX_Merge(src proto.Message)

func (*StopPodSandboxRequest) XXX_Size

func (m *StopPodSandboxRequest) XXX_Size() int

func (*StopPodSandboxRequest) XXX_Unmarshal

func (m *StopPodSandboxRequest) XXX_Unmarshal(b []byte) error

type StopPodSandboxResponse

type StopPodSandboxResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopPodSandboxResponse) Descriptor

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

func (*StopPodSandboxResponse) Marshal

func (m *StopPodSandboxResponse) Marshal() (dAtA []byte, err error)

func (*StopPodSandboxResponse) MarshalTo

func (m *StopPodSandboxResponse) MarshalTo(dAtA []byte) (int, error)

func (*StopPodSandboxResponse) MarshalToSizedBuffer

func (m *StopPodSandboxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StopPodSandboxResponse) ProtoMessage

func (*StopPodSandboxResponse) ProtoMessage()

func (*StopPodSandboxResponse) Reset

func (m *StopPodSandboxResponse) Reset()

func (*StopPodSandboxResponse) Size

func (m *StopPodSandboxResponse) Size() (n int)

func (*StopPodSandboxResponse) String

func (this *StopPodSandboxResponse) String() string

func (*StopPodSandboxResponse) Unmarshal

func (m *StopPodSandboxResponse) Unmarshal(dAtA []byte) error

func (*StopPodSandboxResponse) XXX_DiscardUnknown

func (m *StopPodSandboxResponse) XXX_DiscardUnknown()

func (*StopPodSandboxResponse) XXX_Marshal

func (m *StopPodSandboxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopPodSandboxResponse) XXX_Merge

func (m *StopPodSandboxResponse) XXX_Merge(src proto.Message)

func (*StopPodSandboxResponse) XXX_Size

func (m *StopPodSandboxResponse) XXX_Size() int

func (*StopPodSandboxResponse) XXX_Unmarshal

func (m *StopPodSandboxResponse) XXX_Unmarshal(b []byte) error

type SupplementalGroupsPolicy added in v0.31.0

type SupplementalGroupsPolicy int32

SupplementalGroupsPolicy defines how supplemental groups of the first container processes are calculated.

const (
	// Merge means that the container's provided SupplementalGroups
	// and FsGroup (specified in SecurityContext) will be merged with
	// the primary user's groups as defined in the container image
	// (in /etc/group).
	SupplementalGroupsPolicy_Merge SupplementalGroupsPolicy = 0
	// Strict means that the container's provided SupplementalGroups
	// and FsGroup (specified in SecurityContext) will be used instead of
	// any groups defined in the container image.
	SupplementalGroupsPolicy_Strict SupplementalGroupsPolicy = 1
)

func (SupplementalGroupsPolicy) EnumDescriptor added in v0.31.0

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

func (SupplementalGroupsPolicy) String added in v0.31.0

func (x SupplementalGroupsPolicy) String() string

type SwapUsage added in v0.28.0

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

func (*SwapUsage) Descriptor added in v0.28.0

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

func (*SwapUsage) GetSwapAvailableBytes added in v0.28.0

func (m *SwapUsage) GetSwapAvailableBytes() *UInt64Value

func (*SwapUsage) GetSwapUsageBytes added in v0.28.0

func (m *SwapUsage) GetSwapUsageBytes() *UInt64Value

func (*SwapUsage) GetTimestamp added in v0.28.0

func (m *SwapUsage) GetTimestamp() int64

func (*SwapUsage) Marshal added in v0.28.0

func (m *SwapUsage) Marshal() (dAtA []byte, err error)

func (*SwapUsage) MarshalTo added in v0.28.0

func (m *SwapUsage) MarshalTo(dAtA []byte) (int, error)

func (*SwapUsage) MarshalToSizedBuffer added in v0.28.0

func (m *SwapUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SwapUsage) ProtoMessage added in v0.28.0

func (*SwapUsage) ProtoMessage()

func (*SwapUsage) Reset added in v0.28.0

func (m *SwapUsage) Reset()

func (*SwapUsage) Size added in v0.28.0

func (m *SwapUsage) Size() (n int)

func (*SwapUsage) String added in v0.28.0

func (this *SwapUsage) String() string

func (*SwapUsage) Unmarshal added in v0.28.0

func (m *SwapUsage) Unmarshal(dAtA []byte) error

func (*SwapUsage) XXX_DiscardUnknown added in v0.28.0

func (m *SwapUsage) XXX_DiscardUnknown()

func (*SwapUsage) XXX_Marshal added in v0.28.0

func (m *SwapUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwapUsage) XXX_Merge added in v0.28.0

func (m *SwapUsage) XXX_Merge(src proto.Message)

func (*SwapUsage) XXX_Size added in v0.28.0

func (m *SwapUsage) XXX_Size() int

func (*SwapUsage) XXX_Unmarshal added in v0.28.0

func (m *SwapUsage) XXX_Unmarshal(b []byte) error

type UInt64Value

type UInt64Value struct {
	// The value.
	Value                uint64   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UInt64Value is the wrapper of uint64.

func (*UInt64Value) Descriptor

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

func (*UInt64Value) GetValue

func (m *UInt64Value) GetValue() uint64

func (*UInt64Value) Marshal

func (m *UInt64Value) Marshal() (dAtA []byte, err error)

func (*UInt64Value) MarshalTo

func (m *UInt64Value) MarshalTo(dAtA []byte) (int, error)

func (*UInt64Value) MarshalToSizedBuffer

func (m *UInt64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UInt64Value) ProtoMessage

func (*UInt64Value) ProtoMessage()

func (*UInt64Value) Reset

func (m *UInt64Value) Reset()

func (*UInt64Value) Size

func (m *UInt64Value) Size() (n int)

func (*UInt64Value) String

func (this *UInt64Value) String() string

func (*UInt64Value) Unmarshal

func (m *UInt64Value) Unmarshal(dAtA []byte) error

func (*UInt64Value) XXX_DiscardUnknown

func (m *UInt64Value) XXX_DiscardUnknown()

func (*UInt64Value) XXX_Marshal

func (m *UInt64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UInt64Value) XXX_Merge

func (m *UInt64Value) XXX_Merge(src proto.Message)

func (*UInt64Value) XXX_Size

func (m *UInt64Value) XXX_Size() int

func (*UInt64Value) XXX_Unmarshal

func (m *UInt64Value) XXX_Unmarshal(b []byte) error

type UnimplementedImageServiceServer

type UnimplementedImageServiceServer struct {
}

UnimplementedImageServiceServer can 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 can be embedded to have forward compatible implementations.

func (*UnimplementedRuntimeServiceServer) Attach

func (*UnimplementedRuntimeServiceServer) CheckpointContainer added in v0.25.0

func (*UnimplementedRuntimeServiceServer) ContainerStats

func (*UnimplementedRuntimeServiceServer) ContainerStatus

func (*UnimplementedRuntimeServiceServer) CreateContainer

func (*UnimplementedRuntimeServiceServer) Exec

func (*UnimplementedRuntimeServiceServer) ExecSync

func (*UnimplementedRuntimeServiceServer) GetContainerEvents added in v0.25.0

func (*UnimplementedRuntimeServiceServer) ListContainerStats

func (*UnimplementedRuntimeServiceServer) ListContainers

func (*UnimplementedRuntimeServiceServer) ListMetricDescriptors added in v0.26.0

func (*UnimplementedRuntimeServiceServer) ListPodSandbox

func (*UnimplementedRuntimeServiceServer) ListPodSandboxMetrics added in v0.26.0

func (*UnimplementedRuntimeServiceServer) ListPodSandboxStats added in v0.23.0

func (*UnimplementedRuntimeServiceServer) PodSandboxStats added in v0.23.0

func (*UnimplementedRuntimeServiceServer) PodSandboxStatus

func (*UnimplementedRuntimeServiceServer) PortForward

func (*UnimplementedRuntimeServiceServer) RemoveContainer

func (*UnimplementedRuntimeServiceServer) RemovePodSandbox

func (*UnimplementedRuntimeServiceServer) ReopenContainerLog

func (*UnimplementedRuntimeServiceServer) RunPodSandbox

func (*UnimplementedRuntimeServiceServer) RuntimeConfig added in v0.28.0

func (*UnimplementedRuntimeServiceServer) StartContainer

func (*UnimplementedRuntimeServiceServer) Status

func (*UnimplementedRuntimeServiceServer) StopContainer

func (*UnimplementedRuntimeServiceServer) StopPodSandbox

func (*UnimplementedRuntimeServiceServer) UpdateContainerResources

func (*UnimplementedRuntimeServiceServer) UpdateRuntimeConfig

func (*UnimplementedRuntimeServiceServer) Version

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*UpdateContainerResourcesRequest) Descriptor

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

func (*UpdateContainerResourcesRequest) GetAnnotations

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

func (*UpdateContainerResourcesRequest) GetContainerId

func (m *UpdateContainerResourcesRequest) GetContainerId() string

func (*UpdateContainerResourcesRequest) GetLinux

func (*UpdateContainerResourcesRequest) GetWindows

func (*UpdateContainerResourcesRequest) Marshal

func (m *UpdateContainerResourcesRequest) Marshal() (dAtA []byte, err error)

func (*UpdateContainerResourcesRequest) MarshalTo

func (m *UpdateContainerResourcesRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateContainerResourcesRequest) MarshalToSizedBuffer

func (m *UpdateContainerResourcesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateContainerResourcesRequest) ProtoMessage

func (*UpdateContainerResourcesRequest) ProtoMessage()

func (*UpdateContainerResourcesRequest) Reset

func (*UpdateContainerResourcesRequest) Size

func (m *UpdateContainerResourcesRequest) Size() (n int)

func (*UpdateContainerResourcesRequest) String

func (this *UpdateContainerResourcesRequest) String() string

func (*UpdateContainerResourcesRequest) Unmarshal

func (m *UpdateContainerResourcesRequest) Unmarshal(dAtA []byte) error

func (*UpdateContainerResourcesRequest) XXX_DiscardUnknown

func (m *UpdateContainerResourcesRequest) XXX_DiscardUnknown()

func (*UpdateContainerResourcesRequest) XXX_Marshal

func (m *UpdateContainerResourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateContainerResourcesRequest) XXX_Merge

func (m *UpdateContainerResourcesRequest) XXX_Merge(src proto.Message)

func (*UpdateContainerResourcesRequest) XXX_Size

func (m *UpdateContainerResourcesRequest) XXX_Size() int

func (*UpdateContainerResourcesRequest) XXX_Unmarshal

func (m *UpdateContainerResourcesRequest) XXX_Unmarshal(b []byte) error

type UpdateContainerResourcesResponse

type UpdateContainerResourcesResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateContainerResourcesResponse) Descriptor

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

func (*UpdateContainerResourcesResponse) Marshal

func (m *UpdateContainerResourcesResponse) Marshal() (dAtA []byte, err error)

func (*UpdateContainerResourcesResponse) MarshalTo

func (m *UpdateContainerResourcesResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateContainerResourcesResponse) MarshalToSizedBuffer

func (m *UpdateContainerResourcesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateContainerResourcesResponse) ProtoMessage

func (*UpdateContainerResourcesResponse) ProtoMessage()

func (*UpdateContainerResourcesResponse) Reset

func (*UpdateContainerResourcesResponse) Size

func (m *UpdateContainerResourcesResponse) Size() (n int)

func (*UpdateContainerResourcesResponse) String

func (*UpdateContainerResourcesResponse) Unmarshal

func (m *UpdateContainerResourcesResponse) Unmarshal(dAtA []byte) error

func (*UpdateContainerResourcesResponse) XXX_DiscardUnknown

func (m *UpdateContainerResourcesResponse) XXX_DiscardUnknown()

func (*UpdateContainerResourcesResponse) XXX_Marshal

func (m *UpdateContainerResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateContainerResourcesResponse) XXX_Merge

func (*UpdateContainerResourcesResponse) XXX_Size

func (m *UpdateContainerResourcesResponse) XXX_Size() int

func (*UpdateContainerResourcesResponse) XXX_Unmarshal

func (m *UpdateContainerResourcesResponse) XXX_Unmarshal(b []byte) error

type UpdateRuntimeConfigRequest

type UpdateRuntimeConfigRequest struct {
	RuntimeConfig        *RuntimeConfig `protobuf:"bytes,1,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*UpdateRuntimeConfigRequest) Descriptor

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

func (*UpdateRuntimeConfigRequest) GetRuntimeConfig

func (m *UpdateRuntimeConfigRequest) GetRuntimeConfig() *RuntimeConfig

func (*UpdateRuntimeConfigRequest) Marshal

func (m *UpdateRuntimeConfigRequest) Marshal() (dAtA []byte, err error)

func (*UpdateRuntimeConfigRequest) MarshalTo

func (m *UpdateRuntimeConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateRuntimeConfigRequest) MarshalToSizedBuffer

func (m *UpdateRuntimeConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateRuntimeConfigRequest) ProtoMessage

func (*UpdateRuntimeConfigRequest) ProtoMessage()

func (*UpdateRuntimeConfigRequest) Reset

func (m *UpdateRuntimeConfigRequest) Reset()

func (*UpdateRuntimeConfigRequest) Size

func (m *UpdateRuntimeConfigRequest) Size() (n int)

func (*UpdateRuntimeConfigRequest) String

func (this *UpdateRuntimeConfigRequest) String() string

func (*UpdateRuntimeConfigRequest) Unmarshal

func (m *UpdateRuntimeConfigRequest) Unmarshal(dAtA []byte) error

func (*UpdateRuntimeConfigRequest) XXX_DiscardUnknown

func (m *UpdateRuntimeConfigRequest) XXX_DiscardUnknown()

func (*UpdateRuntimeConfigRequest) XXX_Marshal

func (m *UpdateRuntimeConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateRuntimeConfigRequest) XXX_Merge

func (m *UpdateRuntimeConfigRequest) XXX_Merge(src proto.Message)

func (*UpdateRuntimeConfigRequest) XXX_Size

func (m *UpdateRuntimeConfigRequest) XXX_Size() int

func (*UpdateRuntimeConfigRequest) XXX_Unmarshal

func (m *UpdateRuntimeConfigRequest) XXX_Unmarshal(b []byte) error

type UpdateRuntimeConfigResponse

type UpdateRuntimeConfigResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateRuntimeConfigResponse) Descriptor

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

func (*UpdateRuntimeConfigResponse) Marshal

func (m *UpdateRuntimeConfigResponse) Marshal() (dAtA []byte, err error)

func (*UpdateRuntimeConfigResponse) MarshalTo

func (m *UpdateRuntimeConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateRuntimeConfigResponse) MarshalToSizedBuffer

func (m *UpdateRuntimeConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateRuntimeConfigResponse) ProtoMessage

func (*UpdateRuntimeConfigResponse) ProtoMessage()

func (*UpdateRuntimeConfigResponse) Reset

func (m *UpdateRuntimeConfigResponse) Reset()

func (*UpdateRuntimeConfigResponse) Size

func (m *UpdateRuntimeConfigResponse) Size() (n int)

func (*UpdateRuntimeConfigResponse) String

func (this *UpdateRuntimeConfigResponse) String() string

func (*UpdateRuntimeConfigResponse) Unmarshal

func (m *UpdateRuntimeConfigResponse) Unmarshal(dAtA []byte) error

func (*UpdateRuntimeConfigResponse) XXX_DiscardUnknown

func (m *UpdateRuntimeConfigResponse) XXX_DiscardUnknown()

func (*UpdateRuntimeConfigResponse) XXX_Marshal

func (m *UpdateRuntimeConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateRuntimeConfigResponse) XXX_Merge

func (m *UpdateRuntimeConfigResponse) XXX_Merge(src proto.Message)

func (*UpdateRuntimeConfigResponse) XXX_Size

func (m *UpdateRuntimeConfigResponse) XXX_Size() int

func (*UpdateRuntimeConfigResponse) XXX_Unmarshal

func (m *UpdateRuntimeConfigResponse) XXX_Unmarshal(b []byte) error

type UserNamespace added in v0.25.0

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

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

func (*UserNamespace) Descriptor added in v0.25.0

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

func (*UserNamespace) GetGids added in v0.25.0

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

func (*UserNamespace) GetMode added in v0.25.0

func (m *UserNamespace) GetMode() NamespaceMode

func (*UserNamespace) GetUids added in v0.25.0

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

func (*UserNamespace) Marshal added in v0.25.0

func (m *UserNamespace) Marshal() (dAtA []byte, err error)

func (*UserNamespace) MarshalTo added in v0.25.0

func (m *UserNamespace) MarshalTo(dAtA []byte) (int, error)

func (*UserNamespace) MarshalToSizedBuffer added in v0.25.0

func (m *UserNamespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserNamespace) ProtoMessage added in v0.25.0

func (*UserNamespace) ProtoMessage()

func (*UserNamespace) Reset added in v0.25.0

func (m *UserNamespace) Reset()

func (*UserNamespace) Size added in v0.25.0

func (m *UserNamespace) Size() (n int)

func (*UserNamespace) String added in v0.25.0

func (this *UserNamespace) String() string

func (*UserNamespace) Unmarshal added in v0.25.0

func (m *UserNamespace) Unmarshal(dAtA []byte) error

func (*UserNamespace) XXX_DiscardUnknown added in v0.25.0

func (m *UserNamespace) XXX_DiscardUnknown()

func (*UserNamespace) XXX_Marshal added in v0.25.0

func (m *UserNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserNamespace) XXX_Merge added in v0.25.0

func (m *UserNamespace) XXX_Merge(src proto.Message)

func (*UserNamespace) XXX_Size added in v0.25.0

func (m *UserNamespace) XXX_Size() int

func (*UserNamespace) XXX_Unmarshal added in v0.25.0

func (m *UserNamespace) XXX_Unmarshal(b []byte) error

type VersionRequest

type VersionRequest struct {
	// Version of the kubelet runtime API.
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionRequest) Descriptor

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

func (*VersionRequest) GetVersion

func (m *VersionRequest) GetVersion() string

func (*VersionRequest) Marshal

func (m *VersionRequest) Marshal() (dAtA []byte, err error)

func (*VersionRequest) MarshalTo

func (m *VersionRequest) MarshalTo(dAtA []byte) (int, error)

func (*VersionRequest) MarshalToSizedBuffer

func (m *VersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) Reset

func (m *VersionRequest) Reset()

func (*VersionRequest) Size

func (m *VersionRequest) Size() (n int)

func (*VersionRequest) String

func (this *VersionRequest) String() string

func (*VersionRequest) Unmarshal

func (m *VersionRequest) Unmarshal(dAtA []byte) error

func (*VersionRequest) XXX_DiscardUnknown

func (m *VersionRequest) XXX_DiscardUnknown()

func (*VersionRequest) XXX_Marshal

func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionRequest) XXX_Merge

func (m *VersionRequest) XXX_Merge(src proto.Message)

func (*VersionRequest) XXX_Size

func (m *VersionRequest) XXX_Size() int

func (*VersionRequest) XXX_Unmarshal

func (m *VersionRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionResponse) Descriptor

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

func (*VersionResponse) GetRuntimeApiVersion

func (m *VersionResponse) GetRuntimeApiVersion() string

func (*VersionResponse) GetRuntimeName

func (m *VersionResponse) GetRuntimeName() string

func (*VersionResponse) GetRuntimeVersion

func (m *VersionResponse) GetRuntimeVersion() string

func (*VersionResponse) GetVersion

func (m *VersionResponse) GetVersion() string

func (*VersionResponse) Marshal

func (m *VersionResponse) Marshal() (dAtA []byte, err error)

func (*VersionResponse) MarshalTo

func (m *VersionResponse) MarshalTo(dAtA []byte) (int, error)

func (*VersionResponse) MarshalToSizedBuffer

func (m *VersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) Reset

func (m *VersionResponse) Reset()

func (*VersionResponse) Size

func (m *VersionResponse) Size() (n int)

func (*VersionResponse) String

func (this *VersionResponse) String() string

func (*VersionResponse) Unmarshal

func (m *VersionResponse) Unmarshal(dAtA []byte) error

func (*VersionResponse) XXX_DiscardUnknown

func (m *VersionResponse) XXX_DiscardUnknown()

func (*VersionResponse) XXX_Marshal

func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionResponse) XXX_Merge

func (m *VersionResponse) XXX_Merge(src proto.Message)

func (*VersionResponse) XXX_Size

func (m *VersionResponse) XXX_Size() int

func (*VersionResponse) XXX_Unmarshal

func (m *VersionResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

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

func (*WindowsContainerConfig) Descriptor

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

func (*WindowsContainerConfig) GetResources

func (*WindowsContainerConfig) GetSecurityContext

func (*WindowsContainerConfig) Marshal

func (m *WindowsContainerConfig) Marshal() (dAtA []byte, err error)

func (*WindowsContainerConfig) MarshalTo

func (m *WindowsContainerConfig) MarshalTo(dAtA []byte) (int, error)

func (*WindowsContainerConfig) MarshalToSizedBuffer

func (m *WindowsContainerConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsContainerConfig) ProtoMessage

func (*WindowsContainerConfig) ProtoMessage()

func (*WindowsContainerConfig) Reset

func (m *WindowsContainerConfig) Reset()

func (*WindowsContainerConfig) Size

func (m *WindowsContainerConfig) Size() (n int)

func (*WindowsContainerConfig) String

func (this *WindowsContainerConfig) String() string

func (*WindowsContainerConfig) Unmarshal

func (m *WindowsContainerConfig) Unmarshal(dAtA []byte) error

func (*WindowsContainerConfig) XXX_DiscardUnknown

func (m *WindowsContainerConfig) XXX_DiscardUnknown()

func (*WindowsContainerConfig) XXX_Marshal

func (m *WindowsContainerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsContainerConfig) XXX_Merge

func (m *WindowsContainerConfig) XXX_Merge(src proto.Message)

func (*WindowsContainerConfig) XXX_Size

func (m *WindowsContainerConfig) XXX_Size() int

func (*WindowsContainerConfig) XXX_Unmarshal

func (m *WindowsContainerConfig) XXX_Unmarshal(b []byte) error

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"`
	// Optionally specifies the set of CPUs to affinitize for this container.
	AffinityCpus         []*WindowsCpuGroupAffinity `protobuf:"bytes,6,rep,name=affinity_cpus,json=affinityCpus,proto3" json:"affinity_cpus,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

WindowsContainerResources specifies Windows specific configuration for resources.

func (*WindowsContainerResources) Descriptor

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

func (*WindowsContainerResources) GetAffinityCpus added in v0.32.0

func (m *WindowsContainerResources) GetAffinityCpus() []*WindowsCpuGroupAffinity

func (*WindowsContainerResources) GetCpuCount

func (m *WindowsContainerResources) GetCpuCount() int64

func (*WindowsContainerResources) GetCpuMaximum

func (m *WindowsContainerResources) GetCpuMaximum() int64

func (*WindowsContainerResources) GetCpuShares

func (m *WindowsContainerResources) GetCpuShares() int64

func (*WindowsContainerResources) GetMemoryLimitInBytes

func (m *WindowsContainerResources) GetMemoryLimitInBytes() int64

func (*WindowsContainerResources) GetRootfsSizeInBytes added in v0.24.0

func (m *WindowsContainerResources) GetRootfsSizeInBytes() int64

func (*WindowsContainerResources) Marshal

func (m *WindowsContainerResources) Marshal() (dAtA []byte, err error)

func (*WindowsContainerResources) MarshalTo

func (m *WindowsContainerResources) MarshalTo(dAtA []byte) (int, error)

func (*WindowsContainerResources) MarshalToSizedBuffer

func (m *WindowsContainerResources) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsContainerResources) ProtoMessage

func (*WindowsContainerResources) ProtoMessage()

func (*WindowsContainerResources) Reset

func (m *WindowsContainerResources) Reset()

func (*WindowsContainerResources) Size

func (m *WindowsContainerResources) Size() (n int)

func (*WindowsContainerResources) String

func (this *WindowsContainerResources) String() string

func (*WindowsContainerResources) Unmarshal

func (m *WindowsContainerResources) Unmarshal(dAtA []byte) error

func (*WindowsContainerResources) XXX_DiscardUnknown

func (m *WindowsContainerResources) XXX_DiscardUnknown()

func (*WindowsContainerResources) XXX_Marshal

func (m *WindowsContainerResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsContainerResources) XXX_Merge

func (m *WindowsContainerResources) XXX_Merge(src proto.Message)

func (*WindowsContainerResources) XXX_Size

func (m *WindowsContainerResources) XXX_Size() int

func (*WindowsContainerResources) XXX_Unmarshal

func (m *WindowsContainerResources) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*WindowsContainerSecurityContext) Descriptor

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

func (*WindowsContainerSecurityContext) GetCredentialSpec

func (m *WindowsContainerSecurityContext) GetCredentialSpec() string

func (*WindowsContainerSecurityContext) GetHostProcess added in v0.22.0

func (m *WindowsContainerSecurityContext) GetHostProcess() bool

func (*WindowsContainerSecurityContext) GetRunAsUsername

func (m *WindowsContainerSecurityContext) GetRunAsUsername() string

func (*WindowsContainerSecurityContext) Marshal

func (m *WindowsContainerSecurityContext) Marshal() (dAtA []byte, err error)

func (*WindowsContainerSecurityContext) MarshalTo

func (m *WindowsContainerSecurityContext) MarshalTo(dAtA []byte) (int, error)

func (*WindowsContainerSecurityContext) MarshalToSizedBuffer

func (m *WindowsContainerSecurityContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsContainerSecurityContext) ProtoMessage

func (*WindowsContainerSecurityContext) ProtoMessage()

func (*WindowsContainerSecurityContext) Reset

func (*WindowsContainerSecurityContext) Size

func (m *WindowsContainerSecurityContext) Size() (n int)

func (*WindowsContainerSecurityContext) String

func (this *WindowsContainerSecurityContext) String() string

func (*WindowsContainerSecurityContext) Unmarshal

func (m *WindowsContainerSecurityContext) Unmarshal(dAtA []byte) error

func (*WindowsContainerSecurityContext) XXX_DiscardUnknown

func (m *WindowsContainerSecurityContext) XXX_DiscardUnknown()

func (*WindowsContainerSecurityContext) XXX_Marshal

func (m *WindowsContainerSecurityContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsContainerSecurityContext) XXX_Merge

func (m *WindowsContainerSecurityContext) XXX_Merge(src proto.Message)

func (*WindowsContainerSecurityContext) XXX_Size

func (m *WindowsContainerSecurityContext) XXX_Size() int

func (*WindowsContainerSecurityContext) XXX_Unmarshal

func (m *WindowsContainerSecurityContext) XXX_Unmarshal(b []byte) error

type WindowsContainerStats added in v0.26.0

type WindowsContainerStats struct {
	// Information of the container.
	Attributes *ContainerAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// CPU usage gathered from the container.
	Cpu *WindowsCpuUsage `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// Memory usage gathered from the container.
	Memory *WindowsMemoryUsage `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"`
	// Usage of the writable layer.
	WritableLayer        *WindowsFilesystemUsage `protobuf:"bytes,4,opt,name=writable_layer,json=writableLayer,proto3" json:"writable_layer,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

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

func (*WindowsContainerStats) Descriptor added in v0.26.0

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

func (*WindowsContainerStats) GetAttributes added in v0.26.0

func (m *WindowsContainerStats) GetAttributes() *ContainerAttributes

func (*WindowsContainerStats) GetCpu added in v0.26.0

func (*WindowsContainerStats) GetMemory added in v0.26.0

func (m *WindowsContainerStats) GetMemory() *WindowsMemoryUsage

func (*WindowsContainerStats) GetWritableLayer added in v0.26.0

func (m *WindowsContainerStats) GetWritableLayer() *WindowsFilesystemUsage

func (*WindowsContainerStats) Marshal added in v0.26.0

func (m *WindowsContainerStats) Marshal() (dAtA []byte, err error)

func (*WindowsContainerStats) MarshalTo added in v0.26.0

func (m *WindowsContainerStats) MarshalTo(dAtA []byte) (int, error)

func (*WindowsContainerStats) MarshalToSizedBuffer added in v0.26.0

func (m *WindowsContainerStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsContainerStats) ProtoMessage added in v0.26.0

func (*WindowsContainerStats) ProtoMessage()

func (*WindowsContainerStats) Reset added in v0.26.0

func (m *WindowsContainerStats) Reset()

func (*WindowsContainerStats) Size added in v0.26.0

func (m *WindowsContainerStats) Size() (n int)

func (*WindowsContainerStats) String added in v0.26.0

func (this *WindowsContainerStats) String() string

func (*WindowsContainerStats) Unmarshal added in v0.26.0

func (m *WindowsContainerStats) Unmarshal(dAtA []byte) error

func (*WindowsContainerStats) XXX_DiscardUnknown added in v0.26.0

func (m *WindowsContainerStats) XXX_DiscardUnknown()

func (*WindowsContainerStats) XXX_Marshal added in v0.26.0

func (m *WindowsContainerStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsContainerStats) XXX_Merge added in v0.26.0

func (m *WindowsContainerStats) XXX_Merge(src proto.Message)

func (*WindowsContainerStats) XXX_Size added in v0.26.0

func (m *WindowsContainerStats) XXX_Size() int

func (*WindowsContainerStats) XXX_Unmarshal added in v0.26.0

func (m *WindowsContainerStats) XXX_Unmarshal(b []byte) error

type WindowsCpuGroupAffinity added in v0.32.0

type WindowsCpuGroupAffinity struct {
	// CPU mask relative to this CPU group.
	CpuMask uint64 `protobuf:"varint,1,opt,name=cpu_mask,json=cpuMask,proto3" json:"cpu_mask,omitempty"`
	// Processor group the mask refers to, as returned by
	// GetLogicalProcessorInformationEx.
	CpuGroup             uint32   `protobuf:"varint,2,opt,name=cpu_group,json=cpuGroup,proto3" json:"cpu_group,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

WindowsCpuGroupAffinity specifies the CPU mask and group to affinitize. This is similar to the following _GROUP_AFFINITY structure: https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/miniport/ns-miniport-_group_affinity

func (*WindowsCpuGroupAffinity) Descriptor added in v0.32.0

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

func (*WindowsCpuGroupAffinity) GetCpuGroup added in v0.32.0

func (m *WindowsCpuGroupAffinity) GetCpuGroup() uint32

func (*WindowsCpuGroupAffinity) GetCpuMask added in v0.32.0

func (m *WindowsCpuGroupAffinity) GetCpuMask() uint64

func (*WindowsCpuGroupAffinity) Marshal added in v0.32.0

func (m *WindowsCpuGroupAffinity) Marshal() (dAtA []byte, err error)

func (*WindowsCpuGroupAffinity) MarshalTo added in v0.32.0

func (m *WindowsCpuGroupAffinity) MarshalTo(dAtA []byte) (int, error)

func (*WindowsCpuGroupAffinity) MarshalToSizedBuffer added in v0.32.0

func (m *WindowsCpuGroupAffinity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsCpuGroupAffinity) ProtoMessage added in v0.32.0

func (*WindowsCpuGroupAffinity) ProtoMessage()

func (*WindowsCpuGroupAffinity) Reset added in v0.32.0

func (m *WindowsCpuGroupAffinity) Reset()

func (*WindowsCpuGroupAffinity) Size added in v0.32.0

func (m *WindowsCpuGroupAffinity) Size() (n int)

func (*WindowsCpuGroupAffinity) String added in v0.32.0

func (this *WindowsCpuGroupAffinity) String() string

func (*WindowsCpuGroupAffinity) Unmarshal added in v0.32.0

func (m *WindowsCpuGroupAffinity) Unmarshal(dAtA []byte) error

func (*WindowsCpuGroupAffinity) XXX_DiscardUnknown added in v0.32.0

func (m *WindowsCpuGroupAffinity) XXX_DiscardUnknown()

func (*WindowsCpuGroupAffinity) XXX_Marshal added in v0.32.0

func (m *WindowsCpuGroupAffinity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsCpuGroupAffinity) XXX_Merge added in v0.32.0

func (m *WindowsCpuGroupAffinity) XXX_Merge(src proto.Message)

func (*WindowsCpuGroupAffinity) XXX_Size added in v0.32.0

func (m *WindowsCpuGroupAffinity) XXX_Size() int

func (*WindowsCpuGroupAffinity) XXX_Unmarshal added in v0.32.0

func (m *WindowsCpuGroupAffinity) XXX_Unmarshal(b []byte) error

type WindowsCpuUsage added in v0.26.0

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

WindowsCpuUsage provides the CPU usage information specific to Windows

func (*WindowsCpuUsage) Descriptor added in v0.26.0

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

func (*WindowsCpuUsage) GetTimestamp added in v0.26.0

func (m *WindowsCpuUsage) GetTimestamp() int64

func (*WindowsCpuUsage) GetUsageCoreNanoSeconds added in v0.26.0

func (m *WindowsCpuUsage) GetUsageCoreNanoSeconds() *UInt64Value

func (*WindowsCpuUsage) GetUsageNanoCores added in v0.26.0

func (m *WindowsCpuUsage) GetUsageNanoCores() *UInt64Value

func (*WindowsCpuUsage) Marshal added in v0.26.0

func (m *WindowsCpuUsage) Marshal() (dAtA []byte, err error)

func (*WindowsCpuUsage) MarshalTo added in v0.26.0

func (m *WindowsCpuUsage) MarshalTo(dAtA []byte) (int, error)

func (*WindowsCpuUsage) MarshalToSizedBuffer added in v0.26.0

func (m *WindowsCpuUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsCpuUsage) ProtoMessage added in v0.26.0

func (*WindowsCpuUsage) ProtoMessage()

func (*WindowsCpuUsage) Reset added in v0.26.0

func (m *WindowsCpuUsage) Reset()

func (*WindowsCpuUsage) Size added in v0.26.0

func (m *WindowsCpuUsage) Size() (n int)

func (*WindowsCpuUsage) String added in v0.26.0

func (this *WindowsCpuUsage) String() string

func (*WindowsCpuUsage) Unmarshal added in v0.26.0

func (m *WindowsCpuUsage) Unmarshal(dAtA []byte) error

func (*WindowsCpuUsage) XXX_DiscardUnknown added in v0.26.0

func (m *WindowsCpuUsage) XXX_DiscardUnknown()

func (*WindowsCpuUsage) XXX_Marshal added in v0.26.0

func (m *WindowsCpuUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsCpuUsage) XXX_Merge added in v0.26.0

func (m *WindowsCpuUsage) XXX_Merge(src proto.Message)

func (*WindowsCpuUsage) XXX_Size added in v0.26.0

func (m *WindowsCpuUsage) XXX_Size() int

func (*WindowsCpuUsage) XXX_Unmarshal added in v0.26.0

func (m *WindowsCpuUsage) XXX_Unmarshal(b []byte) error

type WindowsFilesystemUsage added in v0.26.0

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

WindowsFilesystemUsage provides the filesystem usage information specific to Windows.

func (*WindowsFilesystemUsage) Descriptor added in v0.26.0

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

func (*WindowsFilesystemUsage) GetFsId added in v0.26.0

func (*WindowsFilesystemUsage) GetTimestamp added in v0.26.0

func (m *WindowsFilesystemUsage) GetTimestamp() int64

func (*WindowsFilesystemUsage) GetUsedBytes added in v0.26.0

func (m *WindowsFilesystemUsage) GetUsedBytes() *UInt64Value

func (*WindowsFilesystemUsage) Marshal added in v0.26.0

func (m *WindowsFilesystemUsage) Marshal() (dAtA []byte, err error)

func (*WindowsFilesystemUsage) MarshalTo added in v0.26.0

func (m *WindowsFilesystemUsage) MarshalTo(dAtA []byte) (int, error)

func (*WindowsFilesystemUsage) MarshalToSizedBuffer added in v0.26.0

func (m *WindowsFilesystemUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsFilesystemUsage) ProtoMessage added in v0.26.0

func (*WindowsFilesystemUsage) ProtoMessage()

func (*WindowsFilesystemUsage) Reset added in v0.26.0

func (m *WindowsFilesystemUsage) Reset()

func (*WindowsFilesystemUsage) Size added in v0.26.0

func (m *WindowsFilesystemUsage) Size() (n int)

func (*WindowsFilesystemUsage) String added in v0.26.0

func (this *WindowsFilesystemUsage) String() string

func (*WindowsFilesystemUsage) Unmarshal added in v0.26.0

func (m *WindowsFilesystemUsage) Unmarshal(dAtA []byte) error

func (*WindowsFilesystemUsage) XXX_DiscardUnknown added in v0.26.0

func (m *WindowsFilesystemUsage) XXX_DiscardUnknown()

func (*WindowsFilesystemUsage) XXX_Marshal added in v0.26.0

func (m *WindowsFilesystemUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsFilesystemUsage) XXX_Merge added in v0.26.0

func (m *WindowsFilesystemUsage) XXX_Merge(src proto.Message)

func (*WindowsFilesystemUsage) XXX_Size added in v0.26.0

func (m *WindowsFilesystemUsage) XXX_Size() int

func (*WindowsFilesystemUsage) XXX_Unmarshal added in v0.26.0

func (m *WindowsFilesystemUsage) XXX_Unmarshal(b []byte) error

type WindowsMemoryUsage added in v0.26.0

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

WindowsMemoryUsage provides the memory usage information specific to Windows

func (*WindowsMemoryUsage) Descriptor added in v0.26.0

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

func (*WindowsMemoryUsage) GetAvailableBytes added in v0.26.0

func (m *WindowsMemoryUsage) GetAvailableBytes() *UInt64Value

func (*WindowsMemoryUsage) GetCommitMemoryBytes added in v0.28.0

func (m *WindowsMemoryUsage) GetCommitMemoryBytes() *UInt64Value

func (*WindowsMemoryUsage) GetPageFaults added in v0.26.0

func (m *WindowsMemoryUsage) GetPageFaults() *UInt64Value

func (*WindowsMemoryUsage) GetTimestamp added in v0.26.0

func (m *WindowsMemoryUsage) GetTimestamp() int64

func (*WindowsMemoryUsage) GetWorkingSetBytes added in v0.26.0

func (m *WindowsMemoryUsage) GetWorkingSetBytes() *UInt64Value

func (*WindowsMemoryUsage) Marshal added in v0.26.0

func (m *WindowsMemoryUsage) Marshal() (dAtA []byte, err error)

func (*WindowsMemoryUsage) MarshalTo added in v0.26.0

func (m *WindowsMemoryUsage) MarshalTo(dAtA []byte) (int, error)

func (*WindowsMemoryUsage) MarshalToSizedBuffer added in v0.26.0

func (m *WindowsMemoryUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsMemoryUsage) ProtoMessage added in v0.26.0

func (*WindowsMemoryUsage) ProtoMessage()

func (*WindowsMemoryUsage) Reset added in v0.26.0

func (m *WindowsMemoryUsage) Reset()

func (*WindowsMemoryUsage) Size added in v0.26.0

func (m *WindowsMemoryUsage) Size() (n int)

func (*WindowsMemoryUsage) String added in v0.26.0

func (this *WindowsMemoryUsage) String() string

func (*WindowsMemoryUsage) Unmarshal added in v0.26.0

func (m *WindowsMemoryUsage) Unmarshal(dAtA []byte) error

func (*WindowsMemoryUsage) XXX_DiscardUnknown added in v0.26.0

func (m *WindowsMemoryUsage) XXX_DiscardUnknown()

func (*WindowsMemoryUsage) XXX_Marshal added in v0.26.0

func (m *WindowsMemoryUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsMemoryUsage) XXX_Merge added in v0.26.0

func (m *WindowsMemoryUsage) XXX_Merge(src proto.Message)

func (*WindowsMemoryUsage) XXX_Size added in v0.26.0

func (m *WindowsMemoryUsage) XXX_Size() int

func (*WindowsMemoryUsage) XXX_Unmarshal added in v0.26.0

func (m *WindowsMemoryUsage) XXX_Unmarshal(b []byte) error

type WindowsNamespaceOption added in v0.26.0

type WindowsNamespaceOption struct {
	// Network namespace for this container/sandbox.
	// Namespaces currently set by the kubelet: POD, NODE
	Network              NamespaceMode `protobuf:"varint,1,opt,name=network,proto3,enum=runtime.v1.NamespaceMode" json:"network,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

WindowsNamespaceOption provides options for Windows namespaces.

func (*WindowsNamespaceOption) Descriptor added in v0.26.0

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

func (*WindowsNamespaceOption) GetNetwork added in v0.26.0

func (m *WindowsNamespaceOption) GetNetwork() NamespaceMode

func (*WindowsNamespaceOption) Marshal added in v0.26.0

func (m *WindowsNamespaceOption) Marshal() (dAtA []byte, err error)

func (*WindowsNamespaceOption) MarshalTo added in v0.26.0

func (m *WindowsNamespaceOption) MarshalTo(dAtA []byte) (int, error)

func (*WindowsNamespaceOption) MarshalToSizedBuffer added in v0.26.0

func (m *WindowsNamespaceOption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsNamespaceOption) ProtoMessage added in v0.26.0

func (*WindowsNamespaceOption) ProtoMessage()

func (*WindowsNamespaceOption) Reset added in v0.26.0

func (m *WindowsNamespaceOption) Reset()

func (*WindowsNamespaceOption) Size added in v0.26.0

func (m *WindowsNamespaceOption) Size() (n int)

func (*WindowsNamespaceOption) String added in v0.26.0

func (this *WindowsNamespaceOption) String() string

func (*WindowsNamespaceOption) Unmarshal added in v0.26.0

func (m *WindowsNamespaceOption) Unmarshal(dAtA []byte) error

func (*WindowsNamespaceOption) XXX_DiscardUnknown added in v0.26.0

func (m *WindowsNamespaceOption) XXX_DiscardUnknown()

func (*WindowsNamespaceOption) XXX_Marshal added in v0.26.0

func (m *WindowsNamespaceOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsNamespaceOption) XXX_Merge added in v0.26.0

func (m *WindowsNamespaceOption) XXX_Merge(src proto.Message)

func (*WindowsNamespaceOption) XXX_Size added in v0.26.0

func (m *WindowsNamespaceOption) XXX_Size() int

func (*WindowsNamespaceOption) XXX_Unmarshal added in v0.26.0

func (m *WindowsNamespaceOption) XXX_Unmarshal(b []byte) error

type WindowsNetworkInterfaceUsage added in v0.26.0

type WindowsNetworkInterfaceUsage struct {
	// The name of the network interface.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Cumulative count of bytes received.
	RxBytes *UInt64Value `protobuf:"bytes,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
	// Cumulative count of receive errors encountered.
	RxPacketsDropped *UInt64Value `protobuf:"bytes,3,opt,name=rx_packets_dropped,json=rxPacketsDropped,proto3" json:"rx_packets_dropped,omitempty"`
	// Cumulative count of bytes transmitted.
	TxBytes *UInt64Value `protobuf:"bytes,4,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	// Cumulative count of transmit errors encountered.
	TxPacketsDropped     *UInt64Value `protobuf:"bytes,5,opt,name=tx_packets_dropped,json=txPacketsDropped,proto3" json:"tx_packets_dropped,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

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

func (*WindowsNetworkInterfaceUsage) Descriptor added in v0.26.0

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

func (*WindowsNetworkInterfaceUsage) GetName added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) GetName() string

func (*WindowsNetworkInterfaceUsage) GetRxBytes added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) GetRxBytes() *UInt64Value

func (*WindowsNetworkInterfaceUsage) GetRxPacketsDropped added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) GetRxPacketsDropped() *UInt64Value

func (*WindowsNetworkInterfaceUsage) GetTxBytes added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) GetTxBytes() *UInt64Value

func (*WindowsNetworkInterfaceUsage) GetTxPacketsDropped added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) GetTxPacketsDropped() *UInt64Value

func (*WindowsNetworkInterfaceUsage) Marshal added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) Marshal() (dAtA []byte, err error)

func (*WindowsNetworkInterfaceUsage) MarshalTo added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) MarshalTo(dAtA []byte) (int, error)

func (*WindowsNetworkInterfaceUsage) MarshalToSizedBuffer added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsNetworkInterfaceUsage) ProtoMessage added in v0.26.0

func (*WindowsNetworkInterfaceUsage) ProtoMessage()

func (*WindowsNetworkInterfaceUsage) Reset added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) Reset()

func (*WindowsNetworkInterfaceUsage) Size added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) Size() (n int)

func (*WindowsNetworkInterfaceUsage) String added in v0.26.0

func (this *WindowsNetworkInterfaceUsage) String() string

func (*WindowsNetworkInterfaceUsage) Unmarshal added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) Unmarshal(dAtA []byte) error

func (*WindowsNetworkInterfaceUsage) XXX_DiscardUnknown added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) XXX_DiscardUnknown()

func (*WindowsNetworkInterfaceUsage) XXX_Marshal added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsNetworkInterfaceUsage) XXX_Merge added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) XXX_Merge(src proto.Message)

func (*WindowsNetworkInterfaceUsage) XXX_Size added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) XXX_Size() int

func (*WindowsNetworkInterfaceUsage) XXX_Unmarshal added in v0.26.0

func (m *WindowsNetworkInterfaceUsage) XXX_Unmarshal(b []byte) error

type WindowsNetworkUsage added in v0.26.0

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

WindowsNetworkUsage contains data about network resources specific to Windows.

func (*WindowsNetworkUsage) Descriptor added in v0.26.0

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

func (*WindowsNetworkUsage) GetDefaultInterface added in v0.26.0

func (m *WindowsNetworkUsage) GetDefaultInterface() *WindowsNetworkInterfaceUsage

func (*WindowsNetworkUsage) GetInterfaces added in v0.26.0

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

func (*WindowsNetworkUsage) GetTimestamp added in v0.26.0

func (m *WindowsNetworkUsage) GetTimestamp() int64

func (*WindowsNetworkUsage) Marshal added in v0.26.0

func (m *WindowsNetworkUsage) Marshal() (dAtA []byte, err error)

func (*WindowsNetworkUsage) MarshalTo added in v0.26.0

func (m *WindowsNetworkUsage) MarshalTo(dAtA []byte) (int, error)

func (*WindowsNetworkUsage) MarshalToSizedBuffer added in v0.26.0

func (m *WindowsNetworkUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsNetworkUsage) ProtoMessage added in v0.26.0

func (*WindowsNetworkUsage) ProtoMessage()

func (*WindowsNetworkUsage) Reset added in v0.26.0

func (m *WindowsNetworkUsage) Reset()

func (*WindowsNetworkUsage) Size added in v0.26.0

func (m *WindowsNetworkUsage) Size() (n int)

func (*WindowsNetworkUsage) String added in v0.26.0

func (this *WindowsNetworkUsage) String() string

func (*WindowsNetworkUsage) Unmarshal added in v0.26.0

func (m *WindowsNetworkUsage) Unmarshal(dAtA []byte) error

func (*WindowsNetworkUsage) XXX_DiscardUnknown added in v0.26.0

func (m *WindowsNetworkUsage) XXX_DiscardUnknown()

func (*WindowsNetworkUsage) XXX_Marshal added in v0.26.0

func (m *WindowsNetworkUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsNetworkUsage) XXX_Merge added in v0.26.0

func (m *WindowsNetworkUsage) XXX_Merge(src proto.Message)

func (*WindowsNetworkUsage) XXX_Size added in v0.26.0

func (m *WindowsNetworkUsage) XXX_Size() int

func (*WindowsNetworkUsage) XXX_Unmarshal added in v0.26.0

func (m *WindowsNetworkUsage) XXX_Unmarshal(b []byte) error

type WindowsPodSandboxConfig added in v0.22.0

type WindowsPodSandboxConfig struct {
	// WindowsSandboxSecurityContext holds sandbox security attributes.
	SecurityContext      *WindowsSandboxSecurityContext `protobuf:"bytes,1,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

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

func (*WindowsPodSandboxConfig) Descriptor added in v0.22.0

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

func (*WindowsPodSandboxConfig) GetSecurityContext added in v0.22.0

func (m *WindowsPodSandboxConfig) GetSecurityContext() *WindowsSandboxSecurityContext

func (*WindowsPodSandboxConfig) Marshal added in v0.22.0

func (m *WindowsPodSandboxConfig) Marshal() (dAtA []byte, err error)

func (*WindowsPodSandboxConfig) MarshalTo added in v0.22.0

func (m *WindowsPodSandboxConfig) MarshalTo(dAtA []byte) (int, error)

func (*WindowsPodSandboxConfig) MarshalToSizedBuffer added in v0.22.0

func (m *WindowsPodSandboxConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsPodSandboxConfig) ProtoMessage added in v0.22.0

func (*WindowsPodSandboxConfig) ProtoMessage()

func (*WindowsPodSandboxConfig) Reset added in v0.22.0

func (m *WindowsPodSandboxConfig) Reset()

func (*WindowsPodSandboxConfig) Size added in v0.22.0

func (m *WindowsPodSandboxConfig) Size() (n int)

func (*WindowsPodSandboxConfig) String added in v0.22.0

func (this *WindowsPodSandboxConfig) String() string

func (*WindowsPodSandboxConfig) Unmarshal added in v0.22.0

func (m *WindowsPodSandboxConfig) Unmarshal(dAtA []byte) error

func (*WindowsPodSandboxConfig) XXX_DiscardUnknown added in v0.22.0

func (m *WindowsPodSandboxConfig) XXX_DiscardUnknown()

func (*WindowsPodSandboxConfig) XXX_Marshal added in v0.22.0

func (m *WindowsPodSandboxConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsPodSandboxConfig) XXX_Merge added in v0.22.0

func (m *WindowsPodSandboxConfig) XXX_Merge(src proto.Message)

func (*WindowsPodSandboxConfig) XXX_Size added in v0.22.0

func (m *WindowsPodSandboxConfig) XXX_Size() int

func (*WindowsPodSandboxConfig) XXX_Unmarshal added in v0.22.0

func (m *WindowsPodSandboxConfig) XXX_Unmarshal(b []byte) error

type WindowsPodSandboxStats added in v0.23.0

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

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

func (*WindowsPodSandboxStats) Descriptor added in v0.23.0

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

func (*WindowsPodSandboxStats) GetContainers added in v0.26.0

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

func (*WindowsPodSandboxStats) GetCpu added in v0.26.0

func (*WindowsPodSandboxStats) GetMemory added in v0.26.0

func (*WindowsPodSandboxStats) GetNetwork added in v0.26.0

func (*WindowsPodSandboxStats) GetProcess added in v0.26.0

func (*WindowsPodSandboxStats) Marshal added in v0.23.0

func (m *WindowsPodSandboxStats) Marshal() (dAtA []byte, err error)

func (*WindowsPodSandboxStats) MarshalTo added in v0.23.0

func (m *WindowsPodSandboxStats) MarshalTo(dAtA []byte) (int, error)

func (*WindowsPodSandboxStats) MarshalToSizedBuffer added in v0.23.0

func (m *WindowsPodSandboxStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsPodSandboxStats) ProtoMessage added in v0.23.0

func (*WindowsPodSandboxStats) ProtoMessage()

func (*WindowsPodSandboxStats) Reset added in v0.23.0

func (m *WindowsPodSandboxStats) Reset()

func (*WindowsPodSandboxStats) Size added in v0.23.0

func (m *WindowsPodSandboxStats) Size() (n int)

func (*WindowsPodSandboxStats) String added in v0.23.0

func (this *WindowsPodSandboxStats) String() string

func (*WindowsPodSandboxStats) Unmarshal added in v0.23.0

func (m *WindowsPodSandboxStats) Unmarshal(dAtA []byte) error

func (*WindowsPodSandboxStats) XXX_DiscardUnknown added in v0.23.0

func (m *WindowsPodSandboxStats) XXX_DiscardUnknown()

func (*WindowsPodSandboxStats) XXX_Marshal added in v0.23.0

func (m *WindowsPodSandboxStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsPodSandboxStats) XXX_Merge added in v0.23.0

func (m *WindowsPodSandboxStats) XXX_Merge(src proto.Message)

func (*WindowsPodSandboxStats) XXX_Size added in v0.23.0

func (m *WindowsPodSandboxStats) XXX_Size() int

func (*WindowsPodSandboxStats) XXX_Unmarshal added in v0.23.0

func (m *WindowsPodSandboxStats) XXX_Unmarshal(b []byte) error

type WindowsProcessUsage added in v0.26.0

type WindowsProcessUsage struct {
	// Timestamp in nanoseconds at which the information were collected. Must be > 0.
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Number of processes.
	ProcessCount         *UInt64Value `protobuf:"bytes,2,opt,name=process_count,json=processCount,proto3" json:"process_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

WindowsProcessUsage are stats pertaining to processes specific to Windows.

func (*WindowsProcessUsage) Descriptor added in v0.26.0

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

func (*WindowsProcessUsage) GetProcessCount added in v0.26.0

func (m *WindowsProcessUsage) GetProcessCount() *UInt64Value

func (*WindowsProcessUsage) GetTimestamp added in v0.26.0

func (m *WindowsProcessUsage) GetTimestamp() int64

func (*WindowsProcessUsage) Marshal added in v0.26.0

func (m *WindowsProcessUsage) Marshal() (dAtA []byte, err error)

func (*WindowsProcessUsage) MarshalTo added in v0.26.0

func (m *WindowsProcessUsage) MarshalTo(dAtA []byte) (int, error)

func (*WindowsProcessUsage) MarshalToSizedBuffer added in v0.26.0

func (m *WindowsProcessUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsProcessUsage) ProtoMessage added in v0.26.0

func (*WindowsProcessUsage) ProtoMessage()

func (*WindowsProcessUsage) Reset added in v0.26.0

func (m *WindowsProcessUsage) Reset()

func (*WindowsProcessUsage) Size added in v0.26.0

func (m *WindowsProcessUsage) Size() (n int)

func (*WindowsProcessUsage) String added in v0.26.0

func (this *WindowsProcessUsage) String() string

func (*WindowsProcessUsage) Unmarshal added in v0.26.0

func (m *WindowsProcessUsage) Unmarshal(dAtA []byte) error

func (*WindowsProcessUsage) XXX_DiscardUnknown added in v0.26.0

func (m *WindowsProcessUsage) XXX_DiscardUnknown()

func (*WindowsProcessUsage) XXX_Marshal added in v0.26.0

func (m *WindowsProcessUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsProcessUsage) XXX_Merge added in v0.26.0

func (m *WindowsProcessUsage) XXX_Merge(src proto.Message)

func (*WindowsProcessUsage) XXX_Size added in v0.26.0

func (m *WindowsProcessUsage) XXX_Size() int

func (*WindowsProcessUsage) XXX_Unmarshal added in v0.26.0

func (m *WindowsProcessUsage) XXX_Unmarshal(b []byte) error

type WindowsSandboxSecurityContext added in v0.22.0

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

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

func (*WindowsSandboxSecurityContext) Descriptor added in v0.22.0

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

func (*WindowsSandboxSecurityContext) GetCredentialSpec added in v0.22.0

func (m *WindowsSandboxSecurityContext) GetCredentialSpec() string

func (*WindowsSandboxSecurityContext) GetHostProcess added in v0.22.0

func (m *WindowsSandboxSecurityContext) GetHostProcess() bool

func (*WindowsSandboxSecurityContext) GetNamespaceOptions added in v0.26.0

func (m *WindowsSandboxSecurityContext) GetNamespaceOptions() *WindowsNamespaceOption

func (*WindowsSandboxSecurityContext) GetRunAsUsername added in v0.22.0

func (m *WindowsSandboxSecurityContext) GetRunAsUsername() string

func (*WindowsSandboxSecurityContext) Marshal added in v0.22.0

func (m *WindowsSandboxSecurityContext) Marshal() (dAtA []byte, err error)

func (*WindowsSandboxSecurityContext) MarshalTo added in v0.22.0

func (m *WindowsSandboxSecurityContext) MarshalTo(dAtA []byte) (int, error)

func (*WindowsSandboxSecurityContext) MarshalToSizedBuffer added in v0.22.0

func (m *WindowsSandboxSecurityContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WindowsSandboxSecurityContext) ProtoMessage added in v0.22.0

func (*WindowsSandboxSecurityContext) ProtoMessage()

func (*WindowsSandboxSecurityContext) Reset added in v0.22.0

func (m *WindowsSandboxSecurityContext) Reset()

func (*WindowsSandboxSecurityContext) Size added in v0.22.0

func (m *WindowsSandboxSecurityContext) Size() (n int)

func (*WindowsSandboxSecurityContext) String added in v0.22.0

func (this *WindowsSandboxSecurityContext) String() string

func (*WindowsSandboxSecurityContext) Unmarshal added in v0.22.0

func (m *WindowsSandboxSecurityContext) Unmarshal(dAtA []byte) error

func (*WindowsSandboxSecurityContext) XXX_DiscardUnknown added in v0.22.0

func (m *WindowsSandboxSecurityContext) XXX_DiscardUnknown()

func (*WindowsSandboxSecurityContext) XXX_Marshal added in v0.22.0

func (m *WindowsSandboxSecurityContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WindowsSandboxSecurityContext) XXX_Merge added in v0.22.0

func (m *WindowsSandboxSecurityContext) XXX_Merge(src proto.Message)

func (*WindowsSandboxSecurityContext) XXX_Size added in v0.22.0

func (m *WindowsSandboxSecurityContext) XXX_Size() int

func (*WindowsSandboxSecurityContext) XXX_Unmarshal added in v0.22.0

func (m *WindowsSandboxSecurityContext) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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