Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + const DockerImageIDPrefix + const DockerPullableImageIDPrefix + func DefaultMemorySwap() int64 + func IsCRISupportedLogDriver(client libdocker.Interface) (bool, error) + type CheckpointData struct + HostNetwork bool + PortMappings []*PortMapping + type CheckpointHandler interface + CreateCheckpoint func(podSandboxID string, checkpoint *PodSandboxCheckpoint) error + GetCheckpoint func(podSandboxID string) (*PodSandboxCheckpoint, error) + ListCheckpoints func() ([]string, error) + RemoveCheckpoint func(podSandboxID string) error + func NewPersistentCheckpointHandler(dockershimRootDir string) (CheckpointHandler, error) + type CheckpointStore interface + Delete func(key string) error + List func() ([]string, error) + Read func(key string) ([]byte, error) + Write func(key string, data []byte) error + func NewFileStore(path string) (CheckpointStore, error) + type DockerLegacyService interface + GetContainerLogs func(*v1.Pod, kubecontainer.ContainerID, *v1.PodLogOptions, io.Writer, io.Writer) error + func NewDockerLegacyService(client libdocker.Interface) DockerLegacyService + type DockerService interface + Start func() error + func NewDockerService(client libdocker.Interface, podSandboxImage string, ...) (DockerService, error) + type ExecHandler interface + ExecInContainer func(client libdocker.Interface, container *dockertypes.ContainerJSON, cmd []string, ...) error + type FileStore struct + func (fstore *FileStore) Delete(key string) error + func (fstore *FileStore) List() ([]string, error) + func (fstore *FileStore) Read(key string) ([]byte, error) + func (fstore *FileStore) Write(key string, data []byte) error + type LegacyLogProvider struct + func NewLegacyLogProvider(dls DockerLegacyService) LegacyLogProvider + func (l LegacyLogProvider) GetContainerLogTail(uid kubetypes.UID, name, namespace string, ...) (string, error) + type NativeExecHandler struct + func (*NativeExecHandler) ExecInContainer(client libdocker.Interface, container *dockertypes.ContainerJSON, cmd []string, ...) error + type NetworkPluginSettings struct + HairpinMode kubeletconfig.HairpinMode + LegacyRuntimeHost network.LegacyHost + MTU int + NonMasqueradeCIDR string + PluginBinDir string + PluginConfDir string + PluginName string + type PersistentCheckpointHandler struct + func (handler *PersistentCheckpointHandler) CreateCheckpoint(podSandboxID string, checkpoint *PodSandboxCheckpoint) error + func (handler *PersistentCheckpointHandler) GetCheckpoint(podSandboxID string) (*PodSandboxCheckpoint, error) + func (handler *PersistentCheckpointHandler) ListCheckpoints() ([]string, error) + func (handler *PersistentCheckpointHandler) RemoveCheckpoint(podSandboxID string) error + type PodSandboxCheckpoint struct + CheckSum uint64 + Data *CheckpointData + Name string + Namespace string + Version string + func NewPodSandboxCheckpoint(namespace, name string) *PodSandboxCheckpoint + type PortMapping struct + ContainerPort *int32 + HostPort *int32 + Protocol *Protocol + type Protocol string