Versions in this module Expand all Collapse all v1 v1.1.0 Mar 14, 2022 v1.0.0 Jun 3, 2021 v0 v0.9.0 Jun 23, 2020 Changes in this version + const DockerImageIDPrefix + const DockerPullableImageIDPrefix + func DefaultMemorySwap() int64 + func NewDockerClientFromConfig(config *ClientConfig) libdocker.Interface + type CRIService interface + Start func() error + type CheckpointData struct + HostNetwork bool + PortMappings []*PortMapping + type ClientConfig struct + DockerEndpoint string + EnableSleep bool + ImagePullProgressDeadline time.Duration + RuntimeRequestTimeout time.Duration + WithTraceDisabled bool + type DockerLegacyService interface + GetContainerLogs func(context.Context, *v1.Pod, kubecontainer.ContainerID, *v1.PodLogOptions, ...) error + IsCRISupportedLogDriver func() (bool, error) + type DockerService interface + func NewDockerService(config *ClientConfig, podSandboxImage string, ...) (DockerService, error) + type DockershimCheckpoint interface + GetData func() (string, string, string, []*PortMapping, bool) + func NewPodSandboxCheckpoint(namespace, name string, data *CheckpointData) DockershimCheckpoint + type ExecHandler interface + ExecInContainer func(client libdocker.Interface, container *dockertypes.ContainerJSON, cmd []string, ...) error + type NativeExecHandler struct + func (*NativeExecHandler) ExecInContainer(client libdocker.Interface, container *dockertypes.ContainerJSON, cmd []string, ...) error + type NetworkPluginSettings struct + HairpinMode kubeletconfig.HairpinMode + MTU int + NonMasqueradeCIDR string + PluginBinDirString string + PluginBinDirs []string + PluginConfDir string + PluginName string + type PodSandboxCheckpoint struct + Checksum checksum.Checksum + Data *CheckpointData + Name string + Namespace string + Version string + func (cp *PodSandboxCheckpoint) GetData() (string, string, string, []*PortMapping, bool) + func (cp *PodSandboxCheckpoint) MarshalCheckpoint() ([]byte, error) + func (cp *PodSandboxCheckpoint) UnmarshalCheckpoint(blob []byte) error + func (cp *PodSandboxCheckpoint) VerifyChecksum() error + type PortMapping struct + ContainerPort *int32 + HostPort *int32 + Protocol *Protocol + type Protocol string