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

package v1alpha2

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

Index

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) 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.
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
	// Captured command stderr output.
	Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// Exit code the command finished with. Default: 0 (success).
	ExitCode             int32    `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	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 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 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"`
	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) GetRepoDigests

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

func (*Image) GetRepoTags

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

func (*Image) GetSize_

func (m *Image) GetSize_() uint64

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

func (*ImageFsInfoResponse) Descriptor

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

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 {
	Image                string   `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ImageSpec is an internal representation of an image. Currently, it wraps the value of a Container's Image field (e.g. imageID or imageDigest), but in the future it will include more detailed information about the different image types.

func (*ImageSpec) Descriptor

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

func (*ImageSpec) GetImage

func (m *ImageSpec) GetImage() 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 {
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`

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

LinuxContainerResources specifies Linux specific configuration for resources. TODO: Consider using Resources from opencontainers/runtime-spec/specs-go directly.

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

func (m *LinuxContainerResources) GetOomScoreAdj() int64

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 the container, in
	// addition to the container's primary GID.
	SupplementalGroups []int64 `protobuf:"varint,8,rep,packed,name=supplemental_groups,json=supplementalGroups,proto3" json:"supplemental_groups,omitempty"`
	// 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
	//    http://wiki.apparmor.net/index.php/AppArmor_Core_Policy_Reference
	ApparmorProfile string `protobuf:"bytes,9,opt,name=apparmor_profile,json=apparmorProfile,proto3" json:"apparmor_profile,omitempty"`
	// Seccomp profile for the container, candidate values are:
	// * runtime/default: the default profile for the container runtime
	// * unconfined: unconfined profile, ie, no seccomp sandboxing
	// * localhost/<full-path-to-profile>: the profile installed on the node.
	//   <full-path-to-profile> is the full path of the profile.
	// Default: "", which is identical with unconfined.
	SeccompProfilePath string `protobuf:"bytes,10,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"`
	// no_new_privs defines if the flag for no_new_privs should be set on the
	// container.
	NoNewPrivs bool `protobuf:"varint,11,opt,name=no_new_privs,json=noNewPrivs,proto3" json:"no_new_privs,omitempty"`
	// masked_paths is a slice of paths that should be masked by the container
	// runtime, this can be passed directly to the OCI spec.
	MaskedPaths []string `protobuf:"bytes,13,rep,name=masked_paths,json=maskedPaths,proto3" json:"masked_paths,omitempty"`
	// readonly_paths is a slice of paths that should be set as readonly by the
	// container runtime, this can be passed directly to the OCI spec.
	ReadonlyPaths        []string `protobuf:"bytes,14,rep,name=readonly_paths,json=readonlyPaths,proto3" json:"readonly_paths,omitempty"`
	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) GetApparmorProfile

func (m *LinuxContainerSecurityContext) GetApparmorProfile() string

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

func (m *LinuxContainerSecurityContext) GetSeccompProfilePath() string

func (*LinuxContainerSecurityContext) GetSelinuxOptions

func (m *LinuxContainerSecurityContext) GetSelinuxOptions() *SELinuxOption

func (*LinuxContainerSecurityContext) GetSupplementalGroups

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

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 LinuxPodSandboxConfig

type LinuxPodSandboxConfig struct {
	CgroupParent string `protobuf:"bytes,1,opt,name=cgroup_parent,json=cgroupParent,proto3" json:"cgroup_parent,omitempty"`

	SecurityContext *LinuxSandboxSecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`

	Sysctls              map[string]string "" /* 155 byte string literal not displayed */
	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) 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 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 LinuxSandboxSecurityContext

type LinuxSandboxSecurityContext struct {
	// Configurations for the sandbox's namespaces.
	// This will be used only if the PodSandbox uses namespace for isolation.
	NamespaceOptions *NamespaceOption `protobuf:"bytes,1,opt,name=namespace_options,json=namespaceOptions,proto3" json:"namespace_options,omitempty"`
	// Optional SELinux context to be applied.
	SelinuxOptions *SELinuxOption `protobuf:"bytes,2,opt,name=selinux_options,json=selinuxOptions,proto3" json:"selinux_options,omitempty"`
	// UID to run sandbox processes as, when applicable.
	RunAsUser *Int64Value `protobuf:"bytes,3,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"`
	// GID to run sandbox processes as, when applicable. run_as_group should only
	// be specified when run_as_user is specified; otherwise, the runtime MUST error.
	RunAsGroup *Int64Value `protobuf:"bytes,8,opt,name=run_as_group,json=runAsGroup,proto3" json:"run_as_group,omitempty"`
	// If set, the root filesystem of the sandbox is read-only.
	ReadonlyRootfs bool `protobuf:"varint,4,opt,name=readonly_rootfs,json=readonlyRootfs,proto3" json:"readonly_rootfs,omitempty"`
	// List of groups applied to the first process run in the sandbox, in
	// addition to the sandbox's primary GID.
	SupplementalGroups []int64 `protobuf:"varint,5,rep,packed,name=supplemental_groups,json=supplementalGroups,proto3" json:"supplemental_groups,omitempty"`
	// Indicates whether the sandbox will be asked to run a privileged
	// container. If a privileged container is to be executed within it, this
	// MUST be true.
	// This allows a sandbox to take additional security precautions if no
	// privileged containers are expected to be run.
	Privileged bool `protobuf:"varint,6,opt,name=privileged,proto3" json:"privileged,omitempty"`
	// Seccomp profile for the sandbox, 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"`
	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) 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) GetSeccompProfilePath

func (m *LinuxSandboxSecurityContext) GetSeccompProfilePath() string

func (*LinuxSandboxSecurityContext) GetSelinuxOptions

func (m *LinuxSandboxSecurityContext) GetSelinuxOptions() *SELinuxOption

func (*LinuxSandboxSecurityContext) GetSupplementalGroups

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

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 (m *ListContainerStatsRequest) GetFilter() *ContainerStatsFilter

func (*ListContainerStatsRequest) Marshal

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

func (*ListContainerStatsRequest)