Documentation ¶
Index ¶
- Variables
- type AttachRequest
- func (*AttachRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachRequest) GetContainerId() string
- func (x *AttachRequest) GetStderr() bool
- func (x *AttachRequest) GetStdin() bool
- func (x *AttachRequest) GetStdout() bool
- func (x *AttachRequest) GetTty() bool
- func (*AttachRequest) ProtoMessage()
- func (x *AttachRequest) ProtoReflect() protoreflect.Message
- func (x *AttachRequest) Reset()
- func (x *AttachRequest) String() string
- type AttachResponse
- type AuthConfig
- func (*AuthConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthConfig) GetAuth() string
- func (x *AuthConfig) GetIdentityToken() string
- func (x *AuthConfig) GetPassword() string
- func (x *AuthConfig) GetRegistryToken() string
- func (x *AuthConfig) GetServerAddress() string
- func (x *AuthConfig) GetUsername() string
- func (*AuthConfig) ProtoMessage()
- func (x *AuthConfig) ProtoReflect() protoreflect.Message
- func (x *AuthConfig) Reset()
- func (x *AuthConfig) String() string
- type CDIDevice
- type Capability
- func (*Capability) Descriptor() ([]byte, []int)deprecated
- func (x *Capability) GetAddAmbientCapabilities() []string
- func (x *Capability) GetAddCapabilities() []string
- func (x *Capability) GetDropCapabilities() []string
- func (*Capability) ProtoMessage()
- func (x *Capability) ProtoReflect() protoreflect.Message
- func (x *Capability) Reset()
- func (x *Capability) String() string
- type CgroupDriver
- func (CgroupDriver) Descriptor() protoreflect.EnumDescriptor
- func (x CgroupDriver) Enum() *CgroupDriver
- func (CgroupDriver) EnumDescriptor() ([]byte, []int)deprecated
- func (x CgroupDriver) Number() protoreflect.EnumNumber
- func (x CgroupDriver) String() string
- func (CgroupDriver) Type() protoreflect.EnumType
- type CheckpointContainerRequest
- func (*CheckpointContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckpointContainerRequest) GetContainerId() string
- func (x *CheckpointContainerRequest) GetLocation() string
- func (x *CheckpointContainerRequest) GetTimeout() int64
- func (*CheckpointContainerRequest) ProtoMessage()
- func (x *CheckpointContainerRequest) ProtoReflect() protoreflect.Message
- func (x *CheckpointContainerRequest) Reset()
- func (x *CheckpointContainerRequest) String() string
- type CheckpointContainerResponse
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetAnnotations() map[string]string
- func (x *Container) GetCreatedAt() int64
- func (x *Container) GetId() string
- func (x *Container) GetImage() *ImageSpec
- func (x *Container) GetImageRef() string
- func (x *Container) GetLabels() map[string]string
- func (x *Container) GetMetadata() *ContainerMetadata
- func (x *Container) GetPodSandboxId() string
- func (x *Container) GetState() ContainerState
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type ContainerAttributes
- func (*ContainerAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerAttributes) GetAnnotations() map[string]string
- func (x *ContainerAttributes) GetId() string
- func (x *ContainerAttributes) GetLabels() map[string]string
- func (x *ContainerAttributes) GetMetadata() *ContainerMetadata
- func (*ContainerAttributes) ProtoMessage()
- func (x *ContainerAttributes) ProtoReflect() protoreflect.Message
- func (x *ContainerAttributes) Reset()
- func (x *ContainerAttributes) String() string
- type ContainerConfig
- func (*ContainerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerConfig) GetAnnotations() map[string]string
- func (x *ContainerConfig) GetArgs() []string
- func (x *ContainerConfig) GetCDIDevices() []*CDIDevice
- func (x *ContainerConfig) GetCommand() []string
- func (x *ContainerConfig) GetDevices() []*Device
- func (x *ContainerConfig) GetEnvs() []*KeyValue
- func (x *ContainerConfig) GetImage() *ImageSpec
- func (x *ContainerConfig) GetLabels() map[string]string
- func (x *ContainerConfig) GetLinux() *LinuxContainerConfig
- func (x *ContainerConfig) GetLogPath() string
- func (x *ContainerConfig) GetMetadata() *ContainerMetadata
- func (x *ContainerConfig) GetMounts() []*Mount
- func (x *ContainerConfig) GetStdin() bool
- func (x *ContainerConfig) GetStdinOnce() bool
- func (x *ContainerConfig) GetTty() bool
- func (x *ContainerConfig) GetWindows() *WindowsContainerConfig
- func (x *ContainerConfig) GetWorkingDir() string
- func (*ContainerConfig) ProtoMessage()
- func (x *ContainerConfig) ProtoReflect() protoreflect.Message
- func (x *ContainerConfig) Reset()
- func (x *ContainerConfig) String() string
- type ContainerEventResponse
- func (*ContainerEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerEventResponse) GetContainerEventType() ContainerEventType
- func (x *ContainerEventResponse) GetContainerId() string
- func (x *ContainerEventResponse) GetContainersStatuses() []*ContainerStatus
- func (x *ContainerEventResponse) GetCreatedAt() int64
- func (x *ContainerEventResponse) GetPodSandboxStatus() *PodSandboxStatus
- func (*ContainerEventResponse) ProtoMessage()
- func (x *ContainerEventResponse) ProtoReflect() protoreflect.Message
- func (x *ContainerEventResponse) Reset()
- func (x *ContainerEventResponse) String() string
- type ContainerEventType
- func (ContainerEventType) Descriptor() protoreflect.EnumDescriptor
- func (x ContainerEventType) Enum() *ContainerEventType
- func (ContainerEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContainerEventType) Number() protoreflect.EnumNumber
- func (x ContainerEventType) String() string
- func (ContainerEventType) Type() protoreflect.EnumType
- type ContainerFilter
- func (*ContainerFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerFilter) GetId() string
- func (x *ContainerFilter) GetLabelSelector() map[string]string
- func (x *ContainerFilter) GetPodSandboxId() string
- func (x *ContainerFilter) GetState() *ContainerStateValue
- func (*ContainerFilter) ProtoMessage()
- func (x *ContainerFilter) ProtoReflect() protoreflect.Message
- func (x *ContainerFilter) Reset()
- func (x *ContainerFilter) String() string
- type ContainerMetadata
- func (*ContainerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerMetadata) GetAttempt() uint32
- func (x *ContainerMetadata) GetName() string
- func (*ContainerMetadata) ProtoMessage()
- func (x *ContainerMetadata) ProtoReflect() protoreflect.Message
- func (x *ContainerMetadata) Reset()
- func (x *ContainerMetadata) String() string
- type ContainerMetrics
- func (*ContainerMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerMetrics) GetContainerId() string
- func (x *ContainerMetrics) GetMetrics() []*Metric
- func (*ContainerMetrics) ProtoMessage()
- func (x *ContainerMetrics) ProtoReflect() protoreflect.Message
- func (x *ContainerMetrics) Reset()
- func (x *ContainerMetrics) String() string
- type ContainerResources
- func (*ContainerResources) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerResources) GetLinux() *LinuxContainerResources
- func (x *ContainerResources) GetWindows() *WindowsContainerResources
- func (*ContainerResources) ProtoMessage()
- func (x *ContainerResources) ProtoReflect() protoreflect.Message
- func (x *ContainerResources) Reset()
- func (x *ContainerResources) String() string
- type ContainerState
- func (ContainerState) Descriptor() protoreflect.EnumDescriptor
- func (x ContainerState) Enum() *ContainerState
- func (ContainerState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContainerState) Number() protoreflect.EnumNumber
- func (x ContainerState) String() string
- func (ContainerState) Type() protoreflect.EnumType
- type ContainerStateValue
- func (*ContainerStateValue) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStateValue) GetState() ContainerState
- func (*ContainerStateValue) ProtoMessage()
- func (x *ContainerStateValue) ProtoReflect() protoreflect.Message
- func (x *ContainerStateValue) Reset()
- func (x *ContainerStateValue) String() string
- type ContainerStats
- func (*ContainerStats) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStats) GetAttributes() *ContainerAttributes
- func (x *ContainerStats) GetCpu() *CpuUsage
- func (x *ContainerStats) GetMemory() *MemoryUsage
- func (x *ContainerStats) GetSwap() *SwapUsage
- func (x *ContainerStats) GetWritableLayer() *FilesystemUsage
- func (*ContainerStats) ProtoMessage()
- func (x *ContainerStats) ProtoReflect() protoreflect.Message
- func (x *ContainerStats) Reset()
- func (x *ContainerStats) String() string
- type ContainerStatsFilter
- func (*ContainerStatsFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatsFilter) GetId() string
- func (x *ContainerStatsFilter) GetLabelSelector() map[string]string
- func (x *ContainerStatsFilter) GetPodSandboxId() string
- func (*ContainerStatsFilter) ProtoMessage()
- func (x *ContainerStatsFilter) ProtoReflect() protoreflect.Message
- func (x *ContainerStatsFilter) Reset()
- func (x *ContainerStatsFilter) String() string
- type ContainerStatsRequest
- func (*ContainerStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatsRequest) GetContainerId() string
- func (*ContainerStatsRequest) ProtoMessage()
- func (x *ContainerStatsRequest) ProtoReflect() protoreflect.Message
- func (x *ContainerStatsRequest) Reset()
- func (x *ContainerStatsRequest) String() string
- type ContainerStatsResponse
- func (*ContainerStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatsResponse) GetStats() *ContainerStats
- func (*ContainerStatsResponse) ProtoMessage()
- func (x *ContainerStatsResponse) ProtoReflect() protoreflect.Message
- func (x *ContainerStatsResponse) Reset()
- func (x *ContainerStatsResponse) String() string
- type ContainerStatus
- func (*ContainerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatus) GetAnnotations() map[string]string
- func (x *ContainerStatus) GetCreatedAt() int64
- func (x *ContainerStatus) GetExitCode() int32
- func (x *ContainerStatus) GetFinishedAt() int64
- func (x *ContainerStatus) GetId() string
- func (x *ContainerStatus) GetImage() *ImageSpec
- func (x *ContainerStatus) GetImageRef() string
- func (x *ContainerStatus) GetLabels() map[string]string
- func (x *ContainerStatus) GetLogPath() string
- func (x *ContainerStatus) GetMessage() string
- func (x *ContainerStatus) GetMetadata() *ContainerMetadata
- func (x *ContainerStatus) GetMounts() []*Mount
- func (x *ContainerStatus) GetReason() string
- func (x *ContainerStatus) GetResources() *ContainerResources
- func (x *ContainerStatus) GetStartedAt() int64
- func (x *ContainerStatus) GetState() ContainerState
- func (*ContainerStatus) ProtoMessage()
- func (x *ContainerStatus) ProtoReflect() protoreflect.Message
- func (x *ContainerStatus) Reset()
- func (x *ContainerStatus) String() string
- type ContainerStatusRequest
- func (*ContainerStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatusRequest) GetContainerId() string
- func (x *ContainerStatusRequest) GetVerbose() bool
- func (*ContainerStatusRequest) ProtoMessage()
- func (x *ContainerStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ContainerStatusRequest) Reset()
- func (x *ContainerStatusRequest) String() string
- type ContainerStatusResponse
- func (*ContainerStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatusResponse) GetInfo() map[string]string
- func (x *ContainerStatusResponse) GetStatus() *ContainerStatus
- func (*ContainerStatusResponse) ProtoMessage()
- func (x *ContainerStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ContainerStatusResponse) Reset()
- func (x *ContainerStatusResponse) String() string
- type CpuUsage
- func (*CpuUsage) Descriptor() ([]byte, []int)deprecated
- func (x *CpuUsage) GetTimestamp() int64
- func (x *CpuUsage) GetUsageCoreNanoSeconds() *UInt64Value
- func (x *CpuUsage) GetUsageNanoCores() *UInt64Value
- func (*CpuUsage) ProtoMessage()
- func (x *CpuUsage) ProtoReflect() protoreflect.Message
- func (x *CpuUsage) Reset()
- func (x *CpuUsage) String() string
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerRequest) GetConfig() *ContainerConfig
- func (x *CreateContainerRequest) GetPodSandboxId() string
- func (x *CreateContainerRequest) GetSandboxConfig() *PodSandboxConfig
- func (*CreateContainerRequest) ProtoMessage()
- func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContainerRequest) Reset()
- func (x *CreateContainerRequest) String() string
- type CreateContainerResponse
- func (*CreateContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerResponse) GetContainerId() string
- func (*CreateContainerResponse) ProtoMessage()
- func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateContainerResponse) Reset()
- func (x *CreateContainerResponse) String() string
- type DNSConfig
- func (*DNSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DNSConfig) GetOptions() []string
- func (x *DNSConfig) GetSearches() []string
- func (x *DNSConfig) GetServers() []string
- func (*DNSConfig) ProtoMessage()
- func (x *DNSConfig) ProtoReflect() protoreflect.Message
- func (x *DNSConfig) Reset()
- func (x *DNSConfig) String() string
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetContainerPath() string
- func (x *Device) GetHostPath() string
- func (x *Device) GetPermissions() string
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecRequest) GetCmd() []string
- func (x *ExecRequest) GetContainerId() string
- func (x *ExecRequest) GetStderr() bool
- func (x *ExecRequest) GetStdin() bool
- func (x *ExecRequest) GetStdout() bool
- func (x *ExecRequest) GetTty() bool
- func (*ExecRequest) ProtoMessage()
- func (x *ExecRequest) ProtoReflect() protoreflect.Message
- func (x *ExecRequest) Reset()
- func (x *ExecRequest) String() string
- type ExecResponse
- type ExecSyncRequest
- func (*ExecSyncRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecSyncRequest) GetCmd() []string
- func (x *ExecSyncRequest) GetContainerId() string
- func (x *ExecSyncRequest) GetTimeout() int64
- func (*ExecSyncRequest) ProtoMessage()
- func (x *ExecSyncRequest) ProtoReflect() protoreflect.Message
- func (x *ExecSyncRequest) Reset()
- func (x *ExecSyncRequest) String() string
- type ExecSyncResponse
- func (*ExecSyncResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecSyncResponse) GetExitCode() int32
- func (x *ExecSyncResponse) GetStderr() []byte
- func (x *ExecSyncResponse) GetStdout() []byte
- func (*ExecSyncResponse) ProtoMessage()
- func (x *ExecSyncResponse) ProtoReflect() protoreflect.Message
- func (x *ExecSyncResponse) Reset()
- func (x *ExecSyncResponse) String() string
- type FilesystemIdentifier
- func (*FilesystemIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemIdentifier) GetMountpoint() string
- func (*FilesystemIdentifier) ProtoMessage()
- func (x *FilesystemIdentifier) ProtoReflect() protoreflect.Message
- func (x *FilesystemIdentifier) Reset()
- func (x *FilesystemIdentifier) String() string
- type FilesystemUsage
- func (*FilesystemUsage) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemUsage) GetFsId() *FilesystemIdentifier
- func (x *FilesystemUsage) GetInodesUsed() *UInt64Value
- func (x *FilesystemUsage) GetTimestamp() int64
- func (x *FilesystemUsage) GetUsedBytes() *UInt64Value
- func (*FilesystemUsage) ProtoMessage()
- func (x *FilesystemUsage) ProtoReflect() protoreflect.Message
- func (x *FilesystemUsage) Reset()
- func (x *FilesystemUsage) String() string
- type GetEventsRequest
- type HugepageLimit
- func (*HugepageLimit) Descriptor() ([]byte, []int)deprecated
- func (x *HugepageLimit) GetLimit() uint64
- func (x *HugepageLimit) GetPageSize() string
- func (*HugepageLimit) ProtoMessage()
- func (x *HugepageLimit) ProtoReflect() protoreflect.Message
- func (x *HugepageLimit) Reset()
- func (x *HugepageLimit) String() string
- type IDMapping
- func (*IDMapping) Descriptor() ([]byte, []int)deprecated
- func (x *IDMapping) GetContainerId() uint32
- func (x *IDMapping) GetHostId() uint32
- func (x *IDMapping) GetLength() uint32
- func (*IDMapping) ProtoMessage()
- func (x *IDMapping) ProtoReflect() protoreflect.Message
- func (x *IDMapping) Reset()
- func (x *IDMapping) String() string
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetId() string
- func (x *Image) GetPinned() bool
- func (x *Image) GetRepoDigests() []string
- func (x *Image) GetRepoTags() []string
- func (x *Image) GetSize() uint64
- func (x *Image) GetSpec() *ImageSpec
- func (x *Image) GetUid() *Int64Value
- func (x *Image) GetUsername() string
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- type ImageFilter
- type ImageFsInfoRequest
- type ImageFsInfoResponse
- func (*ImageFsInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImageFsInfoResponse) GetContainerFilesystems() []*FilesystemUsage
- func (x *ImageFsInfoResponse) GetImageFilesystems() []*FilesystemUsage
- func (*ImageFsInfoResponse) ProtoMessage()
- func (x *ImageFsInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ImageFsInfoResponse) Reset()
- func (x *ImageFsInfoResponse) String() string
- type ImageSpec
- func (*ImageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ImageSpec) GetAnnotations() map[string]string
- func (x *ImageSpec) GetImage() string
- func (x *ImageSpec) GetRuntimeHandler() string
- func (x *ImageSpec) GetUserSpecifiedImage() string
- func (*ImageSpec) ProtoMessage()
- func (x *ImageSpec) ProtoReflect() protoreflect.Message
- func (x *ImageSpec) Reset()
- func (x *ImageSpec) String() string
- type ImageStatusRequest
- func (*ImageStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImageStatusRequest) GetImage() *ImageSpec
- func (x *ImageStatusRequest) GetVerbose() bool
- func (*ImageStatusRequest) ProtoMessage()
- func (x *ImageStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ImageStatusRequest) Reset()
- func (x *ImageStatusRequest) String() string
- type ImageStatusResponse
- func (*ImageStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImageStatusResponse) GetImage() *Image
- func (x *ImageStatusResponse) GetInfo() map[string]string
- func (*ImageStatusResponse) ProtoMessage()
- func (x *ImageStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ImageStatusResponse) Reset()
- func (x *ImageStatusResponse) String() string
- type Int64Value
- type KeyValue
- type LinuxContainerConfig
- func (*LinuxContainerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxContainerConfig) GetResources() *LinuxContainerResources
- func (x *LinuxContainerConfig) GetSecurityContext() *LinuxContainerSecurityContext
- func (*LinuxContainerConfig) ProtoMessage()
- func (x *LinuxContainerConfig) ProtoReflect() protoreflect.Message
- func (x *LinuxContainerConfig) Reset()
- func (x *LinuxContainerConfig) String() string
- type LinuxContainerResources
- func (*LinuxContainerResources) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxContainerResources) GetCpuPeriod() int64
- func (x *LinuxContainerResources) GetCpuQuota() int64
- func (x *LinuxContainerResources) GetCpuShares() int64
- func (x *LinuxContainerResources) GetCpusetCpus() string
- func (x *LinuxContainerResources) GetCpusetMems() string
- func (x *LinuxContainerResources) GetHugepageLimits() []*HugepageLimit
- func (x *LinuxContainerResources) GetMemoryLimitInBytes() int64
- func (x *LinuxContainerResources) GetMemorySwapLimitInBytes() int64
- func (x *LinuxContainerResources) GetOomScoreAdj() int64
- func (x *LinuxContainerResources) GetUnified() map[string]string
- func (*LinuxContainerResources) ProtoMessage()
- func (x *LinuxContainerResources) ProtoReflect() protoreflect.Message
- func (x *LinuxContainerResources) Reset()
- func (x *LinuxContainerResources) String() string
- type LinuxContainerSecurityContext
- func (*LinuxContainerSecurityContext) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxContainerSecurityContext) GetApparmor() *SecurityProfile
- func (x *LinuxContainerSecurityContext) GetApparmorProfile() stringdeprecated
- func (x *LinuxContainerSecurityContext) GetCapabilities() *Capability
- func (x *LinuxContainerSecurityContext) GetMaskedPaths() []string
- func (x *LinuxContainerSecurityContext) GetNamespaceOptions() *NamespaceOption
- func (x *LinuxContainerSecurityContext) GetNoNewPrivs() bool
- func (x *LinuxContainerSecurityContext) GetPrivileged() bool
- func (x *LinuxContainerSecurityContext) GetReadonlyPaths() []string
- func (x *LinuxContainerSecurityContext) GetReadonlyRootfs() bool
- func (x *LinuxContainerSecurityContext) GetRunAsGroup() *Int64Value
- func (x *LinuxContainerSecurityContext) GetRunAsUser() *Int64Value
- func (x *LinuxContainerSecurityContext) GetRunAsUsername() string
- func (x *LinuxContainerSecurityContext) GetSeccomp() *SecurityProfile
- func (x *LinuxContainerSecurityContext) GetSeccompProfilePath() stringdeprecated
- func (x *LinuxContainerSecurityContext) GetSelinuxOptions() *SELinuxOption
- func (x *LinuxContainerSecurityContext) GetSupplementalGroups() []int64
- func (*LinuxContainerSecurityContext) ProtoMessage()
- func (x *LinuxContainerSecurityContext) ProtoReflect() protoreflect.Message
- func (x *LinuxContainerSecurityContext) Reset()
- func (x *LinuxContainerSecurityContext) String() string
- type LinuxPodSandboxConfig
- func (*LinuxPodSandboxConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxPodSandboxConfig) GetCgroupParent() string
- func (x *LinuxPodSandboxConfig) GetOverhead() *LinuxContainerResources
- func (x *LinuxPodSandboxConfig) GetResources() *LinuxContainerResources
- func (x *LinuxPodSandboxConfig) GetSecurityContext() *LinuxSandboxSecurityContext
- func (x *LinuxPodSandboxConfig) GetSysctls() map[string]string
- func (*LinuxPodSandboxConfig) ProtoMessage()
- func (x *LinuxPodSandboxConfig) ProtoReflect() protoreflect.Message
- func (x *LinuxPodSandboxConfig) Reset()
- func (x *LinuxPodSandboxConfig) String() string
- type LinuxPodSandboxStats
- func (*LinuxPodSandboxStats) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxPodSandboxStats) GetContainers() []*ContainerStats
- func (x *LinuxPodSandboxStats) GetCpu() *CpuUsage
- func (x *LinuxPodSandboxStats) GetMemory() *MemoryUsage
- func (x *LinuxPodSandboxStats) GetNetwork() *NetworkUsage
- func (x *LinuxPodSandboxStats) GetProcess() *ProcessUsage
- func (*LinuxPodSandboxStats) ProtoMessage()
- func (x *LinuxPodSandboxStats) ProtoReflect() protoreflect.Message
- func (x *LinuxPodSandboxStats) Reset()
- func (x *LinuxPodSandboxStats) String() string
- type LinuxPodSandboxStatus
- func (*LinuxPodSandboxStatus) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxPodSandboxStatus) GetNamespaces() *Namespace
- func (*LinuxPodSandboxStatus) ProtoMessage()
- func (x *LinuxPodSandboxStatus) ProtoReflect() protoreflect.Message
- func (x *LinuxPodSandboxStatus) Reset()
- func (x *LinuxPodSandboxStatus) String() string
- type LinuxRuntimeConfiguration
- func (*LinuxRuntimeConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxRuntimeConfiguration) GetCgroupDriver() CgroupDriver
- func (*LinuxRuntimeConfiguration) ProtoMessage()
- func (x *LinuxRuntimeConfiguration) ProtoReflect() protoreflect.Message
- func (x *LinuxRuntimeConfiguration) Reset()
- func (x *LinuxRuntimeConfiguration) String() string
- type LinuxSandboxSecurityContext
- func (*LinuxSandboxSecurityContext) Descriptor() ([]byte, []int)deprecated
- func (x *LinuxSandboxSecurityContext) GetApparmor() *SecurityProfile
- func (x *LinuxSandboxSecurityContext) GetNamespaceOptions() *NamespaceOption
- func (x *LinuxSandboxSecurityContext) GetPrivileged() bool
- func (x *LinuxSandboxSecurityContext) GetReadonlyRootfs() bool
- func (x *LinuxSandboxSecurityContext) GetRunAsGroup() *Int64Value
- func (x *LinuxSandboxSecurityContext) GetRunAsUser() *Int64Value
- func (x *LinuxSandboxSecurityContext) GetSeccomp() *SecurityProfile
- func (x *LinuxSandboxSecurityContext) GetSeccompProfilePath() stringdeprecated
- func (x *LinuxSandboxSecurityContext) GetSelinuxOptions() *SELinuxOption
- func (x *LinuxSandboxSecurityContext) GetSupplementalGroups() []int64
- func (*LinuxSandboxSecurityContext) ProtoMessage()
- func (x *LinuxSandboxSecurityContext) ProtoReflect() protoreflect.Message
- func (x *LinuxSandboxSecurityContext) Reset()
- func (x *LinuxSandboxSecurityContext) String() string
- type ListContainerStatsRequest
- func (*ListContainerStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerStatsRequest) GetFilter() *ContainerStatsFilter
- func (*ListContainerStatsRequest) ProtoMessage()
- func (x *ListContainerStatsRequest) ProtoReflect() protoreflect.Message
- func (x *ListContainerStatsRequest) Reset()
- func (x *ListContainerStatsRequest) String() string
- type ListContainerStatsResponse
- func (*ListContainerStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerStatsResponse) GetStats() []*ContainerStats
- func (*ListContainerStatsResponse) ProtoMessage()
- func (x *ListContainerStatsResponse) ProtoReflect() protoreflect.Message
- func (x *ListContainerStatsResponse) Reset()
- func (x *ListContainerStatsResponse) String() string
- type ListContainersRequest
- func (*ListContainersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainersRequest) GetFilter() *ContainerFilter
- func (*ListContainersRequest) ProtoMessage()
- func (x *ListContainersRequest) ProtoReflect() protoreflect.Message
- func (x *ListContainersRequest) Reset()
- func (x *ListContainersRequest) String() string
- type ListContainersResponse
- func (*ListContainersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainersResponse) GetContainers() []*Container
- func (*ListContainersResponse) ProtoMessage()
- func (x *ListContainersResponse) ProtoReflect() protoreflect.Message
- func (x *ListContainersResponse) Reset()
- func (x *ListContainersResponse) String() string
- type ListImagesRequest
- func (*ListImagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesRequest) GetFilter() *ImageFilter
- func (*ListImagesRequest) ProtoMessage()
- func (x *ListImagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListImagesRequest) Reset()
- func (x *ListImagesRequest) String() string
- type ListImagesResponse
- func (*ListImagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesResponse) GetImages() []*Image
- func (*ListImagesResponse) ProtoMessage()
- func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListImagesResponse) Reset()
- func (x *ListImagesResponse) String() string
- type ListMetricDescriptorsRequest
- func (*ListMetricDescriptorsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListMetricDescriptorsRequest) ProtoMessage()
- func (x *ListMetricDescriptorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMetricDescriptorsRequest) Reset()
- func (x *ListMetricDescriptorsRequest) String() string
- type ListMetricDescriptorsResponse
- func (*ListMetricDescriptorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricDescriptorsResponse) GetDescriptors() []*MetricDescriptor
- func (*ListMetricDescriptorsResponse) ProtoMessage()
- func (x *ListMetricDescriptorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMetricDescriptorsResponse) Reset()
- func (x *ListMetricDescriptorsResponse) String() string
- type ListPodSandboxMetricsRequest
- func (*ListPodSandboxMetricsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListPodSandboxMetricsRequest) ProtoMessage()
- func (x *ListPodSandboxMetricsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPodSandboxMetricsRequest) Reset()
- func (x *ListPodSandboxMetricsRequest) String() string
- type ListPodSandboxMetricsResponse
- func (*ListPodSandboxMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPodSandboxMetricsResponse) GetPodMetrics() []*PodSandboxMetrics
- func (*ListPodSandboxMetricsResponse) ProtoMessage()
- func (x *ListPodSandboxMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPodSandboxMetricsResponse) Reset()
- func (x *ListPodSandboxMetricsResponse) String() string
- type ListPodSandboxRequest
- func (*ListPodSandboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPodSandboxRequest) GetFilter() *PodSandboxFilter
- func (*ListPodSandboxRequest) ProtoMessage()
- func (x *ListPodSandboxRequest) ProtoReflect() protoreflect.Message
- func (x *ListPodSandboxRequest) Reset()
- func (x *ListPodSandboxRequest) String() string
- type ListPodSandboxResponse
- func (*ListPodSandboxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPodSandboxResponse) GetItems() []*PodSandbox
- func (*ListPodSandboxResponse) ProtoMessage()
- func (x *ListPodSandboxResponse) ProtoReflect() protoreflect.Message
- func (x *ListPodSandboxResponse) Reset()
- func (x *ListPodSandboxResponse) String() string
- type ListPodSandboxStatsRequest
- func (*ListPodSandboxStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPodSandboxStatsRequest) GetFilter() *PodSandboxStatsFilter
- func (*ListPodSandboxStatsRequest) ProtoMessage()
- func (x *ListPodSandboxStatsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPodSandboxStatsRequest) Reset()
- func (x *ListPodSandboxStatsRequest) String() string
- type ListPodSandboxStatsResponse
- func (*ListPodSandboxStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPodSandboxStatsResponse) GetStats() []*PodSandboxStats
- func (*ListPodSandboxStatsResponse) ProtoMessage()
- func (x *ListPodSandboxStatsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPodSandboxStatsResponse) Reset()
- func (x *ListPodSandboxStatsResponse) String() string
- type MemoryUsage
- func (*MemoryUsage) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryUsage) GetAvailableBytes() *UInt64Value
- func (x *MemoryUsage) GetMajorPageFaults() *UInt64Value
- func (x *MemoryUsage) GetPageFaults() *UInt64Value
- func (x *MemoryUsage) GetRssBytes() *UInt64Value
- func (x *MemoryUsage) GetTimestamp() int64
- func (x *MemoryUsage) GetUsageBytes() *UInt64Value
- func (x *MemoryUsage) GetWorkingSetBytes() *UInt64Value
- func (*MemoryUsage) ProtoMessage()
- func (x *MemoryUsage) ProtoReflect() protoreflect.Message
- func (x *MemoryUsage) Reset()
- func (x *MemoryUsage) String() string
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetLabelValues() []string
- func (x *Metric) GetMetricType() MetricType
- func (x *Metric) GetName() string
- func (x *Metric) GetTimestamp() int64
- func (x *Metric) GetValue() *UInt64Value
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type MetricDescriptor
- func (*MetricDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *MetricDescriptor) GetHelp() string
- func (x *MetricDescriptor) GetLabelKeys() []string
- func (x *MetricDescriptor) GetName() string
- func (*MetricDescriptor) ProtoMessage()
- func (x *MetricDescriptor) ProtoReflect() protoreflect.Message
- func (x *MetricDescriptor) Reset()
- func (x *MetricDescriptor) String() string
- type MetricType
- type Mount
- func (*Mount) Descriptor() ([]byte, []int)deprecated
- func (x *Mount) GetContainerPath() string
- func (x *Mount) GetGidMappings() []*IDMapping
- func (x *Mount) GetHostPath() string
- func (x *Mount) GetPropagation() MountPropagation
- func (x *Mount) GetReadonly() bool
- func (x *Mount) GetSelinuxRelabel() bool
- func (x *Mount) GetUidMappings() []*IDMapping
- func (*Mount) ProtoMessage()
- func (x *Mount) ProtoReflect() protoreflect.Message
- func (x *Mount) Reset()
- func (x *Mount) String() string
- type MountPropagation
- func (MountPropagation) Descriptor() protoreflect.EnumDescriptor
- func (x MountPropagation) Enum() *MountPropagation
- func (MountPropagation) EnumDescriptor() ([]byte, []int)deprecated
- func (x MountPropagation) Number() protoreflect.EnumNumber
- func (x MountPropagation) String() string
- func (MountPropagation) Type() protoreflect.EnumType
- type Namespace
- type NamespaceMode
- func (NamespaceMode) Descriptor() protoreflect.EnumDescriptor
- func (x NamespaceMode) Enum() *NamespaceMode
- func (NamespaceMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x NamespaceMode) Number() protoreflect.EnumNumber
- func (x NamespaceMode) String() string
- func (NamespaceMode) Type() protoreflect.EnumType
- type NamespaceOption
- func (*NamespaceOption) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceOption) GetIpc() NamespaceMode
- func (x *NamespaceOption) GetNetwork() NamespaceMode
- func (x *NamespaceOption) GetPid() NamespaceMode
- func (x *NamespaceOption) GetTargetId() string
- func (x *NamespaceOption) GetUsernsOptions() *UserNamespace
- func (*NamespaceOption) ProtoMessage()
- func (x *NamespaceOption) ProtoReflect() protoreflect.Message
- func (x *NamespaceOption) Reset()
- func (x *NamespaceOption) String() string
- type NetworkConfig
- type NetworkInterfaceUsage
- func (*NetworkInterfaceUsage) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInterfaceUsage) GetName() string
- func (x *NetworkInterfaceUsage) GetRxBytes() *UInt64Value
- func (x *NetworkInterfaceUsage) GetRxErrors() *UInt64Value
- func (x *NetworkInterfaceUsage) GetTxBytes() *UInt64Value
- func (x *NetworkInterfaceUsage) GetTxErrors() *UInt64Value
- func (*NetworkInterfaceUsage) ProtoMessage()
- func (x *NetworkInterfaceUsage) ProtoReflect() protoreflect.Message
- func (x *NetworkInterfaceUsage) Reset()
- func (x *NetworkInterfaceUsage) String() string
- type NetworkUsage
- func (*NetworkUsage) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkUsage) GetDefaultInterface() *NetworkInterfaceUsage
- func (x *NetworkUsage) GetInterfaces() []*NetworkInterfaceUsage
- func (x *NetworkUsage) GetTimestamp() int64
- func (*NetworkUsage) ProtoMessage()
- func (x *NetworkUsage) ProtoReflect() protoreflect.Message
- func (x *NetworkUsage) Reset()
- func (x *NetworkUsage) String() string
- type PodIP
- type PodSandbox
- func (*PodSandbox) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandbox) GetAnnotations() map[string]string
- func (x *PodSandbox) GetCreatedAt() int64
- func (x *PodSandbox) GetId() string
- func (x *PodSandbox) GetLabels() map[string]string
- func (x *PodSandbox) GetMetadata() *PodSandboxMetadata
- func (x *PodSandbox) GetRuntimeHandler() string
- func (x *PodSandbox) GetState() PodSandboxState
- func (*PodSandbox) ProtoMessage()
- func (x *PodSandbox) ProtoReflect() protoreflect.Message
- func (x *PodSandbox) Reset()
- func (x *PodSandbox) String() string
- type PodSandboxAttributes
- func (*PodSandboxAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxAttributes) GetAnnotations() map[string]string
- func (x *PodSandboxAttributes) GetId() string
- func (x *PodSandboxAttributes) GetLabels() map[string]string
- func (x *PodSandboxAttributes) GetMetadata() *PodSandboxMetadata
- func (*PodSandboxAttributes) ProtoMessage()
- func (x *PodSandboxAttributes) ProtoReflect() protoreflect.Message
- func (x *PodSandboxAttributes) Reset()
- func (x *PodSandboxAttributes) String() string
- type PodSandboxConfig
- func (*PodSandboxConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxConfig) GetAnnotations() map[string]string
- func (x *PodSandboxConfig) GetDnsConfig() *DNSConfig
- func (x *PodSandboxConfig) GetHostname() string
- func (x *PodSandboxConfig) GetLabels() map[string]string
- func (x *PodSandboxConfig) GetLinux() *LinuxPodSandboxConfig
- func (x *PodSandboxConfig) GetLogDirectory() string
- func (x *PodSandboxConfig) GetMetadata() *PodSandboxMetadata
- func (x *PodSandboxConfig) GetPortMappings() []*PortMapping
- func (x *PodSandboxConfig) GetWindows() *WindowsPodSandboxConfig
- func (*PodSandboxConfig) ProtoMessage()
- func (x *PodSandboxConfig) ProtoReflect() protoreflect.Message
- func (x *PodSandboxConfig) Reset()
- func (x *PodSandboxConfig) String() string
- type PodSandboxFilter
- func (*PodSandboxFilter) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxFilter) GetId() string
- func (x *PodSandboxFilter) GetLabelSelector() map[string]string
- func (x *PodSandboxFilter) GetState() *PodSandboxStateValue
- func (*PodSandboxFilter) ProtoMessage()
- func (x *PodSandboxFilter) ProtoReflect() protoreflect.Message
- func (x *PodSandboxFilter) Reset()
- func (x *PodSandboxFilter) String() string
- type PodSandboxMetadata
- func (*PodSandboxMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxMetadata) GetAttempt() uint32
- func (x *PodSandboxMetadata) GetName() string
- func (x *PodSandboxMetadata) GetNamespace() string
- func (x *PodSandboxMetadata) GetUid() string
- func (*PodSandboxMetadata) ProtoMessage()
- func (x *PodSandboxMetadata) ProtoReflect() protoreflect.Message
- func (x *PodSandboxMetadata) Reset()
- func (x *PodSandboxMetadata) String() string
- type PodSandboxMetrics
- func (*PodSandboxMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxMetrics) GetContainerMetrics() []*ContainerMetrics
- func (x *PodSandboxMetrics) GetMetrics() []*Metric
- func (x *PodSandboxMetrics) GetPodSandboxId() string
- func (*PodSandboxMetrics) ProtoMessage()
- func (x *PodSandboxMetrics) ProtoReflect() protoreflect.Message
- func (x *PodSandboxMetrics) Reset()
- func (x *PodSandboxMetrics) String() string
- type PodSandboxNetworkStatus
- func (*PodSandboxNetworkStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxNetworkStatus) GetAdditionalIps() []*PodIP
- func (x *PodSandboxNetworkStatus) GetIp() string
- func (*PodSandboxNetworkStatus) ProtoMessage()
- func (x *PodSandboxNetworkStatus) ProtoReflect() protoreflect.Message
- func (x *PodSandboxNetworkStatus) Reset()
- func (x *PodSandboxNetworkStatus) String() string
- type PodSandboxState
- func (PodSandboxState) Descriptor() protoreflect.EnumDescriptor
- func (x PodSandboxState) Enum() *PodSandboxState
- func (PodSandboxState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PodSandboxState) Number() protoreflect.EnumNumber
- func (x PodSandboxState) String() string
- func (PodSandboxState) Type() protoreflect.EnumType
- type PodSandboxStateValue
- func (*PodSandboxStateValue) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxStateValue) GetState() PodSandboxState
- func (*PodSandboxStateValue) ProtoMessage()
- func (x *PodSandboxStateValue) ProtoReflect() protoreflect.Message
- func (x *PodSandboxStateValue) Reset()
- func (x *PodSandboxStateValue) String() string
- type PodSandboxStats
- func (*PodSandboxStats) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxStats) GetAttributes() *PodSandboxAttributes
- func (x *PodSandboxStats) GetLinux() *LinuxPodSandboxStats
- func (x *PodSandboxStats) GetWindows() *WindowsPodSandboxStats
- func (*PodSandboxStats) ProtoMessage()
- func (x *PodSandboxStats) ProtoReflect() protoreflect.Message
- func (x *PodSandboxStats) Reset()
- func (x *PodSandboxStats) String() string
- type PodSandboxStatsFilter
- func (*PodSandboxStatsFilter) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxStatsFilter) GetId() string
- func (x *PodSandboxStatsFilter) GetLabelSelector() map[string]string
- func (*PodSandboxStatsFilter) ProtoMessage()
- func (x *PodSandboxStatsFilter) ProtoReflect() protoreflect.Message
- func (x *PodSandboxStatsFilter) Reset()
- func (x *PodSandboxStatsFilter) String() string
- type PodSandboxStatsRequest
- func (*PodSandboxStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxStatsRequest) GetPodSandboxId() string
- func (*PodSandboxStatsRequest) ProtoMessage()
- func (x *PodSandboxStatsRequest) ProtoReflect() protoreflect.Message
- func (x *PodSandboxStatsRequest) Reset()
- func (x *PodSandboxStatsRequest) String() string
- type PodSandboxStatsResponse
- func (*PodSandboxStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxStatsResponse) GetStats() *PodSandboxStats
- func (*PodSandboxStatsResponse) ProtoMessage()
- func (x *PodSandboxStatsResponse) ProtoReflect() protoreflect.Message
- func (x *PodSandboxStatsResponse) Reset()
- func (x *PodSandboxStatsResponse) String() string
- type PodSandboxStatus
- func (*PodSandboxStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxStatus) GetAnnotations() map[string]string
- func (x *PodSandboxStatus) GetCreatedAt() int64
- func (x *PodSandboxStatus) GetId() string
- func (x *PodSandboxStatus) GetLabels() map[string]string
- func (x *PodSandboxStatus) GetLinux() *LinuxPodSandboxStatus
- func (x *PodSandboxStatus) GetMetadata() *PodSandboxMetadata
- func (x *PodSandboxStatus) GetNetwork() *PodSandboxNetworkStatus
- func (x *PodSandboxStatus) GetRuntimeHandler() string
- func (x *PodSandboxStatus) GetState() PodSandboxState
- func (*PodSandboxStatus) ProtoMessage()
- func (x *PodSandboxStatus) ProtoReflect() protoreflect.Message
- func (x *PodSandboxStatus) Reset()
- func (x *PodSandboxStatus) String() string
- type PodSandboxStatusRequest
- func (*PodSandboxStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxStatusRequest) GetPodSandboxId() string
- func (x *PodSandboxStatusRequest) GetVerbose() bool
- func (*PodSandboxStatusRequest) ProtoMessage()
- func (x *PodSandboxStatusRequest) ProtoReflect() protoreflect.Message
- func (x *PodSandboxStatusRequest) Reset()
- func (x *PodSandboxStatusRequest) String() string
- type PodSandboxStatusResponse
- func (*PodSandboxStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PodSandboxStatusResponse) GetContainersStatuses() []*ContainerStatus
- func (x *PodSandboxStatusResponse) GetInfo() map[string]string
- func (x *PodSandboxStatusResponse) GetStatus() *PodSandboxStatus
- func (x *PodSandboxStatusResponse) GetTimestamp() int64
- func (*PodSandboxStatusResponse) ProtoMessage()
- func (x *PodSandboxStatusResponse) ProtoReflect() protoreflect.Message
- func (x *PodSandboxStatusResponse) Reset()
- func (x *PodSandboxStatusResponse) String() string
- type PortForwardRequest
- func (*PortForwardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardRequest) GetPodSandboxId() string
- func (x *PortForwardRequest) GetPort() []int32
- func (*PortForwardRequest) ProtoMessage()
- func (x *PortForwardRequest) ProtoReflect() protoreflect.Message
- func (x *PortForwardRequest) Reset()
- func (x *PortForwardRequest) String() string
- type PortForwardResponse
- func (*PortForwardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardResponse) GetUrl() string
- func (*PortForwardResponse) ProtoMessage()
- func (x *PortForwardResponse) ProtoReflect() protoreflect.Message
- func (x *PortForwardResponse) Reset()
- func (x *PortForwardResponse) String() string
- type PortMapping
- func (*PortMapping) Descriptor() ([]byte, []int)deprecated
- func (x *PortMapping) GetContainerPort() int32
- func (x *PortMapping) GetHostIp() string
- func (x *PortMapping) GetHostPort() int32
- func (x *PortMapping) GetProtocol() Protocol
- func (*PortMapping) ProtoMessage()
- func (x *PortMapping) ProtoReflect() protoreflect.Message
- func (x *PortMapping) Reset()
- func (x *PortMapping) String() string
- type ProcessUsage
- func (*ProcessUsage) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessUsage) GetProcessCount() *UInt64Value
- func (x *ProcessUsage) GetTimestamp() int64
- func (*ProcessUsage) ProtoMessage()
- func (x *ProcessUsage) ProtoReflect() protoreflect.Message
- func (x *ProcessUsage) Reset()
- func (x *ProcessUsage) String() string
- type Protocol
- type PullImageRequest
- func (*PullImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullImageRequest) GetAuth() *AuthConfig
- func (x *PullImageRequest) GetImage() *ImageSpec
- func (x *PullImageRequest) GetSandboxConfig() *PodSandboxConfig
- func (*PullImageRequest) ProtoMessage()
- func (x *PullImageRequest) ProtoReflect() protoreflect.Message
- func (x *PullImageRequest) Reset()
- func (x *PullImageRequest) String() string
- type PullImageResponse
- type RemoveContainerRequest
- func (*RemoveContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveContainerRequest) GetContainerId() string
- func (*RemoveContainerRequest) ProtoMessage()
- func (x *RemoveContainerRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveContainerRequest) Reset()
- func (x *RemoveContainerRequest) String() string
- type RemoveContainerResponse
- type RemoveImageRequest
- func (*RemoveImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveImageRequest) GetImage() *ImageSpec
- func (*RemoveImageRequest) ProtoMessage()
- func (x *RemoveImageRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveImageRequest) Reset()
- func (x *RemoveImageRequest) String() string
- type RemoveImageResponse
- type RemovePodSandboxRequest
- func (*RemovePodSandboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePodSandboxRequest) GetPodSandboxId() string
- func (*RemovePodSandboxRequest) ProtoMessage()
- func (x *RemovePodSandboxRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePodSandboxRequest) Reset()
- func (x *RemovePodSandboxRequest) String() string
- type RemovePodSandboxResponse
- type ReopenContainerLogRequest
- func (*ReopenContainerLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReopenContainerLogRequest) GetContainerId() string
- func (*ReopenContainerLogRequest) ProtoMessage()
- func (x *ReopenContainerLogRequest) ProtoReflect() protoreflect.Message
- func (x *ReopenContainerLogRequest) Reset()
- func (x *ReopenContainerLogRequest) String() string
- type ReopenContainerLogResponse
- type RunPodSandboxRequest
- func (*RunPodSandboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunPodSandboxRequest) GetConfig() *PodSandboxConfig
- func (x *RunPodSandboxRequest) GetRuntimeHandler() string
- func (*RunPodSandboxRequest) ProtoMessage()
- func (x *RunPodSandboxRequest) ProtoReflect() protoreflect.Message
- func (x *RunPodSandboxRequest) Reset()
- func (x *RunPodSandboxRequest) String() string
- type RunPodSandboxResponse
- func (*RunPodSandboxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunPodSandboxResponse) GetPodSandboxId() string
- func (*RunPodSandboxResponse) ProtoMessage()
- func (x *RunPodSandboxResponse) ProtoReflect() protoreflect.Message
- func (x *RunPodSandboxResponse) Reset()
- func (x *RunPodSandboxResponse) String() string
- type RuntimeCondition
- func (*RuntimeCondition) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeCondition) GetMessage() string
- func (x *RuntimeCondition) GetReason() string
- func (x *RuntimeCondition) GetStatus() bool
- func (x *RuntimeCondition) GetType() string
- func (*RuntimeCondition) ProtoMessage()
- func (x *RuntimeCondition) ProtoReflect() protoreflect.Message
- func (x *RuntimeCondition) Reset()
- func (x *RuntimeCondition) String() string
- type RuntimeConfig
- type RuntimeConfigRequest
- type RuntimeConfigResponse
- func (*RuntimeConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeConfigResponse) GetLinux() *LinuxRuntimeConfiguration
- func (*RuntimeConfigResponse) ProtoMessage()
- func (x *RuntimeConfigResponse) ProtoReflect() protoreflect.Message
- func (x *RuntimeConfigResponse) Reset()
- func (x *RuntimeConfigResponse) String() string
- type RuntimeStatus
- type SELinuxOption
- func (*SELinuxOption) Descriptor() ([]byte, []int)deprecated
- func (x *SELinuxOption) GetLevel() string
- func (x *SELinuxOption) GetRole() string
- func (x *SELinuxOption) GetType() string
- func (x *SELinuxOption) GetUser() string
- func (*SELinuxOption) ProtoMessage()
- func (x *SELinuxOption) ProtoReflect() protoreflect.Message
- func (x *SELinuxOption) Reset()
- func (x *SELinuxOption) String() string
- type SecurityProfile
- func (*SecurityProfile) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityProfile) GetLocalhostRef() string
- func (x *SecurityProfile) GetProfileType() SecurityProfile_ProfileType
- func (*SecurityProfile) ProtoMessage()
- func (x *SecurityProfile) ProtoReflect() protoreflect.Message
- func (x *SecurityProfile) Reset()
- func (x *SecurityProfile) String() string
- type SecurityProfile_ProfileType
- func (SecurityProfile_ProfileType) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityProfile_ProfileType) Enum() *SecurityProfile_ProfileType
- func (SecurityProfile_ProfileType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityProfile_ProfileType) Number() protoreflect.EnumNumber
- func (x SecurityProfile_ProfileType) String() string
- func (SecurityProfile_ProfileType) Type() protoreflect.EnumType
- type StartContainerRequest
- func (*StartContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartContainerRequest) GetContainerId() string
- func (*StartContainerRequest) ProtoMessage()
- func (x *StartContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StartContainerRequest) Reset()
- func (x *StartContainerRequest) String() string
- type StartContainerResponse
- type StatusRequest
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetInfo() map[string]string
- func (x *StatusResponse) GetStatus() *RuntimeStatus
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type StopContainerRequest
- func (*StopContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopContainerRequest) GetContainerId() string
- func (x *StopContainerRequest) GetTimeout() int64
- func (*StopContainerRequest) ProtoMessage()
- func (x *StopContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StopContainerRequest) Reset()
- func (x *StopContainerRequest) String() string
- type StopContainerResponse
- type StopPodSandboxRequest
- func (*StopPodSandboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopPodSandboxRequest) GetPodSandboxId() string
- func (*StopPodSandboxRequest) ProtoMessage()
- func (x *StopPodSandboxRequest) ProtoReflect() protoreflect.Message
- func (x *StopPodSandboxRequest) Reset()
- func (x *StopPodSandboxRequest) String() string
- type StopPodSandboxResponse
- type SwapUsage
- func (*SwapUsage) Descriptor() ([]byte, []int)deprecated
- func (x *SwapUsage) GetSwapAvailableBytes() *UInt64Value
- func (x *SwapUsage) GetSwapUsageBytes() *UInt64Value
- func (x *SwapUsage) GetTimestamp() int64
- func (*SwapUsage) ProtoMessage()
- func (x *SwapUsage) ProtoReflect() protoreflect.Message
- func (x *SwapUsage) Reset()
- func (x *SwapUsage) String() string
- type UInt64Value
- type UpdateContainerResourcesRequest
- func (*UpdateContainerResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContainerResourcesRequest) GetAnnotations() map[string]string
- func (x *UpdateContainerResourcesRequest) GetContainerId() string
- func (x *UpdateContainerResourcesRequest) GetLinux() *LinuxContainerResources
- func (x *UpdateContainerResourcesRequest) GetWindows() *WindowsContainerResources
- func (*UpdateContainerResourcesRequest) ProtoMessage()
- func (x *UpdateContainerResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateContainerResourcesRequest) Reset()
- func (x *UpdateContainerResourcesRequest) String() string
- type UpdateContainerResourcesResponse
- func (*UpdateContainerResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateContainerResourcesResponse) ProtoMessage()
- func (x *UpdateContainerResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateContainerResourcesResponse) Reset()
- func (x *UpdateContainerResourcesResponse) String() string
- type UpdateRuntimeConfigRequest
- func (*UpdateRuntimeConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuntimeConfigRequest) GetRuntimeConfig() *RuntimeConfig
- func (*UpdateRuntimeConfigRequest) ProtoMessage()
- func (x *UpdateRuntimeConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRuntimeConfigRequest) Reset()
- func (x *UpdateRuntimeConfigRequest) String() string
- type UpdateRuntimeConfigResponse
- type UserNamespace
- func (*UserNamespace) Descriptor() ([]byte, []int)deprecated
- func (x *UserNamespace) GetGids() []*IDMapping
- func (x *UserNamespace) GetMode() NamespaceMode
- func (x *UserNamespace) GetUids() []*IDMapping
- func (*UserNamespace) ProtoMessage()
- func (x *UserNamespace) ProtoReflect() protoreflect.Message
- func (x *UserNamespace) Reset()
- func (x *UserNamespace) String() string
- type VersionRequest
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResponse) GetRuntimeApiVersion() string
- func (x *VersionResponse) GetRuntimeName() string
- func (x *VersionResponse) GetRuntimeVersion() string
- func (x *VersionResponse) GetVersion() string
- func (*VersionResponse) ProtoMessage()
- func (x *VersionResponse) ProtoReflect() protoreflect.Message
- func (x *VersionResponse) Reset()
- func (x *VersionResponse) String() string
- type WindowsContainerConfig
- func (*WindowsContainerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsContainerConfig) GetResources() *WindowsContainerResources
- func (x *WindowsContainerConfig) GetSecurityContext() *WindowsContainerSecurityContext
- func (*WindowsContainerConfig) ProtoMessage()
- func (x *WindowsContainerConfig) ProtoReflect() protoreflect.Message
- func (x *WindowsContainerConfig) Reset()
- func (x *WindowsContainerConfig) String() string
- type WindowsContainerResources
- func (*WindowsContainerResources) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsContainerResources) GetCpuCount() int64
- func (x *WindowsContainerResources) GetCpuMaximum() int64
- func (x *WindowsContainerResources) GetCpuShares() int64
- func (x *WindowsContainerResources) GetMemoryLimitInBytes() int64
- func (x *WindowsContainerResources) GetRootfsSizeInBytes() int64
- func (*WindowsContainerResources) ProtoMessage()
- func (x *WindowsContainerResources) ProtoReflect() protoreflect.Message
- func (x *WindowsContainerResources) Reset()
- func (x *WindowsContainerResources) String() string
- type WindowsContainerSecurityContext
- func (*WindowsContainerSecurityContext) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsContainerSecurityContext) GetCredentialSpec() string
- func (x *WindowsContainerSecurityContext) GetHostProcess() bool
- func (x *WindowsContainerSecurityContext) GetRunAsUsername() string
- func (*WindowsContainerSecurityContext) ProtoMessage()
- func (x *WindowsContainerSecurityContext) ProtoReflect() protoreflect.Message
- func (x *WindowsContainerSecurityContext) Reset()
- func (x *WindowsContainerSecurityContext) String() string
- type WindowsContainerStats
- func (*WindowsContainerStats) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsContainerStats) GetAttributes() *ContainerAttributes
- func (x *WindowsContainerStats) GetCpu() *WindowsCpuUsage
- func (x *WindowsContainerStats) GetMemory() *WindowsMemoryUsage
- func (x *WindowsContainerStats) GetWritableLayer() *WindowsFilesystemUsage
- func (*WindowsContainerStats) ProtoMessage()
- func (x *WindowsContainerStats) ProtoReflect() protoreflect.Message
- func (x *WindowsContainerStats) Reset()
- func (x *WindowsContainerStats) String() string
- type WindowsCpuUsage
- func (*WindowsCpuUsage) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsCpuUsage) GetTimestamp() int64
- func (x *WindowsCpuUsage) GetUsageCoreNanoSeconds() *UInt64Value
- func (x *WindowsCpuUsage) GetUsageNanoCores() *UInt64Value
- func (*WindowsCpuUsage) ProtoMessage()
- func (x *WindowsCpuUsage) ProtoReflect() protoreflect.Message
- func (x *WindowsCpuUsage) Reset()
- func (x *WindowsCpuUsage) String() string
- type WindowsFilesystemUsage
- func (*WindowsFilesystemUsage) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsFilesystemUsage) GetFsId() *FilesystemIdentifier
- func (x *WindowsFilesystemUsage) GetTimestamp() int64
- func (x *WindowsFilesystemUsage) GetUsedBytes() *UInt64Value
- func (*WindowsFilesystemUsage) ProtoMessage()
- func (x *WindowsFilesystemUsage) ProtoReflect() protoreflect.Message
- func (x *WindowsFilesystemUsage) Reset()
- func (x *WindowsFilesystemUsage) String() string
- type WindowsMemoryUsage
- func (*WindowsMemoryUsage) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsMemoryUsage) GetAvailableBytes() *UInt64Value
- func (x *WindowsMemoryUsage) GetCommitMemoryBytes() *UInt64Value
- func (x *WindowsMemoryUsage) GetPageFaults() *UInt64Value
- func (x *WindowsMemoryUsage) GetTimestamp() int64
- func (x *WindowsMemoryUsage) GetWorkingSetBytes() *UInt64Value
- func (*WindowsMemoryUsage) ProtoMessage()
- func (x *WindowsMemoryUsage) ProtoReflect() protoreflect.Message
- func (x *WindowsMemoryUsage) Reset()
- func (x *WindowsMemoryUsage) String() string
- type WindowsNamespaceOption
- func (*WindowsNamespaceOption) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsNamespaceOption) GetNetwork() NamespaceMode
- func (*WindowsNamespaceOption) ProtoMessage()
- func (x *WindowsNamespaceOption) ProtoReflect() protoreflect.Message
- func (x *WindowsNamespaceOption) Reset()
- func (x *WindowsNamespaceOption) String() string
- type WindowsNetworkInterfaceUsage
- func (*WindowsNetworkInterfaceUsage) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsNetworkInterfaceUsage) GetName() string
- func (x *WindowsNetworkInterfaceUsage) GetRxBytes() *UInt64Value
- func (x *WindowsNetworkInterfaceUsage) GetRxPacketsDropped() *UInt64Value
- func (x *WindowsNetworkInterfaceUsage) GetTxBytes() *UInt64Value
- func (x *WindowsNetworkInterfaceUsage) GetTxPacketsDropped() *UInt64Value
- func (*WindowsNetworkInterfaceUsage) ProtoMessage()
- func (x *WindowsNetworkInterfaceUsage) ProtoReflect() protoreflect.Message
- func (x *WindowsNetworkInterfaceUsage) Reset()
- func (x *WindowsNetworkInterfaceUsage) String() string
- type WindowsNetworkUsage
- func (*WindowsNetworkUsage) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsNetworkUsage) GetDefaultInterface() *WindowsNetworkInterfaceUsage
- func (x *WindowsNetworkUsage) GetInterfaces() []*WindowsNetworkInterfaceUsage
- func (x *WindowsNetworkUsage) GetTimestamp() int64
- func (*WindowsNetworkUsage) ProtoMessage()
- func (x *WindowsNetworkUsage) ProtoReflect() protoreflect.Message
- func (x *WindowsNetworkUsage) Reset()
- func (x *WindowsNetworkUsage) String() string
- type WindowsPodSandboxConfig
- func (*WindowsPodSandboxConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsPodSandboxConfig) GetSecurityContext() *WindowsSandboxSecurityContext
- func (*WindowsPodSandboxConfig) ProtoMessage()
- func (x *WindowsPodSandboxConfig) ProtoReflect() protoreflect.Message
- func (x *WindowsPodSandboxConfig) Reset()
- func (x *WindowsPodSandboxConfig) String() string
- type WindowsPodSandboxStats
- func (*WindowsPodSandboxStats) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsPodSandboxStats) GetContainers() []*WindowsContainerStats
- func (x *WindowsPodSandboxStats) GetCpu() *WindowsCpuUsage
- func (x *WindowsPodSandboxStats) GetMemory() *WindowsMemoryUsage
- func (x *WindowsPodSandboxStats) GetNetwork() *WindowsNetworkUsage
- func (x *WindowsPodSandboxStats) GetProcess() *WindowsProcessUsage
- func (*WindowsPodSandboxStats) ProtoMessage()
- func (x *WindowsPodSandboxStats) ProtoReflect() protoreflect.Message
- func (x *WindowsPodSandboxStats) Reset()
- func (x *WindowsPodSandboxStats) String() string
- type WindowsProcessUsage
- func (*WindowsProcessUsage) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsProcessUsage) GetProcessCount() *UInt64Value
- func (x *WindowsProcessUsage) GetTimestamp() int64
- func (*WindowsProcessUsage) ProtoMessage()
- func (x *WindowsProcessUsage) ProtoReflect() protoreflect.Message
- func (x *WindowsProcessUsage) Reset()
- func (x *WindowsProcessUsage) String() string
- type WindowsSandboxSecurityContext
- func (*WindowsSandboxSecurityContext) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsSandboxSecurityContext) GetCredentialSpec() string
- func (x *WindowsSandboxSecurityContext) GetHostProcess() bool
- func (x *WindowsSandboxSecurityContext) GetNamespaceOptions() *WindowsNamespaceOption
- func (x *WindowsSandboxSecurityContext) GetRunAsUsername() string
- func (*WindowsSandboxSecurityContext) ProtoMessage()
- func (x *WindowsSandboxSecurityContext) ProtoReflect() protoreflect.Message
- func (x *WindowsSandboxSecurityContext) Reset()
- func (x *WindowsSandboxSecurityContext) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Protocol_name = map[int32]string{ 0: "TCP", 1: "UDP", 2: "SCTP", } Protocol_value = map[string]int32{ "TCP": 0, "UDP": 1, "SCTP": 2, } )
Enum value maps for Protocol.
var ( MountPropagation_name = map[int32]string{ 0: "PROPAGATION_PRIVATE", 1: "PROPAGATION_HOST_TO_CONTAINER", 2: "PROPAGATION_BIDIRECTIONAL", } MountPropagation_value = map[string]int32{ "PROPAGATION_PRIVATE": 0, "PROPAGATION_HOST_TO_CONTAINER": 1, "PROPAGATION_BIDIRECTIONAL": 2, } )
Enum value maps for MountPropagation.
var ( NamespaceMode_name = map[int32]string{ 0: "POD", 1: "CONTAINER", 2: "NODE", 3: "TARGET", } NamespaceMode_value = map[string]int32{ "POD": 0, "CONTAINER": 1, "NODE": 2, "TARGET": 3, } )
Enum value maps for NamespaceMode.
var ( PodSandboxState_name = map[int32]string{ 0: "SANDBOX_READY", 1: "SANDBOX_NOTREADY", } PodSandboxState_value = map[string]int32{ "SANDBOX_READY": 0, "SANDBOX_NOTREADY": 1, } )
Enum value maps for PodSandboxState.
var ( ContainerState_name = map[int32]string{ 0: "CONTAINER_CREATED", 1: "CONTAINER_RUNNING", 2: "CONTAINER_EXITED", 3: "CONTAINER_UNKNOWN", } ContainerState_value = map[string]int32{ "CONTAINER_CREATED": 0, "CONTAINER_RUNNING": 1, "CONTAINER_EXITED": 2, "CONTAINER_UNKNOWN": 3, } )
Enum value maps for ContainerState.
var ( ContainerEventType_name = map[int32]string{ 0: "CONTAINER_CREATED_EVENT", 1: "CONTAINER_STARTED_EVENT", 2: "CONTAINER_STOPPED_EVENT", 3: "CONTAINER_DELETED_EVENT", } ContainerEventType_value = map[string]int32{ "CONTAINER_CREATED_EVENT": 0, "CONTAINER_STARTED_EVENT": 1, "CONTAINER_STOPPED_EVENT": 2, "CONTAINER_DELETED_EVENT": 3, } )
Enum value maps for ContainerEventType.
var ( MetricType_name = map[int32]string{ 0: "COUNTER", 1: "GAUGE", } MetricType_value = map[string]int32{ "COUNTER": 0, "GAUGE": 1, } )
Enum value maps for MetricType.
var ( CgroupDriver_name = map[int32]string{ 0: "SYSTEMD", 1: "CGROUPFS", } CgroupDriver_value = map[string]int32{ "SYSTEMD": 0, "CGROUPFS": 1, } )
Enum value maps for CgroupDriver.
var ( SecurityProfile_ProfileType_name = map[int32]string{ 0: "RuntimeDefault", 1: "Unconfined", 2: "Localhost", } SecurityProfile_ProfileType_value = map[string]int32{ "RuntimeDefault": 0, "Unconfined": 1, "Localhost": 2, } )
Enum value maps for SecurityProfile_ProfileType.
var File_pkg_apis_runtime_v1_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AttachRequest ¶
type AttachRequest struct { // ID of the container to which to attach. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Whether to stream stdin. // One of `stdin`, `stdout`, and `stderr` MUST be true. Stdin bool `protobuf:"varint,2,opt,name=stdin,proto3" json:"stdin,omitempty"` // Whether the process being attached is running in a TTY. // This must match the TTY setting in the ContainerConfig. Tty bool `protobuf:"varint,3,opt,name=tty,proto3" json:"tty,omitempty"` // Whether to stream stdout. // One of `stdin`, `stdout`, and `stderr` MUST be true. Stdout bool `protobuf:"varint,4,opt,name=stdout,proto3" json:"stdout,omitempty"` // Whether to stream stderr. // One of `stdin`, `stdout`, and `stderr` MUST be true. // If `tty` is true, `stderr` MUST be false. Multiplexing is not supported // in this case. The output of stdout and stderr will be combined to a // single stream. Stderr bool `protobuf:"varint,5,opt,name=stderr,proto3" json:"stderr,omitempty"` // contains filtered or unexported fields }
func (*AttachRequest) Descriptor
deprecated
func (*AttachRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachRequest.ProtoReflect.Descriptor instead.
func (*AttachRequest) GetContainerId ¶
func (x *AttachRequest) GetContainerId() string
func (*AttachRequest) GetStderr ¶
func (x *AttachRequest) GetStderr() bool
func (*AttachRequest) GetStdin ¶
func (x *AttachRequest) GetStdin() bool
func (*AttachRequest) GetStdout ¶
func (x *AttachRequest) GetStdout() bool
func (*AttachRequest) GetTty ¶
func (x *AttachRequest) GetTty() bool
func (*AttachRequest) ProtoMessage ¶
func (*AttachRequest) ProtoMessage()
func (*AttachRequest) ProtoReflect ¶
func (x *AttachRequest) ProtoReflect() protoreflect.Message
func (*AttachRequest) Reset ¶
func (x *AttachRequest) Reset()
func (*AttachRequest) String ¶
func (x *AttachRequest) String() string
type AttachResponse ¶
type AttachResponse struct { // Fully qualified URL of the attach streaming server. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*AttachResponse) Descriptor
deprecated
func (*AttachResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachResponse.ProtoReflect.Descriptor instead.
func (*AttachResponse) GetUrl ¶
func (x *AttachResponse) GetUrl() string
func (*AttachResponse) ProtoMessage ¶
func (*AttachResponse) ProtoMessage()
func (*AttachResponse) ProtoReflect ¶
func (x *AttachResponse) ProtoReflect() protoreflect.Message
func (*AttachResponse) Reset ¶
func (x *AttachResponse) Reset()
func (*AttachResponse) String ¶
func (x *AttachResponse) String() string
type AuthConfig ¶
type AuthConfig struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Auth string `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` ServerAddress string `protobuf:"bytes,4,opt,name=server_address,json=serverAddress,proto3" json:"server_address,omitempty"` // IdentityToken is used to authenticate the user and get // an access token for the registry. IdentityToken string `protobuf:"bytes,5,opt,name=identity_token,json=identityToken,proto3" json:"identity_token,omitempty"` // RegistryToken is a bearer token to be sent to a registry RegistryToken string `protobuf:"bytes,6,opt,name=registry_token,json=registryToken,proto3" json:"registry_token,omitempty"` // contains filtered or unexported fields }
AuthConfig contains authorization information for connecting to a registry.
func (*AuthConfig) Descriptor
deprecated
func (*AuthConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthConfig.ProtoReflect.Descriptor instead.
func (*AuthConfig) GetAuth ¶
func (x *AuthConfig) GetAuth() string
func (*AuthConfig) GetIdentityToken ¶
func (x *AuthConfig) GetIdentityToken() string
func (*AuthConfig) GetPassword ¶
func (x *AuthConfig) GetPassword() string
func (*AuthConfig) GetRegistryToken ¶
func (x *AuthConfig) GetRegistryToken() string
func (*AuthConfig) GetServerAddress ¶
func (x *AuthConfig) GetServerAddress() string
func (*AuthConfig) GetUsername ¶
func (x *AuthConfig) GetUsername() string
func (*AuthConfig) ProtoMessage ¶
func (*AuthConfig) ProtoMessage()
func (*AuthConfig) ProtoReflect ¶
func (x *AuthConfig) ProtoReflect() protoreflect.Message
func (*AuthConfig) Reset ¶
func (x *AuthConfig) Reset()
func (*AuthConfig) String ¶
func (x *AuthConfig) String() string
type CDIDevice ¶
type CDIDevice struct { // Fully qualified CDI device name // for example: vendor.com/gpu=gpudevice1 // see more details in the CDI specification: // https://github.com/container-orchestrated-devices/container-device-interface/blob/main/SPEC.md Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
CDIDevice specifies a CDI device information.
func (*CDIDevice) ProtoReflect ¶
func (x *CDIDevice) ProtoReflect() protoreflect.Message
type Capability ¶
type Capability struct { // List of capabilities to add. AddCapabilities []string `protobuf:"bytes,1,rep,name=add_capabilities,json=addCapabilities,proto3" json:"add_capabilities,omitempty"` // List of capabilities to drop. DropCapabilities []string `protobuf:"bytes,2,rep,name=drop_capabilities,json=dropCapabilities,proto3" json:"drop_capabilities,omitempty"` // List of ambient capabilities to add. AddAmbientCapabilities []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Capability contains the container capabilities to add or drop Dropping a capability will drop it from all sets. If a capability is added to only the add_capabilities list then it gets added to permitted, inheritable, effective and bounding sets, i.e. all sets except the ambient set. If a capability is added to only the add_ambient_capabilities list then it gets added to all sets, i.e permitted inheritable, effective, bounding and ambient sets. If a capability is added to add_capabilities and add_ambient_capabilities lists then it gets added to all sets, i.e. permitted, inheritable, effective, bounding and ambient sets.
func (*Capability) Descriptor
deprecated
func (*Capability) Descriptor() ([]byte, []int)
Deprecated: Use Capability.ProtoReflect.Descriptor instead.
func (*Capability) GetAddAmbientCapabilities ¶
func (x *Capability) GetAddAmbientCapabilities() []string
func (*Capability) GetAddCapabilities ¶
func (x *Capability) GetAddCapabilities() []string
func (*Capability) GetDropCapabilities ¶
func (x *Capability) GetDropCapabilities() []string
func (*Capability) ProtoMessage ¶
func (*Capability) ProtoMessage()
func (*Capability) ProtoReflect ¶
func (x *Capability) ProtoReflect() protoreflect.Message
func (*Capability) Reset ¶
func (x *Capability) Reset()
func (*Capability) String ¶
func (x *Capability) String() string
type CgroupDriver ¶
type CgroupDriver int32
const ( CgroupDriver_SYSTEMD CgroupDriver = 0 CgroupDriver_CGROUPFS CgroupDriver = 1 )
func (CgroupDriver) Descriptor ¶
func (CgroupDriver) Descriptor() protoreflect.EnumDescriptor
func (CgroupDriver) Enum ¶
func (x CgroupDriver) Enum() *CgroupDriver
func (CgroupDriver) EnumDescriptor
deprecated
func (CgroupDriver) EnumDescriptor() ([]byte, []int)
Deprecated: Use CgroupDriver.Descriptor instead.
func (CgroupDriver) Number ¶
func (x CgroupDriver) Number() protoreflect.EnumNumber
func (CgroupDriver) String ¶
func (x CgroupDriver) String() string
func (CgroupDriver) Type ¶
func (CgroupDriver) Type() protoreflect.EnumType
type CheckpointContainerRequest ¶
type CheckpointContainerRequest struct { // ID of the container to be checkpointed. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Location of the checkpoint archive used for export Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // Timeout in seconds for the checkpoint to complete. // Timeout of zero means to use the CRI default. // Timeout > 0 means to use the user specified timeout. Timeout int64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*CheckpointContainerRequest) Descriptor
deprecated
func (*CheckpointContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointContainerRequest.ProtoReflect.Descriptor instead.
func (*CheckpointContainerRequest) GetContainerId ¶
func (x *CheckpointContainerRequest) GetContainerId() string
func (*CheckpointContainerRequest) GetLocation ¶
func (x *CheckpointContainerRequest) GetLocation() string
func (*CheckpointContainerRequest) GetTimeout ¶
func (x *CheckpointContainerRequest) GetTimeout() int64
func (*CheckpointContainerRequest) ProtoMessage ¶
func (*CheckpointContainerRequest) ProtoMessage()
func (*CheckpointContainerRequest) ProtoReflect ¶
func (x *CheckpointContainerRequest) ProtoReflect() protoreflect.Message
func (*CheckpointContainerRequest) Reset ¶
func (x *CheckpointContainerRequest) Reset()
func (*CheckpointContainerRequest) String ¶
func (x *CheckpointContainerRequest) String() string
type CheckpointContainerResponse ¶
type CheckpointContainerResponse struct {
// contains filtered or unexported fields
}
func (*CheckpointContainerResponse) Descriptor
deprecated
func (*CheckpointContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointContainerResponse.ProtoReflect.Descriptor instead.
func (*CheckpointContainerResponse) ProtoMessage ¶
func (*CheckpointContainerResponse) ProtoMessage()
func (*CheckpointContainerResponse) ProtoReflect ¶
func (x *CheckpointContainerResponse) ProtoReflect() protoreflect.Message
func (*CheckpointContainerResponse) Reset ¶
func (x *CheckpointContainerResponse) Reset()
func (*CheckpointContainerResponse) String ¶
func (x *CheckpointContainerResponse) String() string
type Container ¶
type Container struct { // ID of the container, used by the container runtime to identify // a container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the sandbox to which this container belongs. PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // Metadata of the container. Metadata *ContainerMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec of the image. Image *ImageSpec `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // Reference to the image in use. For most runtimes, this should be an // image ID. ImageRef string `protobuf:"bytes,5,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"` // State of the container. State ContainerState `protobuf:"varint,6,opt,name=state,proto3,enum=runtime.v1.ContainerState" json:"state,omitempty"` // Creation time of the container in nanoseconds. CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding ContainerConfig used to // instantiate this Container. Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
Container provides the runtime information for a container, such as ID, hash, state of the container.
func (*Container) GetMetadata ¶
func (x *Container) GetMetadata() *ContainerMetadata
func (*Container) GetState ¶
func (x *Container) GetState() ContainerState
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type ContainerAttributes ¶
type ContainerAttributes struct { // ID of the container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Metadata of the container. Metadata *ContainerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // Key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding ContainerConfig used to // instantiate the Container this status represents. Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
ContainerAttributes provides basic information of the container.
func (*ContainerAttributes) Descriptor
deprecated
func (*ContainerAttributes) Descriptor() ([]byte, []int)
Deprecated: Use ContainerAttributes.ProtoReflect.Descriptor instead.
func (*ContainerAttributes) GetAnnotations ¶
func (x *ContainerAttributes) GetAnnotations() map[string]string
func (*ContainerAttributes) GetId ¶
func (x *ContainerAttributes) GetId() string
func (*ContainerAttributes) GetLabels ¶
func (x *ContainerAttributes) GetLabels() map[string]string
func (*ContainerAttributes) GetMetadata ¶
func (x *ContainerAttributes) GetMetadata() *ContainerMetadata
func (*ContainerAttributes) ProtoMessage ¶
func (*ContainerAttributes) ProtoMessage()
func (*ContainerAttributes) ProtoReflect ¶
func (x *ContainerAttributes) ProtoReflect() protoreflect.Message
func (*ContainerAttributes) Reset ¶
func (x *ContainerAttributes) Reset()
func (*ContainerAttributes) String ¶
func (x *ContainerAttributes) String() string
type ContainerConfig ¶
type ContainerConfig struct { // Metadata of the container. This information will uniquely identify the // container, and the runtime should leverage this to ensure correct // operation. The runtime may also use this information to improve UX, such // as by constructing a readable name. Metadata *ContainerMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Image to use. Image *ImageSpec `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // Command to execute (i.e., entrypoint for docker) Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"` // Args for the Command (i.e., command for docker) Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` // Current working directory of the command. WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // List of environment variable to set in the container. Envs []*KeyValue `protobuf:"bytes,6,rep,name=envs,proto3" json:"envs,omitempty"` // Mounts for the container. Mounts []*Mount `protobuf:"bytes,7,rep,name=mounts,proto3" json:"mounts,omitempty"` // Devices for the container. Devices []*Device `protobuf:"bytes,8,rep,name=devices,proto3" json:"devices,omitempty"` // Key-value pairs that may be used to scope and select individual resources. // Label keys are of the form: // // label-key ::= prefixed-name | name // prefixed-name ::= prefix '/' name // prefix ::= DNS_SUBDOMAIN // name ::= DNS_LABEL Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key-value map that may be used by the kubelet to store and // retrieve arbitrary metadata. // // Annotations MUST NOT be altered by the runtime; the annotations stored // here MUST be returned in the ContainerStatus associated with the container // this ContainerConfig creates. // // In general, in order to preserve a well-defined interface between the // kubelet and the container runtime, annotations SHOULD NOT influence // runtime behaviour. Annotations map[string]string `` /* 164-byte string literal not displayed */ // Path relative to PodSandboxConfig.LogDirectory for container to store // the log (STDOUT and STDERR) on the host. // E.g., // // PodSandboxConfig.LogDirectory = `/var/log/pods/<NAMESPACE>_<NAME>_<UID>/` // ContainerConfig.LogPath = `containerName/Instance#.log` LogPath string `protobuf:"bytes,11,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` // Variables for interactive containers, these have very specialized // use-cases (e.g. debugging). Stdin bool `protobuf:"varint,12,opt,name=stdin,proto3" json:"stdin,omitempty"` StdinOnce bool `protobuf:"varint,13,opt,name=stdin_once,json=stdinOnce,proto3" json:"stdin_once,omitempty"` Tty bool `protobuf:"varint,14,opt,name=tty,proto3" json:"tty,omitempty"` // Configuration specific to Linux containers. Linux *LinuxContainerConfig `protobuf:"bytes,15,opt,name=linux,proto3" json:"linux,omitempty"` // Configuration specific to Windows containers. Windows *WindowsContainerConfig `protobuf:"bytes,16,opt,name=windows,proto3" json:"windows,omitempty"` // CDI devices for the container. CDIDevices []*CDIDevice `protobuf:"bytes,17,rep,name=CDI_devices,json=CDIDevices,proto3" json:"CDI_devices,omitempty"` // contains filtered or unexported fields }
ContainerConfig holds all the required and optional fields for creating a container.
func (*ContainerConfig) Descriptor
deprecated
func (*ContainerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ContainerConfig.ProtoReflect.Descriptor instead.
func (*ContainerConfig) GetAnnotations ¶
func (x *ContainerConfig) GetAnnotations() map[string]string
func (*ContainerConfig) GetArgs ¶
func (x *ContainerConfig) GetArgs() []string
func (*ContainerConfig) GetCDIDevices ¶
func (x *ContainerConfig) GetCDIDevices() []*CDIDevice
func (*ContainerConfig) GetCommand ¶
func (x *ContainerConfig) GetCommand() []string
func (*ContainerConfig) GetDevices ¶
func (x *ContainerConfig) GetDevices() []*Device
func (*ContainerConfig) GetEnvs ¶
func (x *ContainerConfig) GetEnvs() []*KeyValue
func (*ContainerConfig) GetImage ¶
func (x *ContainerConfig) GetImage() *ImageSpec
func (*ContainerConfig) GetLabels ¶
func (x *ContainerConfig) GetLabels() map[string]string
func (*ContainerConfig) GetLinux ¶
func (x *ContainerConfig) GetLinux() *LinuxContainerConfig
func (*ContainerConfig) GetLogPath ¶
func (x *ContainerConfig) GetLogPath() string
func (*ContainerConfig) GetMetadata ¶
func (x *ContainerConfig) GetMetadata() *ContainerMetadata
func (*ContainerConfig) GetMounts ¶
func (x *ContainerConfig) GetMounts() []*Mount
func (*ContainerConfig) GetStdin ¶
func (x *ContainerConfig) GetStdin() bool
func (*ContainerConfig) GetStdinOnce ¶
func (x *ContainerConfig) GetStdinOnce() bool
func (*ContainerConfig) GetTty ¶
func (x *ContainerConfig) GetTty() bool
func (*ContainerConfig) GetWindows ¶
func (x *ContainerConfig) GetWindows() *WindowsContainerConfig
func (*ContainerConfig) GetWorkingDir ¶
func (x *ContainerConfig) GetWorkingDir() string
func (*ContainerConfig) ProtoMessage ¶
func (*ContainerConfig) ProtoMessage()
func (*ContainerConfig) ProtoReflect ¶
func (x *ContainerConfig) ProtoReflect() protoreflect.Message
func (*ContainerConfig) Reset ¶
func (x *ContainerConfig) Reset()
func (*ContainerConfig) String ¶
func (x *ContainerConfig) String() string
type ContainerEventResponse ¶
type ContainerEventResponse struct { // ID of the container ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Type of the container event ContainerEventType ContainerEventType `` /* 153-byte string literal not displayed */ // Creation timestamp of this event CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Sandbox status PodSandboxStatus *PodSandboxStatus `protobuf:"bytes,4,opt,name=pod_sandbox_status,json=podSandboxStatus,proto3" json:"pod_sandbox_status,omitempty"` // Container statuses ContainersStatuses []*ContainerStatus `protobuf:"bytes,5,rep,name=containers_statuses,json=containersStatuses,proto3" json:"containers_statuses,omitempty"` // contains filtered or unexported fields }
func (*ContainerEventResponse) Descriptor
deprecated
func (*ContainerEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContainerEventResponse.ProtoReflect.Descriptor instead.
func (*ContainerEventResponse) GetContainerEventType ¶
func (x *ContainerEventResponse) GetContainerEventType() ContainerEventType
func (*ContainerEventResponse) GetContainerId ¶
func (x *ContainerEventResponse) GetContainerId() string
func (*ContainerEventResponse) GetContainersStatuses ¶
func (x *ContainerEventResponse) GetContainersStatuses() []*ContainerStatus
func (*ContainerEventResponse) GetCreatedAt ¶
func (x *ContainerEventResponse) GetCreatedAt() int64
func (*ContainerEventResponse) GetPodSandboxStatus ¶
func (x *ContainerEventResponse) GetPodSandboxStatus() *PodSandboxStatus
func (*ContainerEventResponse) ProtoMessage ¶
func (*ContainerEventResponse) ProtoMessage()
func (*ContainerEventResponse) ProtoReflect ¶
func (x *ContainerEventResponse) ProtoReflect() protoreflect.Message
func (*ContainerEventResponse) Reset ¶
func (x *ContainerEventResponse) Reset()
func (*ContainerEventResponse) String ¶
func (x *ContainerEventResponse) String() string
type ContainerEventType ¶
type ContainerEventType int32
const ( // Container created ContainerEventType_CONTAINER_CREATED_EVENT ContainerEventType = 0 // Container started ContainerEventType_CONTAINER_STARTED_EVENT ContainerEventType = 1 // Container stopped ContainerEventType_CONTAINER_STOPPED_EVENT ContainerEventType = 2 // Container deleted ContainerEventType_CONTAINER_DELETED_EVENT ContainerEventType = 3 )
func (ContainerEventType) Descriptor ¶
func (ContainerEventType) Descriptor() protoreflect.EnumDescriptor
func (ContainerEventType) Enum ¶
func (x ContainerEventType) Enum() *ContainerEventType
func (ContainerEventType) EnumDescriptor
deprecated
func (ContainerEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContainerEventType.Descriptor instead.
func (ContainerEventType) Number ¶
func (x ContainerEventType) Number() protoreflect.EnumNumber
func (ContainerEventType) String ¶
func (x ContainerEventType) String() string
func (ContainerEventType) Type ¶
func (ContainerEventType) Type() protoreflect.EnumType
type ContainerFilter ¶
type ContainerFilter struct { // ID of the container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // State of the container. State *ContainerStateValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // ID of the PodSandbox. PodSandboxId string `protobuf:"bytes,3,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // LabelSelector to select matches. // Only api.MatchLabels is supported for now and the requirements // are ANDed. MatchExpressions is not supported yet. LabelSelector map[string]string `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
ContainerFilter is used to filter containers. All those fields are combined with 'AND'
func (*ContainerFilter) Descriptor
deprecated
func (*ContainerFilter) Descriptor() ([]byte, []int)
Deprecated: Use ContainerFilter.ProtoReflect.Descriptor instead.
func (*ContainerFilter) GetId ¶
func (x *ContainerFilter) GetId() string
func (*ContainerFilter) GetLabelSelector ¶
func (x *ContainerFilter) GetLabelSelector() map[string]string
func (*ContainerFilter) GetPodSandboxId ¶
func (x *ContainerFilter) GetPodSandboxId() string
func (*ContainerFilter) GetState ¶
func (x *ContainerFilter) GetState() *ContainerStateValue
func (*ContainerFilter) ProtoMessage ¶
func (*ContainerFilter) ProtoMessage()
func (*ContainerFilter) ProtoReflect ¶
func (x *ContainerFilter) ProtoReflect() protoreflect.Message
func (*ContainerFilter) Reset ¶
func (x *ContainerFilter) Reset()
func (*ContainerFilter) String ¶
func (x *ContainerFilter) String() string
type ContainerMetadata ¶
type ContainerMetadata struct { // Name of the container. Same as the container name in the PodSpec. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Attempt number of creating the container. Default: 0. Attempt uint32 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"` // contains filtered or unexported fields }
ContainerMetadata holds all necessary information for building the container name. The container runtime is encouraged to expose the metadata in its user interface for better user experience. E.g., runtime can construct a unique container name based on the metadata. Note that (name, attempt) is unique within a sandbox for the entire lifetime of the sandbox.
func (*ContainerMetadata) Descriptor
deprecated
func (*ContainerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ContainerMetadata.ProtoReflect.Descriptor instead.
func (*ContainerMetadata) GetAttempt ¶
func (x *ContainerMetadata) GetAttempt() uint32
func (*ContainerMetadata) GetName ¶
func (x *ContainerMetadata) GetName() string
func (*ContainerMetadata) ProtoMessage ¶
func (*ContainerMetadata) ProtoMessage()
func (*ContainerMetadata) ProtoReflect ¶
func (x *ContainerMetadata) ProtoReflect() protoreflect.Message
func (*ContainerMetadata) Reset ¶
func (x *ContainerMetadata) Reset()
func (*ContainerMetadata) String ¶
func (x *ContainerMetadata) String() string
type ContainerMetrics ¶
type ContainerMetrics struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Metrics []*Metric `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*ContainerMetrics) Descriptor
deprecated
func (*ContainerMetrics) Descriptor() ([]byte, []int)
Deprecated: Use ContainerMetrics.ProtoReflect.Descriptor instead.
func (*ContainerMetrics) GetContainerId ¶
func (x *ContainerMetrics) GetContainerId() string
func (*ContainerMetrics) GetMetrics ¶
func (x *ContainerMetrics) GetMetrics() []*Metric
func (*ContainerMetrics) ProtoMessage ¶
func (*ContainerMetrics) ProtoMessage()
func (*ContainerMetrics) ProtoReflect ¶
func (x *ContainerMetrics) ProtoReflect() protoreflect.Message
func (*ContainerMetrics) Reset ¶
func (x *ContainerMetrics) Reset()
func (*ContainerMetrics) String ¶
func (x *ContainerMetrics) String() string
type ContainerResources ¶
type ContainerResources struct { // Resource limits configuration specific to Linux container. Linux *LinuxContainerResources `protobuf:"bytes,1,opt,name=linux,proto3" json:"linux,omitempty"` // Resource limits configuration specific to Windows container. Windows *WindowsContainerResources `protobuf:"bytes,2,opt,name=windows,proto3" json:"windows,omitempty"` // contains filtered or unexported fields }
ContainerResources holds resource limits configuration for a container.
func (*ContainerResources) Descriptor
deprecated
func (*ContainerResources) Descriptor() ([]byte, []int)
Deprecated: Use ContainerResources.ProtoReflect.Descriptor instead.
func (*ContainerResources) GetLinux ¶
func (x *ContainerResources) GetLinux() *LinuxContainerResources
func (*ContainerResources) GetWindows ¶
func (x *ContainerResources) GetWindows() *WindowsContainerResources
func (*ContainerResources) ProtoMessage ¶
func (*ContainerResources) ProtoMessage()
func (*ContainerResources) ProtoReflect ¶
func (x *ContainerResources) ProtoReflect() protoreflect.Message
func (*ContainerResources) Reset ¶
func (x *ContainerResources) Reset()
func (*ContainerResources) String ¶
func (x *ContainerResources) String() string
type ContainerState ¶
type ContainerState int32
const ( ContainerState_CONTAINER_CREATED ContainerState = 0 ContainerState_CONTAINER_RUNNING ContainerState = 1 ContainerState_CONTAINER_EXITED ContainerState = 2 ContainerState_CONTAINER_UNKNOWN ContainerState = 3 )
func (ContainerState) Descriptor ¶
func (ContainerState) Descriptor() protoreflect.EnumDescriptor
func (ContainerState) Enum ¶
func (x ContainerState) Enum() *ContainerState
func (ContainerState) EnumDescriptor
deprecated
func (ContainerState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContainerState.Descriptor instead.
func (ContainerState) Number ¶
func (x ContainerState) Number() protoreflect.EnumNumber
func (ContainerState) String ¶
func (x ContainerState) String() string
func (ContainerState) Type ¶
func (ContainerState) Type() protoreflect.EnumType
type ContainerStateValue ¶
type ContainerStateValue struct { // State of the container. State ContainerState `protobuf:"varint,1,opt,name=state,proto3,enum=runtime.v1.ContainerState" json:"state,omitempty"` // contains filtered or unexported fields }
ContainerStateValue is the wrapper of ContainerState.
func (*ContainerStateValue) Descriptor
deprecated
func (*ContainerStateValue) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStateValue.ProtoReflect.Descriptor instead.
func (*ContainerStateValue) GetState ¶
func (x *ContainerStateValue) GetState() ContainerState
func (*ContainerStateValue) ProtoMessage ¶
func (*ContainerStateValue) ProtoMessage()
func (*ContainerStateValue) ProtoReflect ¶
func (x *ContainerStateValue) ProtoReflect() protoreflect.Message
func (*ContainerStateValue) Reset ¶
func (x *ContainerStateValue) Reset()
func (*ContainerStateValue) String ¶
func (x *ContainerStateValue) String() string
type ContainerStats ¶
type ContainerStats struct { // Information of the container. Attributes *ContainerAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` // CPU usage gathered from the container. Cpu *CpuUsage `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"` // Memory usage gathered from the container. Memory *MemoryUsage `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` // Usage of the writable layer. WritableLayer *FilesystemUsage `protobuf:"bytes,4,opt,name=writable_layer,json=writableLayer,proto3" json:"writable_layer,omitempty"` // Swap usage gathered from the container. Swap *SwapUsage `protobuf:"bytes,5,opt,name=swap,proto3" json:"swap,omitempty"` // contains filtered or unexported fields }
ContainerStats provides the resource usage statistics for a container.
func (*ContainerStats) Descriptor
deprecated
func (*ContainerStats) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStats.ProtoReflect.Descriptor instead.
func (*ContainerStats) GetAttributes ¶
func (x *ContainerStats) GetAttributes() *ContainerAttributes
func (*ContainerStats) GetCpu ¶
func (x *ContainerStats) GetCpu() *CpuUsage
func (*ContainerStats) GetMemory ¶
func (x *ContainerStats) GetMemory() *MemoryUsage
func (*ContainerStats) GetSwap ¶
func (x *ContainerStats) GetSwap() *SwapUsage
func (*ContainerStats) GetWritableLayer ¶
func (x *ContainerStats) GetWritableLayer() *FilesystemUsage
func (*ContainerStats) ProtoMessage ¶
func (*ContainerStats) ProtoMessage()
func (*ContainerStats) ProtoReflect ¶
func (x *ContainerStats) ProtoReflect() protoreflect.Message
func (*ContainerStats) Reset ¶
func (x *ContainerStats) Reset()
func (*ContainerStats) String ¶
func (x *ContainerStats) String() string
type ContainerStatsFilter ¶
type ContainerStatsFilter struct { // ID of the container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the PodSandbox. PodSandboxId string `protobuf:"bytes,2,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // LabelSelector to select matches. // Only api.MatchLabels is supported for now and the requirements // are ANDed. MatchExpressions is not supported yet. LabelSelector map[string]string `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
ContainerStatsFilter is used to filter containers. All those fields are combined with 'AND'
func (*ContainerStatsFilter) Descriptor
deprecated
func (*ContainerStatsFilter) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStatsFilter.ProtoReflect.Descriptor instead.
func (*ContainerStatsFilter) GetId ¶
func (x *ContainerStatsFilter) GetId() string
func (*ContainerStatsFilter) GetLabelSelector ¶
func (x *ContainerStatsFilter) GetLabelSelector() map[string]string
func (*ContainerStatsFilter) GetPodSandboxId ¶
func (x *ContainerStatsFilter) GetPodSandboxId() string
func (*ContainerStatsFilter) ProtoMessage ¶
func (*ContainerStatsFilter) ProtoMessage()
func (*ContainerStatsFilter) ProtoReflect ¶
func (x *ContainerStatsFilter) ProtoReflect() protoreflect.Message
func (*ContainerStatsFilter) Reset ¶
func (x *ContainerStatsFilter) Reset()
func (*ContainerStatsFilter) String ¶
func (x *ContainerStatsFilter) String() string
type ContainerStatsRequest ¶
type ContainerStatsRequest struct { // ID of the container for which to retrieve stats. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*ContainerStatsRequest) Descriptor
deprecated
func (*ContainerStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStatsRequest.ProtoReflect.Descriptor instead.
func (*ContainerStatsRequest) GetContainerId ¶
func (x *ContainerStatsRequest) GetContainerId() string
func (*ContainerStatsRequest) ProtoMessage ¶
func (*ContainerStatsRequest) ProtoMessage()
func (*ContainerStatsRequest) ProtoReflect ¶
func (x *ContainerStatsRequest) ProtoReflect() protoreflect.Message
func (*ContainerStatsRequest) Reset ¶
func (x *ContainerStatsRequest) Reset()
func (*ContainerStatsRequest) String ¶
func (x *ContainerStatsRequest) String() string
type ContainerStatsResponse ¶
type ContainerStatsResponse struct { // Stats of the container. Stats *ContainerStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*ContainerStatsResponse) Descriptor
deprecated
func (*ContainerStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStatsResponse.ProtoReflect.Descriptor instead.
func (*ContainerStatsResponse) GetStats ¶
func (x *ContainerStatsResponse) GetStats() *ContainerStats
func (*ContainerStatsResponse) ProtoMessage ¶
func (*ContainerStatsResponse) ProtoMessage()
func (*ContainerStatsResponse) ProtoReflect ¶
func (x *ContainerStatsResponse) ProtoReflect() protoreflect.Message
func (*ContainerStatsResponse) Reset ¶
func (x *ContainerStatsResponse) Reset()
func (*ContainerStatsResponse) String ¶
func (x *ContainerStatsResponse) String() string
type ContainerStatus ¶
type ContainerStatus struct { // ID of the container. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Metadata of the container. Metadata *ContainerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // Status of the container. State ContainerState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1.ContainerState" json:"state,omitempty"` // Creation time of the container in nanoseconds. CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Start time of the container in nanoseconds. Default: 0 (not specified). StartedAt int64 `protobuf:"varint,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // Finish time of the container in nanoseconds. Default: 0 (not specified). FinishedAt int64 `protobuf:"varint,6,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` // Exit code of the container. Only required when finished_at != 0. Default: 0. ExitCode int32 `protobuf:"varint,7,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // Spec of the image. Image *ImageSpec `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"` // 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. // Must be set to "OOMKilled" for containers terminated by cgroup-based Out-of-Memory killer. Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"` // Human-readable message indicating details about why container is in its // current state. Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"` // Key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 154-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding ContainerConfig used to // instantiate the Container this status represents. Annotations map[string]string `` /* 164-byte string literal not displayed */ // Mounts for the container. Mounts []*Mount `protobuf:"bytes,14,rep,name=mounts,proto3" json:"mounts,omitempty"` // Log path of container. LogPath string `protobuf:"bytes,15,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` // Resource limits configuration of the container. Resources *ContainerResources `protobuf:"bytes,16,opt,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
ContainerStatus represents the status of a container.
func (*ContainerStatus) Descriptor
deprecated
func (*ContainerStatus) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStatus.ProtoReflect.Descriptor instead.
func (*ContainerStatus) GetAnnotations ¶
func (x *ContainerStatus) GetAnnotations() map[string]string
func (*ContainerStatus) GetCreatedAt ¶
func (x *ContainerStatus) GetCreatedAt() int64
func (*ContainerStatus) GetExitCode ¶
func (x *ContainerStatus) GetExitCode() int32
func (*ContainerStatus) GetFinishedAt ¶
func (x *ContainerStatus) GetFinishedAt() int64
func (*ContainerStatus) GetId ¶
func (x *ContainerStatus) GetId() string
func (*ContainerStatus) GetImage ¶
func (x *ContainerStatus) GetImage() *ImageSpec
func (*ContainerStatus) GetImageRef ¶
func (x *ContainerStatus) GetImageRef() string
func (*ContainerStatus) GetLabels ¶
func (x *ContainerStatus) GetLabels() map[string]string
func (*ContainerStatus) GetLogPath ¶
func (x *ContainerStatus) GetLogPath() string
func (*ContainerStatus) GetMessage ¶
func (x *ContainerStatus) GetMessage() string
func (*ContainerStatus) GetMetadata ¶
func (x *ContainerStatus) GetMetadata() *ContainerMetadata
func (*ContainerStatus) GetMounts ¶
func (x *ContainerStatus) GetMounts() []*Mount
func (*ContainerStatus) GetReason ¶
func (x *ContainerStatus) GetReason() string
func (*ContainerStatus) GetResources ¶
func (x *ContainerStatus) GetResources() *ContainerResources
func (*ContainerStatus) GetStartedAt ¶
func (x *ContainerStatus) GetStartedAt() int64
func (*ContainerStatus) GetState ¶
func (x *ContainerStatus) GetState() ContainerState
func (*ContainerStatus) ProtoMessage ¶
func (*ContainerStatus) ProtoMessage()
func (*ContainerStatus) ProtoReflect ¶
func (x *ContainerStatus) ProtoReflect() protoreflect.Message
func (*ContainerStatus) Reset ¶
func (x *ContainerStatus) Reset()
func (*ContainerStatus) String ¶
func (x *ContainerStatus) String() string
type ContainerStatusRequest ¶
type ContainerStatusRequest struct { // ID of the container for which to retrieve status. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Verbose indicates whether to return extra information about the container. Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"` // contains filtered or unexported fields }
func (*ContainerStatusRequest) Descriptor
deprecated
func (*ContainerStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStatusRequest.ProtoReflect.Descriptor instead.
func (*ContainerStatusRequest) GetContainerId ¶
func (x *ContainerStatusRequest) GetContainerId() string
func (*ContainerStatusRequest) GetVerbose ¶
func (x *ContainerStatusRequest) GetVerbose() bool
func (*ContainerStatusRequest) ProtoMessage ¶
func (*ContainerStatusRequest) ProtoMessage()
func (*ContainerStatusRequest) ProtoReflect ¶
func (x *ContainerStatusRequest) ProtoReflect() protoreflect.Message
func (*ContainerStatusRequest) Reset ¶
func (x *ContainerStatusRequest) Reset()
func (*ContainerStatusRequest) String ¶
func (x *ContainerStatusRequest) String() string
type ContainerStatusResponse ¶
type ContainerStatusResponse struct { // Status of the container. Status *ContainerStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Info is extra information of the Container. The key could be arbitrary string, and // value should be in json format. The information could include anything useful for // debug, e.g. pid for linux container based container runtime. // It should only be returned non-empty when Verbose is true. Info map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ContainerStatusResponse) Descriptor
deprecated
func (*ContainerStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStatusResponse.ProtoReflect.Descriptor instead.
func (*ContainerStatusResponse) GetInfo ¶
func (x *ContainerStatusResponse) GetInfo() map[string]string
func (*ContainerStatusResponse) GetStatus ¶
func (x *ContainerStatusResponse) GetStatus() *ContainerStatus
func (*ContainerStatusResponse) ProtoMessage ¶
func (*ContainerStatusResponse) ProtoMessage()
func (*ContainerStatusResponse) ProtoReflect ¶
func (x *ContainerStatusResponse) ProtoReflect() protoreflect.Message
func (*ContainerStatusResponse) Reset ¶
func (x *ContainerStatusResponse) Reset()
func (*ContainerStatusResponse) String ¶
func (x *ContainerStatusResponse) String() string
type CpuUsage ¶
type CpuUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Cumulative CPU usage (sum across all cores) since object creation. UsageCoreNanoSeconds *UInt64Value `protobuf:"bytes,2,opt,name=usage_core_nano_seconds,json=usageCoreNanoSeconds,proto3" json:"usage_core_nano_seconds,omitempty"` // Total CPU usage (sum of all cores) averaged over the sample window. // The "core" unit can be interpreted as CPU core-nanoseconds per second. UsageNanoCores *UInt64Value `protobuf:"bytes,3,opt,name=usage_nano_cores,json=usageNanoCores,proto3" json:"usage_nano_cores,omitempty"` // contains filtered or unexported fields }
CpuUsage provides the CPU usage information.
func (*CpuUsage) GetUsageCoreNanoSeconds ¶
func (x *CpuUsage) GetUsageCoreNanoSeconds() *UInt64Value
func (*CpuUsage) GetUsageNanoCores ¶
func (x *CpuUsage) GetUsageNanoCores() *UInt64Value
func (*CpuUsage) ProtoReflect ¶
func (x *CpuUsage) ProtoReflect() protoreflect.Message
type CreateContainerRequest ¶
type CreateContainerRequest struct { // ID of the PodSandbox in which the container should be created. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // Config of the container. Config *ContainerConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Config of the PodSandbox. This is the same config that was passed // to RunPodSandboxRequest to create the PodSandbox. It is passed again // here just for easy reference. The PodSandboxConfig is immutable and // remains the same throughout the lifetime of the pod. SandboxConfig *PodSandboxConfig `protobuf:"bytes,3,opt,name=sandbox_config,json=sandboxConfig,proto3" json:"sandbox_config,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerRequest) Descriptor
deprecated
func (*CreateContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.
func (*CreateContainerRequest) GetConfig ¶
func (x *CreateContainerRequest) GetConfig() *ContainerConfig
func (*CreateContainerRequest) GetPodSandboxId ¶
func (x *CreateContainerRequest) GetPodSandboxId() string
func (*CreateContainerRequest) GetSandboxConfig ¶
func (x *CreateContainerRequest) GetSandboxConfig() *PodSandboxConfig
func (*CreateContainerRequest) ProtoMessage ¶
func (*CreateContainerRequest) ProtoMessage()
func (*CreateContainerRequest) ProtoReflect ¶
func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
func (*CreateContainerRequest) Reset ¶
func (x *CreateContainerRequest) Reset()
func (*CreateContainerRequest) String ¶
func (x *CreateContainerRequest) String() string
type CreateContainerResponse ¶
type CreateContainerResponse struct { // ID of the created container. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerResponse) Descriptor
deprecated
func (*CreateContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead.
func (*CreateContainerResponse) GetContainerId ¶
func (x *CreateContainerResponse) GetContainerId() string
func (*CreateContainerResponse) ProtoMessage ¶
func (*CreateContainerResponse) ProtoMessage()
func (*CreateContainerResponse) ProtoReflect ¶
func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
func (*CreateContainerResponse) Reset ¶
func (x *CreateContainerResponse) Reset()
func (*CreateContainerResponse) String ¶
func (x *CreateContainerResponse) String() string
type DNSConfig ¶
type DNSConfig struct { // List of DNS servers of the cluster. Servers []string `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` // List of DNS search domains of the cluster. Searches []string `protobuf:"bytes,2,rep,name=searches,proto3" json:"searches,omitempty"` // List of DNS options. See https://linux.die.net/man/5/resolv.conf // for all available options. Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
DNSConfig specifies the DNS servers and search domains of a sandbox.
func (*DNSConfig) ProtoReflect ¶
func (x *DNSConfig) ProtoReflect() protoreflect.Message
type Device ¶
type Device struct { // Path of the device within the container. ContainerPath string `protobuf:"bytes,1,opt,name=container_path,json=containerPath,proto3" json:"container_path,omitempty"` // Path of the device on the host. HostPath string `protobuf:"bytes,2,opt,name=host_path,json=hostPath,proto3" json:"host_path,omitempty"` // Cgroups permissions of the device, candidates are one or more of // * r - allows container to read from the specified device. // * w - allows container to write to the specified device. // * m - allows container to create device files that do not yet exist. Permissions string `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
Device specifies a host device to mount into a container.
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type ExecRequest ¶
type ExecRequest struct { // ID of the container in which to execute the command. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Command to execute. Cmd []string `protobuf:"bytes,2,rep,name=cmd,proto3" json:"cmd,omitempty"` // Whether to exec the command in a TTY. Tty bool `protobuf:"varint,3,opt,name=tty,proto3" json:"tty,omitempty"` // Whether to stream stdin. // One of `stdin`, `stdout`, and `stderr` MUST be true. Stdin bool `protobuf:"varint,4,opt,name=stdin,proto3" json:"stdin,omitempty"` // Whether to stream stdout. // One of `stdin`, `stdout`, and `stderr` MUST be true. Stdout bool `protobuf:"varint,5,opt,name=stdout,proto3" json:"stdout,omitempty"` // Whether to stream stderr. // One of `stdin`, `stdout`, and `stderr` MUST be true. // If `tty` is true, `stderr` MUST be false. Multiplexing is not supported // in this case. The output of stdout and stderr will be combined to a // single stream. Stderr bool `protobuf:"varint,6,opt,name=stderr,proto3" json:"stderr,omitempty"` // contains filtered or unexported fields }
func (*ExecRequest) Descriptor
deprecated
func (*ExecRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
func (*ExecRequest) GetCmd ¶
func (x *ExecRequest) GetCmd() []string
func (*ExecRequest) GetContainerId ¶
func (x *ExecRequest) GetContainerId() string
func (*ExecRequest) GetStderr ¶
func (x *ExecRequest) GetStderr() bool
func (*ExecRequest) GetStdin ¶
func (x *ExecRequest) GetStdin() bool
func (*ExecRequest) GetStdout ¶
func (x *ExecRequest) GetStdout() bool
func (*ExecRequest) GetTty ¶
func (x *ExecRequest) GetTty() bool
func (*ExecRequest) ProtoMessage ¶
func (*ExecRequest) ProtoMessage()
func (*ExecRequest) ProtoReflect ¶
func (x *ExecRequest) ProtoReflect() protoreflect.Message
func (*ExecRequest) Reset ¶
func (x *ExecRequest) Reset()
func (*ExecRequest) String ¶
func (x *ExecRequest) String() string
type ExecResponse ¶
type ExecResponse struct { // Fully qualified URL of the exec streaming server. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*ExecResponse) Descriptor
deprecated
func (*ExecResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
func (*ExecResponse) GetUrl ¶
func (x *ExecResponse) GetUrl() string
func (*ExecResponse) ProtoMessage ¶
func (*ExecResponse) ProtoMessage()
func (*ExecResponse) ProtoReflect ¶
func (x *ExecResponse) ProtoReflect() protoreflect.Message
func (*ExecResponse) Reset ¶
func (x *ExecResponse) Reset()
func (*ExecResponse) String ¶
func (x *ExecResponse) String() string
type ExecSyncRequest ¶
type ExecSyncRequest struct { // ID of the container. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Command to execute. Cmd []string `protobuf:"bytes,2,rep,name=cmd,proto3" json:"cmd,omitempty"` // Timeout in seconds to stop the command. Default: 0 (run forever). Timeout int64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*ExecSyncRequest) Descriptor
deprecated
func (*ExecSyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecSyncRequest.ProtoReflect.Descriptor instead.
func (*ExecSyncRequest) GetCmd ¶
func (x *ExecSyncRequest) GetCmd() []string
func (*ExecSyncRequest) GetContainerId ¶
func (x *ExecSyncRequest) GetContainerId() string
func (*ExecSyncRequest) GetTimeout ¶
func (x *ExecSyncRequest) GetTimeout() int64
func (*ExecSyncRequest) ProtoMessage ¶
func (*ExecSyncRequest) ProtoMessage()
func (*ExecSyncRequest) ProtoReflect ¶
func (x *ExecSyncRequest) ProtoReflect() protoreflect.Message
func (*ExecSyncRequest) Reset ¶
func (x *ExecSyncRequest) Reset()
func (*ExecSyncRequest) String ¶
func (x *ExecSyncRequest) String() string
type ExecSyncResponse ¶
type ExecSyncResponse struct { // Captured command stdout output. // The runtime should cap the output of this response to 16MB. // If the stdout of the command produces more than 16MB, the remaining output // should be discarded, and the command should proceed with no error. // See CVE-2022-1708 and CVE-2022-31030 for more information. Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // Captured command stderr output. // The runtime should cap the output of this response to 16MB. // If the stderr of the command produces more than 16MB, the remaining output // should be discarded, and the command should proceed with no error. // See CVE-2022-1708 and CVE-2022-31030 for more information. Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // Exit code the command finished with. Default: 0 (success). ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // contains filtered or unexported fields }
func (*ExecSyncResponse) Descriptor
deprecated
func (*ExecSyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecSyncResponse.ProtoReflect.Descriptor instead.
func (*ExecSyncResponse) GetExitCode ¶
func (x *ExecSyncResponse) GetExitCode() int32
func (*ExecSyncResponse) GetStderr ¶
func (x *ExecSyncResponse) GetStderr() []byte
func (*ExecSyncResponse) GetStdout ¶
func (x *ExecSyncResponse) GetStdout() []byte
func (*ExecSyncResponse) ProtoMessage ¶
func (*ExecSyncResponse) ProtoMessage()
func (*ExecSyncResponse) ProtoReflect ¶
func (x *ExecSyncResponse) ProtoReflect() protoreflect.Message
func (*ExecSyncResponse) Reset ¶
func (x *ExecSyncResponse) Reset()
func (*ExecSyncResponse) String ¶
func (x *ExecSyncResponse) String() string
type FilesystemIdentifier ¶
type FilesystemIdentifier struct { // Mountpoint of a filesystem. Mountpoint string `protobuf:"bytes,1,opt,name=mountpoint,proto3" json:"mountpoint,omitempty"` // contains filtered or unexported fields }
FilesystemIdentifier uniquely identify the filesystem.
func (*FilesystemIdentifier) Descriptor
deprecated
func (*FilesystemIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use FilesystemIdentifier.ProtoReflect.Descriptor instead.
func (*FilesystemIdentifier) GetMountpoint ¶
func (x *FilesystemIdentifier) GetMountpoint() string
func (*FilesystemIdentifier) ProtoMessage ¶
func (*FilesystemIdentifier) ProtoMessage()
func (*FilesystemIdentifier) ProtoReflect ¶
func (x *FilesystemIdentifier) ProtoReflect() protoreflect.Message
func (*FilesystemIdentifier) Reset ¶
func (x *FilesystemIdentifier) Reset()
func (*FilesystemIdentifier) String ¶
func (x *FilesystemIdentifier) String() string
type FilesystemUsage ¶
type FilesystemUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The unique identifier of the filesystem. FsId *FilesystemIdentifier `protobuf:"bytes,2,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` // UsedBytes represents the bytes used for images on the filesystem. // This may differ from the total bytes used on the filesystem and may not // equal CapacityBytes - AvailableBytes. UsedBytes *UInt64Value `protobuf:"bytes,3,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"` // InodesUsed represents the inodes used by the images. // This may not equal InodesCapacity - InodesAvailable because the underlying // filesystem may also be used for purposes other than storing images. InodesUsed *UInt64Value `protobuf:"bytes,4,opt,name=inodes_used,json=inodesUsed,proto3" json:"inodes_used,omitempty"` // contains filtered or unexported fields }
FilesystemUsage provides the filesystem usage information.
func (*FilesystemUsage) Descriptor
deprecated
func (*FilesystemUsage) Descriptor() ([]byte, []int)
Deprecated: Use FilesystemUsage.ProtoReflect.Descriptor instead.
func (*FilesystemUsage) GetFsId ¶
func (x *FilesystemUsage) GetFsId() *FilesystemIdentifier
func (*FilesystemUsage) GetInodesUsed ¶
func (x *FilesystemUsage) GetInodesUsed() *UInt64Value
func (*FilesystemUsage) GetTimestamp ¶
func (x *FilesystemUsage) GetTimestamp() int64
func (*FilesystemUsage) GetUsedBytes ¶
func (x *FilesystemUsage) GetUsedBytes() *UInt64Value
func (*FilesystemUsage) ProtoMessage ¶
func (*FilesystemUsage) ProtoMessage()
func (*FilesystemUsage) ProtoReflect ¶
func (x *FilesystemUsage) ProtoReflect() protoreflect.Message
func (*FilesystemUsage) Reset ¶
func (x *FilesystemUsage) Reset()
func (*FilesystemUsage) String ¶
func (x *FilesystemUsage) String() string
type GetEventsRequest ¶
type GetEventsRequest struct {
// contains filtered or unexported fields
}
func (*GetEventsRequest) Descriptor
deprecated
func (*GetEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventsRequest.ProtoReflect.Descriptor instead.
func (*GetEventsRequest) ProtoMessage ¶
func (*GetEventsRequest) ProtoMessage()
func (*GetEventsRequest) ProtoReflect ¶
func (x *GetEventsRequest) ProtoReflect() protoreflect.Message
func (*GetEventsRequest) Reset ¶
func (x *GetEventsRequest) Reset()
func (*GetEventsRequest) String ¶
func (x *GetEventsRequest) String() string
type HugepageLimit ¶
type HugepageLimit struct { // The value of PageSize has the format <size><unit-prefix>B (2MB, 1GB), // and must match the <hugepagesize> of the corresponding control file found in `hugetlb.<hugepagesize>.limit_in_bytes`. // The values of <unit-prefix> are intended to be parsed using base 1024("1KB" = 1024, "1MB" = 1048576, etc). PageSize string `protobuf:"bytes,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // limit in bytes of hugepagesize HugeTLB usage. Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
HugepageLimit corresponds to the file`hugetlb.<hugepagesize>.limit_in_byte` in container level cgroup. For example, `PageSize=1GB`, `Limit=1073741824` means setting `1073741824` bytes to hugetlb.1GB.limit_in_bytes.
func (*HugepageLimit) Descriptor
deprecated
func (*HugepageLimit) Descriptor() ([]byte, []int)
Deprecated: Use HugepageLimit.ProtoReflect.Descriptor instead.
func (*HugepageLimit) GetLimit ¶
func (x *HugepageLimit) GetLimit() uint64
func (*HugepageLimit) GetPageSize ¶
func (x *HugepageLimit) GetPageSize() string
func (*HugepageLimit) ProtoMessage ¶
func (*HugepageLimit) ProtoMessage()
func (*HugepageLimit) ProtoReflect ¶
func (x *HugepageLimit) ProtoReflect() protoreflect.Message
func (*HugepageLimit) Reset ¶
func (x *HugepageLimit) Reset()
func (*HugepageLimit) String ¶
func (x *HugepageLimit) String() string
type IDMapping ¶
type IDMapping struct { // HostId is the id on the host. HostId uint32 `protobuf:"varint,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` // ContainerId is the id in the container. ContainerId uint32 `protobuf:"varint,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Length is the size of the range to map. Length uint32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
IDMapping describes host to container ID mappings for a pod sandbox.
func (*IDMapping) ProtoReflect ¶
func (x *IDMapping) ProtoReflect() protoreflect.Message
type Image ¶
type Image struct { // ID of the image. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Other names by which this image is known. RepoTags []string `protobuf:"bytes,2,rep,name=repo_tags,json=repoTags,proto3" json:"repo_tags,omitempty"` // Digests by which this image is known. RepoDigests []string `protobuf:"bytes,3,rep,name=repo_digests,json=repoDigests,proto3" json:"repo_digests,omitempty"` // Size of the image in bytes. Must be > 0. Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // UID that will run the command(s). This is used as a default if no user is // specified when creating the container. UID and the following user name // are mutually exclusive. Uid *Int64Value `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"` // User name that will run the command(s). This is used if UID is not set // and no user is specified when creating container. Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"` // ImageSpec for image which includes annotations Spec *ImageSpec `protobuf:"bytes,7,opt,name=spec,proto3" json:"spec,omitempty"` // Recommendation on whether this image should be exempt from garbage collection. // It must only be treated as a recommendation -- the client can still request that the image be deleted, // and the runtime must oblige. Pinned bool `protobuf:"varint,8,opt,name=pinned,proto3" json:"pinned,omitempty"` // contains filtered or unexported fields }
Basic information about a container image.
func (*Image) GetUid ¶
func (x *Image) GetUid() *Int64Value
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type ImageFilter ¶
type ImageFilter struct { // Spec of the image. Image *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*ImageFilter) Descriptor
deprecated
func (*ImageFilter) Descriptor() ([]byte, []int)
Deprecated: Use ImageFilter.ProtoReflect.Descriptor instead.
func (*ImageFilter) GetImage ¶
func (x *ImageFilter) GetImage() *ImageSpec
func (*ImageFilter) ProtoMessage ¶
func (*ImageFilter) ProtoMessage()
func (*ImageFilter) ProtoReflect ¶
func (x *ImageFilter) ProtoReflect() protoreflect.Message
func (*ImageFilter) Reset ¶
func (x *ImageFilter) Reset()
func (*ImageFilter) String ¶
func (x *ImageFilter) String() string
type ImageFsInfoRequest ¶
type ImageFsInfoRequest struct {
// contains filtered or unexported fields
}
func (*ImageFsInfoRequest) Descriptor
deprecated
func (*ImageFsInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImageFsInfoRequest.ProtoReflect.Descriptor instead.
func (*ImageFsInfoRequest) ProtoMessage ¶
func (*ImageFsInfoRequest) ProtoMessage()
func (*ImageFsInfoRequest) ProtoReflect ¶
func (x *ImageFsInfoRequest) ProtoReflect() protoreflect.Message
func (*ImageFsInfoRequest) Reset ¶
func (x *ImageFsInfoRequest) Reset()
func (*ImageFsInfoRequest) String ¶
func (x *ImageFsInfoRequest) String() string
type ImageFsInfoResponse ¶
type ImageFsInfoResponse struct { // Information of image filesystem(s). ImageFilesystems []*FilesystemUsage `protobuf:"bytes,1,rep,name=image_filesystems,json=imageFilesystems,proto3" json:"image_filesystems,omitempty"` // Information of container filesystem(s). // This is an optional field, may be used for example if container and image // storage are separated. // Default will be to return this as empty. ContainerFilesystems []*FilesystemUsage `protobuf:"bytes,2,rep,name=container_filesystems,json=containerFilesystems,proto3" json:"container_filesystems,omitempty"` // contains filtered or unexported fields }
func (*ImageFsInfoResponse) Descriptor
deprecated
func (*ImageFsInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImageFsInfoResponse.ProtoReflect.Descriptor instead.
func (*ImageFsInfoResponse) GetContainerFilesystems ¶
func (x *ImageFsInfoResponse) GetContainerFilesystems() []*FilesystemUsage
func (*ImageFsInfoResponse) GetImageFilesystems ¶
func (x *ImageFsInfoResponse) GetImageFilesystems() []*FilesystemUsage
func (*ImageFsInfoResponse) ProtoMessage ¶
func (*ImageFsInfoResponse) ProtoMessage()
func (*ImageFsInfoResponse) ProtoReflect ¶
func (x *ImageFsInfoResponse) ProtoReflect() protoreflect.Message
func (*ImageFsInfoResponse) Reset ¶
func (x *ImageFsInfoResponse) Reset()
func (*ImageFsInfoResponse) String ¶
func (x *ImageFsInfoResponse) String() string
type ImageSpec ¶
type ImageSpec struct { // Container's Image field (e.g. imageID or imageDigest). Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Unstructured key-value map holding arbitrary metadata. // ImageSpec Annotations can be used to help the runtime target specific // images in multi-arch images. Annotations map[string]string `` /* 163-byte string literal not displayed */ // The container image reference specified by the user (e.g. image[:tag] or digest). // Only set if available within the RPC context. UserSpecifiedImage string `protobuf:"bytes,18,opt,name=user_specified_image,json=userSpecifiedImage,proto3" json:"user_specified_image,omitempty"` // Runtime handler to use for pulling the image. // If the runtime handler is unknown, the request should be rejected. // An empty string would select the default runtime handler. RuntimeHandler string `protobuf:"bytes,19,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"` // contains filtered or unexported fields }
ImageSpec is an internal representation of an image.
func (*ImageSpec) ProtoReflect ¶
func (x *ImageSpec) ProtoReflect() protoreflect.Message
type ImageStatusRequest ¶
type ImageStatusRequest struct { // Spec of the image. Image *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Verbose indicates whether to return extra information about the image. Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"` // contains filtered or unexported fields }
func (*ImageStatusRequest) Descriptor
deprecated
func (*ImageStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImageStatusRequest.ProtoReflect.Descriptor instead.
func (*ImageStatusRequest) GetImage ¶
func (x *ImageStatusRequest) GetImage() *ImageSpec
func (*ImageStatusRequest) GetVerbose ¶
func (x *ImageStatusRequest) GetVerbose() bool
func (*ImageStatusRequest) ProtoMessage ¶
func (*ImageStatusRequest) ProtoMessage()
func (*ImageStatusRequest) ProtoReflect ¶
func (x *ImageStatusRequest) ProtoReflect() protoreflect.Message
func (*ImageStatusRequest) Reset ¶
func (x *ImageStatusRequest) Reset()
func (*ImageStatusRequest) String ¶
func (x *ImageStatusRequest) String() string
type ImageStatusResponse ¶
type ImageStatusResponse struct { // Status of the image. Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Info is extra information of the Image. The key could be arbitrary string, and // value should be in json format. The information could include anything useful // for debug, e.g. image config for oci image based container runtime. // It should only be returned non-empty when Verbose is true. Info map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ImageStatusResponse) Descriptor
deprecated
func (*ImageStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImageStatusResponse.ProtoReflect.Descriptor instead.
func (*ImageStatusResponse) GetImage ¶
func (x *ImageStatusResponse) GetImage() *Image
func (*ImageStatusResponse) GetInfo ¶
func (x *ImageStatusResponse) GetInfo() map[string]string
func (*ImageStatusResponse) ProtoMessage ¶
func (*ImageStatusResponse) ProtoMessage()
func (*ImageStatusResponse) ProtoReflect ¶
func (x *ImageStatusResponse) ProtoReflect() protoreflect.Message
func (*ImageStatusResponse) Reset ¶
func (x *ImageStatusResponse) Reset()
func (*ImageStatusResponse) String ¶
func (x *ImageStatusResponse) String() string
type Int64Value ¶
type Int64Value struct { // The value. Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Int64Value is the wrapper of int64.
func (*Int64Value) Descriptor
deprecated
func (*Int64Value) Descriptor() ([]byte, []int)
Deprecated: Use Int64Value.ProtoReflect.Descriptor instead.
func (*Int64Value) GetValue ¶
func (x *Int64Value) GetValue() int64
func (*Int64Value) ProtoMessage ¶
func (*Int64Value) ProtoMessage()
func (*Int64Value) ProtoReflect ¶
func (x *Int64Value) ProtoReflect() protoreflect.Message
func (*Int64Value) Reset ¶
func (x *Int64Value) Reset()
func (*Int64Value) String ¶
func (x *Int64Value) String() string
type KeyValue ¶
type KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyValue) ProtoReflect ¶
func (x *KeyValue) ProtoReflect() protoreflect.Message
type LinuxContainerConfig ¶
type LinuxContainerConfig struct { // Resources specification for the container. Resources *LinuxContainerResources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` // LinuxContainerSecurityContext configuration for the container. SecurityContext *LinuxContainerSecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` // contains filtered or unexported fields }
LinuxContainerConfig contains platform-specific configuration for Linux-based containers.
func (*LinuxContainerConfig) Descriptor
deprecated
func (*LinuxContainerConfig) Descriptor() ([]byte, []int)
Deprecated: Use LinuxContainerConfig.ProtoReflect.Descriptor instead.
func (*LinuxContainerConfig) GetResources ¶
func (x *LinuxContainerConfig) GetResources() *LinuxContainerResources
func (*LinuxContainerConfig) GetSecurityContext ¶
func (x *LinuxContainerConfig) GetSecurityContext() *LinuxContainerSecurityContext
func (*LinuxContainerConfig) ProtoMessage ¶
func (*LinuxContainerConfig) ProtoMessage()
func (*LinuxContainerConfig) ProtoReflect ¶
func (x *LinuxContainerConfig) ProtoReflect() protoreflect.Message
func (*LinuxContainerConfig) Reset ¶
func (x *LinuxContainerConfig) Reset()
func (*LinuxContainerConfig) String ¶
func (x *LinuxContainerConfig) String() string
type LinuxContainerResources ¶
type LinuxContainerResources struct { // CPU CFS (Completely Fair Scheduler) period. Default: 0 (not specified). CpuPeriod int64 `protobuf:"varint,1,opt,name=cpu_period,json=cpuPeriod,proto3" json:"cpu_period,omitempty"` // CPU CFS (Completely Fair Scheduler) quota. Default: 0 (not specified). CpuQuota int64 `protobuf:"varint,2,opt,name=cpu_quota,json=cpuQuota,proto3" json:"cpu_quota,omitempty"` CpuShares int64 `protobuf:"varint,3,opt,name=cpu_shares,json=cpuShares,proto3" json:"cpu_shares,omitempty"` // Memory limit in bytes. Default: 0 (not specified). MemoryLimitInBytes int64 `protobuf:"varint,4,opt,name=memory_limit_in_bytes,json=memoryLimitInBytes,proto3" json:"memory_limit_in_bytes,omitempty"` // OOMScoreAdj adjusts the oom-killer score. Default: 0 (not specified). OomScoreAdj int64 `protobuf:"varint,5,opt,name=oom_score_adj,json=oomScoreAdj,proto3" json:"oom_score_adj,omitempty"` // CpusetCpus constrains the allowed set of logical CPUs. Default: "" (not specified). CpusetCpus string `protobuf:"bytes,6,opt,name=cpuset_cpus,json=cpusetCpus,proto3" json:"cpuset_cpus,omitempty"` // CpusetMems constrains the allowed set of memory nodes. Default: "" (not specified). CpusetMems string `protobuf:"bytes,7,opt,name=cpuset_mems,json=cpusetMems,proto3" json:"cpuset_mems,omitempty"` // List of HugepageLimits to limit the HugeTLB usage of container per page size. Default: nil (not specified). HugepageLimits []*HugepageLimit `protobuf:"bytes,8,rep,name=hugepage_limits,json=hugepageLimits,proto3" json:"hugepage_limits,omitempty"` // Unified resources for cgroup v2. Default: nil (not specified). // Each key/value in the map refers to the cgroup v2. // e.g. "memory.max": "6937202688" or "io.weight": "default 100". Unified map[string]string `` /* 155-byte string literal not displayed */ // Memory swap limit in bytes. Default 0 (not specified). MemorySwapLimitInBytes int64 `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
LinuxContainerResources specifies Linux specific configuration for resources.
func (*LinuxContainerResources) Descriptor
deprecated
func (*LinuxContainerResources) Descriptor() ([]byte, []int)
Deprecated: Use LinuxContainerResources.ProtoReflect.Descriptor instead.
func (*LinuxContainerResources) GetCpuPeriod ¶
func (x *LinuxContainerResources) GetCpuPeriod() int64
func (*LinuxContainerResources) GetCpuQuota ¶
func (x *LinuxContainerResources) GetCpuQuota() int64
func (*LinuxContainerResources) GetCpuShares ¶
func (x *LinuxContainerResources) GetCpuShares() int64
func (*LinuxContainerResources) GetCpusetCpus ¶
func (x *LinuxContainerResources) GetCpusetCpus() string
func (*LinuxContainerResources) GetCpusetMems ¶
func (x *LinuxContainerResources) GetCpusetMems() string
func (*LinuxContainerResources) GetHugepageLimits ¶
func (x *LinuxContainerResources) GetHugepageLimits() []*HugepageLimit
func (*LinuxContainerResources) GetMemoryLimitInBytes ¶
func (x *LinuxContainerResources) GetMemoryLimitInBytes() int64
func (*LinuxContainerResources) GetMemorySwapLimitInBytes ¶
func (x *LinuxContainerResources) GetMemorySwapLimitInBytes() int64
func (*LinuxContainerResources) GetOomScoreAdj ¶
func (x *LinuxContainerResources) GetOomScoreAdj() int64
func (*LinuxContainerResources) GetUnified ¶
func (x *LinuxContainerResources) GetUnified() map[string]string
func (*LinuxContainerResources) ProtoMessage ¶
func (*LinuxContainerResources) ProtoMessage()
func (*LinuxContainerResources) ProtoReflect ¶
func (x *LinuxContainerResources) ProtoReflect() protoreflect.Message
func (*LinuxContainerResources) Reset ¶
func (x *LinuxContainerResources) Reset()
func (*LinuxContainerResources) String ¶
func (x *LinuxContainerResources) String() string
type LinuxContainerSecurityContext ¶
type LinuxContainerSecurityContext struct { // Capabilities to add or drop. Capabilities *Capability `protobuf:"bytes,1,opt,name=capabilities,proto3" json:"capabilities,omitempty"` // If set, run container in privileged mode. // Privileged mode is incompatible with the following options. If // privileged is set, the following features MAY have no effect: // 1. capabilities // 2. selinux_options // 4. seccomp // 5. apparmor // // Privileged mode implies the following specific options are applied: // 1. All capabilities are added. // 2. Sensitive paths, such as kernel module paths within sysfs, are not masked. // 3. Any sysfs and procfs mounts are mounted RW. // 4. AppArmor confinement is not applied. // 5. Seccomp restrictions are not applied. // 6. The device cgroup does not restrict access to any devices. // 7. All devices from the host's /dev are available within the container. // 8. SELinux restrictions are not applied (e.g. label=disabled). Privileged bool `protobuf:"varint,2,opt,name=privileged,proto3" json:"privileged,omitempty"` // Configurations for the container's namespaces. // Only used if the container uses namespace for isolation. NamespaceOptions *NamespaceOption `protobuf:"bytes,3,opt,name=namespace_options,json=namespaceOptions,proto3" json:"namespace_options,omitempty"` // SELinux context to be optionally applied. SelinuxOptions *SELinuxOption `protobuf:"bytes,4,opt,name=selinux_options,json=selinuxOptions,proto3" json:"selinux_options,omitempty"` // UID to run the container process as. Only one of run_as_user and // run_as_username can be specified at a time. RunAsUser *Int64Value `protobuf:"bytes,5,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"` // GID to run the container process as. run_as_group should only be specified // when run_as_user or run_as_username is specified; otherwise, the runtime // MUST error. RunAsGroup *Int64Value `protobuf:"bytes,12,opt,name=run_as_group,json=runAsGroup,proto3" json:"run_as_group,omitempty"` // User name to run the container process as. If specified, the user MUST // exist in the container image (i.e. in the /etc/passwd inside the image), // and be resolved there by the runtime; otherwise, the runtime MUST error. RunAsUsername string `protobuf:"bytes,6,opt,name=run_as_username,json=runAsUsername,proto3" json:"run_as_username,omitempty"` // If set, the root filesystem of the container is read-only. ReadonlyRootfs bool `protobuf:"varint,7,opt,name=readonly_rootfs,json=readonlyRootfs,proto3" json:"readonly_rootfs,omitempty"` // List of groups applied to the first process run in the container, in // addition to the container's primary GID, and group memberships defined // in the container image for the container's primary UID of the container process. // If the list is empty, no additional groups are added to any container. // Note that group memberships defined in the container image for the container's primary UID // of the container process are still effective, even if they are not included in this list. SupplementalGroups []int64 `protobuf:"varint,8,rep,packed,name=supplemental_groups,json=supplementalGroups,proto3" json:"supplemental_groups,omitempty"` // no_new_privs defines if the flag for no_new_privs should be set on the // container. NoNewPrivs bool `protobuf:"varint,11,opt,name=no_new_privs,json=noNewPrivs,proto3" json:"no_new_privs,omitempty"` // masked_paths is a slice of paths that should be masked by the container // runtime, this can be passed directly to the OCI spec. MaskedPaths []string `protobuf:"bytes,13,rep,name=masked_paths,json=maskedPaths,proto3" json:"masked_paths,omitempty"` // readonly_paths is a slice of paths that should be set as readonly by the // container runtime, this can be passed directly to the OCI spec. ReadonlyPaths []string `protobuf:"bytes,14,rep,name=readonly_paths,json=readonlyPaths,proto3" json:"readonly_paths,omitempty"` // Seccomp profile for the container. Seccomp *SecurityProfile `protobuf:"bytes,15,opt,name=seccomp,proto3" json:"seccomp,omitempty"` // AppArmor profile for the container. Apparmor *SecurityProfile `protobuf:"bytes,16,opt,name=apparmor,proto3" json:"apparmor,omitempty"` // AppArmor profile for the container, candidate values are: // - runtime/default: equivalent to not specifying a profile. // - unconfined: no profiles are loaded // - localhost/<profile_name>: profile loaded on the node // (localhost) by name. The possible profile names are detailed at // https://gitlab.com/apparmor/apparmor/-/wikis/AppArmor_Core_Policy_Reference // // Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto. ApparmorProfile string `protobuf:"bytes,9,opt,name=apparmor_profile,json=apparmorProfile,proto3" json:"apparmor_profile,omitempty"` // Seccomp profile for the container, candidate values are: // - runtime/default: the default profile for the container runtime // - unconfined: unconfined profile, ie, no seccomp sandboxing // - localhost/<full-path-to-profile>: the profile installed on the node. // <full-path-to-profile> is the full path of the profile. // // Default: "", which is identical with unconfined. // // Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto. SeccompProfilePath string `protobuf:"bytes,10,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"` // contains filtered or unexported fields }
LinuxContainerSecurityContext holds linux security configuration that will be applied to a container.
func (*LinuxContainerSecurityContext) Descriptor
deprecated
func (*LinuxContainerSecurityContext) Descriptor() ([]byte, []int)
Deprecated: Use LinuxContainerSecurityContext.ProtoReflect.Descriptor instead.
func (*LinuxContainerSecurityContext) GetApparmor ¶
func (x *LinuxContainerSecurityContext) GetApparmor() *SecurityProfile
func (*LinuxContainerSecurityContext) GetApparmorProfile
deprecated
func (x *LinuxContainerSecurityContext) GetApparmorProfile() string
Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.
func (*LinuxContainerSecurityContext) GetCapabilities ¶
func (x *LinuxContainerSecurityContext) GetCapabilities() *Capability
func (*LinuxContainerSecurityContext) GetMaskedPaths ¶
func (x *LinuxContainerSecurityContext) GetMaskedPaths() []string
func (*LinuxContainerSecurityContext) GetNamespaceOptions ¶
func (x *LinuxContainerSecurityContext) GetNamespaceOptions() *NamespaceOption
func (*LinuxContainerSecurityContext) GetNoNewPrivs ¶
func (x *LinuxContainerSecurityContext) GetNoNewPrivs() bool
func (*LinuxContainerSecurityContext) GetPrivileged ¶
func (x *LinuxContainerSecurityContext) GetPrivileged() bool
func (*LinuxContainerSecurityContext) GetReadonlyPaths ¶
func (x *LinuxContainerSecurityContext) GetReadonlyPaths() []string
func (*LinuxContainerSecurityContext) GetReadonlyRootfs ¶
func (x *LinuxContainerSecurityContext) GetReadonlyRootfs() bool
func (*LinuxContainerSecurityContext) GetRunAsGroup ¶
func (x *LinuxContainerSecurityContext) GetRunAsGroup() *Int64Value
func (*LinuxContainerSecurityContext) GetRunAsUser ¶
func (x *LinuxContainerSecurityContext) GetRunAsUser() *Int64Value
func (*LinuxContainerSecurityContext) GetRunAsUsername ¶
func (x *LinuxContainerSecurityContext) GetRunAsUsername() string
func (*LinuxContainerSecurityContext) GetSeccomp ¶
func (x *LinuxContainerSecurityContext) GetSeccomp() *SecurityProfile
func (*LinuxContainerSecurityContext) GetSeccompProfilePath
deprecated
func (x *LinuxContainerSecurityContext) GetSeccompProfilePath() string
Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.
func (*LinuxContainerSecurityContext) GetSelinuxOptions ¶
func (x *LinuxContainerSecurityContext) GetSelinuxOptions() *SELinuxOption
func (*LinuxContainerSecurityContext) GetSupplementalGroups ¶
func (x *LinuxContainerSecurityContext) GetSupplementalGroups() []int64
func (*LinuxContainerSecurityContext) ProtoMessage ¶
func (*LinuxContainerSecurityContext) ProtoMessage()
func (*LinuxContainerSecurityContext) ProtoReflect ¶
func (x *LinuxContainerSecurityContext) ProtoReflect() protoreflect.Message
func (*LinuxContainerSecurityContext) Reset ¶
func (x *LinuxContainerSecurityContext) Reset()
func (*LinuxContainerSecurityContext) String ¶
func (x *LinuxContainerSecurityContext) String() string
type LinuxPodSandboxConfig ¶
type LinuxPodSandboxConfig struct { // Parent cgroup of the PodSandbox. // The cgroupfs style syntax will be used, but the container runtime can // convert it to systemd semantics if needed. CgroupParent string `protobuf:"bytes,1,opt,name=cgroup_parent,json=cgroupParent,proto3" json:"cgroup_parent,omitempty"` // LinuxSandboxSecurityContext holds sandbox security attributes. SecurityContext *LinuxSandboxSecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` // Sysctls holds linux sysctls config for the sandbox. Sysctls map[string]string `` /* 155-byte string literal not displayed */ // Optional overhead represents the overheads associated with this sandbox Overhead *LinuxContainerResources `protobuf:"bytes,4,opt,name=overhead,proto3" json:"overhead,omitempty"` // Optional resources represents the sum of container resources for this sandbox Resources *LinuxContainerResources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
LinuxPodSandboxConfig holds platform-specific configurations for Linux host platforms and Linux-based containers.
func (*LinuxPodSandboxConfig) Descriptor
deprecated
func (*LinuxPodSandboxConfig) Descriptor() ([]byte, []int)
Deprecated: Use LinuxPodSandboxConfig.ProtoReflect.Descriptor instead.
func (*LinuxPodSandboxConfig) GetCgroupParent ¶
func (x *LinuxPodSandboxConfig) GetCgroupParent() string
func (*LinuxPodSandboxConfig) GetOverhead ¶
func (x *LinuxPodSandboxConfig) GetOverhead() *LinuxContainerResources
func (*LinuxPodSandboxConfig) GetResources ¶
func (x *LinuxPodSandboxConfig) GetResources() *LinuxContainerResources
func (*LinuxPodSandboxConfig) GetSecurityContext ¶
func (x *LinuxPodSandboxConfig) GetSecurityContext() *LinuxSandboxSecurityContext
func (*LinuxPodSandboxConfig) GetSysctls ¶
func (x *LinuxPodSandboxConfig) GetSysctls() map[string]string
func (*LinuxPodSandboxConfig) ProtoMessage ¶
func (*LinuxPodSandboxConfig) ProtoMessage()
func (*LinuxPodSandboxConfig) ProtoReflect ¶
func (x *LinuxPodSandboxConfig) ProtoReflect() protoreflect.Message
func (*LinuxPodSandboxConfig) Reset ¶
func (x *LinuxPodSandboxConfig) Reset()
func (*LinuxPodSandboxConfig) String ¶
func (x *LinuxPodSandboxConfig) String() string
type LinuxPodSandboxStats ¶
type LinuxPodSandboxStats struct { // CPU usage gathered for the pod sandbox. Cpu *CpuUsage `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"` // Memory usage gathered for the pod sandbox. Memory *MemoryUsage `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"` // Network usage gathered for the pod sandbox Network *NetworkUsage `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` // Stats pertaining to processes in the pod sandbox. Process *ProcessUsage `protobuf:"bytes,4,opt,name=process,proto3" json:"process,omitempty"` // Stats of containers in the measured pod sandbox. Containers []*ContainerStats `protobuf:"bytes,5,rep,name=containers,proto3" json:"containers,omitempty"` // contains filtered or unexported fields }
LinuxPodSandboxStats provides the resource usage statistics for a pod sandbox on linux.
func (*LinuxPodSandboxStats) Descriptor
deprecated
func (*LinuxPodSandboxStats) Descriptor() ([]byte, []int)
Deprecated: Use LinuxPodSandboxStats.ProtoReflect.Descriptor instead.
func (*LinuxPodSandboxStats) GetContainers ¶
func (x *LinuxPodSandboxStats) GetContainers() []*ContainerStats
func (*LinuxPodSandboxStats) GetCpu ¶
func (x *LinuxPodSandboxStats) GetCpu() *CpuUsage
func (*LinuxPodSandboxStats) GetMemory ¶
func (x *LinuxPodSandboxStats) GetMemory() *MemoryUsage
func (*LinuxPodSandboxStats) GetNetwork ¶
func (x *LinuxPodSandboxStats) GetNetwork() *NetworkUsage
func (*LinuxPodSandboxStats) GetProcess ¶
func (x *LinuxPodSandboxStats) GetProcess() *ProcessUsage
func (*LinuxPodSandboxStats) ProtoMessage ¶
func (*LinuxPodSandboxStats) ProtoMessage()
func (*LinuxPodSandboxStats) ProtoReflect ¶
func (x *LinuxPodSandboxStats) ProtoReflect() protoreflect.Message
func (*LinuxPodSandboxStats) Reset ¶
func (x *LinuxPodSandboxStats) Reset()
func (*LinuxPodSandboxStats) String ¶
func (x *LinuxPodSandboxStats) String() string
type LinuxPodSandboxStatus ¶
type LinuxPodSandboxStatus struct { // Paths to the sandbox's namespaces. Namespaces *Namespace `protobuf:"bytes,1,opt,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
LinuxSandboxStatus contains status specific to Linux sandboxes.
func (*LinuxPodSandboxStatus) Descriptor
deprecated
func (*LinuxPodSandboxStatus) Descriptor() ([]byte, []int)
Deprecated: Use LinuxPodSandboxStatus.ProtoReflect.Descriptor instead.
func (*LinuxPodSandboxStatus) GetNamespaces ¶
func (x *LinuxPodSandboxStatus) GetNamespaces() *Namespace
func (*LinuxPodSandboxStatus) ProtoMessage ¶
func (*LinuxPodSandboxStatus) ProtoMessage()
func (*LinuxPodSandboxStatus) ProtoReflect ¶
func (x *LinuxPodSandboxStatus) ProtoReflect() protoreflect.Message
func (*LinuxPodSandboxStatus) Reset ¶
func (x *LinuxPodSandboxStatus) Reset()
func (*LinuxPodSandboxStatus) String ¶
func (x *LinuxPodSandboxStatus) String() string
type LinuxRuntimeConfiguration ¶
type LinuxRuntimeConfiguration struct { // Cgroup driver to use // Note: this field should not change for the lifecycle of the Kubelet, // or while there are running containers. // The Kubelet will not re-request this after startup, and will construct the cgroup // hierarchy assuming it is static. // If the runtime wishes to change this value, it must be accompanied by removal of // all pods, and a restart of the Kubelet. The easiest way to do this is with a full node reboot. CgroupDriver CgroupDriver `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LinuxRuntimeConfiguration) Descriptor
deprecated
func (*LinuxRuntimeConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use LinuxRuntimeConfiguration.ProtoReflect.Descriptor instead.
func (*LinuxRuntimeConfiguration) GetCgroupDriver ¶
func (x *LinuxRuntimeConfiguration) GetCgroupDriver() CgroupDriver
func (*LinuxRuntimeConfiguration) ProtoMessage ¶
func (*LinuxRuntimeConfiguration) ProtoMessage()
func (*LinuxRuntimeConfiguration) ProtoReflect ¶
func (x *LinuxRuntimeConfiguration) ProtoReflect() protoreflect.Message
func (*LinuxRuntimeConfiguration) Reset ¶
func (x *LinuxRuntimeConfiguration) Reset()
func (*LinuxRuntimeConfiguration) String ¶
func (x *LinuxRuntimeConfiguration) String() string
type LinuxSandboxSecurityContext ¶
type LinuxSandboxSecurityContext struct { // Configurations for the sandbox's namespaces. // This will be used only if the PodSandbox uses namespace for isolation. NamespaceOptions *NamespaceOption `protobuf:"bytes,1,opt,name=namespace_options,json=namespaceOptions,proto3" json:"namespace_options,omitempty"` // Optional SELinux context to be applied. SelinuxOptions *SELinuxOption `protobuf:"bytes,2,opt,name=selinux_options,json=selinuxOptions,proto3" json:"selinux_options,omitempty"` // UID to run sandbox processes as, when applicable. RunAsUser *Int64Value `protobuf:"bytes,3,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"` // GID to run sandbox processes as, when applicable. run_as_group should only // be specified when run_as_user is specified; otherwise, the runtime MUST error. RunAsGroup *Int64Value `protobuf:"bytes,8,opt,name=run_as_group,json=runAsGroup,proto3" json:"run_as_group,omitempty"` // If set, the root filesystem of the sandbox is read-only. ReadonlyRootfs bool `protobuf:"varint,4,opt,name=readonly_rootfs,json=readonlyRootfs,proto3" json:"readonly_rootfs,omitempty"` // List of groups applied to the first process run in the sandbox, in // addition to the sandbox's primary GID, and group memberships defined // in the container image for the sandbox's primary UID of the container process. // If the list is empty, no additional groups are added to any container. // Note that group memberships defined in the container image for the sandbox's primary UID // of the container process are still effective, even if they are not included in this list. SupplementalGroups []int64 `protobuf:"varint,5,rep,packed,name=supplemental_groups,json=supplementalGroups,proto3" json:"supplemental_groups,omitempty"` // Indicates whether the sandbox will be asked to run a privileged // container. If a privileged container is to be executed within it, this // MUST be true. // This allows a sandbox to take additional security precautions if no // privileged containers are expected to be run. Privileged bool `protobuf:"varint,6,opt,name=privileged,proto3" json:"privileged,omitempty"` // Seccomp profile for the sandbox. Seccomp *SecurityProfile `protobuf:"bytes,9,opt,name=seccomp,proto3" json:"seccomp,omitempty"` // AppArmor profile for the sandbox. Apparmor *SecurityProfile `protobuf:"bytes,10,opt,name=apparmor,proto3" json:"apparmor,omitempty"` // Seccomp profile for the sandbox, candidate values are: // - runtime/default: the default profile for the container runtime // - unconfined: unconfined profile, ie, no seccomp sandboxing // - localhost/<full-path-to-profile>: the profile installed on the node. // <full-path-to-profile> is the full path of the profile. // // Default: "", which is identical with unconfined. // // Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto. SeccompProfilePath string `protobuf:"bytes,7,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"` // contains filtered or unexported fields }
LinuxSandboxSecurityContext holds linux security configuration that will be applied to a sandbox. Note that:
- 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
deprecated
func (*LinuxSandboxSecurityContext) Descriptor() ([]byte, []int)
Deprecated: Use LinuxSandboxSecurityContext.ProtoReflect.Descriptor instead.
func (*LinuxSandboxSecurityContext) GetApparmor ¶
func (x *LinuxSandboxSecurityContext) GetApparmor() *SecurityProfile
func (*LinuxSandboxSecurityContext) GetNamespaceOptions ¶
func (x *LinuxSandboxSecurityContext) GetNamespaceOptions() *NamespaceOption
func (*LinuxSandboxSecurityContext) GetPrivileged ¶
func (x *LinuxSandboxSecurityContext) GetPrivileged() bool
func (*LinuxSandboxSecurityContext) GetReadonlyRootfs ¶
func (x *LinuxSandboxSecurityContext) GetReadonlyRootfs() bool
func (*LinuxSandboxSecurityContext) GetRunAsGroup ¶
func (x *LinuxSandboxSecurityContext) GetRunAsGroup() *Int64Value
func (*LinuxSandboxSecurityContext) GetRunAsUser ¶
func (x *LinuxSandboxSecurityContext) GetRunAsUser() *Int64Value
func (*LinuxSandboxSecurityContext) GetSeccomp ¶
func (x *LinuxSandboxSecurityContext) GetSeccomp() *SecurityProfile
func (*LinuxSandboxSecurityContext) GetSeccompProfilePath
deprecated
func (x *LinuxSandboxSecurityContext) GetSeccompProfilePath() string
Deprecated: Marked as deprecated in pkg/apis/runtime/v1/api.proto.
func (*LinuxSandboxSecurityContext) GetSelinuxOptions ¶
func (x *LinuxSandboxSecurityContext) GetSelinuxOptions() *SELinuxOption
func (*LinuxSandboxSecurityContext) GetSupplementalGroups ¶
func (x *LinuxSandboxSecurityContext) GetSupplementalGroups() []int64
func (*LinuxSandboxSecurityContext) ProtoMessage ¶
func (*LinuxSandboxSecurityContext) ProtoMessage()
func (*LinuxSandboxSecurityContext) ProtoReflect ¶
func (x *LinuxSandboxSecurityContext) ProtoReflect() protoreflect.Message
func (*LinuxSandboxSecurityContext) Reset ¶
func (x *LinuxSandboxSecurityContext) Reset()
func (*LinuxSandboxSecurityContext) String ¶
func (x *LinuxSandboxSecurityContext) String() string
type ListContainerStatsRequest ¶
type ListContainerStatsRequest struct { // Filter for the list request. Filter *ContainerStatsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListContainerStatsRequest) Descriptor
deprecated
func (*ListContainerStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerStatsRequest.ProtoReflect.Descriptor instead.
func (*ListContainerStatsRequest) GetFilter ¶
func (x *ListContainerStatsRequest) GetFilter() *ContainerStatsFilter
func (*ListContainerStatsRequest) ProtoMessage ¶
func (*ListContainerStatsRequest) ProtoMessage()
func (*ListContainerStatsRequest) ProtoReflect ¶
func (x *ListContainerStatsRequest) ProtoReflect() protoreflect.Message
func (*ListContainerStatsRequest) Reset ¶
func (x *ListContainerStatsRequest) Reset()
func (*ListContainerStatsRequest) String ¶
func (x *ListContainerStatsRequest) String() string
type ListContainerStatsResponse ¶
type ListContainerStatsResponse struct { // Stats of the container. Stats []*ContainerStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*ListContainerStatsResponse) Descriptor
deprecated
func (*ListContainerStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerStatsResponse.ProtoReflect.Descriptor instead.
func (*ListContainerStatsResponse) GetStats ¶
func (x *ListContainerStatsResponse) GetStats() []*ContainerStats
func (*ListContainerStatsResponse) ProtoMessage ¶
func (*ListContainerStatsResponse) ProtoMessage()
func (*ListContainerStatsResponse) ProtoReflect ¶
func (x *ListContainerStatsResponse) ProtoReflect() protoreflect.Message
func (*ListContainerStatsResponse) Reset ¶
func (x *ListContainerStatsResponse) Reset()
func (*ListContainerStatsResponse) String ¶
func (x *ListContainerStatsResponse) String() string
type ListContainersRequest ¶
type ListContainersRequest struct { Filter *ContainerFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListContainersRequest) Descriptor
deprecated
func (*ListContainersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContainersRequest.ProtoReflect.Descriptor instead.
func (*ListContainersRequest) GetFilter ¶
func (x *ListContainersRequest) GetFilter() *ContainerFilter
func (*ListContainersRequest) ProtoMessage ¶
func (*ListContainersRequest) ProtoMessage()
func (*ListContainersRequest) ProtoReflect ¶
func (x *ListContainersRequest) ProtoReflect() protoreflect.Message
func (*ListContainersRequest) Reset ¶
func (x *ListContainersRequest) Reset()
func (*ListContainersRequest) String ¶
func (x *ListContainersRequest) String() string
type ListContainersResponse ¶
type ListContainersResponse struct { // List of containers. Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"` // contains filtered or unexported fields }
func (*ListContainersResponse) Descriptor
deprecated
func (*ListContainersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainersResponse.ProtoReflect.Descriptor instead.
func (*ListContainersResponse) GetContainers ¶
func (x *ListContainersResponse) GetContainers() []*Container
func (*ListContainersResponse) ProtoMessage ¶
func (*ListContainersResponse) ProtoMessage()
func (*ListContainersResponse) ProtoReflect ¶
func (x *ListContainersResponse) ProtoReflect() protoreflect.Message
func (*ListContainersResponse) Reset ¶
func (x *ListContainersResponse) Reset()
func (*ListContainersResponse) String ¶
func (x *ListContainersResponse) String() string
type ListImagesRequest ¶
type ListImagesRequest struct { // Filter to list images. Filter *ImageFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListImagesRequest) Descriptor
deprecated
func (*ListImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesRequest.ProtoReflect.Descriptor instead.
func (*ListImagesRequest) GetFilter ¶
func (x *ListImagesRequest) GetFilter() *ImageFilter
func (*ListImagesRequest) ProtoMessage ¶
func (*ListImagesRequest) ProtoMessage()
func (*ListImagesRequest) ProtoReflect ¶
func (x *ListImagesRequest) ProtoReflect() protoreflect.Message
func (*ListImagesRequest) Reset ¶
func (x *ListImagesRequest) Reset()
func (*ListImagesRequest) String ¶
func (x *ListImagesRequest) String() string
type ListImagesResponse ¶
type ListImagesResponse struct { // List of images. Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*ListImagesResponse) Descriptor
deprecated
func (*ListImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesResponse.ProtoReflect.Descriptor instead.
func (*ListImagesResponse) GetImages ¶
func (x *ListImagesResponse) GetImages() []*Image
func (*ListImagesResponse) ProtoMessage ¶
func (*ListImagesResponse) ProtoMessage()
func (*ListImagesResponse) ProtoReflect ¶
func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
func (*ListImagesResponse) Reset ¶
func (x *ListImagesResponse) Reset()
func (*ListImagesResponse) String ¶
func (x *ListImagesResponse) String() string
type ListMetricDescriptorsRequest ¶
type ListMetricDescriptorsRequest struct {
// contains filtered or unexported fields
}
func (*ListMetricDescriptorsRequest) Descriptor
deprecated
func (*ListMetricDescriptorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMetricDescriptorsRequest.ProtoReflect.Descriptor instead.
func (*ListMetricDescriptorsRequest) ProtoMessage ¶
func (*ListMetricDescriptorsRequest) ProtoMessage()
func (*ListMetricDescriptorsRequest) ProtoReflect ¶
func (x *ListMetricDescriptorsRequest) ProtoReflect() protoreflect.Message
func (*ListMetricDescriptorsRequest) Reset ¶
func (x *ListMetricDescriptorsRequest) Reset()
func (*ListMetricDescriptorsRequest) String ¶
func (x *ListMetricDescriptorsRequest) String() string
type ListMetricDescriptorsResponse ¶
type ListMetricDescriptorsResponse struct { Descriptors []*MetricDescriptor `protobuf:"bytes,1,rep,name=descriptors,proto3" json:"descriptors,omitempty"` // contains filtered or unexported fields }
func (*ListMetricDescriptorsResponse) Descriptor
deprecated
func (*ListMetricDescriptorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMetricDescriptorsResponse.ProtoReflect.Descriptor instead.
func (*ListMetricDescriptorsResponse) GetDescriptors ¶
func (x *ListMetricDescriptorsResponse) GetDescriptors() []*MetricDescriptor
func (*ListMetricDescriptorsResponse) ProtoMessage ¶
func (*ListMetricDescriptorsResponse) ProtoMessage()
func (*ListMetricDescriptorsResponse) ProtoReflect ¶
func (x *ListMetricDescriptorsResponse) ProtoReflect() protoreflect.Message
func (*ListMetricDescriptorsResponse) Reset ¶
func (x *ListMetricDescriptorsResponse) Reset()
func (*ListMetricDescriptorsResponse) String ¶
func (x *ListMetricDescriptorsResponse) String() string
type ListPodSandboxMetricsRequest ¶
type ListPodSandboxMetricsRequest struct {
// contains filtered or unexported fields
}
func (*ListPodSandboxMetricsRequest) Descriptor
deprecated
func (*ListPodSandboxMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPodSandboxMetricsRequest.ProtoReflect.Descriptor instead.
func (*ListPodSandboxMetricsRequest) ProtoMessage ¶
func (*ListPodSandboxMetricsRequest) ProtoMessage()
func (*ListPodSandboxMetricsRequest) ProtoReflect ¶
func (x *ListPodSandboxMetricsRequest) ProtoReflect() protoreflect.Message
func (*ListPodSandboxMetricsRequest) Reset ¶
func (x *ListPodSandboxMetricsRequest) Reset()
func (*ListPodSandboxMetricsRequest) String ¶
func (x *ListPodSandboxMetricsRequest) String() string
type ListPodSandboxMetricsResponse ¶
type ListPodSandboxMetricsResponse struct { PodMetrics []*PodSandboxMetrics `protobuf:"bytes,1,rep,name=pod_metrics,json=podMetrics,proto3" json:"pod_metrics,omitempty"` // contains filtered or unexported fields }
func (*ListPodSandboxMetricsResponse) Descriptor
deprecated
func (*ListPodSandboxMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPodSandboxMetricsResponse.ProtoReflect.Descriptor instead.
func (*ListPodSandboxMetricsResponse) GetPodMetrics ¶
func (x *ListPodSandboxMetricsResponse) GetPodMetrics() []*PodSandboxMetrics
func (*ListPodSandboxMetricsResponse) ProtoMessage ¶
func (*ListPodSandboxMetricsResponse) ProtoMessage()
func (*ListPodSandboxMetricsResponse) ProtoReflect ¶
func (x *ListPodSandboxMetricsResponse) ProtoReflect() protoreflect.Message
func (*ListPodSandboxMetricsResponse) Reset ¶
func (x *ListPodSandboxMetricsResponse) Reset()
func (*ListPodSandboxMetricsResponse) String ¶
func (x *ListPodSandboxMetricsResponse) String() string
type ListPodSandboxRequest ¶
type ListPodSandboxRequest struct { // PodSandboxFilter to filter a list of PodSandboxes. Filter *PodSandboxFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListPodSandboxRequest) Descriptor
deprecated
func (*ListPodSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPodSandboxRequest.ProtoReflect.Descriptor instead.
func (*ListPodSandboxRequest) GetFilter ¶
func (x *ListPodSandboxRequest) GetFilter() *PodSandboxFilter
func (*ListPodSandboxRequest) ProtoMessage ¶
func (*ListPodSandboxRequest) ProtoMessage()
func (*ListPodSandboxRequest) ProtoReflect ¶
func (x *ListPodSandboxRequest) ProtoReflect() protoreflect.Message
func (*ListPodSandboxRequest) Reset ¶
func (x *ListPodSandboxRequest) Reset()
func (*ListPodSandboxRequest) String ¶
func (x *ListPodSandboxRequest) String() string
type ListPodSandboxResponse ¶
type ListPodSandboxResponse struct { // List of PodSandboxes. Items []*PodSandbox `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListPodSandboxResponse) Descriptor
deprecated
func (*ListPodSandboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPodSandboxResponse.ProtoReflect.Descriptor instead.
func (*ListPodSandboxResponse) GetItems ¶
func (x *ListPodSandboxResponse) GetItems() []*PodSandbox
func (*ListPodSandboxResponse) ProtoMessage ¶
func (*ListPodSandboxResponse) ProtoMessage()
func (*ListPodSandboxResponse) ProtoReflect ¶
func (x *ListPodSandboxResponse) ProtoReflect() protoreflect.Message
func (*ListPodSandboxResponse) Reset ¶
func (x *ListPodSandboxResponse) Reset()
func (*ListPodSandboxResponse) String ¶
func (x *ListPodSandboxResponse) String() string
type ListPodSandboxStatsRequest ¶
type ListPodSandboxStatsRequest struct { // Filter for the list request. Filter *PodSandboxStatsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListPodSandboxStatsRequest) Descriptor
deprecated
func (*ListPodSandboxStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPodSandboxStatsRequest.ProtoReflect.Descriptor instead.
func (*ListPodSandboxStatsRequest) GetFilter ¶
func (x *ListPodSandboxStatsRequest) GetFilter() *PodSandboxStatsFilter
func (*ListPodSandboxStatsRequest) ProtoMessage ¶
func (*ListPodSandboxStatsRequest) ProtoMessage()
func (*ListPodSandboxStatsRequest) ProtoReflect ¶
func (x *ListPodSandboxStatsRequest) ProtoReflect() protoreflect.Message
func (*ListPodSandboxStatsRequest) Reset ¶
func (x *ListPodSandboxStatsRequest) Reset()
func (*ListPodSandboxStatsRequest) String ¶
func (x *ListPodSandboxStatsRequest) String() string
type ListPodSandboxStatsResponse ¶
type ListPodSandboxStatsResponse struct { // Stats of the pod sandbox. Stats []*PodSandboxStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*ListPodSandboxStatsResponse) Descriptor
deprecated
func (*ListPodSandboxStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPodSandboxStatsResponse.ProtoReflect.Descriptor instead.
func (*ListPodSandboxStatsResponse) GetStats ¶
func (x *ListPodSandboxStatsResponse) GetStats() []*PodSandboxStats
func (*ListPodSandboxStatsResponse) ProtoMessage ¶
func (*ListPodSandboxStatsResponse) ProtoMessage()
func (*ListPodSandboxStatsResponse) ProtoReflect ¶
func (x *ListPodSandboxStatsResponse) ProtoReflect() protoreflect.Message
func (*ListPodSandboxStatsResponse) Reset ¶
func (x *ListPodSandboxStatsResponse) Reset()
func (*ListPodSandboxStatsResponse) String ¶
func (x *ListPodSandboxStatsResponse) String() string
type MemoryUsage ¶
type MemoryUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The amount of working set memory in bytes. WorkingSetBytes *UInt64Value `protobuf:"bytes,2,opt,name=working_set_bytes,json=workingSetBytes,proto3" json:"working_set_bytes,omitempty"` // Available memory for use. This is defined as the memory limit - workingSetBytes. AvailableBytes *UInt64Value `protobuf:"bytes,3,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"` // Total memory in use. This includes all memory regardless of when it was accessed. UsageBytes *UInt64Value `protobuf:"bytes,4,opt,name=usage_bytes,json=usageBytes,proto3" json:"usage_bytes,omitempty"` // The amount of anonymous and swap cache memory (includes transparent hugepages). RssBytes *UInt64Value `protobuf:"bytes,5,opt,name=rss_bytes,json=rssBytes,proto3" json:"rss_bytes,omitempty"` // Cumulative number of minor page faults. PageFaults *UInt64Value `protobuf:"bytes,6,opt,name=page_faults,json=pageFaults,proto3" json:"page_faults,omitempty"` // Cumulative number of major page faults. MajorPageFaults *UInt64Value `protobuf:"bytes,7,opt,name=major_page_faults,json=majorPageFaults,proto3" json:"major_page_faults,omitempty"` // contains filtered or unexported fields }
MemoryUsage provides the memory usage information.
func (*MemoryUsage) Descriptor
deprecated
func (*MemoryUsage) Descriptor() ([]byte, []int)
Deprecated: Use MemoryUsage.ProtoReflect.Descriptor instead.
func (*MemoryUsage) GetAvailableBytes ¶
func (x *MemoryUsage) GetAvailableBytes() *UInt64Value
func (*MemoryUsage) GetMajorPageFaults ¶
func (x *MemoryUsage) GetMajorPageFaults() *UInt64Value
func (*MemoryUsage) GetPageFaults ¶
func (x *MemoryUsage) GetPageFaults() *UInt64Value
func (*MemoryUsage) GetRssBytes ¶
func (x *MemoryUsage) GetRssBytes() *UInt64Value
func (*MemoryUsage) GetTimestamp ¶
func (x *MemoryUsage) GetTimestamp() int64
func (*MemoryUsage) GetUsageBytes ¶
func (x *MemoryUsage) GetUsageBytes() *UInt64Value
func (*MemoryUsage) GetWorkingSetBytes ¶
func (x *MemoryUsage) GetWorkingSetBytes() *UInt64Value
func (*MemoryUsage) ProtoMessage ¶
func (*MemoryUsage) ProtoMessage()
func (*MemoryUsage) ProtoReflect ¶
func (x *MemoryUsage) ProtoReflect() protoreflect.Message
func (*MemoryUsage) Reset ¶
func (x *MemoryUsage) Reset()
func (*MemoryUsage) String ¶
func (x *MemoryUsage) String() string
type Metric ¶
type Metric struct { // Name must match a name previously returned in a MetricDescriptors call, // otherwise, it will be ignored. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Timestamp should be 0 if the metric was gathered live. // If it was cached, the Timestamp should reflect the time it was collected. Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` MetricType MetricType `protobuf:"varint,3,opt,name=metric_type,json=metricType,proto3,enum=runtime.v1.MetricType" json:"metric_type,omitempty"` // The corresponding LabelValues to the LabelKeys defined in the MetricDescriptor. // It is the responsibility of the runtime to correctly keep sorted the keys and values. // If the two slices have different length, the behavior is undefined. LabelValues []string `protobuf:"bytes,4,rep,name=label_values,json=labelValues,proto3" json:"label_values,omitempty"` Value *UInt64Value `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Metric) GetMetricType ¶
func (x *Metric) GetMetricType() MetricType
func (*Metric) GetValue ¶
func (x *Metric) GetValue() *UInt64Value
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type MetricDescriptor ¶
type MetricDescriptor struct { // The name field will be used as a unique identifier of this MetricDescriptor, // and be used in conjunction with the Metric structure to populate the full Metric. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Help string `protobuf:"bytes,2,opt,name=help,proto3" json:"help,omitempty"` // When a metric uses this metric descriptor, it should only define // labels that have previously been declared in label_keys. // It is the responsibility of the runtime to correctly keep sorted the keys and values. // If the two slices have different length, the behavior is undefined. LabelKeys []string `protobuf:"bytes,3,rep,name=label_keys,json=labelKeys,proto3" json:"label_keys,omitempty"` // contains filtered or unexported fields }
func (*MetricDescriptor) Descriptor
deprecated
func (*MetricDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use MetricDescriptor.ProtoReflect.Descriptor instead.
func (*MetricDescriptor) GetHelp ¶
func (x *MetricDescriptor) GetHelp() string
func (*MetricDescriptor) GetLabelKeys ¶
func (x *MetricDescriptor) GetLabelKeys() []string
func (*MetricDescriptor) GetName ¶
func (x *MetricDescriptor) GetName() string
func (*MetricDescriptor) ProtoMessage ¶
func (*MetricDescriptor) ProtoMessage()
func (*MetricDescriptor) ProtoReflect ¶
func (x *MetricDescriptor) ProtoReflect() protoreflect.Message
func (*MetricDescriptor) Reset ¶
func (x *MetricDescriptor) Reset()
func (*MetricDescriptor) String ¶
func (x *MetricDescriptor) String() string
type MetricType ¶
type MetricType int32
const ( MetricType_COUNTER MetricType = 0 MetricType_GAUGE MetricType = 1 )
func (MetricType) Descriptor ¶
func (MetricType) Descriptor() protoreflect.EnumDescriptor
func (MetricType) Enum ¶
func (x MetricType) Enum() *MetricType
func (MetricType) EnumDescriptor
deprecated
func (MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricType.Descriptor instead.
func (MetricType) Number ¶
func (x MetricType) Number() protoreflect.EnumNumber
func (MetricType) String ¶
func (x MetricType) String() string
func (MetricType) Type ¶
func (MetricType) Type() protoreflect.EnumType
type Mount ¶
type Mount struct { // Path of the mount within the container. ContainerPath string `protobuf:"bytes,1,opt,name=container_path,json=containerPath,proto3" json:"container_path,omitempty"` // Path of the mount on the host. If the hostPath doesn't exist, then runtimes // should report error. If the hostpath is a symbolic link, runtimes should // follow the symlink and mount the real destination to container. HostPath string `protobuf:"bytes,2,opt,name=host_path,json=hostPath,proto3" json:"host_path,omitempty"` // If set, the mount is read-only. Readonly bool `protobuf:"varint,3,opt,name=readonly,proto3" json:"readonly,omitempty"` // If set, the mount needs SELinux relabeling. SelinuxRelabel bool `protobuf:"varint,4,opt,name=selinux_relabel,json=selinuxRelabel,proto3" json:"selinux_relabel,omitempty"` // Requested propagation mode. Propagation MountPropagation `protobuf:"varint,5,opt,name=propagation,proto3,enum=runtime.v1.MountPropagation" json:"propagation,omitempty"` // UidMappings specifies the runtime UID mappings for the mount. UidMappings []*IDMapping `protobuf:"bytes,6,rep,name=uidMappings,proto3" json:"uidMappings,omitempty"` // GidMappings specifies the runtime GID mappings for the mount. GidMappings []*IDMapping `protobuf:"bytes,7,rep,name=gidMappings,proto3" json:"gidMappings,omitempty"` // contains filtered or unexported fields }
Mount specifies a host volume to mount into a container.
func (*Mount) GetPropagation ¶
func (x *Mount) GetPropagation() MountPropagation
func (*Mount) ProtoReflect ¶
func (x *Mount) ProtoReflect() protoreflect.Message
type MountPropagation ¶
type MountPropagation int32
const ( // No mount propagation ("rprivate" in Linux terminology). MountPropagation_PROPAGATION_PRIVATE MountPropagation = 0 // Mounts get propagated from the host to the container ("rslave" in Linux). MountPropagation_PROPAGATION_HOST_TO_CONTAINER MountPropagation = 1 // Mounts get propagated from the host to the container and from the // container to the host ("rshared" in Linux). MountPropagation_PROPAGATION_BIDIRECTIONAL MountPropagation = 2 )
func (MountPropagation) Descriptor ¶
func (MountPropagation) Descriptor() protoreflect.EnumDescriptor
func (MountPropagation) Enum ¶
func (x MountPropagation) Enum() *MountPropagation
func (MountPropagation) EnumDescriptor
deprecated
func (MountPropagation) EnumDescriptor() ([]byte, []int)
Deprecated: Use MountPropagation.Descriptor instead.
func (MountPropagation) Number ¶
func (x MountPropagation) Number() protoreflect.EnumNumber
func (MountPropagation) String ¶
func (x MountPropagation) String() string
func (MountPropagation) Type ¶
func (MountPropagation) Type() protoreflect.EnumType
type Namespace ¶
type Namespace struct { // Namespace options for Linux namespaces. Options *NamespaceOption `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
Namespace contains paths to the namespaces.
func (*Namespace) GetOptions ¶
func (x *Namespace) GetOptions() *NamespaceOption
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
type NamespaceMode ¶
type NamespaceMode int32
A NamespaceMode describes the intended namespace configuration for each of the namespaces (Network, PID, IPC) in NamespaceOption. Runtimes should map these modes as appropriate for the technology underlying the runtime.
const ( // A POD namespace is common to all containers in a pod. // For example, a container with a PID namespace of POD expects to view // all of the processes in all of the containers in the pod. NamespaceMode_POD NamespaceMode = 0 // A CONTAINER namespace is restricted to a single container. // For example, a container with a PID namespace of CONTAINER expects to // view only the processes in that container. NamespaceMode_CONTAINER NamespaceMode = 1 // A NODE namespace is the namespace of the Kubernetes node. // For example, a container with a PID namespace of NODE expects to view // all of the processes on the host running the kubelet. NamespaceMode_NODE NamespaceMode = 2 // TARGET targets the namespace of another container. When this is specified, // a target_id must be specified in NamespaceOption and refer to a container // previously created with NamespaceMode CONTAINER. This containers namespace // will be made to match that of container target_id. // For example, a container with a PID namespace of TARGET expects to view // all of the processes that container target_id can view. NamespaceMode_TARGET NamespaceMode = 3 )
func (NamespaceMode) Descriptor ¶
func (NamespaceMode) Descriptor() protoreflect.EnumDescriptor
func (NamespaceMode) Enum ¶
func (x NamespaceMode) Enum() *NamespaceMode
func (NamespaceMode) EnumDescriptor
deprecated
func (NamespaceMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NamespaceMode.Descriptor instead.
func (NamespaceMode) Number ¶
func (x NamespaceMode) Number() protoreflect.EnumNumber
func (NamespaceMode) String ¶
func (x NamespaceMode) String() string
func (NamespaceMode) Type ¶
func (NamespaceMode) Type() protoreflect.EnumType
type NamespaceOption ¶
type NamespaceOption struct { // Network namespace for this container/sandbox. // Note: There is currently no way to set CONTAINER scoped network in the Kubernetes API. // Namespaces currently set by the kubelet: POD, NODE Network NamespaceMode `protobuf:"varint,1,opt,name=network,proto3,enum=runtime.v1.NamespaceMode" json:"network,omitempty"` // PID namespace for this container/sandbox. // Note: The CRI default is POD, but the v1.PodSpec default is CONTAINER. // The kubelet's runtime manager will set this to CONTAINER explicitly for v1 pods. // Namespaces currently set by the kubelet: POD, CONTAINER, NODE, TARGET Pid NamespaceMode `protobuf:"varint,2,opt,name=pid,proto3,enum=runtime.v1.NamespaceMode" json:"pid,omitempty"` // IPC namespace for this container/sandbox. // Note: There is currently no way to set CONTAINER scoped IPC in the Kubernetes API. // Namespaces currently set by the kubelet: POD, NODE Ipc NamespaceMode `protobuf:"varint,3,opt,name=ipc,proto3,enum=runtime.v1.NamespaceMode" json:"ipc,omitempty"` // Target Container ID for NamespaceMode of TARGET. This container must have been // previously created in the same pod. It is not possible to specify different targets // for each namespace. TargetId string `protobuf:"bytes,4,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // UsernsOptions for this pod sandbox. // The Kubelet picks the user namespace configuration to use for the pod sandbox. The mappings // are specified as part of the UserNamespace struct. If the struct is nil, then the POD mode // must be assumed. This is done for backward compatibility with older Kubelet versions that // do not set a user namespace. UsernsOptions *UserNamespace `protobuf:"bytes,5,opt,name=userns_options,json=usernsOptions,proto3" json:"userns_options,omitempty"` // contains filtered or unexported fields }
NamespaceOption provides options for Linux namespaces.
func (*NamespaceOption) Descriptor
deprecated
func (*NamespaceOption) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceOption.ProtoReflect.Descriptor instead.
func (*NamespaceOption) GetIpc ¶
func (x *NamespaceOption) GetIpc() NamespaceMode
func (*NamespaceOption) GetNetwork ¶
func (x *NamespaceOption) GetNetwork() NamespaceMode
func (*NamespaceOption) GetPid ¶
func (x *NamespaceOption) GetPid() NamespaceMode
func (*NamespaceOption) GetTargetId ¶
func (x *NamespaceOption) GetTargetId() string
func (*NamespaceOption) GetUsernsOptions ¶
func (x *NamespaceOption) GetUsernsOptions() *UserNamespace
func (*NamespaceOption) ProtoMessage ¶
func (*NamespaceOption) ProtoMessage()
func (*NamespaceOption) ProtoReflect ¶
func (x *NamespaceOption) ProtoReflect() protoreflect.Message
func (*NamespaceOption) Reset ¶
func (x *NamespaceOption) Reset()
func (*NamespaceOption) String ¶
func (x *NamespaceOption) String() string
type NetworkConfig ¶
type NetworkConfig struct { // CIDR to use for pod IP addresses. If the CIDR is empty, runtimes // should omit it. PodCidr string `protobuf:"bytes,1,opt,name=pod_cidr,json=podCidr,proto3" json:"pod_cidr,omitempty"` // contains filtered or unexported fields }
func (*NetworkConfig) Descriptor
deprecated
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetPodCidr ¶
func (x *NetworkConfig) GetPodCidr() string
func (*NetworkConfig) ProtoMessage ¶
func (*NetworkConfig) ProtoMessage()
func (*NetworkConfig) ProtoReflect ¶
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (*NetworkConfig) Reset ¶
func (x *NetworkConfig) Reset()
func (*NetworkConfig) String ¶
func (x *NetworkConfig) String() string
type NetworkInterfaceUsage ¶
type NetworkInterfaceUsage struct { // The name of the network interface. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cumulative count of bytes received. RxBytes *UInt64Value `protobuf:"bytes,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"` // Cumulative count of receive errors encountered. RxErrors *UInt64Value `protobuf:"bytes,3,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"` // Cumulative count of bytes transmitted. TxBytes *UInt64Value `protobuf:"bytes,4,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"` // Cumulative count of transmit errors encountered. TxErrors *UInt64Value `protobuf:"bytes,5,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"` // contains filtered or unexported fields }
NetworkInterfaceUsage contains resource value data about a network interface.
func (*NetworkInterfaceUsage) Descriptor
deprecated
func (*NetworkInterfaceUsage) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInterfaceUsage.ProtoReflect.Descriptor instead.
func (*NetworkInterfaceUsage) GetName ¶
func (x *NetworkInterfaceUsage) GetName() string
func (*NetworkInterfaceUsage) GetRxBytes ¶
func (x *NetworkInterfaceUsage) GetRxBytes() *UInt64Value
func (*NetworkInterfaceUsage) GetRxErrors ¶
func (x *NetworkInterfaceUsage) GetRxErrors() *UInt64Value
func (*NetworkInterfaceUsage) GetTxBytes ¶
func (x *NetworkInterfaceUsage) GetTxBytes() *UInt64Value
func (*NetworkInterfaceUsage) GetTxErrors ¶
func (x *NetworkInterfaceUsage) GetTxErrors() *UInt64Value
func (*NetworkInterfaceUsage) ProtoMessage ¶
func (*NetworkInterfaceUsage) ProtoMessage()
func (*NetworkInterfaceUsage) ProtoReflect ¶
func (x *NetworkInterfaceUsage) ProtoReflect() protoreflect.Message
func (*NetworkInterfaceUsage) Reset ¶
func (x *NetworkInterfaceUsage) Reset()
func (*NetworkInterfaceUsage) String ¶
func (x *NetworkInterfaceUsage) String() string
type NetworkUsage ¶
type NetworkUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Stats for the default network interface. DefaultInterface *NetworkInterfaceUsage `protobuf:"bytes,2,opt,name=default_interface,json=defaultInterface,proto3" json:"default_interface,omitempty"` // Stats for all found network interfaces, excluding the default. Interfaces []*NetworkInterfaceUsage `protobuf:"bytes,3,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // contains filtered or unexported fields }
NetworkUsage contains data about network resources.
func (*NetworkUsage) Descriptor
deprecated
func (*NetworkUsage) Descriptor() ([]byte, []int)
Deprecated: Use NetworkUsage.ProtoReflect.Descriptor instead.
func (*NetworkUsage) GetDefaultInterface ¶
func (x *NetworkUsage) GetDefaultInterface() *NetworkInterfaceUsage
func (*NetworkUsage) GetInterfaces ¶
func (x *NetworkUsage) GetInterfaces() []*NetworkInterfaceUsage
func (*NetworkUsage) GetTimestamp ¶
func (x *NetworkUsage) GetTimestamp() int64
func (*NetworkUsage) ProtoMessage ¶
func (*NetworkUsage) ProtoMessage()
func (*NetworkUsage) ProtoReflect ¶
func (x *NetworkUsage) ProtoReflect() protoreflect.Message
func (*NetworkUsage) Reset ¶
func (x *NetworkUsage) Reset()
func (*NetworkUsage) String ¶
func (x *NetworkUsage) String() string
type PodIP ¶
type PodIP struct { // an ip is a string representation of an IPv4 or an IPv6 Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
PodIP represents an ip of a Pod
func (*PodIP) ProtoReflect ¶
func (x *PodIP) ProtoReflect() protoreflect.Message
type PodSandbox ¶
type PodSandbox struct { // ID of the PodSandbox. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Metadata of the PodSandbox. Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // State of the PodSandbox. State PodSandboxState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1.PodSandboxState" json:"state,omitempty"` // Creation timestamps of the PodSandbox in nanoseconds. Must be > 0. CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Labels of the PodSandbox. Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding PodSandboxConfig used to // instantiate this PodSandbox. Annotations map[string]string `` /* 163-byte string literal not displayed */ // runtime configuration used for this PodSandbox. RuntimeHandler string `protobuf:"bytes,7,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"` // contains filtered or unexported fields }
PodSandbox contains minimal information about a sandbox.
func (*PodSandbox) Descriptor
deprecated
func (*PodSandbox) Descriptor() ([]byte, []int)
Deprecated: Use PodSandbox.ProtoReflect.Descriptor instead.
func (*PodSandbox) GetAnnotations ¶
func (x *PodSandbox) GetAnnotations() map[string]string
func (*PodSandbox) GetCreatedAt ¶
func (x *PodSandbox) GetCreatedAt() int64
func (*PodSandbox) GetId ¶
func (x *PodSandbox) GetId() string
func (*PodSandbox) GetLabels ¶
func (x *PodSandbox) GetLabels() map[string]string
func (*PodSandbox) GetMetadata ¶
func (x *PodSandbox) GetMetadata() *PodSandboxMetadata
func (*PodSandbox) GetRuntimeHandler ¶
func (x *PodSandbox) GetRuntimeHandler() string
func (*PodSandbox) GetState ¶
func (x *PodSandbox) GetState() PodSandboxState
func (*PodSandbox) ProtoMessage ¶
func (*PodSandbox) ProtoMessage()
func (*PodSandbox) ProtoReflect ¶
func (x *PodSandbox) ProtoReflect() protoreflect.Message
func (*PodSandbox) Reset ¶
func (x *PodSandbox) Reset()
func (*PodSandbox) String ¶
func (x *PodSandbox) String() string
type PodSandboxAttributes ¶
type PodSandboxAttributes struct { // ID of the pod sandbox. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Metadata of the pod sandbox. Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // Key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding PodSandboxStatus used to // instantiate the PodSandbox this status represents. Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
PodSandboxAttributes provides basic information of the pod sandbox.
func (*PodSandboxAttributes) Descriptor
deprecated
func (*PodSandboxAttributes) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxAttributes.ProtoReflect.Descriptor instead.
func (*PodSandboxAttributes) GetAnnotations ¶
func (x *PodSandboxAttributes) GetAnnotations() map[string]string
func (*PodSandboxAttributes) GetId ¶
func (x *PodSandboxAttributes) GetId() string
func (*PodSandboxAttributes) GetLabels ¶
func (x *PodSandboxAttributes) GetLabels() map[string]string
func (*PodSandboxAttributes) GetMetadata ¶
func (x *PodSandboxAttributes) GetMetadata() *PodSandboxMetadata
func (*PodSandboxAttributes) ProtoMessage ¶
func (*PodSandboxAttributes) ProtoMessage()
func (*PodSandboxAttributes) ProtoReflect ¶
func (x *PodSandboxAttributes) ProtoReflect() protoreflect.Message
func (*PodSandboxAttributes) Reset ¶
func (x *PodSandboxAttributes) Reset()
func (*PodSandboxAttributes) String ¶
func (x *PodSandboxAttributes) String() string
type PodSandboxConfig ¶
type PodSandboxConfig struct { // Metadata of the sandbox. This information will uniquely identify the // sandbox, and the runtime should leverage this to ensure correct // operation. The runtime may also use this information to improve UX, such // as by constructing a readable name. Metadata *PodSandboxMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Hostname of the sandbox. Hostname could only be empty when the pod // network namespace is NODE. Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // Path to the directory on the host in which container log files are // stored. // By default the log of a container going into the LogDirectory will be // hooked up to STDOUT and STDERR. However, the LogDirectory may contain // binary log files with structured logging data from the individual // containers. For example, the files might be newline separated JSON // structured logs, systemd-journald journal files, gRPC trace files, etc. // E.g., // // PodSandboxConfig.LogDirectory = `/var/log/pods/<NAMESPACE>_<NAME>_<UID>/` // ContainerConfig.LogPath = `containerName/Instance#.log` LogDirectory string `protobuf:"bytes,3,opt,name=log_directory,json=logDirectory,proto3" json:"log_directory,omitempty"` // DNS config for the sandbox. DnsConfig *DNSConfig `protobuf:"bytes,4,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"` // Port mappings for the sandbox. PortMappings []*PortMapping `protobuf:"bytes,5,rep,name=port_mappings,json=portMappings,proto3" json:"port_mappings,omitempty"` // Key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key-value map that may be set by the kubelet to store and // retrieve arbitrary metadata. This will include any annotations set on a // pod through the Kubernetes API. // // Annotations MUST NOT be altered by the runtime; the annotations stored // here MUST be returned in the PodSandboxStatus associated with the pod // this PodSandboxConfig creates. // // In general, in order to preserve a well-defined interface between the // kubelet and the container runtime, annotations SHOULD NOT influence // runtime behaviour. // // Annotations can also be useful for runtime authors to experiment with // new features that are opaque to the Kubernetes APIs (both user-facing // and the CRI). Whenever possible, however, runtime authors SHOULD // consider proposing new typed fields for any new features instead. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Optional configurations specific to Linux hosts. Linux *LinuxPodSandboxConfig `protobuf:"bytes,8,opt,name=linux,proto3" json:"linux,omitempty"` // Optional configurations specific to Windows hosts. Windows *WindowsPodSandboxConfig `protobuf:"bytes,9,opt,name=windows,proto3" json:"windows,omitempty"` // contains filtered or unexported fields }
PodSandboxConfig holds all the required and optional fields for creating a sandbox.
func (*PodSandboxConfig) Descriptor
deprecated
func (*PodSandboxConfig) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxConfig.ProtoReflect.Descriptor instead.
func (*PodSandboxConfig) GetAnnotations ¶
func (x *PodSandboxConfig) GetAnnotations() map[string]string
func (*PodSandboxConfig) GetDnsConfig ¶
func (x *PodSandboxConfig) GetDnsConfig() *DNSConfig
func (*PodSandboxConfig) GetHostname ¶
func (x *PodSandboxConfig) GetHostname() string
func (*PodSandboxConfig) GetLabels ¶
func (x *PodSandboxConfig) GetLabels() map[string]string
func (*PodSandboxConfig) GetLinux ¶
func (x *PodSandboxConfig) GetLinux() *LinuxPodSandboxConfig
func (*PodSandboxConfig) GetLogDirectory ¶
func (x *PodSandboxConfig) GetLogDirectory() string
func (*PodSandboxConfig) GetMetadata ¶
func (x *PodSandboxConfig) GetMetadata() *PodSandboxMetadata
func (*PodSandboxConfig) GetPortMappings ¶
func (x *PodSandboxConfig) GetPortMappings() []*PortMapping
func (*PodSandboxConfig) GetWindows ¶
func (x *PodSandboxConfig) GetWindows() *WindowsPodSandboxConfig
func (*PodSandboxConfig) ProtoMessage ¶
func (*PodSandboxConfig) ProtoMessage()
func (*PodSandboxConfig) ProtoReflect ¶
func (x *PodSandboxConfig) ProtoReflect() protoreflect.Message
func (*PodSandboxConfig) Reset ¶
func (x *PodSandboxConfig) Reset()
func (*PodSandboxConfig) String ¶
func (x *PodSandboxConfig) String() string
type PodSandboxFilter ¶
type PodSandboxFilter struct { // ID of the sandbox. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // State of the sandbox. State *PodSandboxStateValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // LabelSelector to select matches. // Only api.MatchLabels is supported for now and the requirements // are ANDed. MatchExpressions is not supported yet. LabelSelector map[string]string `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
PodSandboxFilter is used to filter a list of PodSandboxes. All those fields are combined with 'AND'
func (*PodSandboxFilter) Descriptor
deprecated
func (*PodSandboxFilter) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxFilter.ProtoReflect.Descriptor instead.
func (*PodSandboxFilter) GetId ¶
func (x *PodSandboxFilter) GetId() string
func (*PodSandboxFilter) GetLabelSelector ¶
func (x *PodSandboxFilter) GetLabelSelector() map[string]string
func (*PodSandboxFilter) GetState ¶
func (x *PodSandboxFilter) GetState() *PodSandboxStateValue
func (*PodSandboxFilter) ProtoMessage ¶
func (*PodSandboxFilter) ProtoMessage()
func (*PodSandboxFilter) ProtoReflect ¶
func (x *PodSandboxFilter) ProtoReflect() protoreflect.Message
func (*PodSandboxFilter) Reset ¶
func (x *PodSandboxFilter) Reset()
func (*PodSandboxFilter) String ¶
func (x *PodSandboxFilter) String() string
type PodSandboxMetadata ¶
type PodSandboxMetadata struct { // Pod name of the sandbox. Same as the pod name in the Pod ObjectMeta. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Pod UID of the sandbox. Same as the pod UID in the Pod ObjectMeta. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Pod namespace of the sandbox. Same as the pod namespace in the Pod ObjectMeta. Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // Attempt number of creating the sandbox. Default: 0. Attempt uint32 `protobuf:"varint,4,opt,name=attempt,proto3" json:"attempt,omitempty"` // contains filtered or unexported fields }
PodSandboxMetadata holds all necessary information for building the sandbox name. The container runtime is encouraged to expose the metadata associated with the PodSandbox in its user interface for better user experience. For example, the runtime can construct a unique PodSandboxName based on the metadata.
func (*PodSandboxMetadata) Descriptor
deprecated
func (*PodSandboxMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxMetadata.ProtoReflect.Descriptor instead.
func (*PodSandboxMetadata) GetAttempt ¶
func (x *PodSandboxMetadata) GetAttempt() uint32
func (*PodSandboxMetadata) GetName ¶
func (x *PodSandboxMetadata) GetName() string
func (*PodSandboxMetadata) GetNamespace ¶
func (x *PodSandboxMetadata) GetNamespace() string
func (*PodSandboxMetadata) GetUid ¶
func (x *PodSandboxMetadata) GetUid() string
func (*PodSandboxMetadata) ProtoMessage ¶
func (*PodSandboxMetadata) ProtoMessage()
func (*PodSandboxMetadata) ProtoReflect ¶
func (x *PodSandboxMetadata) ProtoReflect() protoreflect.Message
func (*PodSandboxMetadata) Reset ¶
func (x *PodSandboxMetadata) Reset()
func (*PodSandboxMetadata) String ¶
func (x *PodSandboxMetadata) String() string
type PodSandboxMetrics ¶
type PodSandboxMetrics struct { PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` Metrics []*Metric `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"` ContainerMetrics []*ContainerMetrics `protobuf:"bytes,3,rep,name=container_metrics,json=containerMetrics,proto3" json:"container_metrics,omitempty"` // contains filtered or unexported fields }
func (*PodSandboxMetrics) Descriptor
deprecated
func (*PodSandboxMetrics) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxMetrics.ProtoReflect.Descriptor instead.
func (*PodSandboxMetrics) GetContainerMetrics ¶
func (x *PodSandboxMetrics) GetContainerMetrics() []*ContainerMetrics
func (*PodSandboxMetrics) GetMetrics ¶
func (x *PodSandboxMetrics) GetMetrics() []*Metric
func (*PodSandboxMetrics) GetPodSandboxId ¶
func (x *PodSandboxMetrics) GetPodSandboxId() string
func (*PodSandboxMetrics) ProtoMessage ¶
func (*PodSandboxMetrics) ProtoMessage()
func (*PodSandboxMetrics) ProtoReflect ¶
func (x *PodSandboxMetrics) ProtoReflect() protoreflect.Message
func (*PodSandboxMetrics) Reset ¶
func (x *PodSandboxMetrics) Reset()
func (*PodSandboxMetrics) String ¶
func (x *PodSandboxMetrics) String() string
type PodSandboxNetworkStatus ¶
type PodSandboxNetworkStatus struct { // IP address of the PodSandbox. Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // list of additional ips (not inclusive of PodSandboxNetworkStatus.Ip) of the PodSandBoxNetworkStatus AdditionalIps []*PodIP `protobuf:"bytes,2,rep,name=additional_ips,json=additionalIps,proto3" json:"additional_ips,omitempty"` // contains filtered or unexported fields }
PodSandboxNetworkStatus is the status of the network for a PodSandbox. Currently ignored for pods sharing the host networking namespace.
func (*PodSandboxNetworkStatus) Descriptor
deprecated
func (*PodSandboxNetworkStatus) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxNetworkStatus.ProtoReflect.Descriptor instead.
func (*PodSandboxNetworkStatus) GetAdditionalIps ¶
func (x *PodSandboxNetworkStatus) GetAdditionalIps() []*PodIP
func (*PodSandboxNetworkStatus) GetIp ¶
func (x *PodSandboxNetworkStatus) GetIp() string
func (*PodSandboxNetworkStatus) ProtoMessage ¶
func (*PodSandboxNetworkStatus) ProtoMessage()
func (*PodSandboxNetworkStatus) ProtoReflect ¶
func (x *PodSandboxNetworkStatus) ProtoReflect() protoreflect.Message
func (*PodSandboxNetworkStatus) Reset ¶
func (x *PodSandboxNetworkStatus) Reset()
func (*PodSandboxNetworkStatus) String ¶
func (x *PodSandboxNetworkStatus) String() string
type PodSandboxState ¶
type PodSandboxState int32
const ( PodSandboxState_SANDBOX_READY PodSandboxState = 0 PodSandboxState_SANDBOX_NOTREADY PodSandboxState = 1 )
func (PodSandboxState) Descriptor ¶
func (PodSandboxState) Descriptor() protoreflect.EnumDescriptor
func (PodSandboxState) Enum ¶
func (x PodSandboxState) Enum() *PodSandboxState
func (PodSandboxState) EnumDescriptor
deprecated
func (PodSandboxState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PodSandboxState.Descriptor instead.
func (PodSandboxState) Number ¶
func (x PodSandboxState) Number() protoreflect.EnumNumber
func (PodSandboxState) String ¶
func (x PodSandboxState) String() string
func (PodSandboxState) Type ¶
func (PodSandboxState) Type() protoreflect.EnumType
type PodSandboxStateValue ¶
type PodSandboxStateValue struct { // State of the sandbox. State PodSandboxState `protobuf:"varint,1,opt,name=state,proto3,enum=runtime.v1.PodSandboxState" json:"state,omitempty"` // contains filtered or unexported fields }
PodSandboxStateValue is the wrapper of PodSandboxState.
func (*PodSandboxStateValue) Descriptor
deprecated
func (*PodSandboxStateValue) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxStateValue.ProtoReflect.Descriptor instead.
func (*PodSandboxStateValue) GetState ¶
func (x *PodSandboxStateValue) GetState() PodSandboxState
func (*PodSandboxStateValue) ProtoMessage ¶
func (*PodSandboxStateValue) ProtoMessage()
func (*PodSandboxStateValue) ProtoReflect ¶
func (x *PodSandboxStateValue) ProtoReflect() protoreflect.Message
func (*PodSandboxStateValue) Reset ¶
func (x *PodSandboxStateValue) Reset()
func (*PodSandboxStateValue) String ¶
func (x *PodSandboxStateValue) String() string
type PodSandboxStats ¶
type PodSandboxStats struct { // Information of the pod. Attributes *PodSandboxAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` // Stats from linux. Linux *LinuxPodSandboxStats `protobuf:"bytes,2,opt,name=linux,proto3" json:"linux,omitempty"` // Stats from windows. Windows *WindowsPodSandboxStats `protobuf:"bytes,3,opt,name=windows,proto3" json:"windows,omitempty"` // contains filtered or unexported fields }
PodSandboxStats provides the resource usage statistics for a pod. The linux or windows field will be populated depending on the platform.
func (*PodSandboxStats) Descriptor
deprecated
func (*PodSandboxStats) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxStats.ProtoReflect.Descriptor instead.
func (*PodSandboxStats) GetAttributes ¶
func (x *PodSandboxStats) GetAttributes() *PodSandboxAttributes
func (*PodSandboxStats) GetLinux ¶
func (x *PodSandboxStats) GetLinux() *LinuxPodSandboxStats
func (*PodSandboxStats) GetWindows ¶
func (x *PodSandboxStats) GetWindows() *WindowsPodSandboxStats
func (*PodSandboxStats) ProtoMessage ¶
func (*PodSandboxStats) ProtoMessage()
func (*PodSandboxStats) ProtoReflect ¶
func (x *PodSandboxStats) ProtoReflect() protoreflect.Message
func (*PodSandboxStats) Reset ¶
func (x *PodSandboxStats) Reset()
func (*PodSandboxStats) String ¶
func (x *PodSandboxStats) String() string
type PodSandboxStatsFilter ¶
type PodSandboxStatsFilter struct { // ID of the pod sandbox. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // LabelSelector to select matches. // Only api.MatchLabels is supported for now and the requirements // are ANDed. MatchExpressions is not supported yet. LabelSelector map[string]string `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
PodSandboxStatsFilter is used to filter the list of pod sandboxes to retrieve stats for. All those fields are combined with 'AND'.
func (*PodSandboxStatsFilter) Descriptor
deprecated
func (*PodSandboxStatsFilter) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxStatsFilter.ProtoReflect.Descriptor instead.
func (*PodSandboxStatsFilter) GetId ¶
func (x *PodSandboxStatsFilter) GetId() string
func (*PodSandboxStatsFilter) GetLabelSelector ¶
func (x *PodSandboxStatsFilter) GetLabelSelector() map[string]string
func (*PodSandboxStatsFilter) ProtoMessage ¶
func (*PodSandboxStatsFilter) ProtoMessage()
func (*PodSandboxStatsFilter) ProtoReflect ¶
func (x *PodSandboxStatsFilter) ProtoReflect() protoreflect.Message
func (*PodSandboxStatsFilter) Reset ¶
func (x *PodSandboxStatsFilter) Reset()
func (*PodSandboxStatsFilter) String ¶
func (x *PodSandboxStatsFilter) String() string
type PodSandboxStatsRequest ¶
type PodSandboxStatsRequest struct { // ID of the pod sandbox for which to retrieve stats. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*PodSandboxStatsRequest) Descriptor
deprecated
func (*PodSandboxStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxStatsRequest.ProtoReflect.Descriptor instead.
func (*PodSandboxStatsRequest) GetPodSandboxId ¶
func (x *PodSandboxStatsRequest) GetPodSandboxId() string
func (*PodSandboxStatsRequest) ProtoMessage ¶
func (*PodSandboxStatsRequest) ProtoMessage()
func (*PodSandboxStatsRequest) ProtoReflect ¶
func (x *PodSandboxStatsRequest) ProtoReflect() protoreflect.Message
func (*PodSandboxStatsRequest) Reset ¶
func (x *PodSandboxStatsRequest) Reset()
func (*PodSandboxStatsRequest) String ¶
func (x *PodSandboxStatsRequest) String() string
type PodSandboxStatsResponse ¶
type PodSandboxStatsResponse struct { Stats *PodSandboxStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*PodSandboxStatsResponse) Descriptor
deprecated
func (*PodSandboxStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxStatsResponse.ProtoReflect.Descriptor instead.
func (*PodSandboxStatsResponse) GetStats ¶
func (x *PodSandboxStatsResponse) GetStats() *PodSandboxStats
func (*PodSandboxStatsResponse) ProtoMessage ¶
func (*PodSandboxStatsResponse) ProtoMessage()
func (*PodSandboxStatsResponse) ProtoReflect ¶
func (x *PodSandboxStatsResponse) ProtoReflect() protoreflect.Message
func (*PodSandboxStatsResponse) Reset ¶
func (x *PodSandboxStatsResponse) Reset()
func (*PodSandboxStatsResponse) String ¶
func (x *PodSandboxStatsResponse) String() string
type PodSandboxStatus ¶
type PodSandboxStatus struct { // ID of the sandbox. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Metadata of the sandbox. Metadata *PodSandboxMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // State of the sandbox. State PodSandboxState `protobuf:"varint,3,opt,name=state,proto3,enum=runtime.v1.PodSandboxState" json:"state,omitempty"` // Creation timestamp of the sandbox in nanoseconds. Must be > 0. CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Network contains network status if network is handled by the runtime. Network *PodSandboxNetworkStatus `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"` // Linux-specific status to a pod sandbox. Linux *LinuxPodSandboxStatus `protobuf:"bytes,6,opt,name=linux,proto3" json:"linux,omitempty"` // Labels are key-value pairs that may be used to scope and select individual resources. Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key-value map holding arbitrary metadata. // Annotations MUST NOT be altered by the runtime; the value of this field // MUST be identical to that of the corresponding PodSandboxConfig used to // instantiate the pod sandbox this status represents. Annotations map[string]string `` /* 163-byte string literal not displayed */ // runtime configuration used for this PodSandbox. RuntimeHandler string `protobuf:"bytes,9,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"` // contains filtered or unexported fields }
PodSandboxStatus contains the status of the PodSandbox.
func (*PodSandboxStatus) Descriptor
deprecated
func (*PodSandboxStatus) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxStatus.ProtoReflect.Descriptor instead.
func (*PodSandboxStatus) GetAnnotations ¶
func (x *PodSandboxStatus) GetAnnotations() map[string]string
func (*PodSandboxStatus) GetCreatedAt ¶
func (x *PodSandboxStatus) GetCreatedAt() int64
func (*PodSandboxStatus) GetId ¶
func (x *PodSandboxStatus) GetId() string
func (*PodSandboxStatus) GetLabels ¶
func (x *PodSandboxStatus) GetLabels() map[string]string
func (*PodSandboxStatus) GetLinux ¶
func (x *PodSandboxStatus) GetLinux() *LinuxPodSandboxStatus
func (*PodSandboxStatus) GetMetadata ¶
func (x *PodSandboxStatus) GetMetadata() *PodSandboxMetadata
func (*PodSandboxStatus) GetNetwork ¶
func (x *PodSandboxStatus) GetNetwork() *PodSandboxNetworkStatus
func (*PodSandboxStatus) GetRuntimeHandler ¶
func (x *PodSandboxStatus) GetRuntimeHandler() string
func (*PodSandboxStatus) GetState ¶
func (x *PodSandboxStatus) GetState() PodSandboxState
func (*PodSandboxStatus) ProtoMessage ¶
func (*PodSandboxStatus) ProtoMessage()
func (*PodSandboxStatus) ProtoReflect ¶
func (x *PodSandboxStatus) ProtoReflect() protoreflect.Message
func (*PodSandboxStatus) Reset ¶
func (x *PodSandboxStatus) Reset()
func (*PodSandboxStatus) String ¶
func (x *PodSandboxStatus) String() string
type PodSandboxStatusRequest ¶
type PodSandboxStatusRequest struct { // ID of the PodSandbox for which to retrieve status. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // Verbose indicates whether to return extra information about the pod sandbox. Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"` // contains filtered or unexported fields }
func (*PodSandboxStatusRequest) Descriptor
deprecated
func (*PodSandboxStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxStatusRequest.ProtoReflect.Descriptor instead.
func (*PodSandboxStatusRequest) GetPodSandboxId ¶
func (x *PodSandboxStatusRequest) GetPodSandboxId() string
func (*PodSandboxStatusRequest) GetVerbose ¶
func (x *PodSandboxStatusRequest) GetVerbose() bool
func (*PodSandboxStatusRequest) ProtoMessage ¶
func (*PodSandboxStatusRequest) ProtoMessage()
func (*PodSandboxStatusRequest) ProtoReflect ¶
func (x *PodSandboxStatusRequest) ProtoReflect() protoreflect.Message
func (*PodSandboxStatusRequest) Reset ¶
func (x *PodSandboxStatusRequest) Reset()
func (*PodSandboxStatusRequest) String ¶
func (x *PodSandboxStatusRequest) String() string
type PodSandboxStatusResponse ¶
type PodSandboxStatusResponse struct { // Status of the PodSandbox. Status *PodSandboxStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Info is extra information of the PodSandbox. The key could be arbitrary string, and // value should be in json format. The information could include anything useful for // debug, e.g. network namespace for linux container based container runtime. // It should only be returned non-empty when Verbose is true. Info map[string]string `` /* 149-byte string literal not displayed */ // Container statuses ContainersStatuses []*ContainerStatus `protobuf:"bytes,3,rep,name=containers_statuses,json=containersStatuses,proto3" json:"containers_statuses,omitempty"` // Timestamp at which container and pod statuses were recorded Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*PodSandboxStatusResponse) Descriptor
deprecated
func (*PodSandboxStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use PodSandboxStatusResponse.ProtoReflect.Descriptor instead.
func (*PodSandboxStatusResponse) GetContainersStatuses ¶
func (x *PodSandboxStatusResponse) GetContainersStatuses() []*ContainerStatus
func (*PodSandboxStatusResponse) GetInfo ¶
func (x *PodSandboxStatusResponse) GetInfo() map[string]string
func (*PodSandboxStatusResponse) GetStatus ¶
func (x *PodSandboxStatusResponse) GetStatus() *PodSandboxStatus
func (*PodSandboxStatusResponse) GetTimestamp ¶
func (x *PodSandboxStatusResponse) GetTimestamp() int64
func (*PodSandboxStatusResponse) ProtoMessage ¶
func (*PodSandboxStatusResponse) ProtoMessage()
func (*PodSandboxStatusResponse) ProtoReflect ¶
func (x *PodSandboxStatusResponse) ProtoReflect() protoreflect.Message
func (*PodSandboxStatusResponse) Reset ¶
func (x *PodSandboxStatusResponse) Reset()
func (*PodSandboxStatusResponse) String ¶
func (x *PodSandboxStatusResponse) String() string
type PortForwardRequest ¶
type PortForwardRequest struct { // ID of the container to which to forward the port. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // Port to forward. Port []int32 `protobuf:"varint,2,rep,packed,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*PortForwardRequest) Descriptor
deprecated
func (*PortForwardRequest) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardRequest.ProtoReflect.Descriptor instead.
func (*PortForwardRequest) GetPodSandboxId ¶
func (x *PortForwardRequest) GetPodSandboxId() string
func (*PortForwardRequest) GetPort ¶
func (x *PortForwardRequest) GetPort() []int32
func (*PortForwardRequest) ProtoMessage ¶
func (*PortForwardRequest) ProtoMessage()
func (*PortForwardRequest) ProtoReflect ¶
func (x *PortForwardRequest) ProtoReflect() protoreflect.Message
func (*PortForwardRequest) Reset ¶
func (x *PortForwardRequest) Reset()
func (*PortForwardRequest) String ¶
func (x *PortForwardRequest) String() string
type PortForwardResponse ¶
type PortForwardResponse struct { // Fully qualified URL of the port-forward streaming server. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*PortForwardResponse) Descriptor
deprecated
func (*PortForwardResponse) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardResponse.ProtoReflect.Descriptor instead.
func (*PortForwardResponse) GetUrl ¶
func (x *PortForwardResponse) GetUrl() string
func (*PortForwardResponse) ProtoMessage ¶
func (*PortForwardResponse) ProtoMessage()
func (*PortForwardResponse) ProtoReflect ¶
func (x *PortForwardResponse) ProtoReflect() protoreflect.Message
func (*PortForwardResponse) Reset ¶
func (x *PortForwardResponse) Reset()
func (*PortForwardResponse) String ¶
func (x *PortForwardResponse) String() string
type PortMapping ¶
type PortMapping struct { // Protocol of the port mapping. Protocol Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=runtime.v1.Protocol" json:"protocol,omitempty"` // Port number within the container. Default: 0 (not specified). ContainerPort int32 `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"` // Port number on the host. Default: 0 (not specified). HostPort int32 `protobuf:"varint,3,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"` // Host IP. HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"` // contains filtered or unexported fields }
PortMapping specifies the port mapping configurations of a sandbox.
func (*PortMapping) Descriptor
deprecated
func (*PortMapping) Descriptor() ([]byte, []int)
Deprecated: Use PortMapping.ProtoReflect.Descriptor instead.
func (*PortMapping) GetContainerPort ¶
func (x *PortMapping) GetContainerPort() int32
func (*PortMapping) GetHostIp ¶
func (x *PortMapping) GetHostIp() string
func (*PortMapping) GetHostPort ¶
func (x *PortMapping) GetHostPort() int32
func (*PortMapping) GetProtocol ¶
func (x *PortMapping) GetProtocol() Protocol
func (*PortMapping) ProtoMessage ¶
func (*PortMapping) ProtoMessage()
func (*PortMapping) ProtoReflect ¶
func (x *PortMapping) ProtoReflect() protoreflect.Message
func (*PortMapping) Reset ¶
func (x *PortMapping) Reset()
func (*PortMapping) String ¶
func (x *PortMapping) String() string
type ProcessUsage ¶
type ProcessUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Number of processes. ProcessCount *UInt64Value `protobuf:"bytes,2,opt,name=process_count,json=processCount,proto3" json:"process_count,omitempty"` // contains filtered or unexported fields }
ProcessUsage are stats pertaining to processes.
func (*ProcessUsage) Descriptor
deprecated
func (*ProcessUsage) Descriptor() ([]byte, []int)
Deprecated: Use ProcessUsage.ProtoReflect.Descriptor instead.
func (*ProcessUsage) GetProcessCount ¶
func (x *ProcessUsage) GetProcessCount() *UInt64Value
func (*ProcessUsage) GetTimestamp ¶
func (x *ProcessUsage) GetTimestamp() int64
func (*ProcessUsage) ProtoMessage ¶
func (*ProcessUsage) ProtoMessage()
func (*ProcessUsage) ProtoReflect ¶
func (x *ProcessUsage) ProtoReflect() protoreflect.Message
func (*ProcessUsage) Reset ¶
func (x *ProcessUsage) Reset()
func (*ProcessUsage) String ¶
func (x *ProcessUsage) String() string
type Protocol ¶
type Protocol int32
func (Protocol) Descriptor ¶
func (Protocol) Descriptor() protoreflect.EnumDescriptor
func (Protocol) Number ¶
func (x Protocol) Number() protoreflect.EnumNumber
func (Protocol) Type ¶
func (Protocol) Type() protoreflect.EnumType
type PullImageRequest ¶
type PullImageRequest struct { // Spec of the image. Image *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Authentication configuration for pulling the image. Auth *AuthConfig `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"` // Config of the PodSandbox, which is used to pull image in PodSandbox context. SandboxConfig *PodSandboxConfig `protobuf:"bytes,3,opt,name=sandbox_config,json=sandboxConfig,proto3" json:"sandbox_config,omitempty"` // contains filtered or unexported fields }
func (*PullImageRequest) Descriptor
deprecated
func (*PullImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullImageRequest.ProtoReflect.Descriptor instead.
func (*PullImageRequest) GetAuth ¶
func (x *PullImageRequest) GetAuth() *AuthConfig
func (*PullImageRequest) GetImage ¶
func (x *PullImageRequest) GetImage() *ImageSpec
func (*PullImageRequest) GetSandboxConfig ¶
func (x *PullImageRequest) GetSandboxConfig() *PodSandboxConfig
func (*PullImageRequest) ProtoMessage ¶
func (*PullImageRequest) ProtoMessage()
func (*PullImageRequest) ProtoReflect ¶
func (x *PullImageRequest) ProtoReflect() protoreflect.Message
func (*PullImageRequest) Reset ¶
func (x *PullImageRequest) Reset()
func (*PullImageRequest) String ¶
func (x *PullImageRequest) String() string
type PullImageResponse ¶
type PullImageResponse struct { // Reference to the image in use. For most runtimes, this should be an // image ID or digest. ImageRef string `protobuf:"bytes,1,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"` // contains filtered or unexported fields }
func (*PullImageResponse) Descriptor
deprecated
func (*PullImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullImageResponse.ProtoReflect.Descriptor instead.
func (*PullImageResponse) GetImageRef ¶
func (x *PullImageResponse) GetImageRef() string
func (*PullImageResponse) ProtoMessage ¶
func (*PullImageResponse) ProtoMessage()
func (*PullImageResponse) ProtoReflect ¶
func (x *PullImageResponse) ProtoReflect() protoreflect.Message
func (*PullImageResponse) Reset ¶
func (x *PullImageResponse) Reset()
func (*PullImageResponse) String ¶
func (x *PullImageResponse) String() string
type RemoveContainerRequest ¶
type RemoveContainerRequest struct { // ID of the container to remove. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveContainerRequest) Descriptor
deprecated
func (*RemoveContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContainerRequest.ProtoReflect.Descriptor instead.
func (*RemoveContainerRequest) GetContainerId ¶
func (x *RemoveContainerRequest) GetContainerId() string
func (*RemoveContainerRequest) ProtoMessage ¶
func (*RemoveContainerRequest) ProtoMessage()
func (*RemoveContainerRequest) ProtoReflect ¶
func (x *RemoveContainerRequest) ProtoReflect() protoreflect.Message
func (*RemoveContainerRequest) Reset ¶
func (x *RemoveContainerRequest) Reset()
func (*RemoveContainerRequest) String ¶
func (x *RemoveContainerRequest) String() string
type RemoveContainerResponse ¶
type RemoveContainerResponse struct {
// contains filtered or unexported fields
}
func (*RemoveContainerResponse) Descriptor
deprecated
func (*RemoveContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContainerResponse.ProtoReflect.Descriptor instead.
func (*RemoveContainerResponse) ProtoMessage ¶
func (*RemoveContainerResponse) ProtoMessage()
func (*RemoveContainerResponse) ProtoReflect ¶
func (x *RemoveContainerResponse) ProtoReflect() protoreflect.Message
func (*RemoveContainerResponse) Reset ¶
func (x *RemoveContainerResponse) Reset()
func (*RemoveContainerResponse) String ¶
func (x *RemoveContainerResponse) String() string
type RemoveImageRequest ¶
type RemoveImageRequest struct { // Spec of the image to remove. Image *ImageSpec `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*RemoveImageRequest) Descriptor
deprecated
func (*RemoveImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveImageRequest.ProtoReflect.Descriptor instead.
func (*RemoveImageRequest) GetImage ¶
func (x *RemoveImageRequest) GetImage() *ImageSpec
func (*RemoveImageRequest) ProtoMessage ¶
func (*RemoveImageRequest) ProtoMessage()
func (*RemoveImageRequest) ProtoReflect ¶
func (x *RemoveImageRequest) ProtoReflect() protoreflect.Message
func (*RemoveImageRequest) Reset ¶
func (x *RemoveImageRequest) Reset()
func (*RemoveImageRequest) String ¶
func (x *RemoveImageRequest) String() string
type RemoveImageResponse ¶
type RemoveImageResponse struct {
// contains filtered or unexported fields
}
func (*RemoveImageResponse) Descriptor
deprecated
func (*RemoveImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveImageResponse.ProtoReflect.Descriptor instead.
func (*RemoveImageResponse) ProtoMessage ¶
func (*RemoveImageResponse) ProtoMessage()
func (*RemoveImageResponse) ProtoReflect ¶
func (x *RemoveImageResponse) ProtoReflect() protoreflect.Message
func (*RemoveImageResponse) Reset ¶
func (x *RemoveImageResponse) Reset()
func (*RemoveImageResponse) String ¶
func (x *RemoveImageResponse) String() string
type RemovePodSandboxRequest ¶
type RemovePodSandboxRequest struct { // ID of the PodSandbox to remove. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*RemovePodSandboxRequest) Descriptor
deprecated
func (*RemovePodSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePodSandboxRequest.ProtoReflect.Descriptor instead.
func (*RemovePodSandboxRequest) GetPodSandboxId ¶
func (x *RemovePodSandboxRequest) GetPodSandboxId() string
func (*RemovePodSandboxRequest) ProtoMessage ¶
func (*RemovePodSandboxRequest) ProtoMessage()
func (*RemovePodSandboxRequest) ProtoReflect ¶
func (x *RemovePodSandboxRequest) ProtoReflect() protoreflect.Message
func (*RemovePodSandboxRequest) Reset ¶
func (x *RemovePodSandboxRequest) Reset()
func (*RemovePodSandboxRequest) String ¶
func (x *RemovePodSandboxRequest) String() string
type RemovePodSandboxResponse ¶
type RemovePodSandboxResponse struct {
// contains filtered or unexported fields
}
func (*RemovePodSandboxResponse) Descriptor
deprecated
func (*RemovePodSandboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemovePodSandboxResponse.ProtoReflect.Descriptor instead.
func (*RemovePodSandboxResponse) ProtoMessage ¶
func (*RemovePodSandboxResponse) ProtoMessage()
func (*RemovePodSandboxResponse) ProtoReflect ¶
func (x *RemovePodSandboxResponse) ProtoReflect() protoreflect.Message
func (*RemovePodSandboxResponse) Reset ¶
func (x *RemovePodSandboxResponse) Reset()
func (*RemovePodSandboxResponse) String ¶
func (x *RemovePodSandboxResponse) String() string
type ReopenContainerLogRequest ¶
type ReopenContainerLogRequest struct { // ID of the container for which to reopen the log. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*ReopenContainerLogRequest) Descriptor
deprecated
func (*ReopenContainerLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReopenContainerLogRequest.ProtoReflect.Descriptor instead.
func (*ReopenContainerLogRequest) GetContainerId ¶
func (x *ReopenContainerLogRequest) GetContainerId() string
func (*ReopenContainerLogRequest) ProtoMessage ¶
func (*ReopenContainerLogRequest) ProtoMessage()
func (*ReopenContainerLogRequest) ProtoReflect ¶
func (x *ReopenContainerLogRequest) ProtoReflect() protoreflect.Message
func (*ReopenContainerLogRequest) Reset ¶
func (x *ReopenContainerLogRequest) Reset()
func (*ReopenContainerLogRequest) String ¶
func (x *ReopenContainerLogRequest) String() string
type ReopenContainerLogResponse ¶
type ReopenContainerLogResponse struct {
// contains filtered or unexported fields
}
func (*ReopenContainerLogResponse) Descriptor
deprecated
func (*ReopenContainerLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReopenContainerLogResponse.ProtoReflect.Descriptor instead.
func (*ReopenContainerLogResponse) ProtoMessage ¶
func (*ReopenContainerLogResponse) ProtoMessage()
func (*ReopenContainerLogResponse) ProtoReflect ¶
func (x *ReopenContainerLogResponse) ProtoReflect() protoreflect.Message
func (*ReopenContainerLogResponse) Reset ¶
func (x *ReopenContainerLogResponse) Reset()
func (*ReopenContainerLogResponse) String ¶
func (x *ReopenContainerLogResponse) String() string
type RunPodSandboxRequest ¶
type RunPodSandboxRequest struct { // Configuration for creating a PodSandbox. Config *PodSandboxConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Named runtime configuration to use for this PodSandbox. // If the runtime handler is unknown, this request should be rejected. An // empty string should select the default handler, equivalent to the // behavior before this feature was added. // See https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class RuntimeHandler string `protobuf:"bytes,2,opt,name=runtime_handler,json=runtimeHandler,proto3" json:"runtime_handler,omitempty"` // contains filtered or unexported fields }
func (*RunPodSandboxRequest) Descriptor
deprecated
func (*RunPodSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunPodSandboxRequest.ProtoReflect.Descriptor instead.
func (*RunPodSandboxRequest) GetConfig ¶
func (x *RunPodSandboxRequest) GetConfig() *PodSandboxConfig
func (*RunPodSandboxRequest) GetRuntimeHandler ¶
func (x *RunPodSandboxRequest) GetRuntimeHandler() string
func (*RunPodSandboxRequest) ProtoMessage ¶
func (*RunPodSandboxRequest) ProtoMessage()
func (*RunPodSandboxRequest) ProtoReflect ¶
func (x *RunPodSandboxRequest) ProtoReflect() protoreflect.Message
func (*RunPodSandboxRequest) Reset ¶
func (x *RunPodSandboxRequest) Reset()
func (*RunPodSandboxRequest) String ¶
func (x *RunPodSandboxRequest) String() string
type RunPodSandboxResponse ¶
type RunPodSandboxResponse struct { // ID of the PodSandbox to run. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*RunPodSandboxResponse) Descriptor
deprecated
func (*RunPodSandboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunPodSandboxResponse.ProtoReflect.Descriptor instead.
func (*RunPodSandboxResponse) GetPodSandboxId ¶
func (x *RunPodSandboxResponse) GetPodSandboxId() string
func (*RunPodSandboxResponse) ProtoMessage ¶
func (*RunPodSandboxResponse) ProtoMessage()
func (*RunPodSandboxResponse) ProtoReflect ¶
func (x *RunPodSandboxResponse) ProtoReflect() protoreflect.Message
func (*RunPodSandboxResponse) Reset ¶
func (x *RunPodSandboxResponse) Reset()
func (*RunPodSandboxResponse) String ¶
func (x *RunPodSandboxResponse) String() string
type RuntimeCondition ¶
type RuntimeCondition struct { // Type of runtime condition. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Status of the condition, one of true/false. Default: false. Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` // Brief CamelCase string containing reason for the condition's last transition. Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // Human-readable message indicating details about last transition. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
RuntimeCondition contains condition information for the runtime. There are 2 kinds of runtime conditions: 1. Required conditions: Conditions are required for kubelet to work properly. If any required condition is unmet, the node will be not ready. The required conditions include:
- RuntimeReady: RuntimeReady means the runtime is up and ready to accept basic containers e.g. container only needs host network.
- NetworkReady: NetworkReady means the runtime network is up and ready to accept containers which require container network.
2. Optional conditions: Conditions are informative to the user, but kubelet will not rely on. Since condition type is an arbitrary string, all conditions not required are optional. These conditions will be exposed to users to help them understand the status of the system.
func (*RuntimeCondition) Descriptor
deprecated
func (*RuntimeCondition) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeCondition.ProtoReflect.Descriptor instead.
func (*RuntimeCondition) GetMessage ¶
func (x *RuntimeCondition) GetMessage() string
func (*RuntimeCondition) GetReason ¶
func (x *RuntimeCondition) GetReason() string
func (*RuntimeCondition) GetStatus ¶
func (x *RuntimeCondition) GetStatus() bool
func (*RuntimeCondition) GetType ¶
func (x *RuntimeCondition) GetType() string
func (*RuntimeCondition) ProtoMessage ¶
func (*RuntimeCondition) ProtoMessage()
func (*RuntimeCondition) ProtoReflect ¶
func (x *RuntimeCondition) ProtoReflect() protoreflect.Message
func (*RuntimeCondition) Reset ¶
func (x *RuntimeCondition) Reset()
func (*RuntimeCondition) String ¶
func (x *RuntimeCondition) String() string
type RuntimeConfig ¶
type RuntimeConfig struct { NetworkConfig *NetworkConfig `protobuf:"bytes,1,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"` // contains filtered or unexported fields }
func (*RuntimeConfig) Descriptor
deprecated
func (*RuntimeConfig) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeConfig.ProtoReflect.Descriptor instead.
func (*RuntimeConfig) GetNetworkConfig ¶
func (x *RuntimeConfig) GetNetworkConfig() *NetworkConfig
func (*RuntimeConfig) ProtoMessage ¶
func (*RuntimeConfig) ProtoMessage()
func (*RuntimeConfig) ProtoReflect ¶
func (x *RuntimeConfig) ProtoReflect() protoreflect.Message
func (*RuntimeConfig) Reset ¶
func (x *RuntimeConfig) Reset()
func (*RuntimeConfig) String ¶
func (x *RuntimeConfig) String() string
type RuntimeConfigRequest ¶
type RuntimeConfigRequest struct {
// contains filtered or unexported fields
}
func (*RuntimeConfigRequest) Descriptor
deprecated
func (*RuntimeConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeConfigRequest.ProtoReflect.Descriptor instead.
func (*RuntimeConfigRequest) ProtoMessage ¶
func (*RuntimeConfigRequest) ProtoMessage()
func (*RuntimeConfigRequest) ProtoReflect ¶
func (x *RuntimeConfigRequest) ProtoReflect() protoreflect.Message
func (*RuntimeConfigRequest) Reset ¶
func (x *RuntimeConfigRequest) Reset()
func (*RuntimeConfigRequest) String ¶
func (x *RuntimeConfigRequest) String() string
type RuntimeConfigResponse ¶
type RuntimeConfigResponse struct { // Configuration information for Linux-based runtimes. This field contains // global runtime configuration options that are not specific to runtime // handlers. Linux *LinuxRuntimeConfiguration `protobuf:"bytes,1,opt,name=linux,proto3" json:"linux,omitempty"` // contains filtered or unexported fields }
func (*RuntimeConfigResponse) Descriptor
deprecated
func (*RuntimeConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeConfigResponse.ProtoReflect.Descriptor instead.
func (*RuntimeConfigResponse) GetLinux ¶
func (x *RuntimeConfigResponse) GetLinux() *LinuxRuntimeConfiguration
func (*RuntimeConfigResponse) ProtoMessage ¶
func (*RuntimeConfigResponse) ProtoMessage()
func (*RuntimeConfigResponse) ProtoReflect ¶
func (x *RuntimeConfigResponse) ProtoReflect() protoreflect.Message
func (*RuntimeConfigResponse) Reset ¶
func (x *RuntimeConfigResponse) Reset()
func (*RuntimeConfigResponse) String ¶
func (x *RuntimeConfigResponse) String() string
type RuntimeStatus ¶
type RuntimeStatus struct { // List of current observed runtime conditions. Conditions []*RuntimeCondition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"` // contains filtered or unexported fields }
RuntimeStatus is information about the current status of the runtime.
func (*RuntimeStatus) Descriptor
deprecated
func (*RuntimeStatus) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeStatus.ProtoReflect.Descriptor instead.
func (*RuntimeStatus) GetConditions ¶
func (x *RuntimeStatus) GetConditions() []*RuntimeCondition
func (*RuntimeStatus) ProtoMessage ¶
func (*RuntimeStatus) ProtoMessage()
func (*RuntimeStatus) ProtoReflect ¶
func (x *RuntimeStatus) ProtoReflect() protoreflect.Message
func (*RuntimeStatus) Reset ¶
func (x *RuntimeStatus) Reset()
func (*RuntimeStatus) String ¶
func (x *RuntimeStatus) String() string
type SELinuxOption ¶
type SELinuxOption struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"` // contains filtered or unexported fields }
SELinuxOption are the labels to be applied to the container.
func (*SELinuxOption) Descriptor
deprecated
func (*SELinuxOption) Descriptor() ([]byte, []int)
Deprecated: Use SELinuxOption.ProtoReflect.Descriptor instead.
func (*SELinuxOption) GetLevel ¶
func (x *SELinuxOption) GetLevel() string
func (*SELinuxOption) GetRole ¶
func (x *SELinuxOption) GetRole() string
func (*SELinuxOption) GetType ¶
func (x *SELinuxOption) GetType() string
func (*SELinuxOption) GetUser ¶
func (x *SELinuxOption) GetUser() string
func (*SELinuxOption) ProtoMessage ¶
func (*SELinuxOption) ProtoMessage()
func (*SELinuxOption) ProtoReflect ¶
func (x *SELinuxOption) ProtoReflect() protoreflect.Message
func (*SELinuxOption) Reset ¶
func (x *SELinuxOption) Reset()
func (*SELinuxOption) String ¶
func (x *SELinuxOption) String() string
type SecurityProfile ¶
type SecurityProfile struct { // Indicator which `ProfileType` should be applied. ProfileType SecurityProfile_ProfileType `` /* 139-byte string literal not displayed */ // Indicates that a pre-defined profile on the node should be used. // Must only be set if `ProfileType` is `Localhost`. // For seccomp, it must be an absolute path to the seccomp profile. // For AppArmor, this field is the AppArmor `<profile name>/` LocalhostRef string `protobuf:"bytes,2,opt,name=localhost_ref,json=localhostRef,proto3" json:"localhost_ref,omitempty"` // contains filtered or unexported fields }
A security profile which can be used for sandboxes and containers.
func (*SecurityProfile) Descriptor
deprecated
func (*SecurityProfile) Descriptor() ([]byte, []int)
Deprecated: Use SecurityProfile.ProtoReflect.Descriptor instead.
func (*SecurityProfile) GetLocalhostRef ¶
func (x *SecurityProfile) GetLocalhostRef() string
func (*SecurityProfile) GetProfileType ¶
func (x *SecurityProfile) GetProfileType() SecurityProfile_ProfileType
func (*SecurityProfile) ProtoMessage ¶
func (*SecurityProfile) ProtoMessage()
func (*SecurityProfile) ProtoReflect ¶
func (x *SecurityProfile) ProtoReflect() protoreflect.Message
func (*SecurityProfile) Reset ¶
func (x *SecurityProfile) Reset()
func (*SecurityProfile) String ¶
func (x *SecurityProfile) String() string
type SecurityProfile_ProfileType ¶
type SecurityProfile_ProfileType int32
Available profile types.
const ( // The container runtime default profile should be used. SecurityProfile_RuntimeDefault SecurityProfile_ProfileType = 0 // Disable the feature for the sandbox or the container. SecurityProfile_Unconfined SecurityProfile_ProfileType = 1 // A pre-defined profile on the node should be used. SecurityProfile_Localhost SecurityProfile_ProfileType = 2 )
func (SecurityProfile_ProfileType) Descriptor ¶
func (SecurityProfile_ProfileType) Descriptor() protoreflect.EnumDescriptor
func (SecurityProfile_ProfileType) Enum ¶
func (x SecurityProfile_ProfileType) Enum() *SecurityProfile_ProfileType
func (SecurityProfile_ProfileType) EnumDescriptor
deprecated
func (SecurityProfile_ProfileType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityProfile_ProfileType.Descriptor instead.
func (SecurityProfile_ProfileType) Number ¶
func (x SecurityProfile_ProfileType) Number() protoreflect.EnumNumber
func (SecurityProfile_ProfileType) String ¶
func (x SecurityProfile_ProfileType) String() string
func (SecurityProfile_ProfileType) Type ¶
func (SecurityProfile_ProfileType) Type() protoreflect.EnumType
type StartContainerRequest ¶
type StartContainerRequest struct { // ID of the container to start. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*StartContainerRequest) Descriptor
deprecated
func (*StartContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartContainerRequest.ProtoReflect.Descriptor instead.
func (*StartContainerRequest) GetContainerId ¶
func (x *StartContainerRequest) GetContainerId() string
func (*StartContainerRequest) ProtoMessage ¶
func (*StartContainerRequest) ProtoMessage()
func (*StartContainerRequest) ProtoReflect ¶
func (x *StartContainerRequest) ProtoReflect() protoreflect.Message
func (*StartContainerRequest) Reset ¶
func (x *StartContainerRequest) Reset()
func (*StartContainerRequest) String ¶
func (x *StartContainerRequest) String() string
type StartContainerResponse ¶
type StartContainerResponse struct {
// contains filtered or unexported fields
}
func (*StartContainerResponse) Descriptor
deprecated
func (*StartContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartContainerResponse.ProtoReflect.Descriptor instead.
func (*StartContainerResponse) ProtoMessage ¶
func (*StartContainerResponse) ProtoMessage()
func (*StartContainerResponse) ProtoReflect ¶
func (x *StartContainerResponse) ProtoReflect() protoreflect.Message
func (*StartContainerResponse) Reset ¶
func (x *StartContainerResponse) Reset()
func (*StartContainerResponse) String ¶
func (x *StartContainerResponse) String() string
type StatusRequest ¶
type StatusRequest struct { // Verbose indicates whether to return extra information about the runtime. Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"` // contains filtered or unexported fields }
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) GetVerbose ¶
func (x *StatusRequest) GetVerbose() bool
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
type StatusResponse ¶
type StatusResponse struct { // Status of the Runtime. Status *RuntimeStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Info is extra information of the Runtime. The key could be arbitrary string, and // value should be in json format. The information could include anything useful for // debug, e.g. plugins used by the container runtime. // It should only be returned non-empty when Verbose is true. Info map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetInfo ¶
func (x *StatusResponse) GetInfo() map[string]string
func (*StatusResponse) GetStatus ¶
func (x *StatusResponse) GetStatus() *RuntimeStatus
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type StopContainerRequest ¶
type StopContainerRequest struct { // ID of the container to stop. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Timeout in seconds to wait for the container to stop before forcibly // terminating it. Default: 0 (forcibly terminate the container immediately) Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*StopContainerRequest) Descriptor
deprecated
func (*StopContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopContainerRequest.ProtoReflect.Descriptor instead.
func (*StopContainerRequest) GetContainerId ¶
func (x *StopContainerRequest) GetContainerId() string
func (*StopContainerRequest) GetTimeout ¶
func (x *StopContainerRequest) GetTimeout() int64
func (*StopContainerRequest) ProtoMessage ¶
func (*StopContainerRequest) ProtoMessage()
func (*StopContainerRequest) ProtoReflect ¶
func (x *StopContainerRequest) ProtoReflect() protoreflect.Message
func (*StopContainerRequest) Reset ¶
func (x *StopContainerRequest) Reset()
func (*StopContainerRequest) String ¶
func (x *StopContainerRequest) String() string
type StopContainerResponse ¶
type StopContainerResponse struct {
// contains filtered or unexported fields
}
func (*StopContainerResponse) Descriptor
deprecated
func (*StopContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopContainerResponse.ProtoReflect.Descriptor instead.
func (*StopContainerResponse) ProtoMessage ¶
func (*StopContainerResponse) ProtoMessage()
func (*StopContainerResponse) ProtoReflect ¶
func (x *StopContainerResponse) ProtoReflect() protoreflect.Message
func (*StopContainerResponse) Reset ¶
func (x *StopContainerResponse) Reset()
func (*StopContainerResponse) String ¶
func (x *StopContainerResponse) String() string
type StopPodSandboxRequest ¶
type StopPodSandboxRequest struct { // ID of the PodSandbox to stop. PodSandboxId string `protobuf:"bytes,1,opt,name=pod_sandbox_id,json=podSandboxId,proto3" json:"pod_sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*StopPodSandboxRequest) Descriptor
deprecated
func (*StopPodSandboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopPodSandboxRequest.ProtoReflect.Descriptor instead.
func (*StopPodSandboxRequest) GetPodSandboxId ¶
func (x *StopPodSandboxRequest) GetPodSandboxId() string
func (*StopPodSandboxRequest) ProtoMessage ¶
func (*StopPodSandboxRequest) ProtoMessage()
func (*StopPodSandboxRequest) ProtoReflect ¶
func (x *StopPodSandboxRequest) ProtoReflect() protoreflect.Message
func (*StopPodSandboxRequest) Reset ¶
func (x *StopPodSandboxRequest) Reset()
func (*StopPodSandboxRequest) String ¶
func (x *StopPodSandboxRequest) String() string
type StopPodSandboxResponse ¶
type StopPodSandboxResponse struct {
// contains filtered or unexported fields
}
func (*StopPodSandboxResponse) Descriptor
deprecated
func (*StopPodSandboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopPodSandboxResponse.ProtoReflect.Descriptor instead.
func (*StopPodSandboxResponse) ProtoMessage ¶
func (*StopPodSandboxResponse) ProtoMessage()
func (*StopPodSandboxResponse) ProtoReflect ¶
func (x *StopPodSandboxResponse) ProtoReflect() protoreflect.Message
func (*StopPodSandboxResponse) Reset ¶
func (x *StopPodSandboxResponse) Reset()
func (*StopPodSandboxResponse) String ¶
func (x *StopPodSandboxResponse) String() string
type SwapUsage ¶
type SwapUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Available swap for use. This is defined as the swap limit - swapUsageBytes. SwapAvailableBytes *UInt64Value `protobuf:"bytes,2,opt,name=swap_available_bytes,json=swapAvailableBytes,proto3" json:"swap_available_bytes,omitempty"` // Total memory in use. This includes all memory regardless of when it was accessed. SwapUsageBytes *UInt64Value `protobuf:"bytes,3,opt,name=swap_usage_bytes,json=swapUsageBytes,proto3" json:"swap_usage_bytes,omitempty"` // contains filtered or unexported fields }
func (*SwapUsage) GetSwapAvailableBytes ¶
func (x *SwapUsage) GetSwapAvailableBytes() *UInt64Value
func (*SwapUsage) GetSwapUsageBytes ¶
func (x *SwapUsage) GetSwapUsageBytes() *UInt64Value
func (*SwapUsage) ProtoReflect ¶
func (x *SwapUsage) ProtoReflect() protoreflect.Message
type UInt64Value ¶
type UInt64Value struct { // The value. Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
UInt64Value is the wrapper of uint64.
func (*UInt64Value) Descriptor
deprecated
func (*UInt64Value) Descriptor() ([]byte, []int)
Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead.
func (*UInt64Value) GetValue ¶
func (x *UInt64Value) GetValue() uint64
func (*UInt64Value) ProtoMessage ¶
func (*UInt64Value) ProtoMessage()
func (*UInt64Value) ProtoReflect ¶
func (x *UInt64Value) ProtoReflect() protoreflect.Message
func (*UInt64Value) Reset ¶
func (x *UInt64Value) Reset()
func (*UInt64Value) String ¶
func (x *UInt64Value) String() string
type UpdateContainerResourcesRequest ¶
type UpdateContainerResourcesRequest struct { // ID of the container to update. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Resource configuration specific to Linux containers. Linux *LinuxContainerResources `protobuf:"bytes,2,opt,name=linux,proto3" json:"linux,omitempty"` // Resource configuration specific to Windows containers. Windows *WindowsContainerResources `protobuf:"bytes,3,opt,name=windows,proto3" json:"windows,omitempty"` // Unstructured key-value map holding arbitrary additional information for // container resources updating. This can be used for specifying experimental // resources to update or other options to use when updating the container. Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateContainerResourcesRequest) Descriptor
deprecated
func (*UpdateContainerResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContainerResourcesRequest.ProtoReflect.Descriptor instead.
func (*UpdateContainerResourcesRequest) GetAnnotations ¶
func (x *UpdateContainerResourcesRequest) GetAnnotations() map[string]string
func (*UpdateContainerResourcesRequest) GetContainerId ¶
func (x *UpdateContainerResourcesRequest) GetContainerId() string
func (*UpdateContainerResourcesRequest) GetLinux ¶
func (x *UpdateContainerResourcesRequest) GetLinux() *LinuxContainerResources
func (*UpdateContainerResourcesRequest) GetWindows ¶
func (x *UpdateContainerResourcesRequest) GetWindows() *WindowsContainerResources
func (*UpdateContainerResourcesRequest) ProtoMessage ¶
func (*UpdateContainerResourcesRequest) ProtoMessage()
func (*UpdateContainerResourcesRequest) ProtoReflect ¶
func (x *UpdateContainerResourcesRequest) ProtoReflect() protoreflect.Message
func (*UpdateContainerResourcesRequest) Reset ¶
func (x *UpdateContainerResourcesRequest) Reset()
func (*UpdateContainerResourcesRequest) String ¶
func (x *UpdateContainerResourcesRequest) String() string
type UpdateContainerResourcesResponse ¶
type UpdateContainerResourcesResponse struct {
// contains filtered or unexported fields
}
func (*UpdateContainerResourcesResponse) Descriptor
deprecated
func (*UpdateContainerResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContainerResourcesResponse.ProtoReflect.Descriptor instead.
func (*UpdateContainerResourcesResponse) ProtoMessage ¶
func (*UpdateContainerResourcesResponse) ProtoMessage()
func (*UpdateContainerResourcesResponse) ProtoReflect ¶
func (x *UpdateContainerResourcesResponse) ProtoReflect() protoreflect.Message
func (*UpdateContainerResourcesResponse) Reset ¶
func (x *UpdateContainerResourcesResponse) Reset()
func (*UpdateContainerResourcesResponse) String ¶
func (x *UpdateContainerResourcesResponse) String() string
type UpdateRuntimeConfigRequest ¶
type UpdateRuntimeConfigRequest struct { RuntimeConfig *RuntimeConfig `protobuf:"bytes,1,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"` // contains filtered or unexported fields }
func (*UpdateRuntimeConfigRequest) Descriptor
deprecated
func (*UpdateRuntimeConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuntimeConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateRuntimeConfigRequest) GetRuntimeConfig ¶
func (x *UpdateRuntimeConfigRequest) GetRuntimeConfig() *RuntimeConfig
func (*UpdateRuntimeConfigRequest) ProtoMessage ¶
func (*UpdateRuntimeConfigRequest) ProtoMessage()
func (*UpdateRuntimeConfigRequest) ProtoReflect ¶
func (x *UpdateRuntimeConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateRuntimeConfigRequest) Reset ¶
func (x *UpdateRuntimeConfigRequest) Reset()
func (*UpdateRuntimeConfigRequest) String ¶
func (x *UpdateRuntimeConfigRequest) String() string
type UpdateRuntimeConfigResponse ¶
type UpdateRuntimeConfigResponse struct {
// contains filtered or unexported fields
}
func (*UpdateRuntimeConfigResponse) Descriptor
deprecated
func (*UpdateRuntimeConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuntimeConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateRuntimeConfigResponse) ProtoMessage ¶
func (*UpdateRuntimeConfigResponse) ProtoMessage()
func (*UpdateRuntimeConfigResponse) ProtoReflect ¶
func (x *UpdateRuntimeConfigResponse) ProtoReflect() protoreflect.Message
func (*UpdateRuntimeConfigResponse) Reset ¶
func (x *UpdateRuntimeConfigResponse) Reset()
func (*UpdateRuntimeConfigResponse) String ¶
func (x *UpdateRuntimeConfigResponse) String() string
type UserNamespace ¶
type UserNamespace struct { // Mode is the NamespaceMode for this UserNamespace. // Note: NamespaceMode for UserNamespace currently supports only POD and NODE, not CONTAINER OR TARGET. Mode NamespaceMode `protobuf:"varint,1,opt,name=mode,proto3,enum=runtime.v1.NamespaceMode" json:"mode,omitempty"` // Uids specifies the UID mappings for the user namespace. Uids []*IDMapping `protobuf:"bytes,2,rep,name=uids,proto3" json:"uids,omitempty"` // Gids specifies the GID mappings for the user namespace. Gids []*IDMapping `protobuf:"bytes,3,rep,name=gids,proto3" json:"gids,omitempty"` // contains filtered or unexported fields }
UserNamespace describes the intended user namespace configuration for a pod sandbox.
func (*UserNamespace) Descriptor
deprecated
func (*UserNamespace) Descriptor() ([]byte, []int)
Deprecated: Use UserNamespace.ProtoReflect.Descriptor instead.
func (*UserNamespace) GetGids ¶
func (x *UserNamespace) GetGids() []*IDMapping
func (*UserNamespace) GetMode ¶
func (x *UserNamespace) GetMode() NamespaceMode
func (*UserNamespace) GetUids ¶
func (x *UserNamespace) GetUids() []*IDMapping
func (*UserNamespace) ProtoMessage ¶
func (*UserNamespace) ProtoMessage()
func (*UserNamespace) ProtoReflect ¶
func (x *UserNamespace) ProtoReflect() protoreflect.Message
func (*UserNamespace) Reset ¶
func (x *UserNamespace) Reset()
func (*UserNamespace) String ¶
func (x *UserNamespace) String() string
type VersionRequest ¶
type VersionRequest struct { // Version of the kubelet runtime API. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionRequest) Descriptor
deprecated
func (*VersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.
func (*VersionRequest) GetVersion ¶
func (x *VersionRequest) GetVersion() string
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) ProtoReflect ¶
func (x *VersionRequest) ProtoReflect() protoreflect.Message
func (*VersionRequest) Reset ¶
func (x *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (x *VersionRequest) String() string
type VersionResponse ¶
type VersionResponse struct { // Version of the kubelet runtime API. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Name of the container runtime. RuntimeName string `protobuf:"bytes,2,opt,name=runtime_name,json=runtimeName,proto3" json:"runtime_name,omitempty"` // Version of the container runtime. The string must be // semver-compatible. RuntimeVersion string `protobuf:"bytes,3,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"` // API version of the container runtime. The string must be // semver-compatible. RuntimeApiVersion string `protobuf:"bytes,4,opt,name=runtime_api_version,json=runtimeApiVersion,proto3" json:"runtime_api_version,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetRuntimeApiVersion ¶
func (x *VersionResponse) GetRuntimeApiVersion() string
func (*VersionResponse) GetRuntimeName ¶
func (x *VersionResponse) GetRuntimeName() string
func (*VersionResponse) GetRuntimeVersion ¶
func (x *VersionResponse) GetRuntimeVersion() string
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string
type WindowsContainerConfig ¶
type WindowsContainerConfig struct { // Resources specification for the container. Resources *WindowsContainerResources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` // WindowsContainerSecurityContext configuration for the container. SecurityContext *WindowsContainerSecurityContext `protobuf:"bytes,2,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` // contains filtered or unexported fields }
WindowsContainerConfig contains platform-specific configuration for Windows-based containers.
func (*WindowsContainerConfig) Descriptor
deprecated
func (*WindowsContainerConfig) Descriptor() ([]byte, []int)
Deprecated: Use WindowsContainerConfig.ProtoReflect.Descriptor instead.
func (*WindowsContainerConfig) GetResources ¶
func (x *WindowsContainerConfig) GetResources() *WindowsContainerResources
func (*WindowsContainerConfig) GetSecurityContext ¶
func (x *WindowsContainerConfig) GetSecurityContext() *WindowsContainerSecurityContext
func (*WindowsContainerConfig) ProtoMessage ¶
func (*WindowsContainerConfig) ProtoMessage()
func (*WindowsContainerConfig) ProtoReflect ¶
func (x *WindowsContainerConfig) ProtoReflect() protoreflect.Message
func (*WindowsContainerConfig) Reset ¶
func (x *WindowsContainerConfig) Reset()
func (*WindowsContainerConfig) String ¶
func (x *WindowsContainerConfig) String() string
type WindowsContainerResources ¶
type WindowsContainerResources struct { int64 `protobuf:"varint,1,opt,name=cpu_shares,json=cpuShares,proto3" json:"cpu_shares,omitempty"` // Number of CPUs available to the container. Default: 0 (not specified). CpuCount int64 `protobuf:"varint,2,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"` // Specifies the portion of processor cycles that this container can use as a percentage times 100. CpuMaximum int64 `protobuf:"varint,3,opt,name=cpu_maximum,json=cpuMaximum,proto3" json:"cpu_maximum,omitempty"` // Memory limit in bytes. Default: 0 (not specified). MemoryLimitInBytes int64 `protobuf:"varint,4,opt,name=memory_limit_in_bytes,json=memoryLimitInBytes,proto3" json:"memory_limit_in_bytes,omitempty"` // Specifies the size of the rootfs / scratch space in bytes to be configured for this container. Default: 0 (not specified). RootfsSizeInBytes int64 `protobuf:"varint,5,opt,name=rootfs_size_in_bytes,json=rootfsSizeInBytes,proto3" json:"rootfs_size_in_bytes,omitempty"` // contains filtered or unexported fields }CpuShares
WindowsContainerResources specifies Windows specific configuration for resources.
func (*WindowsContainerResources) Descriptor
deprecated
func (*WindowsContainerResources) Descriptor() ([]byte, []int)
Deprecated: Use WindowsContainerResources.ProtoReflect.Descriptor instead.
func (*WindowsContainerResources) GetCpuCount ¶
func (x *WindowsContainerResources) GetCpuCount() int64
func (*WindowsContainerResources) GetCpuMaximum ¶
func (x *WindowsContainerResources) GetCpuMaximum() int64
func (*WindowsContainerResources) GetCpuShares ¶
func (x *WindowsContainerResources) GetCpuShares() int64
func (*WindowsContainerResources) GetMemoryLimitInBytes ¶
func (x *WindowsContainerResources) GetMemoryLimitInBytes() int64
func (*WindowsContainerResources) GetRootfsSizeInBytes ¶
func (x *WindowsContainerResources) GetRootfsSizeInBytes() int64
func (*WindowsContainerResources) ProtoMessage ¶
func (*WindowsContainerResources) ProtoMessage()
func (*WindowsContainerResources) ProtoReflect ¶
func (x *WindowsContainerResources) ProtoReflect() protoreflect.Message
func (*WindowsContainerResources) Reset ¶
func (x *WindowsContainerResources) Reset()
func (*WindowsContainerResources) String ¶
func (x *WindowsContainerResources) String() string
type WindowsContainerSecurityContext ¶
type WindowsContainerSecurityContext struct { // User name to run the container process as. If specified, the user MUST // exist in the container image and be resolved there by the runtime; // otherwise, the runtime MUST return error. RunAsUsername string `protobuf:"bytes,1,opt,name=run_as_username,json=runAsUsername,proto3" json:"run_as_username,omitempty"` // The contents of the GMSA credential spec to use to run this container. CredentialSpec string `protobuf:"bytes,2,opt,name=credential_spec,json=credentialSpec,proto3" json:"credential_spec,omitempty"` // Indicates whether a container is to be run as a HostProcess container. HostProcess bool `protobuf:"varint,3,opt,name=host_process,json=hostProcess,proto3" json:"host_process,omitempty"` // contains filtered or unexported fields }
WindowsContainerSecurityContext holds windows security configuration that will be applied to a container.
func (*WindowsContainerSecurityContext) Descriptor
deprecated
func (*WindowsContainerSecurityContext) Descriptor() ([]byte, []int)
Deprecated: Use WindowsContainerSecurityContext.ProtoReflect.Descriptor instead.
func (*WindowsContainerSecurityContext) GetCredentialSpec ¶
func (x *WindowsContainerSecurityContext) GetCredentialSpec() string
func (*WindowsContainerSecurityContext) GetHostProcess ¶
func (x *WindowsContainerSecurityContext) GetHostProcess() bool
func (*WindowsContainerSecurityContext) GetRunAsUsername ¶
func (x *WindowsContainerSecurityContext) GetRunAsUsername() string
func (*WindowsContainerSecurityContext) ProtoMessage ¶
func (*WindowsContainerSecurityContext) ProtoMessage()
func (*WindowsContainerSecurityContext) ProtoReflect ¶
func (x *WindowsContainerSecurityContext) ProtoReflect() protoreflect.Message
func (*WindowsContainerSecurityContext) Reset ¶
func (x *WindowsContainerSecurityContext) Reset()
func (*WindowsContainerSecurityContext) String ¶
func (x *WindowsContainerSecurityContext) String() string
type WindowsContainerStats ¶
type WindowsContainerStats struct { // Information of the container. Attributes *ContainerAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` // CPU usage gathered from the container. Cpu *WindowsCpuUsage `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"` // Memory usage gathered from the container. Memory *WindowsMemoryUsage `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` // Usage of the writable layer. WritableLayer *WindowsFilesystemUsage `protobuf:"bytes,4,opt,name=writable_layer,json=writableLayer,proto3" json:"writable_layer,omitempty"` // contains filtered or unexported fields }
WindowsContainerStats provides the resource usage statistics for a container specific for Windows
func (*WindowsContainerStats) Descriptor
deprecated
func (*WindowsContainerStats) Descriptor() ([]byte, []int)
Deprecated: Use WindowsContainerStats.ProtoReflect.Descriptor instead.
func (*WindowsContainerStats) GetAttributes ¶
func (x *WindowsContainerStats) GetAttributes() *ContainerAttributes
func (*WindowsContainerStats) GetCpu ¶
func (x *WindowsContainerStats) GetCpu() *WindowsCpuUsage
func (*WindowsContainerStats) GetMemory ¶
func (x *WindowsContainerStats) GetMemory() *WindowsMemoryUsage
func (*WindowsContainerStats) GetWritableLayer ¶
func (x *WindowsContainerStats) GetWritableLayer() *WindowsFilesystemUsage
func (*WindowsContainerStats) ProtoMessage ¶
func (*WindowsContainerStats) ProtoMessage()
func (*WindowsContainerStats) ProtoReflect ¶
func (x *WindowsContainerStats) ProtoReflect() protoreflect.Message
func (*WindowsContainerStats) Reset ¶
func (x *WindowsContainerStats) Reset()
func (*WindowsContainerStats) String ¶
func (x *WindowsContainerStats) String() string
type WindowsCpuUsage ¶
type WindowsCpuUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Cumulative CPU usage (sum across all cores) since object creation. UsageCoreNanoSeconds *UInt64Value `protobuf:"bytes,2,opt,name=usage_core_nano_seconds,json=usageCoreNanoSeconds,proto3" json:"usage_core_nano_seconds,omitempty"` // Total CPU usage (sum of all cores) averaged over the sample window. // The "core" unit can be interpreted as CPU core-nanoseconds per second. UsageNanoCores *UInt64Value `protobuf:"bytes,3,opt,name=usage_nano_cores,json=usageNanoCores,proto3" json:"usage_nano_cores,omitempty"` // contains filtered or unexported fields }
WindowsCpuUsage provides the CPU usage information specific to Windows
func (*WindowsCpuUsage) Descriptor
deprecated
func (*WindowsCpuUsage) Descriptor() ([]byte, []int)
Deprecated: Use WindowsCpuUsage.ProtoReflect.Descriptor instead.
func (*WindowsCpuUsage) GetTimestamp ¶
func (x *WindowsCpuUsage) GetTimestamp() int64
func (*WindowsCpuUsage) GetUsageCoreNanoSeconds ¶
func (x *WindowsCpuUsage) GetUsageCoreNanoSeconds() *UInt64Value
func (*WindowsCpuUsage) GetUsageNanoCores ¶
func (x *WindowsCpuUsage) GetUsageNanoCores() *UInt64Value
func (*WindowsCpuUsage) ProtoMessage ¶
func (*WindowsCpuUsage) ProtoMessage()
func (*WindowsCpuUsage) ProtoReflect ¶
func (x *WindowsCpuUsage) ProtoReflect() protoreflect.Message
func (*WindowsCpuUsage) Reset ¶
func (x *WindowsCpuUsage) Reset()
func (*WindowsCpuUsage) String ¶
func (x *WindowsCpuUsage) String() string
type WindowsFilesystemUsage ¶
type WindowsFilesystemUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The unique identifier of the filesystem. FsId *FilesystemIdentifier `protobuf:"bytes,2,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` // UsedBytes represents the bytes used for images on the filesystem. // This may differ from the total bytes used on the filesystem and may not // equal CapacityBytes - AvailableBytes. UsedBytes *UInt64Value `protobuf:"bytes,3,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"` // contains filtered or unexported fields }
WindowsFilesystemUsage provides the filesystem usage information specific to Windows.
func (*WindowsFilesystemUsage) Descriptor
deprecated
func (*WindowsFilesystemUsage) Descriptor() ([]byte, []int)
Deprecated: Use WindowsFilesystemUsage.ProtoReflect.Descriptor instead.
func (*WindowsFilesystemUsage) GetFsId ¶
func (x *WindowsFilesystemUsage) GetFsId() *FilesystemIdentifier
func (*WindowsFilesystemUsage) GetTimestamp ¶
func (x *WindowsFilesystemUsage) GetTimestamp() int64
func (*WindowsFilesystemUsage) GetUsedBytes ¶
func (x *WindowsFilesystemUsage) GetUsedBytes() *UInt64Value
func (*WindowsFilesystemUsage) ProtoMessage ¶
func (*WindowsFilesystemUsage) ProtoMessage()
func (*WindowsFilesystemUsage) ProtoReflect ¶
func (x *WindowsFilesystemUsage) ProtoReflect() protoreflect.Message
func (*WindowsFilesystemUsage) Reset ¶
func (x *WindowsFilesystemUsage) Reset()
func (*WindowsFilesystemUsage) String ¶
func (x *WindowsFilesystemUsage) String() string
type WindowsMemoryUsage ¶
type WindowsMemoryUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The amount of working set memory in bytes. WorkingSetBytes *UInt64Value `protobuf:"bytes,2,opt,name=working_set_bytes,json=workingSetBytes,proto3" json:"working_set_bytes,omitempty"` // Available memory for use. This is defined as the memory limit - commit_memory_bytes. AvailableBytes *UInt64Value `protobuf:"bytes,3,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"` // Cumulative number of page faults. PageFaults *UInt64Value `protobuf:"bytes,4,opt,name=page_faults,json=pageFaults,proto3" json:"page_faults,omitempty"` // Total commit memory in use. Commit memory is total of physical and virtual memory in use. CommitMemoryBytes *UInt64Value `protobuf:"bytes,5,opt,name=commit_memory_bytes,json=commitMemoryBytes,proto3" json:"commit_memory_bytes,omitempty"` // contains filtered or unexported fields }
WindowsMemoryUsage provides the memory usage information specific to Windows
func (*WindowsMemoryUsage) Descriptor
deprecated
func (*WindowsMemoryUsage) Descriptor() ([]byte, []int)
Deprecated: Use WindowsMemoryUsage.ProtoReflect.Descriptor instead.
func (*WindowsMemoryUsage) GetAvailableBytes ¶
func (x *WindowsMemoryUsage) GetAvailableBytes() *UInt64Value
func (*WindowsMemoryUsage) GetCommitMemoryBytes ¶
func (x *WindowsMemoryUsage) GetCommitMemoryBytes() *UInt64Value
func (*WindowsMemoryUsage) GetPageFaults ¶
func (x *WindowsMemoryUsage) GetPageFaults() *UInt64Value
func (*WindowsMemoryUsage) GetTimestamp ¶
func (x *WindowsMemoryUsage) GetTimestamp() int64
func (*WindowsMemoryUsage) GetWorkingSetBytes ¶
func (x *WindowsMemoryUsage) GetWorkingSetBytes() *UInt64Value
func (*WindowsMemoryUsage) ProtoMessage ¶
func (*WindowsMemoryUsage) ProtoMessage()
func (*WindowsMemoryUsage) ProtoReflect ¶
func (x *WindowsMemoryUsage) ProtoReflect() protoreflect.Message
func (*WindowsMemoryUsage) Reset ¶
func (x *WindowsMemoryUsage) Reset()
func (*WindowsMemoryUsage) String ¶
func (x *WindowsMemoryUsage) String() string
type WindowsNamespaceOption ¶
type WindowsNamespaceOption struct { // Network namespace for this container/sandbox. // Namespaces currently set by the kubelet: POD, NODE Network NamespaceMode `protobuf:"varint,1,opt,name=network,proto3,enum=runtime.v1.NamespaceMode" json:"network,omitempty"` // contains filtered or unexported fields }
WindowsNamespaceOption provides options for Windows namespaces.
func (*WindowsNamespaceOption) Descriptor
deprecated
func (*WindowsNamespaceOption) Descriptor() ([]byte, []int)
Deprecated: Use WindowsNamespaceOption.ProtoReflect.Descriptor instead.
func (*WindowsNamespaceOption) GetNetwork ¶
func (x *WindowsNamespaceOption) GetNetwork() NamespaceMode
func (*WindowsNamespaceOption) ProtoMessage ¶
func (*WindowsNamespaceOption) ProtoMessage()
func (*WindowsNamespaceOption) ProtoReflect ¶
func (x *WindowsNamespaceOption) ProtoReflect() protoreflect.Message
func (*WindowsNamespaceOption) Reset ¶
func (x *WindowsNamespaceOption) Reset()
func (*WindowsNamespaceOption) String ¶
func (x *WindowsNamespaceOption) String() string
type WindowsNetworkInterfaceUsage ¶
type WindowsNetworkInterfaceUsage struct { // The name of the network interface. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cumulative count of bytes received. RxBytes *UInt64Value `protobuf:"bytes,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"` // Cumulative count of receive errors encountered. RxPacketsDropped *UInt64Value `protobuf:"bytes,3,opt,name=rx_packets_dropped,json=rxPacketsDropped,proto3" json:"rx_packets_dropped,omitempty"` // Cumulative count of bytes transmitted. TxBytes *UInt64Value `protobuf:"bytes,4,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"` // Cumulative count of transmit errors encountered. TxPacketsDropped *UInt64Value `protobuf:"bytes,5,opt,name=tx_packets_dropped,json=txPacketsDropped,proto3" json:"tx_packets_dropped,omitempty"` // contains filtered or unexported fields }
WindowsNetworkInterfaceUsage contains resource value data about a network interface specific for Windows.
func (*WindowsNetworkInterfaceUsage) Descriptor
deprecated
func (*WindowsNetworkInterfaceUsage) Descriptor() ([]byte, []int)
Deprecated: Use WindowsNetworkInterfaceUsage.ProtoReflect.Descriptor instead.
func (*WindowsNetworkInterfaceUsage) GetName ¶
func (x *WindowsNetworkInterfaceUsage) GetName() string
func (*WindowsNetworkInterfaceUsage) GetRxBytes ¶
func (x *WindowsNetworkInterfaceUsage) GetRxBytes() *UInt64Value
func (*WindowsNetworkInterfaceUsage) GetRxPacketsDropped ¶
func (x *WindowsNetworkInterfaceUsage) GetRxPacketsDropped() *UInt64Value
func (*WindowsNetworkInterfaceUsage) GetTxBytes ¶
func (x *WindowsNetworkInterfaceUsage) GetTxBytes() *UInt64Value
func (*WindowsNetworkInterfaceUsage) GetTxPacketsDropped ¶
func (x *WindowsNetworkInterfaceUsage) GetTxPacketsDropped() *UInt64Value
func (*WindowsNetworkInterfaceUsage) ProtoMessage ¶
func (*WindowsNetworkInterfaceUsage) ProtoMessage()
func (*WindowsNetworkInterfaceUsage) ProtoReflect ¶
func (x *WindowsNetworkInterfaceUsage) ProtoReflect() protoreflect.Message
func (*WindowsNetworkInterfaceUsage) Reset ¶
func (x *WindowsNetworkInterfaceUsage) Reset()
func (*WindowsNetworkInterfaceUsage) String ¶
func (x *WindowsNetworkInterfaceUsage) String() string
type WindowsNetworkUsage ¶
type WindowsNetworkUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Stats for the default network interface. DefaultInterface *WindowsNetworkInterfaceUsage `protobuf:"bytes,2,opt,name=default_interface,json=defaultInterface,proto3" json:"default_interface,omitempty"` // Stats for all found network interfaces, excluding the default. Interfaces []*WindowsNetworkInterfaceUsage `protobuf:"bytes,3,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // contains filtered or unexported fields }
WindowsNetworkUsage contains data about network resources specific to Windows.
func (*WindowsNetworkUsage) Descriptor
deprecated
func (*WindowsNetworkUsage) Descriptor() ([]byte, []int)
Deprecated: Use WindowsNetworkUsage.ProtoReflect.Descriptor instead.
func (*WindowsNetworkUsage) GetDefaultInterface ¶
func (x *WindowsNetworkUsage) GetDefaultInterface() *WindowsNetworkInterfaceUsage
func (*WindowsNetworkUsage) GetInterfaces ¶
func (x *WindowsNetworkUsage) GetInterfaces() []*WindowsNetworkInterfaceUsage
func (*WindowsNetworkUsage) GetTimestamp ¶
func (x *WindowsNetworkUsage) GetTimestamp() int64
func (*WindowsNetworkUsage) ProtoMessage ¶
func (*WindowsNetworkUsage) ProtoMessage()
func (*WindowsNetworkUsage) ProtoReflect ¶
func (x *WindowsNetworkUsage) ProtoReflect() protoreflect.Message
func (*WindowsNetworkUsage) Reset ¶
func (x *WindowsNetworkUsage) Reset()
func (*WindowsNetworkUsage) String ¶
func (x *WindowsNetworkUsage) String() string
type WindowsPodSandboxConfig ¶
type WindowsPodSandboxConfig struct { // WindowsSandboxSecurityContext holds sandbox security attributes. SecurityContext *WindowsSandboxSecurityContext `protobuf:"bytes,1,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` // contains filtered or unexported fields }
WindowsPodSandboxConfig holds platform-specific configurations for Windows host platforms and Windows-based containers.
func (*WindowsPodSandboxConfig) Descriptor
deprecated
func (*WindowsPodSandboxConfig) Descriptor() ([]byte, []int)
Deprecated: Use WindowsPodSandboxConfig.ProtoReflect.Descriptor instead.
func (*WindowsPodSandboxConfig) GetSecurityContext ¶
func (x *WindowsPodSandboxConfig) GetSecurityContext() *WindowsSandboxSecurityContext
func (*WindowsPodSandboxConfig) ProtoMessage ¶
func (*WindowsPodSandboxConfig) ProtoMessage()
func (*WindowsPodSandboxConfig) ProtoReflect ¶
func (x *WindowsPodSandboxConfig) ProtoReflect() protoreflect.Message
func (*WindowsPodSandboxConfig) Reset ¶
func (x *WindowsPodSandboxConfig) Reset()
func (*WindowsPodSandboxConfig) String ¶
func (x *WindowsPodSandboxConfig) String() string
type WindowsPodSandboxStats ¶
type WindowsPodSandboxStats struct { // CPU usage gathered for the pod sandbox. Cpu *WindowsCpuUsage `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"` // Memory usage gathered for the pod sandbox. Memory *WindowsMemoryUsage `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"` // Network usage gathered for the pod sandbox Network *WindowsNetworkUsage `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` // Stats pertaining to processes in the pod sandbox. Process *WindowsProcessUsage `protobuf:"bytes,4,opt,name=process,proto3" json:"process,omitempty"` // Stats of containers in the measured pod sandbox. Containers []*WindowsContainerStats `protobuf:"bytes,5,rep,name=containers,proto3" json:"containers,omitempty"` // contains filtered or unexported fields }
WindowsPodSandboxStats provides the resource usage statistics for a pod sandbox on windows
func (*WindowsPodSandboxStats) Descriptor
deprecated
func (*WindowsPodSandboxStats) Descriptor() ([]byte, []int)
Deprecated: Use WindowsPodSandboxStats.ProtoReflect.Descriptor instead.
func (*WindowsPodSandboxStats) GetContainers ¶
func (x *WindowsPodSandboxStats) GetContainers() []*WindowsContainerStats
func (*WindowsPodSandboxStats) GetCpu ¶
func (x *WindowsPodSandboxStats) GetCpu() *WindowsCpuUsage
func (*WindowsPodSandboxStats) GetMemory ¶
func (x *WindowsPodSandboxStats) GetMemory() *WindowsMemoryUsage
func (*WindowsPodSandboxStats) GetNetwork ¶
func (x *WindowsPodSandboxStats) GetNetwork() *WindowsNetworkUsage
func (*WindowsPodSandboxStats) GetProcess ¶
func (x *WindowsPodSandboxStats) GetProcess() *WindowsProcessUsage
func (*WindowsPodSandboxStats) ProtoMessage ¶
func (*WindowsPodSandboxStats) ProtoMessage()
func (*WindowsPodSandboxStats) ProtoReflect ¶
func (x *WindowsPodSandboxStats) ProtoReflect() protoreflect.Message
func (*WindowsPodSandboxStats) Reset ¶
func (x *WindowsPodSandboxStats) Reset()
func (*WindowsPodSandboxStats) String ¶
func (x *WindowsPodSandboxStats) String() string
type WindowsProcessUsage ¶
type WindowsProcessUsage struct { // Timestamp in nanoseconds at which the information were collected. Must be > 0. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Number of processes. ProcessCount *UInt64Value `protobuf:"bytes,2,opt,name=process_count,json=processCount,proto3" json:"process_count,omitempty"` // contains filtered or unexported fields }
WindowsProcessUsage are stats pertaining to processes specific to Windows.
func (*WindowsProcessUsage) Descriptor
deprecated
func (*WindowsProcessUsage) Descriptor() ([]byte, []int)
Deprecated: Use WindowsProcessUsage.ProtoReflect.Descriptor instead.
func (*WindowsProcessUsage) GetProcessCount ¶
func (x *WindowsProcessUsage) GetProcessCount() *UInt64Value
func (*WindowsProcessUsage) GetTimestamp ¶
func (x *WindowsProcessUsage) GetTimestamp() int64
func (*WindowsProcessUsage) ProtoMessage ¶
func (*WindowsProcessUsage) ProtoMessage()
func (*WindowsProcessUsage) ProtoReflect ¶
func (x *WindowsProcessUsage) ProtoReflect() protoreflect.Message
func (*WindowsProcessUsage) Reset ¶
func (x *WindowsProcessUsage) Reset()
func (*WindowsProcessUsage) String ¶
func (x *WindowsProcessUsage) String() string
type WindowsSandboxSecurityContext ¶
type WindowsSandboxSecurityContext struct { // User name to run the container process as. If specified, the user MUST // exist in the container image and be resolved there by the runtime; // otherwise, the runtime MUST return error. RunAsUsername string `protobuf:"bytes,1,opt,name=run_as_username,json=runAsUsername,proto3" json:"run_as_username,omitempty"` // The contents of the GMSA credential spec to use to run this container. CredentialSpec string `protobuf:"bytes,2,opt,name=credential_spec,json=credentialSpec,proto3" json:"credential_spec,omitempty"` // Indicates whether the container requested to run as a HostProcess container. HostProcess bool `protobuf:"varint,3,opt,name=host_process,json=hostProcess,proto3" json:"host_process,omitempty"` // Configuration for the sandbox's namespaces NamespaceOptions *WindowsNamespaceOption `protobuf:"bytes,4,opt,name=namespace_options,json=namespaceOptions,proto3" json:"namespace_options,omitempty"` // contains filtered or unexported fields }
WindowsSandboxSecurityContext holds platform-specific configurations that will be applied to a sandbox. These settings will only apply to the sandbox container.
func (*WindowsSandboxSecurityContext) Descriptor
deprecated
func (*WindowsSandboxSecurityContext) Descriptor() ([]byte, []int)
Deprecated: Use WindowsSandboxSecurityContext.ProtoReflect.Descriptor instead.
func (*WindowsSandboxSecurityContext) GetCredentialSpec ¶
func (x *WindowsSandboxSecurityContext) GetCredentialSpec() string
func (*WindowsSandboxSecurityContext) GetHostProcess ¶
func (x *WindowsSandboxSecurityContext) GetHostProcess() bool
func (*WindowsSandboxSecurityContext) GetNamespaceOptions ¶
func (x *WindowsSandboxSecurityContext) GetNamespaceOptions() *WindowsNamespaceOption
func (*WindowsSandboxSecurityContext) GetRunAsUsername ¶
func (x *WindowsSandboxSecurityContext) GetRunAsUsername() string
func (*WindowsSandboxSecurityContext) ProtoMessage ¶
func (*WindowsSandboxSecurityContext) ProtoMessage()
func (*WindowsSandboxSecurityContext) ProtoReflect ¶
func (x *WindowsSandboxSecurityContext) ProtoReflect() protoreflect.Message
func (*WindowsSandboxSecurityContext) Reset ¶
func (x *WindowsSandboxSecurityContext) Reset()
func (*WindowsSandboxSecurityContext) String ¶
func (x *WindowsSandboxSecurityContext) String() string