Documentation ¶
Overview ¶
Package runtime is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
VersionRequest VersionResponse DNSConfig PortMapping Mount NamespaceOption Int64Value LinuxSandboxSecurityContext LinuxPodSandboxConfig PodSandboxMetadata PodSandboxConfig RunPodSandboxRequest RunPodSandboxResponse StopPodSandboxRequest StopPodSandboxResponse RemovePodSandboxRequest RemovePodSandboxResponse PodSandboxStatusRequest PodSandboxNetworkStatus Namespace LinuxPodSandboxStatus PodSandboxStatus PodSandboxStatusResponse PodSandboxStateValue PodSandboxFilter ListPodSandboxRequest PodSandbox ListPodSandboxResponse ImageSpec KeyValue LinuxContainerResources SELinuxOption Capability LinuxContainerSecurityContext LinuxContainerConfig ContainerMetadata Device ContainerConfig CreateContainerRequest CreateContainerResponse StartContainerRequest StartContainerResponse StopContainerRequest StopContainerResponse RemoveContainerRequest RemoveContainerResponse ContainerStateValue ContainerFilter ListContainersRequest Container ListContainersResponse ContainerStatusRequest ContainerStatus ContainerStatusResponse UpdateContainerResourcesRequest UpdateContainerResourcesResponse ExecSyncRequest ExecSyncResponse ExecRequest ExecResponse AttachRequest AttachResponse PortForwardRequest PortForwardResponse ImageFilter ListImagesRequest Image ListImagesResponse ImageStatusRequest ImageStatusResponse AuthConfig PullImageRequest PullImageResponse RemoveImageRequest RemoveImageResponse NetworkConfig RuntimeConfig UpdateRuntimeConfigRequest UpdateRuntimeConfigResponse RuntimeCondition RuntimeStatus StatusRequest StatusResponse ImageFsInfoRequest UInt64Value StorageIdentifier FilesystemUsage ImageFsInfoResponse ContainerStatsRequest ContainerStatsResponse ListContainerStatsRequest ContainerStatsFilter ListContainerStatsResponse ContainerAttributes ContainerStats CpuUsage MemoryUsage
Index ¶
- Constants
- Variables
- func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer)
- func RegisterRuntimeServiceServer(s *grpc.Server, srv RuntimeServiceServer)
- type AttachRequest
- func (*AttachRequest) Descriptor() ([]byte, []int)
- func (m *AttachRequest) GetContainerId() string
- func (m *AttachRequest) GetStderr() bool
- func (m *AttachRequest) GetStdin() bool
- func (m *AttachRequest) GetStdout() bool
- func (m *AttachRequest) GetTty() bool
- func (m *AttachRequest) Marshal() (dAtA []byte, err error)
- func (m *AttachRequest) MarshalTo(dAtA []byte) (int, error)
- func (*AttachRequest) ProtoMessage()
- func (m *AttachRequest) Reset()
- func (m *AttachRequest) Size() (n int)
- func (this *AttachRequest) String() string
- func (m *AttachRequest) Unmarshal(dAtA []byte) error
- type AttachResponse
- func (*AttachResponse) Descriptor() ([]byte, []int)
- func (m *AttachResponse) GetUrl() string
- func (m *AttachResponse) Marshal() (dAtA []byte, err error)
- func (m *AttachResponse) MarshalTo(dAtA []byte) (int, error)
- func (*AttachResponse) ProtoMessage()
- func (m *AttachResponse) Reset()
- func (m *AttachResponse) Size() (n int)
- func (this *AttachResponse) String() string
- func (m *AttachResponse) Unmarshal(dAtA []byte) error
- type AuthConfig
- func (*AuthConfig) Descriptor() ([]byte, []int)
- func (m *AuthConfig) GetAuth() string
- func (m *AuthConfig) GetIdentityToken() string
- func (m *AuthConfig) GetPassword() string
- func (m *AuthConfig) GetRegistryToken() string
- func (m *AuthConfig) GetServerAddress() string
- func (m *AuthConfig) GetUsername() string
- func (m *AuthConfig) Marshal() (dAtA []byte, err error)
- func (m *AuthConfig) MarshalTo(dAtA []byte) (int, error)
- func (*AuthConfig) ProtoMessage()
- func (m *AuthConfig) Reset()
- func (m *AuthConfig) Size() (n int)
- func (this *AuthConfig) String() string
- func (m *AuthConfig) Unmarshal(dAtA []byte) error
- type Capability
- func (*Capability) Descriptor() ([]byte, []int)
- func (m *Capability) GetAddCapabilities() []string
- func (m *Capability) GetDropCapabilities() []string
- func (m *Capability) Marshal() (dAtA []byte, err error)
- func (m *Capability) MarshalTo(dAtA []byte) (int, error)
- func (*Capability) ProtoMessage()
- func (m *Capability) Reset()
- func (m *Capability) Size() (n int)
- func (this *Capability) String() string
- func (m *Capability) Unmarshal(dAtA []byte) error
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) GetAnnotations() map[string]string
- func (m *Container) GetCreatedAt() int64
- func (m *Container) GetId() string
- func (m *Container) GetImage() *ImageSpec
- func (m *Container) GetImageRef() string
- func (m *Container) GetLabels() map[string]string
- func (m *Container) GetMetadata() *ContainerMetadata
- func (m *Container) GetPodSandboxId() string
- func (m *Container) GetState() ContainerState
- func (m *Container) Marshal() (dAtA []byte, err error)
- func (m *Container) MarshalTo(dAtA []byte) (int, error)
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) Size() (n int)
- func (this *Container) String() string
- func (m *Container) Unmarshal(dAtA []byte) error
- type ContainerAttributes
- func (*ContainerAttributes) Descriptor() ([]byte, []int)
- func (m *ContainerAttributes) GetAnnotations() map[string]string
- func (m *ContainerAttributes) GetId() string
- func (m *ContainerAttributes) GetLabels() map[string]string
- func (m *ContainerAttributes) GetMetadata() *ContainerMetadata
- func (m *ContainerAttributes) Marshal() (dAtA []byte, err error)
- func (m *ContainerAttributes) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerAttributes) ProtoMessage()
- func (m *ContainerAttributes) Reset()
- func (m *ContainerAttributes) Size() (n int)
- func (this *ContainerAttributes) String() string
- func (m *ContainerAttributes) Unmarshal(dAtA []byte) error
- type ContainerConfig
- func (*ContainerConfig) Descriptor() ([]byte, []int)
- func (m *ContainerConfig) GetAnnotations() map[string]string
- func (m *ContainerConfig) GetArgs() []string
- func (m *ContainerConfig) GetCommand() []string
- func (m *ContainerConfig) GetDevices() []*Device
- func (m *ContainerConfig) GetEnvs() []*KeyValue
- func (m *ContainerConfig) GetImage() *ImageSpec
- func (m *ContainerConfig) GetLabels() map[string]string
- func (m *ContainerConfig) GetLinux() *LinuxContainerConfig
- func (m *ContainerConfig) GetLogPath() string
- func (m *ContainerConfig) GetMetadata() *ContainerMetadata
- func (m *ContainerConfig) GetMounts() []*Mount
- func (m *ContainerConfig) GetStdin() bool
- func (m *ContainerConfig) GetStdinOnce() bool
- func (m *ContainerConfig) GetTty() bool
- func (m *ContainerConfig) GetWorkingDir() string
- func (m *ContainerConfig) Marshal() (dAtA []byte, err error)
- func (m *ContainerConfig) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerConfig) ProtoMessage()
- func (m *ContainerConfig) Reset()
- func (m *ContainerConfig) Size() (n int)
- func (this *ContainerConfig) String() string
- func (m *ContainerConfig) Unmarshal(dAtA []byte) error
- type ContainerFilter
- func (*ContainerFilter) Descriptor() ([]byte, []int)
- func (m *ContainerFilter) GetId() string
- func (m *ContainerFilter) GetLabelSelector() map[string]string
- func (m *ContainerFilter) GetPodSandboxId() string
- func (m *ContainerFilter) GetState() *ContainerStateValue
- func (m *ContainerFilter) Marshal() (dAtA []byte, err error)
- func (m *ContainerFilter) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerFilter) ProtoMessage()
- func (m *ContainerFilter) Reset()
- func (m *ContainerFilter) Size() (n int)
- func (this *ContainerFilter) String() string
- func (m *ContainerFilter) Unmarshal(dAtA []byte) error
- type ContainerMetadata
- func (*ContainerMetadata) Descriptor() ([]byte, []int)
- func (m *ContainerMetadata) GetAttempt() uint32
- func (m *ContainerMetadata) GetName() string
- func (m *ContainerMetadata) Marshal() (dAtA []byte, err error)
- func (m *ContainerMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerMetadata) ProtoMessage()
- func (m *ContainerMetadata) Reset()
- func (m *ContainerMetadata) Size() (n int)
- func (this *ContainerMetadata) String() string
- func (m *ContainerMetadata) Unmarshal(dAtA []byte) error
- type ContainerState
- type ContainerStateValue
- func (*ContainerStateValue) Descriptor() ([]byte, []int)
- func (m *ContainerStateValue) GetState() ContainerState
- func (m *ContainerStateValue) Marshal() (dAtA []byte, err error)
- func (m *ContainerStateValue) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStateValue) ProtoMessage()
- func (m *ContainerStateValue) Reset()
- func (m *ContainerStateValue) Size() (n int)
- func (this *ContainerStateValue) String() string
- func (m *ContainerStateValue) Unmarshal(dAtA []byte) error
- type ContainerStats
- func (*ContainerStats) Descriptor() ([]byte, []int)
- func (m *ContainerStats) GetAttributes() *ContainerAttributes
- func (m *ContainerStats) GetCpu() *CpuUsage
- func (m *ContainerStats) GetMemory() *MemoryUsage
- func (m *ContainerStats) GetWritableLayer() *FilesystemUsage
- func (m *ContainerStats) Marshal() (dAtA []byte, err error)
- func (m *ContainerStats) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStats) ProtoMessage()
- func (m *ContainerStats) Reset()
- func (m *ContainerStats) Size() (n int)
- func (this *ContainerStats) String() string
- func (m *ContainerStats) Unmarshal(dAtA []byte) error
- type ContainerStatsFilter
- func (*ContainerStatsFilter) Descriptor() ([]byte, []int)
- func (m *ContainerStatsFilter) GetId() string
- func (m *ContainerStatsFilter) GetLabelSelector() map[string]string
- func (m *ContainerStatsFilter) GetPodSandboxId() string
- func (m *ContainerStatsFilter) Marshal() (dAtA []byte, err error)
- func (m *ContainerStatsFilter) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStatsFilter) ProtoMessage()
- func (m *ContainerStatsFilter) Reset()
- func (m *ContainerStatsFilter) Size() (n int)
- func (this *ContainerStatsFilter) String() string
- func (m *ContainerStatsFilter) Unmarshal(dAtA []byte) error
- type ContainerStatsRequest
- func (*ContainerStatsRequest) Descriptor() ([]byte, []int)
- func (m *ContainerStatsRequest) GetContainerId() string
- func (m *ContainerStatsRequest) Marshal() (dAtA []byte, err error)
- func (m *ContainerStatsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStatsRequest) ProtoMessage()
- func (m *ContainerStatsRequest) Reset()
- func (m *ContainerStatsRequest) Size() (n int)
- func (this *ContainerStatsRequest) String() string
- func (m *ContainerStatsRequest) Unmarshal(dAtA []byte) error
- type ContainerStatsResponse
- func (*ContainerStatsResponse) Descriptor() ([]byte, []int)
- func (m *ContainerStatsResponse) GetStats() *ContainerStats
- func (m *ContainerStatsResponse) Marshal() (dAtA []byte, err error)
- func (m *ContainerStatsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStatsResponse) ProtoMessage()
- func (m *ContainerStatsResponse) Reset()
- func (m *ContainerStatsResponse) Size() (n int)
- func (this *ContainerStatsResponse) String() string
- func (m *ContainerStatsResponse) Unmarshal(dAtA []byte) error
- type ContainerStatus
- func (*ContainerStatus) Descriptor() ([]byte, []int)
- func (m *ContainerStatus) GetAnnotations() map[string]string
- func (m *ContainerStatus) GetCreatedAt() int64
- func (m *ContainerStatus) GetExitCode() int32
- func (m *ContainerStatus) GetFinishedAt() int64
- func (m *ContainerStatus) GetId() string
- func (m *ContainerStatus) GetImage() *ImageSpec
- func (m *ContainerStatus) GetImageRef() string
- func (m *ContainerStatus) GetLabels() map[string]string
- func (m *ContainerStatus) GetLogPath() string
- func (m *ContainerStatus) GetMessage() string
- func (m *ContainerStatus) GetMetadata() *ContainerMetadata
- func (m *ContainerStatus) GetMounts() []*Mount
- func (m *ContainerStatus) GetReason() string
- func (m *ContainerStatus) GetStartedAt() int64
- func (m *ContainerStatus) GetState() ContainerState
- func (m *ContainerStatus) Marshal() (dAtA []byte, err error)
- func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStatus) ProtoMessage()
- func (m *ContainerStatus) Reset()
- func (m *ContainerStatus) Size() (n int)
- func (this *ContainerStatus) String() string
- func (m *ContainerStatus) Unmarshal(dAtA []byte) error
- type ContainerStatusRequest
- func (*ContainerStatusRequest) Descriptor() ([]byte, []int)
- func (m *ContainerStatusRequest) GetContainerId() string
- func (m *ContainerStatusRequest) GetVerbose() bool
- func (m *ContainerStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *ContainerStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStatusRequest) ProtoMessage()
- func (m *ContainerStatusRequest) Reset()
- func (m *ContainerStatusRequest) Size() (n int)
- func (this *ContainerStatusRequest) String() string
- func (m *ContainerStatusRequest) Unmarshal(dAtA []byte) error
- type ContainerStatusResponse
- func (*ContainerStatusResponse) Descriptor() ([]byte, []int)
- func (m *ContainerStatusResponse) GetInfo() map[string]string
- func (m *ContainerStatusResponse) GetStatus() *ContainerStatus
- func (m *ContainerStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *ContainerStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStatusResponse) ProtoMessage()
- func (m *ContainerStatusResponse) Reset()
- func (m *ContainerStatusResponse) Size() (n int)
- func (this *ContainerStatusResponse) String() string
- func (m *ContainerStatusResponse) Unmarshal(dAtA []byte) error
- type CpuUsage
- func (*CpuUsage) Descriptor() ([]byte, []int)
- func (m *CpuUsage) GetTimestamp() int64
- func (m *CpuUsage) GetUsageCoreNanoSeconds() *UInt64Value
- func (m *CpuUsage) Marshal() (dAtA []byte, err error)
- func (m *CpuUsage) MarshalTo(dAtA []byte) (int, error)
- func (*CpuUsage) ProtoMessage()
- func (m *CpuUsage) Reset()
- func (m *CpuUsage) Size() (n int)
- func (this *CpuUsage) String() string
- func (m *CpuUsage) Unmarshal(dAtA []byte) error
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)
- func (m *CreateContainerRequest) GetConfig() *ContainerConfig
- func (m *CreateContainerRequest) GetPodSandboxId() string
- func (m *CreateContainerRequest) GetSandboxConfig() *PodSandboxConfig
- func (m *CreateContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CreateContainerRequest) ProtoMessage()
- func (m *CreateContainerRequest) Reset()
- func (m *CreateContainerRequest) Size() (n int)
- func (this *CreateContainerRequest) String() string
- func (m *CreateContainerRequest) Unmarshal(dAtA []byte) error
- type CreateContainerResponse
- func (*CreateContainerResponse) Descriptor() ([]byte, []int)
- func (m *CreateContainerResponse) GetContainerId() string
- func (m *CreateContainerResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateContainerResponse) MarshalTo(dAtA []byte) (int, error)
- func (*CreateContainerResponse) ProtoMessage()
- func (m *CreateContainerResponse) Reset()
- func (m *CreateContainerResponse) Size() (n int)
- func (this *CreateContainerResponse) String() string
- func (m *CreateContainerResponse) Unmarshal(dAtA []byte) error
- type DNSConfig
- func (*DNSConfig) Descriptor() ([]byte, []int)
- func (m *DNSConfig) GetOptions() []string
- func (m *DNSConfig) GetSearches() []string
- func (m *DNSConfig) GetServers() []string
- func (m *DNSConfig) Marshal() (dAtA []byte, err error)
- func (m *DNSConfig) MarshalTo(dAtA []byte) (int, error)
- func (*DNSConfig) ProtoMessage()
- func (m *DNSConfig) Reset()
- func (m *DNSConfig) Size() (n int)
- func (this *DNSConfig) String() string
- func (m *DNSConfig) Unmarshal(dAtA []byte) error
- type Device
- func (*Device) Descriptor() ([]byte, []int)
- func (m *Device) GetContainerPath() string
- func (m *Device) GetHostPath() string
- func (m *Device) GetPermissions() string
- func (m *Device) Marshal() (dAtA []byte, err error)
- func (m *Device) MarshalTo(dAtA []byte) (int, error)
- func (*Device) ProtoMessage()
- func (m *Device) Reset()
- func (m *Device) Size() (n int)
- func (this *Device) String() string
- func (m *Device) Unmarshal(dAtA []byte) error
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)
- func (m *ExecRequest) GetCmd() []string
- func (m *ExecRequest) GetContainerId() string
- func (m *ExecRequest) GetStderr() bool
- func (m *ExecRequest) GetStdin() bool
- func (m *ExecRequest) GetStdout() bool
- func (m *ExecRequest) GetTty() bool
- func (m *ExecRequest) Marshal() (dAtA []byte, err error)
- func (m *ExecRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ExecRequest) ProtoMessage()
- func (m *ExecRequest) Reset()
- func (m *ExecRequest) Size() (n int)
- func (this *ExecRequest) String() string
- func (m *ExecRequest) Unmarshal(dAtA []byte) error
- type ExecResponse
- func (*ExecResponse) Descriptor() ([]byte, []int)
- func (m *ExecResponse) GetUrl() string
- func (m *ExecResponse) Marshal() (dAtA []byte, err error)
- func (m *ExecResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ExecResponse) ProtoMessage()
- func (m *ExecResponse) Reset()
- func (m *ExecResponse) Size() (n int)
- func (this *ExecResponse) String() string
- func (m *ExecResponse) Unmarshal(dAtA []byte) error
- type ExecSyncRequest
- func (*ExecSyncRequest) Descriptor() ([]byte, []int)
- func (m *ExecSyncRequest) GetCmd() []string
- func (m *ExecSyncRequest) GetContainerId() string
- func (m *ExecSyncRequest) GetTimeout() int64
- func (m *ExecSyncRequest) Marshal() (dAtA []byte, err error)
- func (m *ExecSyncRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ExecSyncRequest) ProtoMessage()
- func (m *ExecSyncRequest) Reset()
- func (m *ExecSyncRequest) Size() (n int)
- func (this *ExecSyncRequest) String() string
- func (m *ExecSyncRequest) Unmarshal(dAtA []byte) error
- type ExecSyncResponse
- func (*ExecSyncResponse) Descriptor() ([]byte, []int)
- func (m *ExecSyncResponse) GetExitCode() int32
- func (m *ExecSyncResponse) GetStderr() []byte
- func (m *ExecSyncResponse) GetStdout() []byte
- func (m *ExecSyncResponse) Marshal() (dAtA []byte, err error)
- func (m *ExecSyncResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ExecSyncResponse) ProtoMessage()
- func (m *ExecSyncResponse) Reset()
- func (m *ExecSyncResponse) Size() (n int)
- func (this *ExecSyncResponse) String() string
- func (m *ExecSyncResponse) Unmarshal(dAtA []byte) error
- type FilesystemUsage
- func (*FilesystemUsage) Descriptor() ([]byte, []int)
- func (m *FilesystemUsage) GetInodesUsed() *UInt64Value
- func (m *FilesystemUsage) GetStorageId() *StorageIdentifier
- func (m *FilesystemUsage) GetTimestamp() int64
- func (m *FilesystemUsage) GetUsedBytes() *UInt64Value
- func (m *FilesystemUsage) Marshal() (dAtA []byte, err error)
- func (m *FilesystemUsage) MarshalTo(dAtA []byte) (int, error)
- func (*FilesystemUsage) ProtoMessage()
- func (m *FilesystemUsage) Reset()
- func (m *FilesystemUsage) Size() (n int)
- func (this *FilesystemUsage) String() string
- func (m *FilesystemUsage) Unmarshal(dAtA []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) GetId() string
- func (m *Image) GetRepoDigests() []string
- func (m *Image) GetRepoTags() []string
- func (m *Image) GetSize_() uint64
- func (m *Image) GetUid() *Int64Value
- func (m *Image) GetUsername() string
- func (m *Image) Marshal() (dAtA []byte, err error)
- func (m *Image) MarshalTo(dAtA []byte) (int, error)
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) Size() (n int)
- func (this *Image) String() string
- func (m *Image) Unmarshal(dAtA []byte) error
- type ImageFilter
- func (*ImageFilter) Descriptor() ([]byte, []int)
- func (m *ImageFilter) GetImage() *ImageSpec
- func (m *ImageFilter) Marshal() (dAtA []byte, err error)
- func (m *ImageFilter) MarshalTo(dAtA []byte) (int, error)
- func (*ImageFilter) ProtoMessage()
- func (m *ImageFilter) Reset()
- func (m *ImageFilter) Size() (n int)
- func (this *ImageFilter) String() string
- func (m *ImageFilter) Unmarshal(dAtA []byte) error
- type ImageFsInfoRequest
- func (*ImageFsInfoRequest) Descriptor() ([]byte, []int)
- func (m *ImageFsInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *ImageFsInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ImageFsInfoRequest) ProtoMessage()
- func (m *ImageFsInfoRequest) Reset()
- func (m *ImageFsInfoRequest) Size() (n int)
- func (this *ImageFsInfoRequest) String() string
- func (m *ImageFsInfoRequest) Unmarshal(dAtA []byte) error
- type ImageFsInfoResponse
- func (*ImageFsInfoResponse) Descriptor() ([]byte, []int)
- func (m *ImageFsInfoResponse) GetImageFilesystems() []*FilesystemUsage
- func (m *ImageFsInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *ImageFsInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ImageFsInfoResponse) ProtoMessage()
- func (m *ImageFsInfoResponse) Reset()
- func (m *ImageFsInfoResponse) Size() (n int)
- func (this *ImageFsInfoResponse) String() string
- func (m *ImageFsInfoResponse) Unmarshal(dAtA []byte) error
- type ImageServiceClient
- type ImageServiceServer
- type ImageSpec
- func (*ImageSpec) Descriptor() ([]byte, []int)
- func (m *ImageSpec) GetImage() string
- func (m *ImageSpec) Marshal() (dAtA []byte, err error)
- func (m *ImageSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ImageSpec) ProtoMessage()
- func (m *ImageSpec) Reset()
- func (m *ImageSpec) Size() (n int)
- func (this *ImageSpec) String() string
- func (m *ImageSpec) Unmarshal(dAtA []byte) error
- type ImageStatusRequest
- func (*ImageStatusRequest) Descriptor() ([]byte, []int)
- func (m *ImageStatusRequest) GetImage() *ImageSpec
- func (m *ImageStatusRequest) GetVerbose() bool
- func (m *ImageStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *ImageStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ImageStatusRequest) ProtoMessage()
- func (m *ImageStatusRequest) Reset()
- func (m *ImageStatusRequest) Size() (n int)
- func (this *ImageStatusRequest) String() string
- func (m *ImageStatusRequest) Unmarshal(dAtA []byte) error
- type ImageStatusResponse
- func (*ImageStatusResponse) Descriptor() ([]byte, []int)
- func (m *ImageStatusResponse) GetImage() *Image
- func (m *ImageStatusResponse) GetInfo() map[string]string
- func (m *ImageStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *ImageStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ImageStatusResponse) ProtoMessage()
- func (m *ImageStatusResponse) Reset()
- func (m *ImageStatusResponse) Size() (n int)
- func (this *ImageStatusResponse) String() string
- func (m *ImageStatusResponse) Unmarshal(dAtA []byte) error
- type Int64Value
- func (*Int64Value) Descriptor() ([]byte, []int)
- func (m *Int64Value) GetValue() int64
- func (m *Int64Value) Marshal() (dAtA []byte, err error)
- func (m *Int64Value) MarshalTo(dAtA []byte) (int, error)
- func (*Int64Value) ProtoMessage()
- func (m *Int64Value) Reset()
- func (m *Int64Value) Size() (n int)
- func (this *Int64Value) String() string
- func (m *Int64Value) Unmarshal(dAtA []byte) error
- type KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)
- func (m *KeyValue) GetKey() string
- func (m *KeyValue) GetValue() string
- func (m *KeyValue) Marshal() (dAtA []byte, err error)
- func (m *KeyValue) MarshalTo(dAtA []byte) (int, error)
- func (*KeyValue) ProtoMessage()
- func (m *KeyValue) Reset()
- func (m *KeyValue) Size() (n int)
- func (this *KeyValue) String() string
- func (m *KeyValue) Unmarshal(dAtA []byte) error
- type LinuxContainerConfig
- func (*LinuxContainerConfig) Descriptor() ([]byte, []int)
- func (m *LinuxContainerConfig) GetResources() *LinuxContainerResources
- func (m *LinuxContainerConfig) GetSecurityContext() *LinuxContainerSecurityContext
- func (m *LinuxContainerConfig) Marshal() (dAtA []byte, err error)
- func (m *LinuxContainerConfig) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxContainerConfig) ProtoMessage()
- func (m *LinuxContainerConfig) Reset()
- func (m *LinuxContainerConfig) Size() (n int)
- func (this *LinuxContainerConfig) String() string
- func (m *LinuxContainerConfig) Unmarshal(dAtA []byte) error
- type LinuxContainerResources
- func (*LinuxContainerResources) Descriptor() ([]byte, []int)
- func (m *LinuxContainerResources) GetCpuPeriod() int64
- func (m *LinuxContainerResources) GetCpuQuota() int64
- func (m *LinuxContainerResources) GetCpuShares() int64
- func (m *LinuxContainerResources) GetCpusetCpus() string
- func (m *LinuxContainerResources) GetCpusetMems() string
- func (m *LinuxContainerResources) GetMemoryLimitInBytes() int64
- func (m *LinuxContainerResources) GetOomScoreAdj() int64
- func (m *LinuxContainerResources) Marshal() (dAtA []byte, err error)
- func (m *LinuxContainerResources) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxContainerResources) ProtoMessage()
- func (m *LinuxContainerResources) Reset()
- func (m *LinuxContainerResources) Size() (n int)
- func (this *LinuxContainerResources) String() string
- func (m *LinuxContainerResources) Unmarshal(dAtA []byte) error
- type LinuxContainerSecurityContext
- func (*LinuxContainerSecurityContext) Descriptor() ([]byte, []int)
- func (m *LinuxContainerSecurityContext) GetApparmorProfile() string
- func (m *LinuxContainerSecurityContext) GetCapabilities() *Capability
- func (m *LinuxContainerSecurityContext) GetNamespaceOptions() *NamespaceOption
- func (m *LinuxContainerSecurityContext) GetNoNewPrivs() bool
- func (m *LinuxContainerSecurityContext) GetPrivileged() bool
- func (m *LinuxContainerSecurityContext) GetReadonlyRootfs() bool
- func (m *LinuxContainerSecurityContext) GetRunAsUser() *Int64Value
- func (m *LinuxContainerSecurityContext) GetRunAsUsername() string
- func (m *LinuxContainerSecurityContext) GetSeccompProfilePath() string
- func (m *LinuxContainerSecurityContext) GetSelinuxOptions() *SELinuxOption
- func (m *LinuxContainerSecurityContext) GetSupplementalGroups() []int64
- func (m *LinuxContainerSecurityContext) Marshal() (dAtA []byte, err error)
- func (m *LinuxContainerSecurityContext) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxContainerSecurityContext) ProtoMessage()
- func (m *LinuxContainerSecurityContext) Reset()
- func (m *LinuxContainerSecurityContext) Size() (n int)
- func (this *LinuxContainerSecurityContext) String() string
- func (m *LinuxContainerSecurityContext) Unmarshal(dAtA []byte) error
- type LinuxPodSandboxConfig
- func (*LinuxPodSandboxConfig) Descriptor() ([]byte, []int)
- func (m *LinuxPodSandboxConfig) GetCgroupParent() string
- func (m *LinuxPodSandboxConfig) GetSecurityContext() *LinuxSandboxSecurityContext
- func (m *LinuxPodSandboxConfig) GetSysctls() map[string]string
- func (m *LinuxPodSandboxConfig) Marshal() (dAtA []byte, err error)
- func (m *LinuxPodSandboxConfig) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxPodSandboxConfig) ProtoMessage()
- func (m *LinuxPodSandboxConfig) Reset()
- func (m *LinuxPodSandboxConfig) Size() (n int)
- func (this *LinuxPodSandboxConfig) String() string
- func (m *LinuxPodSandboxConfig) Unmarshal(dAtA []byte) error
- type LinuxPodSandboxStatus
- func (*LinuxPodSandboxStatus) Descriptor() ([]byte, []int)
- func (m *LinuxPodSandboxStatus) GetNamespaces() *Namespace
- func (m *LinuxPodSandboxStatus) Marshal() (dAtA []byte, err error)
- func (m *LinuxPodSandboxStatus) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxPodSandboxStatus) ProtoMessage()
- func (m *LinuxPodSandboxStatus) Reset()
- func (m *LinuxPodSandboxStatus) Size() (n int)
- func (this *LinuxPodSandboxStatus) String() string
- func (m *LinuxPodSandboxStatus) Unmarshal(dAtA []byte) error
- type LinuxSandboxSecurityContext
- func (*LinuxSandboxSecurityContext) Descriptor() ([]byte, []int)
- func (m *LinuxSandboxSecurityContext) GetNamespaceOptions() *NamespaceOption
- func (m *LinuxSandboxSecurityContext) GetPrivileged() bool
- func (m *LinuxSandboxSecurityContext) GetReadonlyRootfs() bool
- func (m *LinuxSandboxSecurityContext) GetRunAsUser() *Int64Value
- func (m *LinuxSandboxSecurityContext) GetSeccompProfilePath() string
- func (m *LinuxSandboxSecurityContext) GetSelinuxOptions() *SELinuxOption
- func (m *LinuxSandboxSecurityContext) GetSupplementalGroups() []int64
- func (m *LinuxSandboxSecurityContext) Marshal() (dAtA []byte, err error)
- func (m *LinuxSandboxSecurityContext) MarshalTo(dAtA []byte) (int, error)
- func (*LinuxSandboxSecurityContext) ProtoMessage()
- func (m *LinuxSandboxSecurityContext) Reset()
- func (m *LinuxSandboxSecurityContext) Size() (n int)
- func (this *LinuxSandboxSecurityContext) String() string
- func (m *LinuxSandboxSecurityContext) Unmarshal(dAtA []byte) error
- type ListContainerStatsRequest
- func (*ListContainerStatsRequest) Descriptor() ([]byte, []int)
- func (m *ListContainerStatsRequest) GetFilter() *ContainerStatsFilter
- func (m *ListContainerStatsRequest) Marshal() (dAtA []byte, err error)
- func (m *ListContainerStatsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListContainerStatsRequest) ProtoMessage()
- func (m *ListContainerStatsRequest) Reset()
- func (m *ListContainerStatsRequest) Size() (n int)
- func (this *ListContainerStatsRequest) String() string
- func (m *ListContainerStatsRequest) Unmarshal(dAtA []byte) error
- type ListContainerStatsResponse
- func (*ListContainerStatsResponse) Descriptor() ([]byte, []int)
- func (m *ListContainerStatsResponse) GetStats() []*ContainerStats
- func (m *ListContainerStatsResponse) Marshal() (dAtA []byte, err error)
- func (m *ListContainerStatsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListContainerStatsResponse) ProtoMessage()
- func (m *ListContainerStatsResponse) Reset()
- func (m *ListContainerStatsResponse) Size() (n int)
- func (this *ListContainerStatsResponse) String() string
- func (m *ListContainerStatsResponse) Unmarshal(dAtA []byte) error
- type ListContainersRequest
- func (*ListContainersRequest) Descriptor() ([]byte, []int)
- func (m *ListContainersRequest) GetFilter() *ContainerFilter
- func (m *ListContainersRequest) Marshal() (dAtA []byte, err error)
- func (m *ListContainersRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListContainersRequest) ProtoMessage()
- func (m *ListContainersRequest) Reset()
- func (m *ListContainersRequest) Size() (n int)
- func (this *ListContainersRequest) String() string
- func (m *ListContainersRequest) Unmarshal(dAtA []byte) error
- type ListContainersResponse
- func (*ListContainersResponse) Descriptor() ([]byte, []int)
- func (m *ListContainersResponse) GetContainers() []*Container
- func (m *ListContainersResponse) Marshal() (dAtA []byte, err error)
- func (m *ListContainersResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListContainersResponse) ProtoMessage()
- func (m *ListContainersResponse) Reset()
- func (m *ListContainersResponse) Size() (n int)
- func (this *ListContainersResponse) String() string
- func (m *ListContainersResponse) Unmarshal(dAtA []byte) error
- type ListImagesRequest
- func (*ListImagesRequest) Descriptor() ([]byte, []int)
- func (m *ListImagesRequest) GetFilter() *ImageFilter
- func (m *ListImagesRequest) Marshal() (dAtA []byte, err error)
- func (m *ListImagesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListImagesRequest) ProtoMessage()
- func (m *ListImagesRequest) Reset()
- func (m *ListImagesRequest) Size() (n int)
- func (this *ListImagesRequest) String() string
- func (m *ListImagesRequest) Unmarshal(dAtA []byte) error
- type ListImagesResponse
- func (*ListImagesResponse) Descriptor() ([]byte, []int)
- func (m *ListImagesResponse) GetImages() []*Image
- func (m *ListImagesResponse) Marshal() (dAtA []byte, err error)
- func (m *ListImagesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListImagesResponse) ProtoMessage()
- func (m *ListImagesResponse) Reset()
- func (m *ListImagesResponse) Size() (n int)
- func (this *ListImagesResponse) String() string
- func (m *ListImagesResponse) Unmarshal(dAtA []byte) error
- type ListPodSandboxRequest
- func (*ListPodSandboxRequest) Descriptor() ([]byte, []int)
- func (m *ListPodSandboxRequest) GetFilter() *PodSandboxFilter
- func (m *ListPodSandboxRequest) Marshal() (dAtA []byte, err error)
- func (m *ListPodSandboxRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListPodSandboxRequest) ProtoMessage()
- func (m *ListPodSandboxRequest) Reset()
- func (m *ListPodSandboxRequest) Size() (n int)
- func (this *ListPodSandboxRequest) String() string
- func (m *ListPodSandboxRequest) Unmarshal(dAtA []byte) error
- type ListPodSandboxResponse
- func (*ListPodSandboxResponse) Descriptor() ([]byte, []int)
- func (m *ListPodSandboxResponse) GetItems() []*PodSandbox
- func (m *ListPodSandboxResponse) Marshal() (dAtA []byte, err error)
- func (m *ListPodSandboxResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListPodSandboxResponse) ProtoMessage()
- func (m *ListPodSandboxResponse) Reset()
- func (m *ListPodSandboxResponse) Size() (n int)
- func (this *ListPodSandboxResponse) String() string
- func (m *ListPodSandboxResponse) Unmarshal(dAtA []byte) error
- type MemoryUsage
- func (*MemoryUsage) Descriptor() ([]byte, []int)
- func (m *MemoryUsage) GetTimestamp() int64
- func (m *MemoryUsage) GetWorkingSetBytes() *UInt64Value
- func (m *MemoryUsage) Marshal() (dAtA []byte, err error)
- func (m *MemoryUsage) MarshalTo(dAtA []byte) (int, error)
- func (*MemoryUsage) ProtoMessage()
- func (m *MemoryUsage) Reset()
- func (m *MemoryUsage) Size() (n int)
- func (this *MemoryUsage) String() string
- func (m *MemoryUsage) Unmarshal(dAtA []byte) error
- type Mount
- func (*Mount) Descriptor() ([]byte, []int)
- func (m *Mount) GetContainerPath() string
- func (m *Mount) GetHostPath() string
- func (m *Mount) GetPropagation() MountPropagation
- func (m *Mount) GetReadonly() bool
- func (m *Mount) GetSelinuxRelabel() bool
- func (m *Mount) Marshal() (dAtA []byte, err error)
- func (m *Mount) MarshalTo(dAtA []byte) (int, error)
- func (*Mount) ProtoMessage()
- func (m *Mount) Reset()
- func (m *Mount) Size() (n int)
- func (this *Mount) String() string
- func (m *Mount) Unmarshal(dAtA []byte) error
- type MountPropagation
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)
- func (m *Namespace) GetOptions() *NamespaceOption
- func (m *Namespace) Marshal() (dAtA []byte, err error)
- func (m *Namespace) MarshalTo(dAtA []byte) (int, error)
- func (*Namespace) ProtoMessage()
- func (m *Namespace) Reset()
- func (m *Namespace) Size() (n int)
- func (this *Namespace) String() string
- func (m *Namespace) Unmarshal(dAtA []byte) error
- type NamespaceOption
- func (*NamespaceOption) Descriptor() ([]byte, []int)
- func (m *NamespaceOption) GetHostIpc() bool
- func (m *NamespaceOption) GetHostNetwork() bool
- func (m *NamespaceOption) GetHostPid() bool
- func (m *NamespaceOption) Marshal() (dAtA []byte, err error)
- func (m *NamespaceOption) MarshalTo(dAtA []byte) (int, error)
- func (*NamespaceOption) ProtoMessage()
- func (m *NamespaceOption) Reset()
- func (m *NamespaceOption) Size() (n int)
- func (this *NamespaceOption) String() string
- func (m *NamespaceOption) Unmarshal(dAtA []byte) error
- type NetworkConfig
- func (*NetworkConfig) Descriptor() ([]byte, []int)
- func (m *NetworkConfig) GetPodCidr() string
- func (m *NetworkConfig) Marshal() (dAtA []byte, err error)
- func (m *NetworkConfig) MarshalTo(dAtA []byte) (int, error)
- func (*NetworkConfig) ProtoMessage()
- func (m *NetworkConfig) Reset()
- func (m *NetworkConfig) Size() (n int)
- func (this *NetworkConfig) String() string
- func (m *NetworkConfig) Unmarshal(dAtA []byte) error
- type PodSandbox
- func (*PodSandbox) Descriptor() ([]byte, []int)
- func (m *PodSandbox) GetAnnotations() map[string]string
- func (m *PodSandbox) GetCreatedAt() int64
- func (m *PodSandbox) GetId() string
- func (m *PodSandbox) GetLabels() map[string]string
- func (m *PodSandbox) GetMetadata() *PodSandboxMetadata
- func (m *PodSandbox) GetState() PodSandboxState
- func (m *PodSandbox) Marshal() (dAtA []byte, err error)
- func (m *PodSandbox) MarshalTo(dAtA []byte) (int, error)
- func (*PodSandbox) ProtoMessage()
- func (m *PodSandbox) Reset()
- func (m *PodSandbox) Size() (n int)
- func (this *PodSandbox) String() string
- func (m *PodSandbox) Unmarshal(dAtA []byte) error
- type PodSandboxConfig
- func (*PodSandboxConfig) Descriptor() ([]byte, []int)
- func (m *PodSandboxConfig) GetAnnotations() map[string]string
- func (m *PodSandboxConfig) GetDnsConfig() *DNSConfig
- func (m *PodSandboxConfig) GetHostname() string
- func (m *PodSandboxConfig) GetLabels() map[string]string
- func (m *PodSandboxConfig) GetLinux() *LinuxPodSandboxConfig
- func (m *PodSandboxConfig) GetLogDirectory() string
- func (m *PodSandboxConfig) GetMetadata() *PodSandboxMetadata
- func (m *PodSandboxConfig) GetPortMappings() []*PortMapping
- func (m *PodSandboxConfig) Marshal() (dAtA []byte, err error)
- func (m *PodSandboxConfig) MarshalTo(dAtA []byte) (int, error)
- func (*PodSandboxConfig) ProtoMessage()
- func (m *PodSandboxConfig) Reset()
- func (m *PodSandboxConfig) Size() (n int)
- func (this *PodSandboxConfig) String() string
- func (m *PodSandboxConfig) Unmarshal(dAtA []byte) error
- type PodSandboxFilter
- func (*PodSandboxFilter) Descriptor() ([]byte, []int)
- func (m *PodSandboxFilter) GetId() string
- func (m *PodSandboxFilter) GetLabelSelector() map[string]string
- func (m *PodSandboxFilter) GetState() *PodSandboxStateValue
- func (m *PodSandboxFilter) Marshal() (dAtA []byte, err error)
- func (m *PodSandboxFilter) MarshalTo(dAtA []byte) (int, error)
- func (*PodSandboxFilter) ProtoMessage()
- func (m *PodSandboxFilter) Reset()
- func (m *PodSandboxFilter) Size() (n int)
- func (this *PodSandboxFilter) String() string
- func (m *PodSandboxFilter) Unmarshal(dAtA []byte) error
- type PodSandboxMetadata
- func (*PodSandboxMetadata) Descriptor() ([]byte, []int)
- func (m *PodSandboxMetadata) GetAttempt() uint32
- func (m *PodSandboxMetadata) GetName() string
- func (m *PodSandboxMetadata) GetNamespace() string
- func (m *PodSandboxMetadata) GetUid() string
- func (m *PodSandboxMetadata) Marshal() (dAtA []byte, err error)
- func (m *PodSandboxMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*PodSandboxMetadata) ProtoMessage()
- func (m *PodSandboxMetadata) Reset()
- func (m *PodSandboxMetadata) Size() (n int)
- func (this *PodSandboxMetadata) String() string
- func (m *PodSandboxMetadata) Unmarshal(dAtA []byte) error
- type PodSandboxNetworkStatus
- func (*PodSandboxNetworkStatus) Descriptor() ([]byte, []int)
- func (m *PodSandboxNetworkStatus) GetIp() string
- func (m *PodSandboxNetworkStatus) Marshal() (dAtA []byte, err error)
- func (m *PodSandboxNetworkStatus) MarshalTo(dAtA []byte) (int, error)
- func (*PodSandboxNetworkStatus) ProtoMessage()
- func (m *PodSandboxNetworkStatus) Reset()
- func (m *PodSandboxNetworkStatus) Size() (n int)
- func (this *PodSandboxNetworkStatus) String() string
- func (m *PodSandboxNetworkStatus) Unmarshal(dAtA []byte) error
- type PodSandboxState
- type PodSandboxStateValue
- func (*PodSandboxStateValue) Descriptor() ([]byte, []int)
- func (m *PodSandboxStateValue) GetState() PodSandboxState
- func (m *PodSandboxStateValue) Marshal() (dAtA []byte, err error)
- func (m *PodSandboxStateValue) MarshalTo(dAtA []byte) (int, error)
- func (*PodSandboxStateValue) ProtoMessage()
- func (m *PodSandboxStateValue) Reset()
- func (m *PodSandboxStateValue) Size() (n int)
- func (this *PodSandboxStateValue) String() string
- func (m *PodSandboxStateValue) Unmarshal(dAtA []byte) error
- type PodSandboxStatus
- func (*PodSandboxStatus) Descriptor() ([]byte, []int)
- func (m *PodSandboxStatus) GetAnnotations() map[string]string
- func (m *PodSandboxStatus) GetCreatedAt() int64
- func (m *PodSandboxStatus) GetId() string
- func (m *PodSandboxStatus) GetLabels() map[string]string
- func (m *PodSandboxStatus) GetLinux() *LinuxPodSandboxStatus
- func (m *PodSandboxStatus) GetMetadata() *PodSandboxMetadata
- func (m *PodSandboxStatus) GetNetwork() *PodSandboxNetworkStatus
- func (m *PodSandboxStatus) GetState() PodSandboxState
- func (m *PodSandboxStatus) Marshal() (dAtA []byte, err error)
- func (m *PodSandboxStatus) MarshalTo(dAtA []byte) (int, error)
- func (*PodSandboxStatus) ProtoMessage()
- func (m *PodSandboxStatus) Reset()
- func (m *PodSandboxStatus) Size() (n int)
- func (this *PodSandboxStatus) String() string
- func (m *PodSandboxStatus) Unmarshal(dAtA []byte) error
- type PodSandboxStatusRequest
- func (*PodSandboxStatusRequest) Descriptor() ([]byte, []int)
- func (m *PodSandboxStatusRequest) GetPodSandboxId() string
- func (m *PodSandboxStatusRequest) GetVerbose() bool
- func (m *PodSandboxStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *PodSandboxStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PodSandboxStatusRequest) ProtoMessage()
- func (m *PodSandboxStatusRequest) Reset()
- func (m *PodSandboxStatusRequest) Size() (n int)
- func (this *PodSandboxStatusRequest) String() string
- func (m *PodSandboxStatusRequest) Unmarshal(dAtA []byte) error
- type PodSandboxStatusResponse
- func (*PodSandboxStatusResponse) Descriptor() ([]byte, []int)
- func (m *PodSandboxStatusResponse) GetInfo() map[string]string
- func (m *PodSandboxStatusResponse) GetStatus() *PodSandboxStatus
- func (m *PodSandboxStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *PodSandboxStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (*PodSandboxStatusResponse) ProtoMessage()
- func (m *PodSandboxStatusResponse) Reset()
- func (m *PodSandboxStatusResponse) Size() (n int)
- func (this *PodSandboxStatusResponse) String() string
- func (m *PodSandboxStatusResponse) Unmarshal(dAtA []byte) error
- type PortForwardRequest
- func (*PortForwardRequest) Descriptor() ([]byte, []int)
- func (m *PortForwardRequest) GetPodSandboxId() string
- func (m *PortForwardRequest) GetPort() []int32
- func (m *PortForwardRequest) Marshal() (dAtA []byte, err error)
- func (m *PortForwardRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PortForwardRequest) ProtoMessage()
- func (m *PortForwardRequest) Reset()
- func (m *PortForwardRequest) Size() (n int)
- func (this *PortForwardRequest) String() string
- func (m *PortForwardRequest) Unmarshal(dAtA []byte) error
- type PortForwardResponse
- func (*PortForwardResponse) Descriptor() ([]byte, []int)
- func (m *PortForwardResponse) GetUrl() string
- func (m *PortForwardResponse) Marshal() (dAtA []byte, err error)
- func (m *PortForwardResponse) MarshalTo(dAtA []byte) (int, error)
- func (*PortForwardResponse) ProtoMessage()
- func (m *PortForwardResponse) Reset()
- func (m *PortForwardResponse) Size() (n int)
- func (this *PortForwardResponse) String() string
- func (m *PortForwardResponse) Unmarshal(dAtA []byte) error
- type PortMapping
- func (*PortMapping) Descriptor() ([]byte, []int)
- func (m *PortMapping) GetContainerPort() int32
- func (m *PortMapping) GetHostIp() string
- func (m *PortMapping) GetHostPort() int32
- func (m *PortMapping) GetProtocol() Protocol
- func (m *PortMapping) Marshal() (dAtA []byte, err error)
- func (m *PortMapping) MarshalTo(dAtA []byte) (int, error)
- func (*PortMapping) ProtoMessage()
- func (m *PortMapping) Reset()
- func (m *PortMapping) Size() (n int)
- func (this *PortMapping) String() string
- func (m *PortMapping) Unmarshal(dAtA []byte) error
- type Protocol
- type PullImageRequest
- func (*PullImageRequest) Descriptor() ([]byte, []int)
- func (m *PullImageRequest) GetAuth() *AuthConfig
- func (m *PullImageRequest) GetImage() *ImageSpec
- func (m *PullImageRequest) GetSandboxConfig() *PodSandboxConfig
- func (m *PullImageRequest) Marshal() (dAtA []byte, err error)
- func (m *PullImageRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PullImageRequest) ProtoMessage()
- func (m *PullImageRequest) Reset()
- func (m *PullImageRequest) Size() (n int)
- func (this *PullImageRequest) String() string
- func (m *PullImageRequest) Unmarshal(dAtA []byte) error
- type PullImageResponse
- func (*PullImageResponse) Descriptor() ([]byte, []int)
- func (m *PullImageResponse) GetImageRef() string
- func (m *PullImageResponse) Marshal() (dAtA []byte, err error)
- func (m *PullImageResponse) MarshalTo(dAtA []byte) (int, error)
- func (*PullImageResponse) ProtoMessage()
- func (m *PullImageResponse) Reset()
- func (m *PullImageResponse) Size() (n int)
- func (this *PullImageResponse) String() string
- func (m *PullImageResponse) Unmarshal(dAtA []byte) error
- type RemoveContainerRequest
- func (*RemoveContainerRequest) Descriptor() ([]byte, []int)
- func (m *RemoveContainerRequest) GetContainerId() string
- func (m *RemoveContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoveContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*RemoveContainerRequest) ProtoMessage()
- func (m *RemoveContainerRequest) Reset()
- func (m *RemoveContainerRequest) Size() (n int)
- func (this *RemoveContainerRequest) String() string
- func (m *RemoveContainerRequest) Unmarshal(dAtA []byte) error
- type RemoveContainerResponse
- func (*RemoveContainerResponse) Descriptor() ([]byte, []int)
- func (m *RemoveContainerResponse) Marshal() (dAtA []byte, err error)
- func (m *RemoveContainerResponse) MarshalTo(dAtA []byte) (int, error)
- func (*RemoveContainerResponse) ProtoMessage()
- func (m *RemoveContainerResponse) Reset()
- func (m *RemoveContainerResponse) Size() (n int)
- func (this *RemoveContainerResponse) String() string
- func (m *RemoveContainerResponse) Unmarshal(dAtA []byte) error
- type RemoveImageRequest
- func (*RemoveImageRequest) Descriptor() ([]byte, []int)
- func (m *RemoveImageRequest) GetImage() *ImageSpec
- func (m *RemoveImageRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoveImageRequest) MarshalTo(dAtA []byte) (int, error)
- func (*RemoveImageRequest) ProtoMessage()
- func (m *RemoveImageRequest) Reset()
- func (m *RemoveImageRequest) Size() (n int)
- func (this *RemoveImageRequest) String() string
- func (m *RemoveImageRequest) Unmarshal(dAtA []byte) error
- type RemoveImageResponse
- func (*RemoveImageResponse) Descriptor() ([]byte, []int)
- func (m *RemoveImageResponse) Marshal() (dAtA []byte, err error)
- func (m *RemoveImageResponse) MarshalTo(dAtA []byte) (int, error)
- func (*RemoveImageResponse) ProtoMessage()
- func (m *RemoveImageResponse) Reset()
- func (m *RemoveImageResponse) Size() (n int)
- func (this *RemoveImageResponse) String() string
- func (m *RemoveImageResponse) Unmarshal(dAtA []byte) error
- type RemovePodSandboxRequest
- func (*RemovePodSandboxRequest) Descriptor() ([]byte, []int)
- func (m *RemovePodSandboxRequest) GetPodSandboxId() string
- func (m *RemovePodSandboxRequest) Marshal() (dAtA []byte, err error)
- func (m *RemovePodSandboxRequest) MarshalTo(dAtA []byte) (int, error)
- func (*RemovePodSandboxRequest) ProtoMessage()
- func (m *RemovePodSandboxRequest) Reset()
- func (m *RemovePodSandboxRequest) Size() (n int)
- func (this *RemovePodSandboxRequest) String() string
- func (m *RemovePodSandboxRequest) Unmarshal(dAtA []byte) error
- type RemovePodSandboxResponse
- func (*RemovePodSandboxResponse) Descriptor() ([]byte, []int)
- func (m *RemovePodSandboxResponse) Marshal() (dAtA []byte, err error)
- func (m *RemovePodSandboxResponse) MarshalTo(dAtA []byte) (int, error)
- func (*RemovePodSandboxResponse) ProtoMessage()
- func (m *RemovePodSandboxResponse) Reset()
- func (m *RemovePodSandboxResponse) Size() (n int)
- func (this *RemovePodSandboxResponse) String() string
- func (m *RemovePodSandboxResponse) Unmarshal(dAtA []byte) error
- type RunPodSandboxRequest
- func (*RunPodSandboxRequest) Descriptor() ([]byte, []int)
- func (m *RunPodSandboxRequest) GetConfig() *PodSandboxConfig
- func (m *RunPodSandboxRequest) Marshal() (dAtA []byte, err error)
- func (m *RunPodSandboxRequest) MarshalTo(dAtA []byte) (int, error)
- func (*RunPodSandboxRequest) ProtoMessage()
- func (m *RunPodSandboxRequest) Reset()
- func (m *RunPodSandboxRequest) Size() (n int)
- func (this *RunPodSandboxRequest) String() string
- func (m *RunPodSandboxRequest) Unmarshal(dAtA []byte) error
- type RunPodSandboxResponse
- func (*RunPodSandboxResponse) Descriptor() ([]byte, []int)
- func (m *RunPodSandboxResponse) GetPodSandboxId() string
- func (m *RunPodSandboxResponse) Marshal() (dAtA []byte, err error)
- func (m *RunPodSandboxResponse) MarshalTo(dAtA []byte) (int, error)
- func (*RunPodSandboxResponse) ProtoMessage()
- func (m *RunPodSandboxResponse) Reset()
- func (m *RunPodSandboxResponse) Size() (n int)
- func (this *RunPodSandboxResponse) String() string
- func (m *RunPodSandboxResponse) Unmarshal(dAtA []byte) error
- type RuntimeCondition
- func (*RuntimeCondition) Descriptor() ([]byte, []int)
- func (m *RuntimeCondition) GetMessage() string
- func (m *RuntimeCondition) GetReason() string
- func (m *RuntimeCondition) GetStatus() bool
- func (m *RuntimeCondition) GetType() string
- func (m *RuntimeCondition) Marshal() (dAtA []byte, err error)
- func (m *RuntimeCondition) MarshalTo(dAtA []byte) (int, error)
- func (*RuntimeCondition) ProtoMessage()
- func (m *RuntimeCondition) Reset()
- func (m *RuntimeCondition) Size() (n int)
- func (this *RuntimeCondition) String() string
- func (m *RuntimeCondition) Unmarshal(dAtA []byte) error
- type RuntimeConfig
- func (*RuntimeConfig) Descriptor() ([]byte, []int)
- func (m *RuntimeConfig) GetNetworkConfig() *NetworkConfig
- func (m *RuntimeConfig) Marshal() (dAtA []byte, err error)
- func (m *RuntimeConfig) MarshalTo(dAtA []byte) (int, error)
- func (*RuntimeConfig) ProtoMessage()
- func (m *RuntimeConfig) Reset()
- func (m *RuntimeConfig) Size() (n int)
- func (this *RuntimeConfig) String() string
- func (m *RuntimeConfig) Unmarshal(dAtA []byte) error
- type RuntimeServiceClient
- type RuntimeServiceServer
- type RuntimeStatus
- func (*RuntimeStatus) Descriptor() ([]byte, []int)
- func (m *RuntimeStatus) GetConditions() []*RuntimeCondition
- func (m *RuntimeStatus) Marshal() (dAtA []byte, err error)
- func (m *RuntimeStatus) MarshalTo(dAtA []byte) (int, error)
- func (*RuntimeStatus) ProtoMessage()
- func (m *RuntimeStatus) Reset()
- func (m *RuntimeStatus) Size() (n int)
- func (this *RuntimeStatus) String() string
- func (m *RuntimeStatus) Unmarshal(dAtA []byte) error
- type SELinuxOption
- func (*SELinuxOption) Descriptor() ([]byte, []int)
- func (m *SELinuxOption) GetLevel() string
- func (m *SELinuxOption) GetRole() string
- func (m *SELinuxOption) GetType() string
- func (m *SELinuxOption) GetUser() string
- func (m *SELinuxOption) Marshal() (dAtA []byte, err error)
- func (m *SELinuxOption) MarshalTo(dAtA []byte) (int, error)
- func (*SELinuxOption) ProtoMessage()
- func (m *SELinuxOption) Reset()
- func (m *SELinuxOption) Size() (n int)
- func (this *SELinuxOption) String() string
- func (m *SELinuxOption) Unmarshal(dAtA []byte) error
- type StartContainerRequest
- func (*StartContainerRequest) Descriptor() ([]byte, []int)
- func (m *StartContainerRequest) GetContainerId() string
- func (m *StartContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *StartContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StartContainerRequest) ProtoMessage()
- func (m *StartContainerRequest) Reset()
- func (m *StartContainerRequest) Size() (n int)
- func (this *StartContainerRequest) String() string
- func (m *StartContainerRequest) Unmarshal(dAtA []byte) error
- type StartContainerResponse
- func (*StartContainerResponse) Descriptor() ([]byte, []int)
- func (m *StartContainerResponse) Marshal() (dAtA []byte, err error)
- func (m *StartContainerResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StartContainerResponse) ProtoMessage()
- func (m *StartContainerResponse) Reset()
- func (m *StartContainerResponse) Size() (n int)
- func (this *StartContainerResponse) String() string
- func (m *StartContainerResponse) Unmarshal(dAtA []byte) error
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)
- func (m *StatusRequest) GetVerbose() bool
- func (m *StatusRequest) Marshal() (dAtA []byte, err error)
- func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StatusRequest) ProtoMessage()
- func (m *StatusRequest) Reset()
- func (m *StatusRequest) Size() (n int)
- func (this *StatusRequest) String() string
- func (m *StatusRequest) Unmarshal(dAtA []byte) error
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)
- func (m *StatusResponse) GetInfo() map[string]string
- func (m *StatusResponse) GetStatus() *RuntimeStatus
- func (m *StatusResponse) Marshal() (dAtA []byte, err error)
- func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StatusResponse) ProtoMessage()
- func (m *StatusResponse) Reset()
- func (m *StatusResponse) Size() (n int)
- func (this *StatusResponse) String() string
- func (m *StatusResponse) Unmarshal(dAtA []byte) error
- type StopContainerRequest
- func (*StopContainerRequest) Descriptor() ([]byte, []int)
- func (m *StopContainerRequest) GetContainerId() string
- func (m *StopContainerRequest) GetTimeout() int64
- func (m *StopContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *StopContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StopContainerRequest) ProtoMessage()
- func (m *StopContainerRequest) Reset()
- func (m *StopContainerRequest) Size() (n int)
- func (this *StopContainerRequest) String() string
- func (m *StopContainerRequest) Unmarshal(dAtA []byte) error
- type StopContainerResponse
- func (*StopContainerResponse) Descriptor() ([]byte, []int)
- func (m *StopContainerResponse) Marshal() (dAtA []byte, err error)
- func (m *StopContainerResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StopContainerResponse) ProtoMessage()
- func (m *StopContainerResponse) Reset()
- func (m *StopContainerResponse) Size() (n int)
- func (this *StopContainerResponse) String() string
- func (m *StopContainerResponse) Unmarshal(dAtA []byte) error
- type StopPodSandboxRequest
- func (*StopPodSandboxRequest) Descriptor() ([]byte, []int)
- func (m *StopPodSandboxRequest) GetPodSandboxId() string
- func (m *StopPodSandboxRequest) Marshal() (dAtA []byte, err error)
- func (m *StopPodSandboxRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StopPodSandboxRequest) ProtoMessage()
- func (m *StopPodSandboxRequest) Reset()
- func (m *StopPodSandboxRequest) Size() (n int)
- func (this *StopPodSandboxRequest) String() string
- func (m *StopPodSandboxRequest) Unmarshal(dAtA []byte) error
- type StopPodSandboxResponse
- func (*StopPodSandboxResponse) Descriptor() ([]byte, []int)
- func (m *StopPodSandboxResponse) Marshal() (dAtA []byte, err error)
- func (m *StopPodSandboxResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StopPodSandboxResponse) ProtoMessage()
- func (m *StopPodSandboxResponse) Reset()
- func (m *StopPodSandboxResponse) Size() (n int)
- func (this *StopPodSandboxResponse) String() string
- func (m *StopPodSandboxResponse) Unmarshal(dAtA []byte) error
- type StorageIdentifier
- func (*StorageIdentifier) Descriptor() ([]byte, []int)
- func (m *StorageIdentifier) GetUuid() string
- func (m *StorageIdentifier) Marshal() (dAtA []byte, err error)
- func (m *StorageIdentifier) MarshalTo(dAtA []byte) (int, error)
- func (*StorageIdentifier) ProtoMessage()
- func (m *StorageIdentifier) Reset()
- func (m *StorageIdentifier) Size() (n int)
- func (this *StorageIdentifier) String() string
- func (m *StorageIdentifier) Unmarshal(dAtA []byte) error
- type UInt64Value
- func (*UInt64Value) Descriptor() ([]byte, []int)
- func (m *UInt64Value) GetValue() uint64
- func (m *UInt64Value) Marshal() (dAtA []byte, err error)
- func (m *UInt64Value) MarshalTo(dAtA []byte) (int, error)
- func (*UInt64Value) ProtoMessage()
- func (m *UInt64Value) Reset()
- func (m *UInt64Value) Size() (n int)
- func (this *UInt64Value) String() string
- func (m *UInt64Value) Unmarshal(dAtA []byte) error
- type UpdateContainerResourcesRequest
- func (*UpdateContainerResourcesRequest) Descriptor() ([]byte, []int)
- func (m *UpdateContainerResourcesRequest) GetContainerId() string
- func (m *UpdateContainerResourcesRequest) GetLinux() *LinuxContainerResources
- func (m *UpdateContainerResourcesRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateContainerResourcesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateContainerResourcesRequest) ProtoMessage()
- func (m *UpdateContainerResourcesRequest) Reset()
- func (m *UpdateContainerResourcesRequest) Size() (n int)
- func (this *UpdateContainerResourcesRequest) String() string
- func (m *UpdateContainerResourcesRequest) Unmarshal(dAtA []byte) error
- type UpdateContainerResourcesResponse
- func (*UpdateContainerResourcesResponse) Descriptor() ([]byte, []int)
- func (m *UpdateContainerResourcesResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateContainerResourcesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateContainerResourcesResponse) ProtoMessage()
- func (m *UpdateContainerResourcesResponse) Reset()
- func (m *UpdateContainerResourcesResponse) Size() (n int)
- func (this *UpdateContainerResourcesResponse) String() string
- func (m *UpdateContainerResourcesResponse) Unmarshal(dAtA []byte) error
- type UpdateRuntimeConfigRequest
- func (*UpdateRuntimeConfigRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRuntimeConfigRequest) GetRuntimeConfig() *RuntimeConfig
- func (m *UpdateRuntimeConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateRuntimeConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateRuntimeConfigRequest) ProtoMessage()
- func (m *UpdateRuntimeConfigRequest) Reset()
- func (m *UpdateRuntimeConfigRequest) Size() (n int)
- func (this *UpdateRuntimeConfigRequest) String() string
- func (m *UpdateRuntimeConfigRequest) Unmarshal(dAtA []byte) error
- type UpdateRuntimeConfigResponse
- func (*UpdateRuntimeConfigResponse) Descriptor() ([]byte, []int)
- func (m *UpdateRuntimeConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateRuntimeConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateRuntimeConfigResponse) ProtoMessage()
- func (m *UpdateRuntimeConfigResponse) Reset()
- func (m *UpdateRuntimeConfigResponse) Size() (n int)
- func (this *UpdateRuntimeConfigResponse) String() string
- func (m *UpdateRuntimeConfigResponse) Unmarshal(dAtA []byte) error
- type VersionRequest
- func (*VersionRequest) Descriptor() ([]byte, []int)
- func (m *VersionRequest) GetVersion() string
- func (m *VersionRequest) Marshal() (dAtA []byte, err error)
- func (m *VersionRequest) MarshalTo(dAtA []byte) (int, error)
- func (*VersionRequest) ProtoMessage()
- func (m *VersionRequest) Reset()
- func (m *VersionRequest) Size() (n int)
- func (this *VersionRequest) String() string
- func (m *VersionRequest) Unmarshal(dAtA []byte) error
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)
- func (m *VersionResponse) GetRuntimeApiVersion() string
- func (m *VersionResponse) GetRuntimeName() string
- func (m *VersionResponse) GetRuntimeVersion() string
- func (m *VersionResponse) GetVersion() string
- func (m *VersionResponse) Marshal() (dAtA []byte, err error)
- func (m *VersionResponse) MarshalTo(dAtA []byte) (int, error)
- func (*VersionResponse) ProtoMessage()
- func (m *VersionResponse) Reset()
- func (m *VersionResponse) Size() (n int)
- func (this *VersionResponse) String() string
- func (m *VersionResponse) Unmarshal(dAtA []byte) error
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") )
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 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",
}
var Protocol_value = map[string]int32{
"TCP": 0,
"UDP": 1,
}
Functions ¶
func RegisterImageServiceServer ¶
func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer)
func RegisterRuntimeServiceServer ¶
func RegisterRuntimeServiceServer(s *grpc.Server, srv RuntimeServiceServer)
Types ¶
type AttachRequest ¶
type AttachRequest struct { // ID of the container to which to attach. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Whether to stream stdin. // One of `stdin`, `stdout`, and `stderr` MUST be true. Stdin bool `protobuf:"varint,2,opt,name=stdin,proto3" json:"stdin,omitempty"` // Whether the process being attached is running in a TTY. // This must match the TTY setting in the ContainerConfig. Tty bool `protobuf:"varint,3,opt,name=tty,proto3" json:"tty,omitempty"` // Whether to stream stdout. // One of `stdin`, `stdout`, and `stderr` MUST be true. Stdout bool `protobuf:"varint,4,opt,name=stdout,proto3" json:"stdout,omitempty"` // Whether to stream stderr. // One of `stdin`, `stdout`, and `stderr` MUST be true. // If `tty` is true, `stderr` MUST be false. Multiplexing is not supported // in this case. The output of stdout and stderr will be combined to a // single stream. Stderr bool `protobuf:"varint,5,opt,name=stderr,proto3" json:"stderr,omitempty"` }
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) 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
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"` }
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) 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
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"` }
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) 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
type Capability ¶
type Capability struct { // List of capabilities to add. AddCapabilities []string `protobuf:"bytes,1,rep,name=add_capabilities,json=addCapabilities" json:"add_capabilities,omitempty"` // List of capabilities to drop. DropCapabilities []string `protobuf:"bytes,2,rep,name=drop_capabilities,json=dropCapabilities" json:"drop_capabilities,omitempty"` }
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) 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
type Container ¶
type Container struct { // ID of the container, used by the container runtime to identify // a container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the sandbox to which this container belongs. PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // Metadata of the container. Metadata *ContainerMetadata `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"` // Spec of the image. Image *ImageSpec `protobuf:"bytes,4,opt,name=image" json:"image,omitempty"` // Reference to the image in use. For most runtimes, this should be an // image ID. ImageRef string `protobuf:"bytes,5,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"` // State of the container. State ContainerState `protobuf:"varint,6,opt,name=state,proto3,enum=runtime.ContainerState" json:"state,omitempty"` // Creation time of the container in nanoseconds. CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 146-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding ContainerConfig used to // instantiate this Container. Annotations map[string]string `` /* 156-byte string literal not displayed */ }
Container provides the runtime information for a container, such as ID, hash, state of the container.
func (*Container) Descriptor ¶
func (*Container) GetAnnotations ¶
func (*Container) GetCreatedAt ¶
func (*Container) GetImageRef ¶
func (*Container) GetMetadata ¶
func (m *Container) GetMetadata() *ContainerMetadata
func (*Container) GetPodSandboxId ¶
func (*Container) GetState ¶
func (m *Container) GetState() ContainerState
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
type ContainerAttributes ¶
type ContainerAttributes struct { // ID of the container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Metadata of the container. Metadata *ContainerMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` // Key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 146-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding ContainerConfig used to // instantiate the Container this status represents. Annotations map[string]string `` /* 156-byte string literal not displayed */ }
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) 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
type ContainerConfig ¶
type ContainerConfig struct { // Metadata of the container. This information will uniquely identify the // container, and the runtime should leverage this to ensure correct // operation. The runtime may also use this information to improve UX, such // as by constructing a readable name. Metadata *ContainerMetadata `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Image to use. Image *ImageSpec `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"` // Command to execute (i.e., entrypoint for docker) Command []string `protobuf:"bytes,3,rep,name=command" json:"command,omitempty"` // Args for the Command (i.e., command for docker) Args []string `protobuf:"bytes,4,rep,name=args" json:"args,omitempty"` // Current working directory of the command. WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // List of environment variable to set in the container. Envs []*KeyValue `protobuf:"bytes,6,rep,name=envs" json:"envs,omitempty"` // Mounts for the container. Mounts []*Mount `protobuf:"bytes,7,rep,name=mounts" json:"mounts,omitempty"` // Devices for the container. Devices []*Device `protobuf:"bytes,8,rep,name=devices" json:"devices,omitempty"` // Key-value pairs that may be used to scope and select individual resources. // Label keys are of the form: // label-key ::= prefixed-name | name // prefixed-name ::= prefix '/' name // prefix ::= DNS_SUBDOMAIN // name ::= DNS_LABEL Labels map[string]string `` /* 146-byte string literal not displayed */ // Unstructured key-value map that may be used by the kubelet to store and // retrieve arbitrary metadata. // // Annotations MUST NOT be altered by the runtime; the annotations stored // here MUST be returned in the ContainerStatus associated with the container // this ContainerConfig creates. // // In general, in order to preserve a well-defined interface between the // kubelet and the container runtime, annotations SHOULD NOT influence // runtime behaviour. Annotations map[string]string `` /* 157-byte string literal not displayed */ // Path relative to PodSandboxConfig.LogDirectory for container to store // the log (STDOUT and STDERR) on the host. // E.g., // PodSandboxConfig.LogDirectory = `/var/log/pods/<podUID>/` // ContainerConfig.LogPath = `containerName_Instance#.log` // // WARNING: Log management and how kubelet should interface with the // container logs are under active discussion in // https://issues.k8s.io/24677. There *may* be future change of direction // for logging as the discussion carries on. LogPath string `protobuf:"bytes,11,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` // Variables for interactive containers, these have very specialized // use-cases (e.g. debugging). // TODO: Determine if we need to continue supporting these fields that are // part of Kubernetes's Container Spec. Stdin bool `protobuf:"varint,12,opt,name=stdin,proto3" json:"stdin,omitempty"` StdinOnce bool `protobuf:"varint,13,opt,name=stdin_once,json=stdinOnce,proto3" json:"stdin_once,omitempty"` Tty bool `protobuf:"varint,14,opt,name=tty,proto3" json:"tty,omitempty"` // Configuration specific to Linux containers. Linux *LinuxContainerConfig `protobuf:"bytes,15,opt,name=linux" json:"linux,omitempty"` }
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) GetWorkingDir ¶
func (m *ContainerConfig) GetWorkingDir() string
func (*ContainerConfig) Marshal ¶
func (m *ContainerConfig) Marshal() (dAtA []byte, err 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
type ContainerFilter ¶
type ContainerFilter struct { // ID of the container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // State of the container. State *ContainerStateValue `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` // ID of the PodSandbox. PodSandboxId string `protobuf:"bytes,3,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // LabelSelector to select matches. // Only api.MatchLabels is supported for now and the requirements // are ANDed. MatchExpressions is not supported yet. LabelSelector map[string]string `` /* 181-byte string literal not displayed */ }
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) 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
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"` }
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) 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
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.ContainerState" json:"state,omitempty"` }
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) 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
type ContainerStats ¶
type ContainerStats struct { // Information of the container. Attributes *ContainerAttributes `protobuf:"bytes,1,opt,name=attributes" json:"attributes,omitempty"` // CPU usage gathered from the container. Cpu *CpuUsage `protobuf:"bytes,2,opt,name=cpu" json:"cpu,omitempty"` // Memory usage gathered from the container. Memory *MemoryUsage `protobuf:"bytes,3,opt,name=memory" json:"memory,omitempty"` // Usage of the writeable layer. WritableLayer *FilesystemUsage `protobuf:"bytes,4,opt,name=writable_layer,json=writableLayer" json:"writable_layer,omitempty"` }
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) 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
type ContainerStatsFilter ¶
type ContainerStatsFilter struct { // ID of the container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the PodSandbox. PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // LabelSelector to select matches. // Only api.MatchLabels is supported for now and the requirements // are ANDed. MatchExpressions is not supported yet. LabelSelector map[string]string `` /* 181-byte string literal not displayed */ }
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) 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
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"` }
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) 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
type ContainerStatsResponse ¶
type ContainerStatsResponse struct { // Stats of the container. Stats *ContainerStats `protobuf:"bytes,1,opt,name=stats" json:"stats,omitempty"` }
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) 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
type ContainerStatus ¶
type ContainerStatus struct { // ID of the container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Metadata of the container. Metadata *ContainerMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` // Status of the container. State ContainerState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.ContainerState" json:"state,omitempty"` // Creation time of the container in nanoseconds. CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Start time of the container in nanoseconds. Default: 0 (not specified). StartedAt int64 `protobuf:"varint,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // Finish time of the container in nanoseconds. Default: 0 (not specified). FinishedAt int64 `protobuf:"varint,6,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` // Exit code of the container. Only required when finished_at != 0. Default: 0. ExitCode int32 `protobuf:"varint,7,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // Spec of the image. Image *ImageSpec `protobuf:"bytes,8,opt,name=image" json:"image,omitempty"` // Reference to the image in use. For most runtimes, this should be an // image ID ImageRef string `protobuf:"bytes,9,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"` // Brief CamelCase string explaining why container is in its current state. Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"` // Human-readable message indicating details about why container is in its // current state. Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"` // Key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 147-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding ContainerConfig used to // instantiate the Container this status represents. Annotations map[string]string `` /* 157-byte string literal not displayed */ // Mounts for the container. Mounts []*Mount `protobuf:"bytes,14,rep,name=mounts" json:"mounts,omitempty"` // Log path of container. LogPath string `protobuf:"bytes,15,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` }
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) 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
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"` }
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) 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
type ContainerStatusResponse ¶
type ContainerStatusResponse struct { // Status of the container. Status *ContainerStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"` // Info is extra information of the Container. The key could be abitrary string, and // value should be in json format. The information could include anything useful for // debug, e.g. pid for linux container based container runtime. // It should only be returned non-empty when Verbose is true. Info map[string]string `` /* 142-byte string literal not displayed */ }
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) 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
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" json:"usage_core_nano_seconds,omitempty"` }
CpuUsage provides the CPU usage information.
func (*CpuUsage) Descriptor ¶
func (*CpuUsage) GetTimestamp ¶
func (*CpuUsage) GetUsageCoreNanoSeconds ¶
func (m *CpuUsage) GetUsageCoreNanoSeconds() *UInt64Value
func (*CpuUsage) ProtoMessage ¶
func (*CpuUsage) ProtoMessage()
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" 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" json:"sandbox_config,omitempty"` }
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) 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
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"` }
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) 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
type DNSConfig ¶
type DNSConfig struct { // List of DNS servers of the cluster. Servers []string `protobuf:"bytes,1,rep,name=servers" json:"servers,omitempty"` // List of DNS search domains of the cluster. Searches []string `protobuf:"bytes,2,rep,name=searches" 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" json:"options,omitempty"` }
DNSConfig specifies the DNS servers and search domains of a sandbox.
func (*DNSConfig) Descriptor ¶
func (*DNSConfig) GetOptions ¶
func (*DNSConfig) GetSearches ¶
func (*DNSConfig) GetServers ¶
func (*DNSConfig) ProtoMessage ¶
func (*DNSConfig) ProtoMessage()
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"` }
Device specifies a host device to mount into a container.
func (*Device) Descriptor ¶
func (*Device) GetContainerPath ¶
func (*Device) GetHostPath ¶
func (*Device) GetPermissions ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
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" 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"` }
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) 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
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"` }
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) 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
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" 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"` }
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) 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
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"` }
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) 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
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 underlying storage of the filesystem. StorageId *StorageIdentifier `protobuf:"bytes,2,opt,name=storage_id,json=storageId" json:"storage_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" 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" json:"inodes_used,omitempty"` }
FilesystemUsage provides the filesystem usage information.
func (*FilesystemUsage) Descriptor ¶
func (*FilesystemUsage) Descriptor() ([]byte, []int)
func (*FilesystemUsage) GetInodesUsed ¶
func (m *FilesystemUsage) GetInodesUsed() *UInt64Value
func (*FilesystemUsage) GetStorageId ¶
func (m *FilesystemUsage) GetStorageId() *StorageIdentifier
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) 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
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" json:"repo_tags,omitempty"` // Digests by which this image is known. RepoDigests []string `protobuf:"bytes,3,rep,name=repo_digests,json=repoDigests" 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" 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"` }
Basic information about a container image.
func (*Image) Descriptor ¶
func (*Image) GetRepoDigests ¶
func (*Image) GetRepoTags ¶
func (*Image) GetUid ¶
func (m *Image) GetUid() *Int64Value
func (*Image) GetUsername ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
type ImageFilter ¶
type ImageFilter struct { // Spec of the image. Image *ImageSpec `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"` }
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) 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
type ImageFsInfoRequest ¶
type ImageFsInfoRequest struct { }
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) 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
type ImageFsInfoResponse ¶
type ImageFsInfoResponse struct { // Information of image filesystem(s). ImageFilesystems []*FilesystemUsage `protobuf:"bytes,1,rep,name=image_filesystems,json=imageFilesystems" json:"image_filesystems,omitempty"` }
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) 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
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) }
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) }
type ImageSpec ¶
type ImageSpec struct {
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
}
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) ProtoMessage ¶
func (*ImageSpec) ProtoMessage()
type ImageStatusRequest ¶
type ImageStatusRequest struct { // Spec of the image. Image *ImageSpec `protobuf:"bytes,1,opt,name=image" 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"` }
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) 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
type ImageStatusResponse ¶
type ImageStatusResponse struct { // Status of the image. Image *Image `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"` // Info is extra information of the Image. The key could be abitrary string, and // value should be in json format. The information could include anything useful // for debug, e.g. image config for oci image based container runtime. // It should only be returned non-empty when Verbose is true. Info map[string]string `` /* 142-byte string literal not displayed */ }
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) 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
type Int64Value ¶
type Int64Value struct { // The value. Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` }
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) 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
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"` }
func (*KeyValue) Descriptor ¶
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
type LinuxContainerConfig ¶
type LinuxContainerConfig struct { // Resources specification for the container. Resources *LinuxContainerResources `protobuf:"bytes,1,opt,name=resources" json:"resources,omitempty"` // LinuxContainerSecurityContext configuration for the container. SecurityContext *LinuxContainerSecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext" json:"security_context,omitempty"` }
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) 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
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"` 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"` }
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) 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) 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
type LinuxContainerSecurityContext ¶
type LinuxContainerSecurityContext struct { // Capabilities to add or drop. Capabilities *Capability `protobuf:"bytes,1,opt,name=capabilities" 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" json:"namespace_options,omitempty"` // SELinux context to be optionally applied. SelinuxOptions *SELinuxOption `protobuf:"bytes,4,opt,name=selinux_options,json=selinuxOptions" 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" json:"run_as_user,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" 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: // * docker/default: the default profile for the docker 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"` }
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) GetNamespaceOptions ¶
func (m *LinuxContainerSecurityContext) GetNamespaceOptions() *NamespaceOption
func (*LinuxContainerSecurityContext) GetNoNewPrivs ¶
func (m *LinuxContainerSecurityContext) GetNoNewPrivs() bool
func (*LinuxContainerSecurityContext) GetPrivileged ¶
func (m *LinuxContainerSecurityContext) GetPrivileged() bool
func (*LinuxContainerSecurityContext) GetReadonlyRootfs ¶
func (m *LinuxContainerSecurityContext) GetReadonlyRootfs() bool
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) 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
type LinuxPodSandboxConfig ¶
type LinuxPodSandboxConfig struct { // Parent cgroup of the PodSandbox. // The cgroupfs style syntax will be used, but the container runtime can // convert it to systemd semantics if needed. CgroupParent string `protobuf:"bytes,1,opt,name=cgroup_parent,json=cgroupParent,proto3" json:"cgroup_parent,omitempty"` // LinuxSandboxSecurityContext holds sandbox security attributes. SecurityContext *LinuxSandboxSecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext" json:"security_context,omitempty"` // Sysctls holds linux sysctls config for the sandbox. Sysctls map[string]string `` /* 148-byte string literal not displayed */ }
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) 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
type LinuxPodSandboxStatus ¶
type LinuxPodSandboxStatus struct { // Paths to the sandbox's namespaces. Namespaces *Namespace `protobuf:"bytes,1,opt,name=namespaces" json:"namespaces,omitempty"` }
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) 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
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" json:"namespace_options,omitempty"` // Optional SELinux context to be applied. SelinuxOptions *SELinuxOption `protobuf:"bytes,2,opt,name=selinux_options,json=selinuxOptions" json:"selinux_options,omitempty"` // UID to run sandbox processes as, when applicable. RunAsUser *Int64Value `protobuf:"bytes,3,opt,name=run_as_user,json=runAsUser" json:"run_as_user,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" 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: // * docker/default: the default profile for the docker 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"` }
LinuxSandboxSecurityContext holds linux security configuration that will be applied to a sandbox. Note that:
- It does not apply to containers in the pods.
- 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) 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) 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
type ListContainerStatsRequest ¶
type ListContainerStatsRequest struct { // Filter for the list request. Filter *ContainerStatsFilter `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` }
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) MarshalTo ¶
func (m *ListContainerStatsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListContainerStatsRequest) ProtoMessage ¶
func (*ListContainerStatsRequest) ProtoMessage()
func (*ListContainerStatsRequest) Reset ¶
func (m *ListContainerStatsRequest) Reset()
func (*ListContainerStatsRequest) Size ¶
func (m *ListContainerStatsRequest) Size() (n int)
func (*ListContainerStatsRequest) String ¶
func (this *ListContainerStatsRequest) String() string
func (*ListContainerStatsRequest) Unmarshal ¶
func (m *ListContainerStatsRequest) Unmarshal(dAtA []byte) error
type ListContainerStatsResponse ¶
type ListContainerStatsResponse struct { // Stats of the container. Stats []*ContainerStats `protobuf:"bytes,1,rep,name=stats" json:"stats,omitempty"` }
func (*ListContainerStatsResponse) Descriptor ¶
func (*ListContainerStatsResponse) Descriptor() ([]byte, []int)
func (*ListContainerStatsResponse) GetStats ¶
func (m *ListContainerStatsResponse) GetStats() []*ContainerStats
func (*ListContainerStatsResponse) Marshal ¶
func (m *ListContainerStatsResponse) Marshal() (dAtA []byte, err error)
func (*ListContainerStatsResponse) MarshalTo ¶
func (m *ListContainerStatsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListContainerStatsResponse) ProtoMessage ¶
func (*ListContainerStatsResponse) ProtoMessage()
func (*ListContainerStatsResponse) Reset ¶
func (m *ListContainerStatsResponse) Reset()
func (*ListContainerStatsResponse) Size ¶
func (m *ListContainerStatsResponse) Size() (n int)
func (*ListContainerStatsResponse) String ¶
func (this *ListContainerStatsResponse) String() string
func (*ListContainerStatsResponse) Unmarshal ¶
func (m *ListContainerStatsResponse) Unmarshal(dAtA []byte) error
type ListContainersRequest ¶
type ListContainersRequest struct {
Filter *ContainerFilter `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"`
}
func (*ListContainersRequest) Descriptor ¶
func (*ListContainersRequest) Descriptor() ([]byte, []int)
func (*ListContainersRequest) GetFilter ¶
func (m *ListContainersRequest) GetFilter() *ContainerFilter
func (*ListContainersRequest) Marshal ¶
func (m *ListContainersRequest) Marshal() (dAtA []byte, err error)
func (*ListContainersRequest) MarshalTo ¶
func (m *ListContainersRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListContainersRequest) ProtoMessage ¶
func (*ListContainersRequest) ProtoMessage()
func (*ListContainersRequest) Reset ¶
func (m *ListContainersRequest) Reset()
func (*ListContainersRequest) Size ¶
func (m *ListContainersRequest) Size() (n int)
func (*ListContainersRequest) String ¶
func (this *ListContainersRequest) String() string
func (*ListContainersRequest) Unmarshal ¶
func (m *ListContainersRequest) Unmarshal(dAtA []byte) error
type ListContainersResponse ¶
type ListContainersResponse struct { // List of containers. Containers []*Container `protobuf:"bytes,1,rep,name=containers" json:"containers,omitempty"` }
func (*ListContainersResponse) Descriptor ¶
func (*ListContainersResponse) Descriptor() ([]byte, []int)
func (*ListContainersResponse) GetContainers ¶
func (m *ListContainersResponse) GetContainers() []*Container
func (*ListContainersResponse) Marshal ¶
func (m *ListContainersResponse) Marshal() (dAtA []byte, err error)
func (*ListContainersResponse) MarshalTo ¶
func (m *ListContainersResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListContainersResponse) ProtoMessage ¶
func (*ListContainersResponse) ProtoMessage()
func (*ListContainersResponse) Reset ¶
func (m *ListContainersResponse) Reset()
func (*ListContainersResponse) Size ¶
func (m *ListContainersResponse) Size() (n int)
func (*ListContainersResponse) String ¶
func (this *ListContainersResponse) String() string
func (*ListContainersResponse) Unmarshal ¶
func (m *ListContainersResponse) Unmarshal(dAtA []byte) error
type ListImagesRequest ¶
type ListImagesRequest struct { // Filter to list images. Filter *ImageFilter `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` }
func (*ListImagesRequest) Descriptor ¶
func (*ListImagesRequest) Descriptor() ([]byte, []int)
func (*ListImagesRequest) GetFilter ¶
func (m *ListImagesRequest) GetFilter() *ImageFilter
func (*ListImagesRequest) Marshal ¶
func (m *ListImagesRequest) Marshal() (dAtA []byte, err error)
func (*ListImagesRequest) MarshalTo ¶
func (m *ListImagesRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListImagesRequest) ProtoMessage ¶
func (*ListImagesRequest) ProtoMessage()
func (*ListImagesRequest) Reset ¶
func (m *ListImagesRequest) Reset()
func (*ListImagesRequest) Size ¶
func (m *ListImagesRequest) Size() (n int)
func (*ListImagesRequest) String ¶
func (this *ListImagesRequest) String() string
func (*ListImagesRequest) Unmarshal ¶
func (m *ListImagesRequest) Unmarshal(dAtA []byte) error
type ListImagesResponse ¶
type ListImagesResponse struct { // List of images. Images []*Image `protobuf:"bytes,1,rep,name=images" json:"images,omitempty"` }
func (*ListImagesResponse) Descriptor ¶
func (*ListImagesResponse) Descriptor() ([]byte, []int)
func (*ListImagesResponse) GetImages ¶
func (m *ListImagesResponse) GetImages() []*Image
func (*ListImagesResponse) Marshal ¶
func (m *ListImagesResponse) Marshal() (dAtA []byte, err error)
func (*ListImagesResponse) MarshalTo ¶
func (m *ListImagesResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListImagesResponse) ProtoMessage ¶
func (*ListImagesResponse) ProtoMessage()
func (*ListImagesResponse) Reset ¶
func (m *ListImagesResponse) Reset()
func (*ListImagesResponse) Size ¶
func (m *ListImagesResponse) Size() (n int)
func (*ListImagesResponse) String ¶
func (this *ListImagesResponse) String() string
func (*ListImagesResponse) Unmarshal ¶
func (m *ListImagesResponse) Unmarshal(dAtA []byte) error
type ListPodSandboxRequest ¶
type ListPodSandboxRequest struct { // PodSandboxFilter to filter a list of PodSandboxes. Filter *PodSandboxFilter `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` }
func (*ListPodSandboxRequest) Descriptor ¶
func (*ListPodSandboxRequest) Descriptor() ([]byte, []int)
func (*ListPodSandboxRequest) GetFilter ¶
func (m *ListPodSandboxRequest) GetFilter() *PodSandboxFilter
func (*ListPodSandboxRequest) Marshal ¶
func (m *ListPodSandboxRequest) Marshal() (dAtA []byte, err error)
func (*ListPodSandboxRequest) MarshalTo ¶
func (m *ListPodSandboxRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListPodSandboxRequest) ProtoMessage ¶
func (*ListPodSandboxRequest) ProtoMessage()
func (*ListPodSandboxRequest) Reset ¶
func (m *ListPodSandboxRequest) Reset()
func (*ListPodSandboxRequest) Size ¶
func (m *ListPodSandboxRequest) Size() (n int)
func (*ListPodSandboxRequest) String ¶
func (this *ListPodSandboxRequest) String() string
func (*ListPodSandboxRequest) Unmarshal ¶
func (m *ListPodSandboxRequest) Unmarshal(dAtA []byte) error
type ListPodSandboxResponse ¶
type ListPodSandboxResponse struct { // List of PodSandboxes. Items []*PodSandbox `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` }
func (*ListPodSandboxResponse) Descriptor ¶
func (*ListPodSandboxResponse) Descriptor() ([]byte, []int)
func (*ListPodSandboxResponse) GetItems ¶
func (m *ListPodSandboxResponse) GetItems() []*PodSandbox
func (*ListPodSandboxResponse) Marshal ¶
func (m *ListPodSandboxResponse) Marshal() (dAtA []byte, err error)
func (*ListPodSandboxResponse) MarshalTo ¶
func (m *ListPodSandboxResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListPodSandboxResponse) ProtoMessage ¶
func (*ListPodSandboxResponse) ProtoMessage()
func (*ListPodSandboxResponse) Reset ¶
func (m *ListPodSandboxResponse) Reset()
func (*ListPodSandboxResponse) Size ¶
func (m *ListPodSandboxResponse) Size() (n int)
func (*ListPodSandboxResponse) String ¶
func (this *ListPodSandboxResponse) String() string
func (*ListPodSandboxResponse) Unmarshal ¶
func (m *ListPodSandboxResponse) Unmarshal(dAtA []byte) error
type MemoryUsage ¶
type MemoryUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The amount of working set memory in bytes. WorkingSetBytes *UInt64Value `protobuf:"bytes,2,opt,name=working_set_bytes,json=workingSetBytes" json:"working_set_bytes,omitempty"` }
MemoryUsage provides the memory usage information.
func (*MemoryUsage) Descriptor ¶
func (*MemoryUsage) Descriptor() ([]byte, []int)
func (*MemoryUsage) GetTimestamp ¶
func (m *MemoryUsage) GetTimestamp() int64
func (*MemoryUsage) GetWorkingSetBytes ¶
func (m *MemoryUsage) GetWorkingSetBytes() *UInt64Value
func (*MemoryUsage) Marshal ¶
func (m *MemoryUsage) Marshal() (dAtA []byte, err error)
func (*MemoryUsage) ProtoMessage ¶
func (*MemoryUsage) ProtoMessage()
func (*MemoryUsage) Reset ¶
func (m *MemoryUsage) Reset()
func (*MemoryUsage) Size ¶
func (m *MemoryUsage) Size() (n int)
func (*MemoryUsage) String ¶
func (this *MemoryUsage) String() string
func (*MemoryUsage) Unmarshal ¶
func (m *MemoryUsage) Unmarshal(dAtA []byte) error
type Mount ¶
type Mount struct { // Path of the mount within the container. ContainerPath string `protobuf:"bytes,1,opt,name=container_path,json=containerPath,proto3" json:"container_path,omitempty"` // Path of the mount on the host. HostPath string `protobuf:"bytes,2,opt,name=host_path,json=hostPath,proto3" json:"host_path,omitempty"` // If set, the mount is read-only. Readonly bool `protobuf:"varint,3,opt,name=readonly,proto3" json:"readonly,omitempty"` // If set, the mount needs SELinux relabeling. SelinuxRelabel bool `protobuf:"varint,4,opt,name=selinux_relabel,json=selinuxRelabel,proto3" json:"selinux_relabel,omitempty"` // Requested propagation mode. Propagation MountPropagation `protobuf:"varint,5,opt,name=propagation,proto3,enum=runtime.MountPropagation" json:"propagation,omitempty"` }
Mount specifies a host volume to mount into a container.
func (*Mount) Descriptor ¶
func (*Mount) GetContainerPath ¶
func (*Mount) GetHostPath ¶
func (*Mount) GetPropagation ¶
func (m *Mount) GetPropagation() MountPropagation
func (*Mount) GetReadonly ¶
func (*Mount) GetSelinuxRelabel ¶
func (*Mount) ProtoMessage ¶
func (*Mount) ProtoMessage()
type MountPropagation ¶
type MountPropagation int32
const ( // No mount propagation ("private" in Linux terminology). MountPropagation_PROPAGATION_PRIVATE MountPropagation = 0 // Mounts get propagated from the host to the container ("rslave" in Linux). MountPropagation_PROPAGATION_HOST_TO_CONTAINER MountPropagation = 1 // Mounts get propagated from the host to the container and from the // container to the host ("rshared" in Linux). MountPropagation_PROPAGATION_BIDIRECTIONAL MountPropagation = 2 )
func (MountPropagation) EnumDescriptor ¶
func (MountPropagation) EnumDescriptor() ([]byte, []int)
func (MountPropagation) String ¶
func (x MountPropagation) String() string
type Namespace ¶
type Namespace struct { // Namespace options for Linux namespaces. Options *NamespaceOption `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` }
Namespace contains paths to the namespaces.
func (*Namespace) Descriptor ¶
func (*Namespace) GetOptions ¶
func (m *Namespace) GetOptions() *NamespaceOption
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
type NamespaceOption ¶
type NamespaceOption struct { // If set, use the host's network namespace. HostNetwork bool `protobuf:"varint,1,opt,name=host_network,json=hostNetwork,proto3" json:"host_network,omitempty"` // If set, use the host's PID namespace. HostPid bool `protobuf:"varint,2,opt,name=host_pid,json=hostPid,proto3" json:"host_pid,omitempty"` // If set, use the host's IPC namespace. HostIpc bool `protobuf:"varint,3,opt,name=host_ipc,json=hostIpc,proto3" json:"host_ipc,omitempty"` }
NamespaceOption provides options for Linux namespaces.
func (*NamespaceOption) Descriptor ¶
func (*NamespaceOption) Descriptor() ([]byte, []int)
func (*NamespaceOption) GetHostIpc ¶
func (m *NamespaceOption) GetHostIpc() bool
func (*NamespaceOption) GetHostNetwork ¶
func (m *NamespaceOption) GetHostNetwork() bool
func (*NamespaceOption) GetHostPid ¶
func (m *NamespaceOption) GetHostPid() bool
func (*NamespaceOption) Marshal ¶
func (m *NamespaceOption) Marshal() (dAtA []byte, err error)
func (*NamespaceOption) ProtoMessage ¶
func (*NamespaceOption) ProtoMessage()
func (*NamespaceOption) Reset ¶
func (m *NamespaceOption) Reset()
func (*NamespaceOption) Size ¶
func (m *NamespaceOption) Size() (n int)
func (*NamespaceOption) String ¶
func (this *NamespaceOption) String() string
func (*NamespaceOption) Unmarshal ¶
func (m *NamespaceOption) Unmarshal(dAtA []byte) error
type NetworkConfig ¶
type NetworkConfig struct { // CIDR to use for pod IP addresses. PodCidr string `protobuf:"bytes,1,opt,name=pod_cidr,json=podCidr,proto3" json:"pod_cidr,omitempty"` }
func (*NetworkConfig) Descriptor ¶
func (*NetworkConfig) Descriptor() ([]byte, []int)
func (*NetworkConfig) GetPodCidr ¶
func (m *NetworkConfig) GetPodCidr() string
func (*NetworkConfig) Marshal ¶
func (m *NetworkConfig) Marshal() (dAtA []byte, err error)
func (*NetworkConfig) ProtoMessage ¶
func (*NetworkConfig) ProtoMessage()
func (*NetworkConfig) Reset ¶
func (m *NetworkConfig) Reset()
func (*NetworkConfig) Size ¶
func (m *NetworkConfig) Size() (n int)
func (*NetworkConfig) String ¶
func (this *NetworkConfig) String() string
func (*NetworkConfig) Unmarshal ¶
func (m *NetworkConfig) Unmarshal(dAtA []byte) error
type PodSandbox ¶
type PodSandbox struct { // ID of the PodSandbox. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Metadata of the PodSandbox. Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` // State of the PodSandbox. State PodSandboxState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.PodSandboxState" json:"state,omitempty"` // Creation timestamps of the PodSandbox in nanoseconds. Must be > 0. CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Labels of the PodSandbox. Labels map[string]string `` /* 146-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding PodSandboxConfig used to // instantiate this PodSandbox. Annotations map[string]string `` /* 156-byte string literal not displayed */ }
PodSandbox contains minimal information about a sandbox.
func (*PodSandbox) Descriptor ¶
func (*PodSandbox) Descriptor() ([]byte, []int)
func (*PodSandbox) GetAnnotations ¶
func (m *PodSandbox) GetAnnotations() map[string]string
func (*PodSandbox) GetCreatedAt ¶
func (m *PodSandbox) GetCreatedAt() int64
func (*PodSandbox) GetId ¶
func (m *PodSandbox) GetId() string
func (*PodSandbox) GetLabels ¶
func (m *PodSandbox) GetLabels() map[string]string
func (*PodSandbox) GetMetadata ¶
func (m *PodSandbox) GetMetadata() *PodSandboxMetadata
func (*PodSandbox) GetState ¶
func (m *PodSandbox) GetState() PodSandboxState
func (*PodSandbox) Marshal ¶
func (m *PodSandbox) Marshal() (dAtA []byte, err error)
func (*PodSandbox) ProtoMessage ¶
func (*PodSandbox) ProtoMessage()
func (*PodSandbox) Reset ¶
func (m *PodSandbox) Reset()
func (*PodSandbox) Size ¶
func (m *PodSandbox) Size() (n int)
func (*PodSandbox) String ¶
func (this *PodSandbox) String() string
func (*PodSandbox) Unmarshal ¶
func (m *PodSandbox) Unmarshal(dAtA []byte) error
type PodSandboxConfig ¶
type PodSandboxConfig struct { // Metadata of the sandbox. This information will uniquely identify the // sandbox, and the runtime should leverage this to ensure correct // operation. The runtime may also use this information to improve UX, such // as by constructing a readable name. Metadata *PodSandboxMetadata `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Hostname of the sandbox. Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // Path to the directory on the host in which container log files are // stored. // By default the log of a container going into the LogDirectory will be // hooked up to STDOUT and STDERR. However, the LogDirectory may contain // binary log files with structured logging data from the individual // containers. For example, the files might be newline separated JSON // structured logs, systemd-journald journal files, gRPC trace files, etc. // E.g., // PodSandboxConfig.LogDirectory = `/var/log/pods/<podUID>/` // ContainerConfig.LogPath = `containerName_Instance#.log` // // WARNING: Log management and how kubelet should interface with the // container logs are under active discussion in // https://issues.k8s.io/24677. There *may* be future change of direction // for logging as the discussion carries on. LogDirectory string `protobuf:"bytes,3,opt,name=log_directory,json=logDirectory,proto3" json:"log_directory,omitempty"` // DNS config for the sandbox. DnsConfig *DNSConfig `protobuf:"bytes,4,opt,name=dns_config,json=dnsConfig" json:"dns_config,omitempty"` // Port mappings for the sandbox. PortMappings []*PortMapping `protobuf:"bytes,5,rep,name=port_mappings,json=portMappings" json:"port_mappings,omitempty"` // Key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 146-byte string literal not displayed */ // Unstructured key-value map that may be set by the kubelet to store and // retrieve arbitrary metadata. This will include any annotations set on a // pod through the Kubernetes API. // // Annotations MUST NOT be altered by the runtime; the annotations stored // here MUST be returned in the PodSandboxStatus associated with the pod // this PodSandboxConfig creates. // // In general, in order to preserve a well-defined interface between the // kubelet and the container runtime, annotations SHOULD NOT influence // runtime behaviour. // // Annotations can also be useful for runtime authors to experiment with // new features that are opaque to the Kubernetes APIs (both user-facing // and the CRI). Whenever possible, however, runtime authors SHOULD // consider proposing new typed fields for any new features instead. Annotations map[string]string `` /* 156-byte string literal not displayed */ // Optional configurations specific to Linux hosts. Linux *LinuxPodSandboxConfig `protobuf:"bytes,8,opt,name=linux" json:"linux,omitempty"` }
PodSandboxConfig holds all the required and optional fields for creating a sandbox.
func (*PodSandboxConfig) Descriptor ¶
func (*PodSandboxConfig) Descriptor() ([]byte, []int)
func (*PodSandboxConfig) GetAnnotations ¶
func (m *PodSandboxConfig) GetAnnotations() map[string]string
func (*PodSandboxConfig) GetDnsConfig ¶
func (m *PodSandboxConfig) GetDnsConfig() *DNSConfig
func (*PodSandboxConfig) GetHostname ¶
func (m *PodSandboxConfig) GetHostname() string
func (*PodSandboxConfig) GetLabels ¶
func (m *PodSandboxConfig) GetLabels() map[string]string
func (*PodSandboxConfig) GetLinux ¶
func (m *PodSandboxConfig) GetLinux() *LinuxPodSandboxConfig
func (*PodSandboxConfig) GetLogDirectory ¶
func (m *PodSandboxConfig) GetLogDirectory() string
func (*PodSandboxConfig) GetMetadata ¶
func (m *PodSandboxConfig) GetMetadata() *PodSandboxMetadata
func (*PodSandboxConfig) GetPortMappings ¶
func (m *PodSandboxConfig) GetPortMappings() []*PortMapping
func (*PodSandboxConfig) Marshal ¶
func (m *PodSandboxConfig) Marshal() (dAtA []byte, err error)
func (*PodSandboxConfig) ProtoMessage ¶
func (*PodSandboxConfig) ProtoMessage()
func (*PodSandboxConfig) Reset ¶
func (m *PodSandboxConfig) Reset()
func (*PodSandboxConfig) Size ¶
func (m *PodSandboxConfig) Size() (n int)
func (*PodSandboxConfig) String ¶
func (this *PodSandboxConfig) String() string
func (*PodSandboxConfig) Unmarshal ¶
func (m *PodSandboxConfig) Unmarshal(dAtA []byte) error
type PodSandboxFilter ¶
type PodSandboxFilter struct { // ID of the sandbox. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // State of the sandbox. State *PodSandboxStateValue `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` // LabelSelector to select matches. // Only api.MatchLabels is supported for now and the requirements // are ANDed. MatchExpressions is not supported yet. LabelSelector map[string]string `` /* 181-byte string literal not displayed */ }
PodSandboxFilter is used to filter a list of PodSandboxes. All those fields are combined with 'AND'
func (*PodSandboxFilter) Descriptor ¶
func (*PodSandboxFilter) Descriptor() ([]byte, []int)
func (*PodSandboxFilter) GetId ¶
func (m *PodSandboxFilter) GetId() string
func (*PodSandboxFilter) GetLabelSelector ¶
func (m *PodSandboxFilter) GetLabelSelector() map[string]string
func (*PodSandboxFilter) GetState ¶
func (m *PodSandboxFilter) GetState() *PodSandboxStateValue
func (*PodSandboxFilter) Marshal ¶
func (m *PodSandboxFilter) Marshal() (dAtA []byte, err error)
func (*PodSandboxFilter) ProtoMessage ¶
func (*PodSandboxFilter) ProtoMessage()
func (*PodSandboxFilter) Reset ¶
func (m *PodSandboxFilter) Reset()
func (*PodSandboxFilter) Size ¶
func (m *PodSandboxFilter) Size() (n int)
func (*PodSandboxFilter) String ¶
func (this *PodSandboxFilter) String() string
func (*PodSandboxFilter) Unmarshal ¶
func (m *PodSandboxFilter) Unmarshal(dAtA []byte) error
type PodSandboxMetadata ¶
type PodSandboxMetadata struct { // Pod name of the sandbox. Same as the pod name in the PodSpec. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Pod UID of the sandbox. Same as the pod UID in the PodSpec. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Pod namespace of the sandbox. Same as the pod namespace in the PodSpec. Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // Attempt number of creating the sandbox. Default: 0. Attempt uint32 `protobuf:"varint,4,opt,name=attempt,proto3" json:"attempt,omitempty"` }
PodSandboxMetadata holds all necessary information for building the sandbox name. The container runtime is encouraged to expose the metadata associated with the PodSandbox in its user interface for better user experience. For example, the runtime can construct a unique PodSandboxName based on the metadata.
func (*PodSandboxMetadata) Descriptor ¶
func (*PodSandboxMetadata) Descriptor() ([]byte, []int)
func (*PodSandboxMetadata) GetAttempt ¶
func (m *PodSandboxMetadata) GetAttempt() uint32
func (*PodSandboxMetadata) GetName ¶
func (m *PodSandboxMetadata) GetName() string
func (*PodSandboxMetadata) GetNamespace ¶
func (m *PodSandboxMetadata) GetNamespace() string
func (*PodSandboxMetadata) GetUid ¶
func (m *PodSandboxMetadata) GetUid() string
func (*PodSandboxMetadata) Marshal ¶
func (m *PodSandboxMetadata) Marshal() (dAtA []byte, err error)
func (*PodSandboxMetadata) MarshalTo ¶
func (m *PodSandboxMetadata) MarshalTo(dAtA []byte) (int, error)
func (*PodSandboxMetadata) ProtoMessage ¶
func (*PodSandboxMetadata) ProtoMessage()
func (*PodSandboxMetadata) Reset ¶
func (m *PodSandboxMetadata) Reset()
func (*PodSandboxMetadata) Size ¶
func (m *PodSandboxMetadata) Size() (n int)
func (*PodSandboxMetadata) String ¶
func (this *PodSandboxMetadata) String() string
func (*PodSandboxMetadata) Unmarshal ¶
func (m *PodSandboxMetadata) Unmarshal(dAtA []byte) error
type PodSandboxNetworkStatus ¶
type PodSandboxNetworkStatus struct { // IP address of the PodSandbox. Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` }
PodSandboxNetworkStatus is the status of the network for a PodSandbox.
func (*PodSandboxNetworkStatus) Descriptor ¶
func (*PodSandboxNetworkStatus) Descriptor() ([]byte, []int)
func (*PodSandboxNetworkStatus) GetIp ¶
func (m *PodSandboxNetworkStatus) GetIp() string
func (*PodSandboxNetworkStatus) Marshal ¶
func (m *PodSandboxNetworkStatus) Marshal() (dAtA []byte, err error)
func (*PodSandboxNetworkStatus) MarshalTo ¶
func (m *PodSandboxNetworkStatus) MarshalTo(dAtA []byte) (int, error)
func (*PodSandboxNetworkStatus) ProtoMessage ¶
func (*PodSandboxNetworkStatus) ProtoMessage()
func (*PodSandboxNetworkStatus) Reset ¶
func (m *PodSandboxNetworkStatus) Reset()
func (*PodSandboxNetworkStatus) Size ¶
func (m *PodSandboxNetworkStatus) Size() (n int)
func (*PodSandboxNetworkStatus) String ¶
func (this *PodSandboxNetworkStatus) String() string
func (*PodSandboxNetworkStatus) Unmarshal ¶
func (m *PodSandboxNetworkStatus) Unmarshal(dAtA []byte) error
type PodSandboxState ¶
type PodSandboxState int32
const ( PodSandboxState_SANDBOX_READY PodSandboxState = 0 PodSandboxState_SANDBOX_NOTREADY PodSandboxState = 1 )
func (PodSandboxState) EnumDescriptor ¶
func (PodSandboxState) EnumDescriptor() ([]byte, []int)
func (PodSandboxState) String ¶
func (x PodSandboxState) String() string
type PodSandboxStateValue ¶
type PodSandboxStateValue struct { // State of the sandbox. State PodSandboxState `protobuf:"varint,1,opt,name=state,proto3,enum=runtime.PodSandboxState" json:"state,omitempty"` }
PodSandboxStateValue is the wrapper of PodSandboxState.
func (*PodSandboxStateValue) Descriptor ¶
func (*PodSandboxStateValue) Descriptor() ([]byte, []int)
func (*PodSandboxStateValue) GetState ¶
func (m *PodSandboxStateValue) GetState() PodSandboxState
func (*PodSandboxStateValue) Marshal ¶
func (m *PodSandboxStateValue) Marshal() (dAtA []byte, err error)
func (*PodSandboxStateValue) MarshalTo ¶
func (m *PodSandboxStateValue) MarshalTo(dAtA []byte) (int, error)
func (*PodSandboxStateValue) ProtoMessage ¶
func (*PodSandboxStateValue) ProtoMessage()
func (*PodSandboxStateValue) Reset ¶
func (m *PodSandboxStateValue) Reset()
func (*PodSandboxStateValue) Size ¶
func (m *PodSandboxStateValue) Size() (n int)
func (*PodSandboxStateValue) String ¶
func (this *PodSandboxStateValue) String() string
func (*PodSandboxStateValue) Unmarshal ¶
func (m *PodSandboxStateValue) Unmarshal(dAtA []byte) error
type PodSandboxStatus ¶
type PodSandboxStatus struct { // ID of the sandbox. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Metadata of the sandbox. Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` // State of the sandbox. State PodSandboxState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.PodSandboxState" json:"state,omitempty"` // Creation timestamp of the sandbox in nanoseconds. Must be > 0. CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Network contains network status if network is handled by the runtime. Network *PodSandboxNetworkStatus `protobuf:"bytes,5,opt,name=network" json:"network,omitempty"` // Linux-specific status to a pod sandbox. Linux *LinuxPodSandboxStatus `protobuf:"bytes,6,opt,name=linux" json:"linux,omitempty"` // Labels are key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 146-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding PodSandboxConfig used to // instantiate the pod sandbox this status represents. Annotations map[string]string `` /* 156-byte string literal not displayed */ }
PodSandboxStatus contains the status of the PodSandbox.
func (*PodSandboxStatus) Descriptor ¶
func (*PodSandboxStatus) Descriptor() ([]byte, []int)
func (*PodSandboxStatus) GetAnnotations ¶
func (m *PodSandboxStatus) GetAnnotations() map[string]string
func (*PodSandboxStatus) GetCreatedAt ¶
func (m *PodSandboxStatus) GetCreatedAt() int64
func (*PodSandboxStatus) GetId ¶
func (m *PodSandboxStatus) GetId() string
func (*PodSandboxStatus) GetLabels ¶
func (m *PodSandboxStatus) GetLabels() map[string]string
func (*PodSandboxStatus) GetLinux ¶
func (m *PodSandboxStatus) GetLinux() *LinuxPodSandboxStatus
func (*PodSandboxStatus) GetMetadata ¶
func (m *PodSandboxStatus) GetMetadata() *PodSandboxMetadata
func (*PodSandboxStatus) GetNetwork ¶
func (m *PodSandboxStatus) GetNetwork() *PodSandboxNetworkStatus
func (*PodSandboxStatus) GetState ¶
func (m *PodSandboxStatus) GetState() PodSandboxState
func (*PodSandboxStatus) Marshal ¶
func (m *PodSandboxStatus) Marshal() (dAtA []byte, err error)
func (*PodSandboxStatus) ProtoMessage ¶
func (*PodSandboxStatus) ProtoMessage()
func (*PodSandboxStatus) Reset ¶
func (m *PodSandboxStatus) Reset()
func (*PodSandboxStatus) Size ¶
func (m *PodSandboxStatus) Size() (n int)
func (*PodSandboxStatus) String ¶
func (this *PodSandboxStatus) String() string
func (*PodSandboxStatus) Unmarshal ¶
func (m *PodSandboxStatus) Unmarshal(dAtA []byte) error
type PodSandboxStatusRequest ¶
type PodSandboxStatusRequest struct { // ID of the PodSandbox for which to retrieve status. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // Verbose indicates whether to return extra information about the pod sandbox. Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"` }
func (*PodSandboxStatusRequest) Descriptor ¶
func (*PodSandboxStatusRequest) Descriptor() ([]byte, []int)
func (*PodSandboxStatusRequest) GetPodSandboxId ¶
func (m *PodSandboxStatusRequest) GetPodSandboxId() string
func (*PodSandboxStatusRequest) GetVerbose ¶
func (m *PodSandboxStatusRequest) GetVerbose() bool
func (*PodSandboxStatusRequest) Marshal ¶
func (m *PodSandboxStatusRequest) Marshal() (dAtA []byte, err error)
func (*PodSandboxStatusRequest) MarshalTo ¶
func (m *PodSandboxStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*PodSandboxStatusRequest) ProtoMessage ¶
func (*PodSandboxStatusRequest) ProtoMessage()
func (*PodSandboxStatusRequest) Reset ¶
func (m *PodSandboxStatusRequest) Reset()
func (*PodSandboxStatusRequest) Size ¶
func (m *PodSandboxStatusRequest) Size() (n int)
func (*PodSandboxStatusRequest) String ¶
func (this *PodSandboxStatusRequest) String() string
func (*PodSandboxStatusRequest) Unmarshal ¶
func (m *PodSandboxStatusRequest) Unmarshal(dAtA []byte) error
type PodSandboxStatusResponse ¶
type PodSandboxStatusResponse struct { // Status of the PodSandbox. Status *PodSandboxStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"` // Info is extra information of the PodSandbox. The key could be abitrary string, and // value should be in json format. The information could include anything useful for // debug, e.g. network namespace for linux container based container runtime. // It should only be returned non-empty when Verbose is true. Info map[string]string `` /* 142-byte string literal not displayed */ }
func (*PodSandboxStatusResponse) Descriptor ¶
func (*PodSandboxStatusResponse) Descriptor() ([]byte, []int)
func (*PodSandboxStatusResponse) GetInfo ¶
func (m *PodSandboxStatusResponse) GetInfo() map[string]string
func (*PodSandboxStatusResponse) GetStatus ¶
func (m *PodSandboxStatusResponse) GetStatus() *PodSandboxStatus
func (*PodSandboxStatusResponse) Marshal ¶
func (m *PodSandboxStatusResponse) Marshal() (dAtA []byte, err error)
func (*PodSandboxStatusResponse) MarshalTo ¶
func (m *PodSandboxStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*PodSandboxStatusResponse) ProtoMessage ¶
func (*PodSandboxStatusResponse) ProtoMessage()
func (*PodSandboxStatusResponse) Reset ¶
func (m *PodSandboxStatusResponse) Reset()
func (*PodSandboxStatusResponse) Size ¶
func (m *PodSandboxStatusResponse) Size() (n int)
func (*PodSandboxStatusResponse) String ¶
func (this *PodSandboxStatusResponse) String() string
func (*PodSandboxStatusResponse) Unmarshal ¶
func (m *PodSandboxStatusResponse) Unmarshal(dAtA []byte) error
type PortForwardRequest ¶
type PortForwardRequest struct { // ID of the container to which to forward the port. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // Port to forward. Port []int32 `protobuf:"varint,2,rep,packed,name=port" json:"port,omitempty"` }
func (*PortForwardRequest) Descriptor ¶
func (*PortForwardRequest) Descriptor() ([]byte, []int)
func (*PortForwardRequest) GetPodSandboxId ¶
func (m *PortForwardRequest) GetPodSandboxId() string
func (*PortForwardRequest) GetPort ¶
func (m *PortForwardRequest) GetPort() []int32
func (*PortForwardRequest) Marshal ¶
func (m *PortForwardRequest) Marshal() (dAtA []byte, err error)
func (*PortForwardRequest) MarshalTo ¶
func (m *PortForwardRequest) MarshalTo(dAtA []byte) (int, error)
func (*PortForwardRequest) ProtoMessage ¶
func (*PortForwardRequest) ProtoMessage()
func (*PortForwardRequest) Reset ¶
func (m *PortForwardRequest) Reset()
func (*PortForwardRequest) Size ¶
func (m *PortForwardRequest) Size() (n int)
func (*PortForwardRequest) String ¶
func (this *PortForwardRequest) String() string
func (*PortForwardRequest) Unmarshal ¶
func (m *PortForwardRequest) Unmarshal(dAtA []byte) error
type PortForwardResponse ¶
type PortForwardResponse struct { // Fully qualified URL of the port-forward streaming server. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` }
func (*PortForwardResponse) Descriptor ¶
func (*PortForwardResponse) Descriptor() ([]byte, []int)
func (*PortForwardResponse) GetUrl ¶
func (m *PortForwardResponse) GetUrl() string
func (*PortForwardResponse) Marshal ¶
func (m *PortForwardResponse) Marshal() (dAtA []byte, err error)
func (*PortForwardResponse) MarshalTo ¶
func (m *PortForwardResponse) MarshalTo(dAtA []byte) (int, error)
func (*PortForwardResponse) ProtoMessage ¶
func (*PortForwardResponse) ProtoMessage()
func (*PortForwardResponse) Reset ¶
func (m *PortForwardResponse) Reset()
func (*PortForwardResponse) Size ¶
func (m *PortForwardResponse) Size() (n int)
func (*PortForwardResponse) String ¶
func (this *PortForwardResponse) String() string
func (*PortForwardResponse) Unmarshal ¶
func (m *PortForwardResponse) Unmarshal(dAtA []byte) error
type PortMapping ¶
type PortMapping struct { // Protocol of the port mapping. Protocol Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=runtime.Protocol" json:"protocol,omitempty"` // Port number within the container. Default: 0 (not specified). ContainerPort int32 `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"` // Port number on the host. Default: 0 (not specified). HostPort int32 `protobuf:"varint,3,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"` // Host IP. HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"` }
PortMapping specifies the port mapping configurations of a sandbox.
func (*PortMapping) Descriptor ¶
func (*PortMapping) Descriptor() ([]byte, []int)
func (*PortMapping) GetContainerPort ¶
func (m *PortMapping) GetContainerPort() int32
func (*PortMapping) GetHostIp ¶
func (m *PortMapping) GetHostIp() string
func (*PortMapping) GetHostPort ¶
func (m *PortMapping) GetHostPort() int32
func (*PortMapping) GetProtocol ¶
func (m *PortMapping) GetProtocol() Protocol
func (*PortMapping) Marshal ¶
func (m *PortMapping) Marshal() (dAtA []byte, err error)
func (*PortMapping) ProtoMessage ¶
func (*PortMapping) ProtoMessage()
func (*PortMapping) Reset ¶
func (m *PortMapping) Reset()
func (*PortMapping) Size ¶
func (m *PortMapping) Size() (n int)
func (*PortMapping) String ¶
func (this *PortMapping) String() string
func (*PortMapping) Unmarshal ¶
func (m *PortMapping) Unmarshal(dAtA []byte) error
type PullImageRequest ¶
type PullImageRequest struct { // Spec of the image. Image *ImageSpec `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"` // Authentication configuration for pulling the image. Auth *AuthConfig `protobuf:"bytes,2,opt,name=auth" json:"auth,omitempty"` // Config of the PodSandbox, which is used to pull image in PodSandbox context. SandboxConfig *PodSandboxConfig `protobuf:"bytes,3,opt,name=sandbox_config,json=sandboxConfig" json:"sandbox_config,omitempty"` }
func (*PullImageRequest) Descriptor ¶
func (*PullImageRequest) Descriptor() ([]byte, []int)
func (*PullImageRequest) GetAuth ¶
func (m *PullImageRequest) GetAuth() *AuthConfig
func (*PullImageRequest) GetImage ¶
func (m *PullImageRequest) GetImage() *ImageSpec
func (*PullImageRequest) GetSandboxConfig ¶
func (m *PullImageRequest) GetSandboxConfig() *PodSandboxConfig
func (*PullImageRequest) Marshal ¶
func (m *PullImageRequest) Marshal() (dAtA []byte, err error)
func (*PullImageRequest) ProtoMessage ¶
func (*PullImageRequest) ProtoMessage()
func (*PullImageRequest) Reset ¶
func (m *PullImageRequest) Reset()
func (*PullImageRequest) Size ¶
func (m *PullImageRequest) Size() (n int)
func (*PullImageRequest) String ¶
func (this *PullImageRequest) String() string
func (*PullImageRequest) Unmarshal ¶
func (m *PullImageRequest) Unmarshal(dAtA []byte) error
type PullImageResponse ¶
type PullImageResponse struct { // Reference to the image in use. For most runtimes, this should be an // image ID or digest. ImageRef string `protobuf:"bytes,1,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"` }
func (*PullImageResponse) Descriptor ¶
func (*PullImageResponse) Descriptor() ([]byte, []int)
func (*PullImageResponse) GetImageRef ¶
func (m *PullImageResponse) GetImageRef() string
func (*PullImageResponse) Marshal ¶
func (m *PullImageResponse) Marshal() (dAtA []byte, err error)
func (*PullImageResponse) MarshalTo ¶
func (m *PullImageResponse) MarshalTo(dAtA []byte) (int, error)
func (*PullImageResponse) ProtoMessage ¶
func (*PullImageResponse) ProtoMessage()
func (*PullImageResponse) Reset ¶
func (m *PullImageResponse) Reset()
func (*PullImageResponse) Size ¶
func (m *PullImageResponse) Size() (n int)
func (*PullImageResponse) String ¶
func (this *PullImageResponse) String() string
func (*PullImageResponse) Unmarshal ¶
func (m *PullImageResponse) Unmarshal(dAtA []byte) error
type RemoveContainerRequest ¶
type RemoveContainerRequest struct { // ID of the container to remove. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` }
func (*RemoveContainerRequest) Descriptor ¶
func (*RemoveContainerRequest) Descriptor() ([]byte, []int)
func (*RemoveContainerRequest) GetContainerId ¶
func (m *RemoveContainerRequest) GetContainerId() string
func (*RemoveContainerRequest) Marshal ¶
func (m *RemoveContainerRequest) Marshal() (dAtA []byte, err error)
func (*RemoveContainerRequest) MarshalTo ¶
func (m *RemoveContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemoveContainerRequest) ProtoMessage ¶
func (*RemoveContainerRequest) ProtoMessage()
func (*RemoveContainerRequest) Reset ¶
func (m *RemoveContainerRequest) Reset()
func (*RemoveContainerRequest) Size ¶
func (m *RemoveContainerRequest) Size() (n int)
func (*RemoveContainerRequest) String ¶
func (this *RemoveContainerRequest) String() string
func (*RemoveContainerRequest) Unmarshal ¶
func (m *RemoveContainerRequest) Unmarshal(dAtA []byte) error
type RemoveContainerResponse ¶
type RemoveContainerResponse struct { }
func (*RemoveContainerResponse) Descriptor ¶
func (*RemoveContainerResponse) Descriptor() ([]byte, []int)
func (*RemoveContainerResponse) Marshal ¶
func (m *RemoveContainerResponse) Marshal() (dAtA []byte, err error)
func (*RemoveContainerResponse) MarshalTo ¶
func (m *RemoveContainerResponse) MarshalTo(dAtA []byte) (int, error)
func (*RemoveContainerResponse) ProtoMessage ¶
func (*RemoveContainerResponse) ProtoMessage()
func (*RemoveContainerResponse) Reset ¶
func (m *RemoveContainerResponse) Reset()
func (*RemoveContainerResponse) Size ¶
func (m *RemoveContainerResponse) Size() (n int)
func (*RemoveContainerResponse) String ¶
func (this *RemoveContainerResponse) String() string
func (*RemoveContainerResponse) Unmarshal ¶
func (m *RemoveContainerResponse) Unmarshal(dAtA []byte) error
type RemoveImageRequest ¶
type RemoveImageRequest struct { // Spec of the image to remove. Image *ImageSpec `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"` }
func (*RemoveImageRequest) Descriptor ¶
func (*RemoveImageRequest) Descriptor() ([]byte, []int)
func (*RemoveImageRequest) GetImage ¶
func (m *RemoveImageRequest) GetImage() *ImageSpec
func (*RemoveImageRequest) Marshal ¶
func (m *RemoveImageRequest) Marshal() (dAtA []byte, err error)
func (*RemoveImageRequest) MarshalTo ¶
func (m *RemoveImageRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemoveImageRequest) ProtoMessage ¶
func (*RemoveImageRequest) ProtoMessage()
func (*RemoveImageRequest) Reset ¶
func (m *RemoveImageRequest) Reset()
func (*RemoveImageRequest) Size ¶
func (m *RemoveImageRequest) Size() (n int)
func (*RemoveImageRequest) String ¶
func (this *RemoveImageRequest) String() string
func (*RemoveImageRequest) Unmarshal ¶
func (m *RemoveImageRequest) Unmarshal(dAtA []byte) error
type RemoveImageResponse ¶
type RemoveImageResponse struct { }
func (*RemoveImageResponse) Descriptor ¶
func (*RemoveImageResponse) Descriptor() ([]byte, []int)
func (*RemoveImageResponse) Marshal ¶
func (m *RemoveImageResponse) Marshal() (dAtA []byte, err error)
func (*RemoveImageResponse) MarshalTo ¶
func (m *RemoveImageResponse) MarshalTo(dAtA []byte) (int, error)
func (*RemoveImageResponse) ProtoMessage ¶
func (*RemoveImageResponse) ProtoMessage()
func (*RemoveImageResponse) Reset ¶
func (m *RemoveImageResponse) Reset()
func (*RemoveImageResponse) Size ¶
func (m *RemoveImageResponse) Size() (n int)
func (*RemoveImageResponse) String ¶
func (this *RemoveImageResponse) String() string
func (*RemoveImageResponse) Unmarshal ¶
func (m *RemoveImageResponse) Unmarshal(dAtA []byte) error
type RemovePodSandboxRequest ¶
type RemovePodSandboxRequest struct { // ID of the PodSandbox to remove. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` }
func (*RemovePodSandboxRequest) Descriptor ¶
func (*RemovePodSandboxRequest) Descriptor() ([]byte, []int)
func (*RemovePodSandboxRequest) GetPodSandboxId ¶
func (m *RemovePodSandboxRequest) GetPodSandboxId() string
func (*RemovePodSandboxRequest) Marshal ¶
func (m *RemovePodSandboxRequest) Marshal() (dAtA []byte, err error)
func (*RemovePodSandboxRequest) MarshalTo ¶
func (m *RemovePodSandboxRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemovePodSandboxRequest) ProtoMessage ¶
func (*RemovePodSandboxRequest) ProtoMessage()
func (*RemovePodSandboxRequest) Reset ¶
func (m *RemovePodSandboxRequest) Reset()
func (*RemovePodSandboxRequest) Size ¶
func (m *RemovePodSandboxRequest) Size() (n int)
func (*RemovePodSandboxRequest) String ¶
func (this *RemovePodSandboxRequest) String() string
func (*RemovePodSandboxRequest) Unmarshal ¶
func (m *RemovePodSandboxRequest) Unmarshal(dAtA []byte) error
type RemovePodSandboxResponse ¶
type RemovePodSandboxResponse struct { }
func (*RemovePodSandboxResponse) Descriptor ¶
func (*RemovePodSandboxResponse) Descriptor() ([]byte, []int)
func (*RemovePodSandboxResponse) Marshal ¶
func (m *RemovePodSandboxResponse) Marshal() (dAtA []byte, err error)
func (*RemovePodSandboxResponse) MarshalTo ¶
func (m *RemovePodSandboxResponse) MarshalTo(dAtA []byte) (int, error)
func (*RemovePodSandboxResponse) ProtoMessage ¶
func (*RemovePodSandboxResponse) ProtoMessage()
func (*RemovePodSandboxResponse) Reset ¶
func (m *RemovePodSandboxResponse) Reset()
func (*RemovePodSandboxResponse) Size ¶
func (m *RemovePodSandboxResponse) Size() (n int)
func (*RemovePodSandboxResponse) String ¶
func (this *RemovePodSandboxResponse) String() string
func (*RemovePodSandboxResponse) Unmarshal ¶
func (m *RemovePodSandboxResponse) Unmarshal(dAtA []byte) error
type RunPodSandboxRequest ¶
type RunPodSandboxRequest struct { // Configuration for creating a PodSandbox. Config *PodSandboxConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` }
func (*RunPodSandboxRequest) Descriptor ¶
func (*RunPodSandboxRequest) Descriptor() ([]byte, []int)
func (*RunPodSandboxRequest) GetConfig ¶
func (m *RunPodSandboxRequest) GetConfig() *PodSandboxConfig
func (*RunPodSandboxRequest) Marshal ¶
func (m *RunPodSandboxRequest) Marshal() (dAtA []byte, err error)
func (*RunPodSandboxRequest) MarshalTo ¶
func (m *RunPodSandboxRequest) MarshalTo(dAtA []byte) (int, error)
func (*RunPodSandboxRequest) ProtoMessage ¶
func (*RunPodSandboxRequest) ProtoMessage()
func (*RunPodSandboxRequest) Reset ¶
func (m *RunPodSandboxRequest) Reset()
func (*RunPodSandboxRequest) Size ¶
func (m *RunPodSandboxRequest) Size() (n int)
func (*RunPodSandboxRequest) String ¶
func (this *RunPodSandboxRequest) String() string
func (*RunPodSandboxRequest) Unmarshal ¶
func (m *RunPodSandboxRequest) Unmarshal(dAtA []byte) error
type RunPodSandboxResponse ¶
type RunPodSandboxResponse struct { // ID of the PodSandbox to run. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` }
func (*RunPodSandboxResponse) Descriptor ¶
func (*RunPodSandboxResponse) Descriptor() ([]byte, []int)
func (*RunPodSandboxResponse) GetPodSandboxId ¶
func (m *RunPodSandboxResponse) GetPodSandboxId() string
func (*RunPodSandboxResponse) Marshal ¶
func (m *RunPodSandboxResponse) Marshal() (dAtA []byte, err error)
func (*RunPodSandboxResponse) MarshalTo ¶
func (m *RunPodSandboxResponse) MarshalTo(dAtA []byte) (int, error)
func (*RunPodSandboxResponse) ProtoMessage ¶
func (*RunPodSandboxResponse) ProtoMessage()
func (*RunPodSandboxResponse) Reset ¶
func (m *RunPodSandboxResponse) Reset()
func (*RunPodSandboxResponse) Size ¶
func (m *RunPodSandboxResponse) Size() (n int)
func (*RunPodSandboxResponse) String ¶
func (this *RunPodSandboxResponse) String() string
func (*RunPodSandboxResponse) Unmarshal ¶
func (m *RunPodSandboxResponse) Unmarshal(dAtA []byte) error
type RuntimeCondition ¶
type RuntimeCondition struct { // Type of runtime condition. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Status of the condition, one of true/false. Default: false. Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` // Brief CamelCase string containing reason for the condition's last transition. Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // Human-readable message indicating details about last transition. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` }
RuntimeCondition contains condition information for the runtime. There are 2 kinds of runtime conditions: 1. Required conditions: Conditions are required for kubelet to work properly. If any required condition is unmet, the node will be not ready. The required conditions include:
- RuntimeReady: RuntimeReady means the runtime is up and ready to accept basic containers e.g. container only needs host network.
- NetworkReady: NetworkReady means the runtime network is up and ready to accept containers which require container network.
2. Optional conditions: Conditions are informative to the user, but kubelet will not rely on. Since condition type is an arbitrary string, all conditions not required are optional. These conditions will be exposed to users to help them understand the status of the system.
func (*RuntimeCondition) Descriptor ¶
func (*RuntimeCondition) Descriptor() ([]byte, []int)
func (*RuntimeCondition) GetMessage ¶
func (m *RuntimeCondition) GetMessage() string
func (*RuntimeCondition) GetReason ¶
func (m *RuntimeCondition) GetReason() string
func (*RuntimeCondition) GetStatus ¶
func (m *RuntimeCondition) GetStatus() bool
func (*RuntimeCondition) GetType ¶
func (m *RuntimeCondition) GetType() string
func (*RuntimeCondition) Marshal ¶
func (m *RuntimeCondition) Marshal() (dAtA []byte, err error)
func (*RuntimeCondition) ProtoMessage ¶
func (*RuntimeCondition) ProtoMessage()
func (*RuntimeCondition) Reset ¶
func (m *RuntimeCondition) Reset()
func (*RuntimeCondition) Size ¶
func (m *RuntimeCondition) Size() (n int)
func (*RuntimeCondition) String ¶
func (this *RuntimeCondition) String() string
func (*RuntimeCondition) Unmarshal ¶
func (m *RuntimeCondition) Unmarshal(dAtA []byte) error
type RuntimeConfig ¶
type RuntimeConfig struct {
NetworkConfig *NetworkConfig `protobuf:"bytes,1,opt,name=network_config,json=networkConfig" json:"network_config,omitempty"`
}
func (*RuntimeConfig) Descriptor ¶
func (*RuntimeConfig) Descriptor() ([]byte, []int)
func (*RuntimeConfig) GetNetworkConfig ¶
func (m *RuntimeConfig) GetNetworkConfig() *NetworkConfig
func (*RuntimeConfig) Marshal ¶
func (m *RuntimeConfig) Marshal() (dAtA []byte, err error)
func (*RuntimeConfig) ProtoMessage ¶
func (*RuntimeConfig) ProtoMessage()
func (*RuntimeConfig) Reset ¶
func (m *RuntimeConfig) Reset()
func (*RuntimeConfig) Size ¶
func (m *RuntimeConfig) Size() (n int)
func (*RuntimeConfig) String ¶
func (this *RuntimeConfig) String() string
func (*RuntimeConfig) Unmarshal ¶
func (m *RuntimeConfig) Unmarshal(dAtA []byte) error
type RuntimeServiceClient ¶
type RuntimeServiceClient interface { // Version returns the runtime name, runtime version, and runtime API version. Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) // RunPodSandbox creates and starts a pod-level sandbox. Runtimes must ensure // the sandbox is in the ready state on success. RunPodSandbox(ctx context.Context, in *RunPodSandboxRequest, opts ...grpc.CallOption) (*RunPodSandboxResponse, error) // StopPodSandbox stops any running process that is part of the sandbox and // reclaims network resources (e.g., IP addresses) allocated to the sandbox. // If there are any running containers in the sandbox, they must be forcibly // terminated. // This call is idempotent, and must not return an error if all relevant // resources have already been reclaimed. kubelet will call StopPodSandbox // at least once before calling RemovePodSandbox. It will also attempt to // reclaim resources eagerly, as soon as a sandbox is not needed. Hence, // multiple StopPodSandbox calls are expected. StopPodSandbox(ctx context.Context, in *StopPodSandboxRequest, opts ...grpc.CallOption) (*StopPodSandboxResponse, error) // RemovePodSandbox removes the sandbox. If there are any running containers // in the sandbox, they must be forcibly terminated and removed. // This call is idempotent, and must not return an error if the sandbox has // already been removed. RemovePodSandbox(ctx context.Context, in *RemovePodSandboxRequest, opts ...grpc.CallOption) (*RemovePodSandboxResponse, error) // PodSandboxStatus returns the status of the PodSandbox. If the PodSandbox is not // present, returns an error. PodSandboxStatus(ctx context.Context, in *PodSandboxStatusRequest, opts ...grpc.CallOption) (*PodSandboxStatusResponse, error) // ListPodSandbox returns a list of PodSandboxes. ListPodSandbox(ctx context.Context, in *ListPodSandboxRequest, opts ...grpc.CallOption) (*ListPodSandboxResponse, error) // CreateContainer creates a new container in specified PodSandbox CreateContainer(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) // StartContainer starts the container. StartContainer(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*StartContainerResponse, error) // StopContainer stops a running container with a grace period (i.e., timeout). // This call is idempotent, and must not return an error if the container has // already been stopped. // TODO: what must the runtime do after the grace period is reached? StopContainer(ctx context.Context, in *StopContainerRequest, opts ...grpc.CallOption) (*StopContainerResponse, error) // RemoveContainer removes the container. If the container is running, the // container must be forcibly removed. // This call is idempotent, and must not return an error if the container has // already been removed. RemoveContainer(ctx context.Context, in *RemoveContainerRequest, opts ...grpc.CallOption) (*RemoveContainerResponse, error) // ListContainers lists all containers by filters. ListContainers(ctx context.Context, in *ListContainersRequest, opts ...grpc.CallOption) (*ListContainersResponse, error) // ContainerStatus returns status of the container. If the container is not // present, returns an error. ContainerStatus(ctx context.Context, in *ContainerStatusRequest, opts ...grpc.CallOption) (*ContainerStatusResponse, error) // UpdateContainerResources updates ContainerConfig of the container. UpdateContainerResources(ctx context.Context, in *UpdateContainerResourcesRequest, opts ...grpc.CallOption) (*UpdateContainerResourcesResponse, error) // ExecSync runs a command in a container synchronously. ExecSync(ctx context.Context, in *ExecSyncRequest, opts ...grpc.CallOption) (*ExecSyncResponse, error) // Exec prepares a streaming endpoint to execute a command in the container. Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) // Attach prepares a streaming endpoint to attach to a running container. Attach(ctx context.Context, in *AttachRequest, opts ...grpc.CallOption) (*AttachResponse, error) // PortForward prepares a streaming endpoint to forward ports from a PodSandbox. PortForward(ctx context.Context, in *PortForwardRequest, opts ...grpc.CallOption) (*PortForwardResponse, error) // ContainerStats returns stats of the container. If the container does not // exist, the call returns an error. ContainerStats(ctx context.Context, in *ContainerStatsRequest, opts ...grpc.CallOption) (*ContainerStatsResponse, error) // ListContainerStats returns stats of all running containers. ListContainerStats(ctx context.Context, in *ListContainerStatsRequest, opts ...grpc.CallOption) (*ListContainerStatsResponse, error) // UpdateRuntimeConfig updates the runtime configuration based on the given request. UpdateRuntimeConfig(ctx context.Context, in *UpdateRuntimeConfigRequest, opts ...grpc.CallOption) (*UpdateRuntimeConfigResponse, error) // Status returns the status of the runtime. Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) }
func NewRuntimeServiceClient ¶
func NewRuntimeServiceClient(cc *grpc.ClientConn) RuntimeServiceClient
type RuntimeServiceServer ¶
type RuntimeServiceServer interface { // Version returns the runtime name, runtime version, and runtime API version. Version(context.Context, *VersionRequest) (*VersionResponse, error) // RunPodSandbox creates and starts a pod-level sandbox. Runtimes must ensure // the sandbox is in the ready state on success. RunPodSandbox(context.Context, *RunPodSandboxRequest) (*RunPodSandboxResponse, error) // StopPodSandbox stops any running process that is part of the sandbox and // reclaims network resources (e.g., IP addresses) allocated to the sandbox. // If there are any running containers in the sandbox, they must be forcibly // terminated. // This call is idempotent, and must not return an error if all relevant // resources have already been reclaimed. kubelet will call StopPodSandbox // at least once before calling RemovePodSandbox. It will also attempt to // reclaim resources eagerly, as soon as a sandbox is not needed. Hence, // multiple StopPodSandbox calls are expected. StopPodSandbox(context.Context, *StopPodSandboxRequest) (*StopPodSandboxResponse, error) // RemovePodSandbox removes the sandbox. If there are any running containers // in the sandbox, they must be forcibly terminated and removed. // This call is idempotent, and must not return an error if the sandbox has // already been removed. RemovePodSandbox(context.Context, *RemovePodSandboxRequest) (*RemovePodSandboxResponse, error) // PodSandboxStatus returns the status of the PodSandbox. If the PodSandbox is not // present, returns an error. PodSandboxStatus(context.Context, *PodSandboxStatusRequest) (*PodSandboxStatusResponse, error) // ListPodSandbox returns a list of PodSandboxes. ListPodSandbox(context.Context, *ListPodSandboxRequest) (*ListPodSandboxResponse, error) // CreateContainer creates a new container in specified PodSandbox CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) // StartContainer starts the container. StartContainer(context.Context, *StartContainerRequest) (*StartContainerResponse, error) // StopContainer stops a running container with a grace period (i.e., timeout). // This call is idempotent, and must not return an error if the container has // already been stopped. // TODO: what must the runtime do after the grace period is reached? StopContainer(context.Context, *StopContainerRequest) (*StopContainerResponse, error) // RemoveContainer removes the container. If the container is running, the // container must be forcibly removed. // This call is idempotent, and must not return an error if the container has // already been removed. RemoveContainer(context.Context, *RemoveContainerRequest) (*RemoveContainerResponse, error) // ListContainers lists all containers by filters. ListContainers(context.Context, *ListContainersRequest) (*ListContainersResponse, error) // ContainerStatus returns status of the container. If the container is not // present, returns an error. ContainerStatus(context.Context, *ContainerStatusRequest) (*ContainerStatusResponse, error) // UpdateContainerResources updates ContainerConfig of the container. UpdateContainerResources(context.Context, *UpdateContainerResourcesRequest) (*UpdateContainerResourcesResponse, error) // ExecSync runs a command in a container synchronously. ExecSync(context.Context, *ExecSyncRequest) (*ExecSyncResponse, error) // Exec prepares a streaming endpoint to execute a command in the container. Exec(context.Context, *ExecRequest) (*ExecResponse, error) // Attach prepares a streaming endpoint to attach to a running container. Attach(context.Context, *AttachRequest) (*AttachResponse, error) // PortForward prepares a streaming endpoint to forward ports from a PodSandbox. PortForward(context.Context, *PortForwardRequest) (*PortForwardResponse, error) // ContainerStats returns stats of the container. If the container does not // exist, the call returns an error. ContainerStats(context.Context, *ContainerStatsRequest) (*ContainerStatsResponse, error) // ListContainerStats returns stats of all running containers. ListContainerStats(context.Context, *ListContainerStatsRequest) (*ListContainerStatsResponse, error) // UpdateRuntimeConfig updates the runtime configuration based on the given request. UpdateRuntimeConfig(context.Context, *UpdateRuntimeConfigRequest) (*UpdateRuntimeConfigResponse, error) // Status returns the status of the runtime. Status(context.Context, *StatusRequest) (*StatusResponse, error) }
type RuntimeStatus ¶
type RuntimeStatus struct { // List of current observed runtime conditions. Conditions []*RuntimeCondition `protobuf:"bytes,1,rep,name=conditions" json:"conditions,omitempty"` }
RuntimeStatus is information about the current status of the runtime.
func (*RuntimeStatus) Descriptor ¶
func (*RuntimeStatus) Descriptor() ([]byte, []int)
func (*RuntimeStatus) GetConditions ¶
func (m *RuntimeStatus) GetConditions() []*RuntimeCondition
func (*RuntimeStatus) Marshal ¶
func (m *RuntimeStatus) Marshal() (dAtA []byte, err error)
func (*RuntimeStatus) ProtoMessage ¶
func (*RuntimeStatus) ProtoMessage()
func (*RuntimeStatus) Reset ¶
func (m *RuntimeStatus) Reset()
func (*RuntimeStatus) Size ¶
func (m *RuntimeStatus) Size() (n int)
func (*RuntimeStatus) String ¶
func (this *RuntimeStatus) String() string
func (*RuntimeStatus) Unmarshal ¶
func (m *RuntimeStatus) Unmarshal(dAtA []byte) error
type SELinuxOption ¶
type SELinuxOption struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"` }
SELinuxOption are the labels to be applied to the container.
func (*SELinuxOption) Descriptor ¶
func (*SELinuxOption) Descriptor() ([]byte, []int)
func (*SELinuxOption) GetLevel ¶
func (m *SELinuxOption) GetLevel() string
func (*SELinuxOption) GetRole ¶
func (m *SELinuxOption) GetRole() string
func (*SELinuxOption) GetType ¶
func (m *SELinuxOption) GetType() string
func (*SELinuxOption) GetUser ¶
func (m *SELinuxOption) GetUser() string
func (*SELinuxOption) Marshal ¶
func (m *SELinuxOption) Marshal() (dAtA []byte, err error)
func (*SELinuxOption) ProtoMessage ¶
func (*SELinuxOption) ProtoMessage()
func (*SELinuxOption) Reset ¶
func (m *SELinuxOption) Reset()
func (*SELinuxOption) Size ¶
func (m *SELinuxOption) Size() (n int)
func (*SELinuxOption) String ¶
func (this *SELinuxOption) String() string
func (*SELinuxOption) Unmarshal ¶
func (m *SELinuxOption) Unmarshal(dAtA []byte) error
type StartContainerRequest ¶
type StartContainerRequest struct { // ID of the container to start. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` }
func (*StartContainerRequest) Descriptor ¶
func (*StartContainerRequest) Descriptor() ([]byte, []int)
func (*StartContainerRequest) GetContainerId ¶
func (m *StartContainerRequest) GetContainerId() string
func (*StartContainerRequest) Marshal ¶
func (m *StartContainerRequest) Marshal() (dAtA []byte, err error)
func (*StartContainerRequest) MarshalTo ¶
func (m *StartContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*StartContainerRequest) ProtoMessage ¶
func (*StartContainerRequest) ProtoMessage()
func (*StartContainerRequest) Reset ¶
func (m *StartContainerRequest) Reset()
func (*StartContainerRequest) Size ¶
func (m *StartContainerRequest) Size() (n int)
func (*StartContainerRequest) String ¶
func (this *StartContainerRequest) String() string
func (*StartContainerRequest) Unmarshal ¶
func (m *StartContainerRequest) Unmarshal(dAtA []byte) error
type StartContainerResponse ¶
type StartContainerResponse struct { }
func (*StartContainerResponse) Descriptor ¶
func (*StartContainerResponse) Descriptor() ([]byte, []int)
func (*StartContainerResponse) Marshal ¶
func (m *StartContainerResponse) Marshal() (dAtA []byte, err error)
func (*StartContainerResponse) MarshalTo ¶
func (m *StartContainerResponse) MarshalTo(dAtA []byte) (int, error)
func (*StartContainerResponse) ProtoMessage ¶
func (*StartContainerResponse) ProtoMessage()
func (*StartContainerResponse) Reset ¶
func (m *StartContainerResponse) Reset()
func (*StartContainerResponse) Size ¶
func (m *StartContainerResponse) Size() (n int)
func (*StartContainerResponse) String ¶
func (this *StartContainerResponse) String() string
func (*StartContainerResponse) Unmarshal ¶
func (m *StartContainerResponse) Unmarshal(dAtA []byte) error
type StatusRequest ¶
type StatusRequest struct { // Verbose indicates whether to return extra information about the runtime. Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"` }
func (*StatusRequest) Descriptor ¶
func (*StatusRequest) Descriptor() ([]byte, []int)
func (*StatusRequest) GetVerbose ¶
func (m *StatusRequest) GetVerbose() bool
func (*StatusRequest) Marshal ¶
func (m *StatusRequest) Marshal() (dAtA []byte, err error)
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) Reset ¶
func (m *StatusRequest) Reset()
func (*StatusRequest) Size ¶
func (m *StatusRequest) Size() (n int)
func (*StatusRequest) String ¶
func (this *StatusRequest) String() string
func (*StatusRequest) Unmarshal ¶
func (m *StatusRequest) Unmarshal(dAtA []byte) error
type StatusResponse ¶
type StatusResponse struct { // Status of the Runtime. Status *RuntimeStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"` // Info is extra information of the Runtime. The key could be abitrary string, and // value should be in json format. The information could include anything useful for // debug, e.g. plugins used by the container runtime. // It should only be returned non-empty when Verbose is true. Info map[string]string `` /* 142-byte string literal not displayed */ }
func (*StatusResponse) Descriptor ¶
func (*StatusResponse) Descriptor() ([]byte, []int)
func (*StatusResponse) GetInfo ¶
func (m *StatusResponse) GetInfo() map[string]string
func (*StatusResponse) GetStatus ¶
func (m *StatusResponse) GetStatus() *RuntimeStatus
func (*StatusResponse) Marshal ¶
func (m *StatusResponse) Marshal() (dAtA []byte, err error)
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) Reset ¶
func (m *StatusResponse) Reset()
func (*StatusResponse) Size ¶
func (m *StatusResponse) Size() (n int)
func (*StatusResponse) String ¶
func (this *StatusResponse) String() string
func (*StatusResponse) Unmarshal ¶
func (m *StatusResponse) Unmarshal(dAtA []byte) error
type StopContainerRequest ¶
type StopContainerRequest struct { // ID of the container to stop. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Timeout in seconds to wait for the container to stop before forcibly // terminating it. Default: 0 (forcibly terminate the container immediately) Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` }
func (*StopContainerRequest) Descriptor ¶
func (*StopContainerRequest) Descriptor() ([]byte, []int)
func (*StopContainerRequest) GetContainerId ¶
func (m *StopContainerRequest) GetContainerId() string
func (*StopContainerRequest) GetTimeout ¶
func (m *StopContainerRequest) GetTimeout() int64
func (*StopContainerRequest) Marshal ¶
func (m *StopContainerRequest) Marshal() (dAtA []byte, err error)
func (*StopContainerRequest) MarshalTo ¶
func (m *StopContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*StopContainerRequest) ProtoMessage ¶
func (*StopContainerRequest) ProtoMessage()
func (*StopContainerRequest) Reset ¶
func (m *StopContainerRequest) Reset()
func (*StopContainerRequest) Size ¶
func (m *StopContainerRequest) Size() (n int)
func (*StopContainerRequest) String ¶
func (this *StopContainerRequest) String() string
func (*StopContainerRequest) Unmarshal ¶
func (m *StopContainerRequest) Unmarshal(dAtA []byte) error
type StopContainerResponse ¶
type StopContainerResponse struct { }
func (*StopContainerResponse) Descriptor ¶
func (*StopContainerResponse) Descriptor() ([]byte, []int)
func (*StopContainerResponse) Marshal ¶
func (m *StopContainerResponse) Marshal() (dAtA []byte, err error)
func (*StopContainerResponse) MarshalTo ¶
func (m *StopContainerResponse) MarshalTo(dAtA []byte) (int, error)
func (*StopContainerResponse) ProtoMessage ¶
func (*StopContainerResponse) ProtoMessage()
func (*StopContainerResponse) Reset ¶
func (m *StopContainerResponse) Reset()
func (*StopContainerResponse) Size ¶
func (m *StopContainerResponse) Size() (n int)
func (*StopContainerResponse) String ¶
func (this *StopContainerResponse) String() string
func (*StopContainerResponse) Unmarshal ¶
func (m *StopContainerResponse) Unmarshal(dAtA []byte) error
type StopPodSandboxRequest ¶
type StopPodSandboxRequest struct { // ID of the PodSandbox to stop. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` }
func (*StopPodSandboxRequest) Descriptor ¶
func (*StopPodSandboxRequest) Descriptor() ([]byte, []int)
func (*StopPodSandboxRequest) GetPodSandboxId ¶
func (m *StopPodSandboxRequest) GetPodSandboxId() string
func (*StopPodSandboxRequest) Marshal ¶
func (m *StopPodSandboxRequest) Marshal() (dAtA []byte, err error)
func (*StopPodSandboxRequest) MarshalTo ¶
func (m *StopPodSandboxRequest) MarshalTo(dAtA []byte) (int, error)
func (*StopPodSandboxRequest) ProtoMessage ¶
func (*StopPodSandboxRequest) ProtoMessage()
func (*StopPodSandboxRequest) Reset ¶
func (m *StopPodSandboxRequest) Reset()
func (*StopPodSandboxRequest) Size ¶
func (m *StopPodSandboxRequest) Size() (n int)
func (*StopPodSandboxRequest) String ¶
func (this *StopPodSandboxRequest) String() string
func (*StopPodSandboxRequest) Unmarshal ¶
func (m *StopPodSandboxRequest) Unmarshal(dAtA []byte) error
type StopPodSandboxResponse ¶
type StopPodSandboxResponse struct { }
func (*StopPodSandboxResponse) Descriptor ¶
func (*StopPodSandboxResponse) Descriptor() ([]byte, []int)
func (*StopPodSandboxResponse) Marshal ¶
func (m *StopPodSandboxResponse) Marshal() (dAtA []byte, err error)
func (*StopPodSandboxResponse) MarshalTo ¶
func (m *StopPodSandboxResponse) MarshalTo(dAtA []byte) (int, error)
func (*StopPodSandboxResponse) ProtoMessage ¶
func (*StopPodSandboxResponse) ProtoMessage()
func (*StopPodSandboxResponse) Reset ¶
func (m *StopPodSandboxResponse) Reset()
func (*StopPodSandboxResponse) Size ¶
func (m *StopPodSandboxResponse) Size() (n int)
func (*StopPodSandboxResponse) String ¶
func (this *StopPodSandboxResponse) String() string
func (*StopPodSandboxResponse) Unmarshal ¶
func (m *StopPodSandboxResponse) Unmarshal(dAtA []byte) error
type StorageIdentifier ¶
type StorageIdentifier struct { // UUID of the device. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` }
StorageIdentifier uniquely identify the storage..
func (*StorageIdentifier) Descriptor ¶
func (*StorageIdentifier) Descriptor() ([]byte, []int)
func (*StorageIdentifier) GetUuid ¶
func (m *StorageIdentifier) GetUuid() string
func (*StorageIdentifier) Marshal ¶
func (m *StorageIdentifier) Marshal() (dAtA []byte, err error)
func (*StorageIdentifier) MarshalTo ¶
func (m *StorageIdentifier) MarshalTo(dAtA []byte) (int, error)
func (*StorageIdentifier) ProtoMessage ¶
func (*StorageIdentifier) ProtoMessage()
func (*StorageIdentifier) Reset ¶
func (m *StorageIdentifier) Reset()
func (*StorageIdentifier) Size ¶
func (m *StorageIdentifier) Size() (n int)
func (*StorageIdentifier) String ¶
func (this *StorageIdentifier) String() string
func (*StorageIdentifier) Unmarshal ¶
func (m *StorageIdentifier) Unmarshal(dAtA []byte) error
type UInt64Value ¶
type UInt64Value struct { // The value. Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` }
UInt64Value is the wrapper of uint64.
func (*UInt64Value) Descriptor ¶
func (*UInt64Value) Descriptor() ([]byte, []int)
func (*UInt64Value) GetValue ¶
func (m *UInt64Value) GetValue() uint64
func (*UInt64Value) Marshal ¶
func (m *UInt64Value) Marshal() (dAtA []byte, err error)
func (*UInt64Value) ProtoMessage ¶
func (*UInt64Value) ProtoMessage()
func (*UInt64Value) Reset ¶
func (m *UInt64Value) Reset()
func (*UInt64Value) Size ¶
func (m *UInt64Value) Size() (n int)
func (*UInt64Value) String ¶
func (this *UInt64Value) String() string
func (*UInt64Value) Unmarshal ¶
func (m *UInt64Value) Unmarshal(dAtA []byte) error
type UpdateContainerResourcesRequest ¶
type UpdateContainerResourcesRequest struct { // ID of the container to update. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Resource configuration specific to Linux containers. Linux *LinuxContainerResources `protobuf:"bytes,2,opt,name=linux" json:"linux,omitempty"` }
func (*UpdateContainerResourcesRequest) Descriptor ¶
func (*UpdateContainerResourcesRequest) Descriptor() ([]byte, []int)
func (*UpdateContainerResourcesRequest) GetContainerId ¶
func (m *UpdateContainerResourcesRequest) GetContainerId() string
func (*UpdateContainerResourcesRequest) GetLinux ¶
func (m *UpdateContainerResourcesRequest) GetLinux() *LinuxContainerResources
func (*UpdateContainerResourcesRequest) Marshal ¶
func (m *UpdateContainerResourcesRequest) Marshal() (dAtA []byte, err error)
func (*UpdateContainerResourcesRequest) MarshalTo ¶
func (m *UpdateContainerResourcesRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateContainerResourcesRequest) ProtoMessage ¶
func (*UpdateContainerResourcesRequest) ProtoMessage()
func (*UpdateContainerResourcesRequest) Reset ¶
func (m *UpdateContainerResourcesRequest) Reset()
func (*UpdateContainerResourcesRequest) Size ¶
func (m *UpdateContainerResourcesRequest) Size() (n int)
func (*UpdateContainerResourcesRequest) String ¶
func (this *UpdateContainerResourcesRequest) String() string
func (*UpdateContainerResourcesRequest) Unmarshal ¶
func (m *UpdateContainerResourcesRequest) Unmarshal(dAtA []byte) error
type UpdateContainerResourcesResponse ¶
type UpdateContainerResourcesResponse struct { }
func (*UpdateContainerResourcesResponse) Descriptor ¶
func (*UpdateContainerResourcesResponse) Descriptor() ([]byte, []int)
func (*UpdateContainerResourcesResponse) Marshal ¶
func (m *UpdateContainerResourcesResponse) Marshal() (dAtA []byte, err error)
func (*UpdateContainerResourcesResponse) MarshalTo ¶
func (m *UpdateContainerResourcesResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdateContainerResourcesResponse) ProtoMessage ¶
func (*UpdateContainerResourcesResponse) ProtoMessage()
func (*UpdateContainerResourcesResponse) Reset ¶
func (m *UpdateContainerResourcesResponse) Reset()
func (*UpdateContainerResourcesResponse) Size ¶
func (m *UpdateContainerResourcesResponse) Size() (n int)
func (*UpdateContainerResourcesResponse) String ¶
func (this *UpdateContainerResourcesResponse) String() string
func (*UpdateContainerResourcesResponse) Unmarshal ¶
func (m *UpdateContainerResourcesResponse) Unmarshal(dAtA []byte) error
type UpdateRuntimeConfigRequest ¶
type UpdateRuntimeConfigRequest struct {
RuntimeConfig *RuntimeConfig `protobuf:"bytes,1,opt,name=runtime_config,json=runtimeConfig" json:"runtime_config,omitempty"`
}
func (*UpdateRuntimeConfigRequest) Descriptor ¶
func (*UpdateRuntimeConfigRequest) Descriptor() ([]byte, []int)
func (*UpdateRuntimeConfigRequest) GetRuntimeConfig ¶
func (m *UpdateRuntimeConfigRequest) GetRuntimeConfig() *RuntimeConfig
func (*UpdateRuntimeConfigRequest) Marshal ¶
func (m *UpdateRuntimeConfigRequest) Marshal() (dAtA []byte, err error)
func (*UpdateRuntimeConfigRequest) MarshalTo ¶
func (m *UpdateRuntimeConfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateRuntimeConfigRequest) ProtoMessage ¶
func (*UpdateRuntimeConfigRequest) ProtoMessage()
func (*UpdateRuntimeConfigRequest) Reset ¶
func (m *UpdateRuntimeConfigRequest) Reset()
func (*UpdateRuntimeConfigRequest) Size ¶
func (m *UpdateRuntimeConfigRequest) Size() (n int)
func (*UpdateRuntimeConfigRequest) String ¶
func (this *UpdateRuntimeConfigRequest) String() string
func (*UpdateRuntimeConfigRequest) Unmarshal ¶
func (m *UpdateRuntimeConfigRequest) Unmarshal(dAtA []byte) error
type UpdateRuntimeConfigResponse ¶
type UpdateRuntimeConfigResponse struct { }
func (*UpdateRuntimeConfigResponse) Descriptor ¶
func (*UpdateRuntimeConfigResponse) Descriptor() ([]byte, []int)
func (*UpdateRuntimeConfigResponse) Marshal ¶
func (m *UpdateRuntimeConfigResponse) Marshal() (dAtA []byte, err error)
func (*UpdateRuntimeConfigResponse) MarshalTo ¶
func (m *UpdateRuntimeConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdateRuntimeConfigResponse) ProtoMessage ¶
func (*UpdateRuntimeConfigResponse) ProtoMessage()
func (*UpdateRuntimeConfigResponse) Reset ¶
func (m *UpdateRuntimeConfigResponse) Reset()
func (*UpdateRuntimeConfigResponse) Size ¶
func (m *UpdateRuntimeConfigResponse) Size() (n int)
func (*UpdateRuntimeConfigResponse) String ¶
func (this *UpdateRuntimeConfigResponse) String() string
func (*UpdateRuntimeConfigResponse) Unmarshal ¶
func (m *UpdateRuntimeConfigResponse) Unmarshal(dAtA []byte) error
type VersionRequest ¶
type VersionRequest struct { // Version of the kubelet runtime API. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` }
func (*VersionRequest) Descriptor ¶
func (*VersionRequest) Descriptor() ([]byte, []int)
func (*VersionRequest) GetVersion ¶
func (m *VersionRequest) GetVersion() string
func (*VersionRequest) Marshal ¶
func (m *VersionRequest) Marshal() (dAtA []byte, err error)
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) Reset ¶
func (m *VersionRequest) Reset()
func (*VersionRequest) Size ¶
func (m *VersionRequest) Size() (n int)
func (*VersionRequest) String ¶
func (this *VersionRequest) String() string
func (*VersionRequest) Unmarshal ¶
func (m *VersionRequest) Unmarshal(dAtA []byte) error
type VersionResponse ¶
type VersionResponse struct { // Version of the kubelet runtime API. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Name of the container runtime. RuntimeName string `protobuf:"bytes,2,opt,name=runtime_name,json=runtimeName,proto3" json:"runtime_name,omitempty"` // Version of the container runtime. The string must be // semver-compatible. RuntimeVersion string `protobuf:"bytes,3,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"` // API version of the container runtime. The string must be // semver-compatible. RuntimeApiVersion string `protobuf:"bytes,4,opt,name=runtime_api_version,json=runtimeApiVersion,proto3" json:"runtime_api_version,omitempty"` }
func (*VersionResponse) Descriptor ¶
func (*VersionResponse) Descriptor() ([]byte, []int)
func (*VersionResponse) GetRuntimeApiVersion ¶
func (m *VersionResponse) GetRuntimeApiVersion() string
func (*VersionResponse) GetRuntimeName ¶
func (m *VersionResponse) GetRuntimeName() string
func (*VersionResponse) GetRuntimeVersion ¶
func (m *VersionResponse) GetRuntimeVersion() string
func (*VersionResponse) GetVersion ¶
func (m *VersionResponse) GetVersion() string
func (*VersionResponse) Marshal ¶
func (m *VersionResponse) Marshal() (dAtA []byte, err error)
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) Reset ¶
func (m *VersionResponse) Reset()
func (*VersionResponse) Size ¶
func (m *VersionResponse) Size() (n int)
func (*VersionResponse) String ¶
func (this *VersionResponse) String() string
func (*VersionResponse) Unmarshal ¶
func (m *VersionResponse) Unmarshal(dAtA []byte) error