Back to godoc.org
k8s.io/cri-api / pkg / apis / runtime / v1alpha2

Package v1alpha2

v0.18.6
Latest Go to latest
Published: Feb 25, 2020 | License: Apache-2.0 | Module: k8s.io/cri-api

Index

Package Files

Constants

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

var (
	ErrInvalidLengthApi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group")
)
var ContainerState_name = map[int32]string{
	0: "CONTAINER_CREATED",
	1: "CONTAINER_RUNNING",
	2: "CONTAINER_EXITED",
	3: "CONTAINER_UNKNOWN",
}
var ContainerState_value = map[string]int32{
	"CONTAINER_CREATED": 0,
	"CONTAINER_RUNNING": 1,
	"CONTAINER_EXITED":  2,
	"CONTAINER_UNKNOWN": 3,
}
var MountPropagation_name = map[int32]string{
	0: "PROPAGATION_PRIVATE",
	1: "PROPAGATION_HOST_TO_CONTAINER",
	2: "PROPAGATION_BIDIRECTIONAL",
}
var MountPropagation_value = map[string]int32{
	"PROPAGATION_PRIVATE":           0,
	"PROPAGATION_HOST_TO_CONTAINER": 1,
	"PROPAGATION_BIDIRECTIONAL":     2,
}
var NamespaceMode_name = map[int32]string{
	0: "POD",
	1: "CONTAINER",
	2: "NODE",
	3: "TARGET",
}
var NamespaceMode_value = map[string]int32{
	"POD":       0,
	"CONTAINER": 1,
	"NODE":      2,
	"TARGET":    3,
}
var PodSandboxState_name = map[int32]string{
	0: "SANDBOX_READY",
	1: "SANDBOX_NOTREADY",
}
var PodSandboxState_value = map[string]int32{
	"SANDBOX_READY":    0,
	"SANDBOX_NOTREADY": 1,
}
var Protocol_name = map[int32]string{
	0: "TCP",
	1: "UDP",
	2: "SCTP",
}
var Protocol_value = map[string]int32{
	"TCP":  0,
	"UDP":  1,
	"SCTP": 2,
}

func RegisterImageServiceServer

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

func RegisterRuntimeServiceServer

func RegisterRuntimeServiceServer(s *grpc.Server, srv RuntimeServiceServer)

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

Capability contains the container capabilities to add or drop

func (*Capability) Descriptor

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

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 Container

type Container struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`

	PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`

	Metadata *ContainerMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`

	Image *ImageSpec `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`

	ImageRef string `protobuf:"bytes,5,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"`

	State ContainerState `protobuf:"varint,6,opt,name=state,proto3,enum=runtime.v1alpha2.ContainerState" json:"state,omitempty"`

	CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Annotations          map[string]string "" /* 163 byte string literal not displayed */
	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) 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 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`

	Metadata *ContainerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	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 *ContainerMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`

	Image *ImageSpec `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`

	Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`

	Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`

	WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`

	Envs []*KeyValue `protobuf:"bytes,6,rep,name=envs,proto3" json:"envs,omitempty"`

	Mounts []*Mount `protobuf:"bytes,7,rep,name=mounts,proto3" json:"mounts,omitempty"`

	Devices []*Device `protobuf:"bytes,8,rep,name=devices,proto3" json:"devices,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Annotations map[string]string "" /* 164 byte string literal not displayed */

	LogPath string `protobuf:"bytes,11,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"`

	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"`

	Linux *LinuxContainerConfig `protobuf:"bytes,15,opt,name=linux,proto3" json:"linux,omitempty"`

	Windows              *WindowsContainerConfig `protobuf:"bytes,16,opt,name=windows,proto3" json:"windows,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) 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 ContainerFilter

type ContainerFilter struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`

	State *ContainerStateValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`

	PodSandboxId string `protobuf:"bytes,3,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`

	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 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.v1alpha2.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"`
	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) 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 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`

	PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"`

	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 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`

	Metadata *ContainerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`

	State ContainerState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1alpha2.ContainerState" json:"state,omitempty"`

	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`

	StartedAt int64 `protobuf:"varint,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`

	FinishedAt int64 `protobuf:"varint,6,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`

	ExitCode int32 `protobuf:"varint,7,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`

	Image *ImageSpec `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"`

	ImageRef string `protobuf:"bytes,9,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"`

	Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"`

	Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"`

	Labels map[string]string "" /* 154 byte string literal not displayed */

	Annotations map[string]string "" /* 164 byte string literal not displayed */

	Mounts []*Mount `protobuf:"bytes,14,rep,name=mounts,proto3" json:"mounts,omitempty"`

	LogPath              string   `protobuf:"bytes,15,opt,name=log_path,json=logPath,proto3" json:"log_path,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) 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) GetStartedAt

func (m *ContainerStatus) GetStartedAt() int64

func (*ContainerStatus) GetState

func (m *ContainerStatus) GetState() ContainerState

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 *ContainerStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`

	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 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"`
	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) 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)