Documentation ¶
Index ¶
- type AttachRequest
- type AttachResponse
- type AuthConfig
- type CPUUsage
- type Capability
- type Container
- type ContainerAttributes
- type ContainerConfig
- type ContainerFilter
- type ContainerMetadata
- type ContainerState
- type ContainerStateValue
- type ContainerStats
- type ContainerStatsFilter
- type ContainerStatsRequest
- type ContainerStatsResponse
- type ContainerStatus
- type ContainerStatusRequest
- type ContainerStatusResponse
- type CreateContainerRequest
- type CreateContainerResponse
- type DNSConfig
- type Device
- type ExecRequest
- type ExecResponse
- type ExecSyncRequest
- type ExecSyncResponse
- type FilesystemIDentifier
- type FilesystemUsage
- type HugepageLimit
- type Image
- type ImageFilter
- type ImageFsInfoResponse
- type ImageSpec
- type ImageStatusRequest
- type ImageStatusResponse
- type Int64Value
- type KeyValue
- type LinuxContainerConfig
- type LinuxContainerResources
- type LinuxContainerSecurityContext
- type LinuxPodSandboxConfig
- type LinuxPodSandboxStatus
- type LinuxSandboxSecurityContext
- type ListContainerStatsRequest
- type ListContainerStatsResponse
- type ListContainersRequest
- type ListContainersResponse
- type ListImagesRequest
- type ListImagesResponse
- type ListPodSandboxRequest
- type ListPodSandboxResponse
- type MemoryUsage
- type Mount
- type MountPropagation
- type Namespace
- type NamespaceMode
- type NamespaceOption
- type NetworkConfig
- type PodIP
- type PodSandbox
- type PodSandboxConfig
- type PodSandboxFilter
- type PodSandboxMetadata
- type PodSandboxNetworkStatus
- type PodSandboxState
- type PodSandboxStateValue
- type PodSandboxStatus
- type PodSandboxStatusRequest
- type PodSandboxStatusResponse
- type PortForwardRequest
- type PortForwardResponse
- type PortMapping
- type Protocol
- type PullImageRequest
- type PullImageResponse
- type RemoveContainerRequest
- type RemoveImageRequest
- type RemovePodSandboxRequest
- type ReopenContainerLogRequest
- type RunPodSandboxRequest
- type RunPodSandboxResponse
- type RuntimeCondition
- type RuntimeConfig
- type RuntimeStatus
- type SELinuxOption
- type StartContainerRequest
- type StartContainerResponse
- type StatusRequest
- type StatusResponse
- type StopContainerRequest
- type StopContainerResponse
- type StopPodSandboxRequest
- type UInt64Value
- type UpdateContainerResourcesRequest
- type UpdateRuntimeConfigRequest
- type VersionRequest
- type VersionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachRequest ¶
type AttachResponse ¶
type AttachResponse struct {
URL string
}
type AuthConfig ¶
type CPUUsage ¶
type CPUUsage struct { Timestamp int64 UsageCoreNanoSeconds *UInt64Value }
type Capability ¶
type ContainerAttributes ¶
type ContainerConfig ¶
type ContainerConfig struct { Metadata *ContainerMetadata Image *ImageSpec Command []string Args []string WorkingDir string Envs []*KeyValue Mounts []*Mount Devices []*Device Labels map[string]string Annotations map[string]string LogPath string Stdin bool StdinOnce bool Tty bool Linux *LinuxContainerConfig }
type ContainerFilter ¶
type ContainerFilter struct { ID string State *ContainerStateValue PodSandboxID string LabelSelector map[string]string }
type ContainerMetadata ¶
type ContainerState ¶
type ContainerState int32
type ContainerStateValue ¶
type ContainerStateValue struct {
State ContainerState
}
type ContainerStats ¶
type ContainerStats struct { Attributes *ContainerAttributes CPU *CPUUsage Memory *MemoryUsage WritableLayer *FilesystemUsage }
type ContainerStatsFilter ¶
type ContainerStatsRequest ¶
type ContainerStatsRequest struct {
ContainerID string
}
type ContainerStatsResponse ¶
type ContainerStatsResponse struct {
Stats *ContainerStats
}
type ContainerStatus ¶
type ContainerStatus struct { ID string ImageRef string Reason string Message string LogPath string Metadata *ContainerMetadata Image *ImageSpec Labels map[string]string Annotations map[string]string Mounts []*Mount CreatedAt int64 StartedAt int64 FinishedAt int64 State ContainerState ExitCode int32 }
type ContainerStatusRequest ¶
type ContainerStatusResponse ¶
type ContainerStatusResponse struct { Status *ContainerStatus Info map[string]string }
type CreateContainerRequest ¶
type CreateContainerRequest struct { PodSandboxID string Config *ContainerConfig SandboxConfig *PodSandboxConfig }
type CreateContainerResponse ¶
type CreateContainerResponse struct {
ContainerID string
}
type ExecRequest ¶
type ExecResponse ¶
type ExecResponse struct {
URL string
}
type ExecSyncRequest ¶
type ExecSyncResponse ¶
type FilesystemIDentifier ¶
type FilesystemIDentifier struct {
Mountpoint string
}
type FilesystemUsage ¶
type FilesystemUsage struct { Timestamp int64 FsID *FilesystemIDentifier UsedBytes *UInt64Value InodesUsed *UInt64Value }
type HugepageLimit ¶
type ImageFilter ¶
type ImageFilter struct {
Image *ImageSpec
}
type ImageFsInfoResponse ¶
type ImageFsInfoResponse struct {
ImageFilesystems []*FilesystemUsage
}
type ImageStatusRequest ¶
type ImageStatusResponse ¶
type Int64Value ¶
type Int64Value struct {
Value int64
}
type LinuxContainerConfig ¶
type LinuxContainerConfig struct { Resources *LinuxContainerResources SecurityContext *LinuxContainerSecurityContext }
type LinuxContainerResources ¶
type LinuxContainerSecurityContext ¶
type LinuxContainerSecurityContext struct { Capabilities *Capability NamespaceOptions *NamespaceOption SelinuxOptions *SELinuxOption RunAsUser *Int64Value RunAsGroup *Int64Value RunAsUsername string ApparmorProfile string SeccompProfilePath string MaskedPaths []string ReadonlyPaths []string SupplementalGroups []int64 Privileged bool ReadonlyRootfs bool NoNewPrivs bool }
type LinuxPodSandboxConfig ¶
type LinuxPodSandboxConfig struct { CgroupParent string SecurityContext *LinuxSandboxSecurityContext Sysctls map[string]string }
type LinuxPodSandboxStatus ¶
type LinuxPodSandboxStatus struct {
Namespaces *Namespace
}
type LinuxSandboxSecurityContext ¶
type LinuxSandboxSecurityContext struct { NamespaceOptions *NamespaceOption SelinuxOptions *SELinuxOption RunAsUser *Int64Value RunAsGroup *Int64Value SeccompProfilePath string SupplementalGroups []int64 ReadonlyRootfs bool Privileged bool }
type ListContainerStatsRequest ¶
type ListContainerStatsRequest struct {
Filter *ContainerStatsFilter
}
type ListContainerStatsResponse ¶
type ListContainerStatsResponse struct {
Stats []*ContainerStats
}
type ListContainersRequest ¶
type ListContainersRequest struct {
Filter *ContainerFilter
}
type ListContainersResponse ¶
type ListContainersResponse struct {
Containers []*Container
}
type ListImagesRequest ¶
type ListImagesRequest struct {
Filter *ImageFilter
}
type ListImagesResponse ¶
type ListImagesResponse struct {
Images []*Image
}
type ListPodSandboxRequest ¶
type ListPodSandboxRequest struct {
Filter *PodSandboxFilter
}
type ListPodSandboxResponse ¶
type ListPodSandboxResponse struct {
Items []*PodSandbox
}
type MemoryUsage ¶
type MemoryUsage struct { Timestamp int64 WorkingSetBytes *UInt64Value }
type Mount ¶
type Mount struct { ContainerPath string HostPath string Readonly bool SelinuxRelabel bool Propagation MountPropagation }
type MountPropagation ¶
type MountPropagation int32
type Namespace ¶
type Namespace struct {
Options *NamespaceOption
}
type NamespaceMode ¶
type NamespaceMode int32
type NamespaceOption ¶
type NamespaceOption struct { Network NamespaceMode Pid NamespaceMode Ipc NamespaceMode TargetID string }
type NetworkConfig ¶
type NetworkConfig struct {
PodCidr string
}
type PodSandbox ¶
type PodSandbox struct { ID string Metadata *PodSandboxMetadata State PodSandboxState CreatedAt int64 Labels map[string]string Annotations map[string]string RuntimeHandler string }
type PodSandboxConfig ¶
type PodSandboxConfig struct { Metadata *PodSandboxMetadata Hostname string LogDirectory string DNSConfig *DNSConfig PortMappings []*PortMapping Labels map[string]string Annotations map[string]string Linux *LinuxPodSandboxConfig }
type PodSandboxFilter ¶
type PodSandboxFilter struct { ID string State *PodSandboxStateValue LabelSelector map[string]string }
type PodSandboxMetadata ¶
type PodSandboxNetworkStatus ¶
type PodSandboxState ¶
type PodSandboxState int32
type PodSandboxStateValue ¶
type PodSandboxStateValue struct {
State PodSandboxState
}
type PodSandboxStatus ¶
type PodSandboxStatus struct { ID string Metadata *PodSandboxMetadata State PodSandboxState CreatedAt int64 Network *PodSandboxNetworkStatus Linux *LinuxPodSandboxStatus Labels map[string]string Annotations map[string]string RuntimeHandler string }
type PodSandboxStatusRequest ¶
type PodSandboxStatusResponse ¶
type PodSandboxStatusResponse struct { Status *PodSandboxStatus Info map[string]string }
type PortForwardRequest ¶
type PortForwardResponse ¶
type PortForwardResponse struct {
URL string
}
type PortMapping ¶
type PullImageRequest ¶
type PullImageRequest struct { Image *ImageSpec Auth *AuthConfig SandboxConfig *PodSandboxConfig }
type PullImageResponse ¶
type PullImageResponse struct {
ImageRef string
}
type RemoveContainerRequest ¶
type RemoveContainerRequest struct {
ContainerID string
}
type RemoveImageRequest ¶
type RemoveImageRequest struct {
Image *ImageSpec
}
type RemovePodSandboxRequest ¶
type RemovePodSandboxRequest struct {
PodSandboxID string
}
type ReopenContainerLogRequest ¶
type ReopenContainerLogRequest struct {
ContainerID string
}
type RunPodSandboxRequest ¶
type RunPodSandboxRequest struct { Config *PodSandboxConfig RuntimeHandler string }
type RunPodSandboxResponse ¶
type RunPodSandboxResponse struct {
PodSandboxID string
}
type RuntimeCondition ¶
type RuntimeConfig ¶
type RuntimeConfig struct {
NetworkConfig *NetworkConfig
}
type RuntimeStatus ¶
type RuntimeStatus struct {
Conditions []*RuntimeCondition
}
type StartContainerRequest ¶
type StartContainerRequest struct {
ContainerID string
}
type StartContainerResponse ¶
type StartContainerResponse struct { }
type StatusRequest ¶
type StatusRequest struct {
Verbose bool
}
type StatusResponse ¶
type StatusResponse struct { Status *RuntimeStatus Info map[string]string }
type StopContainerRequest ¶
type StopContainerResponse ¶
type StopContainerResponse struct { }
type StopPodSandboxRequest ¶
type StopPodSandboxRequest struct {
PodSandboxID string
}
type UInt64Value ¶
type UInt64Value struct {
Value uint64
}
type UpdateContainerResourcesRequest ¶
type UpdateContainerResourcesRequest struct { ContainerID string Linux *LinuxContainerResources }
type UpdateRuntimeConfigRequest ¶
type UpdateRuntimeConfigRequest struct {
RuntimeConfig *RuntimeConfig
}
type VersionRequest ¶
type VersionRequest struct {
Version string
}
Click to show internal directories.
Click to hide internal directories.