Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + func DetectCRISocket() (string, error) + type CRIRuntime struct + func (runtime *CRIRuntime) ImageExists(image string) (bool, error) + func (runtime *CRIRuntime) IsDocker() bool + func (runtime *CRIRuntime) IsRunning() error + func (runtime *CRIRuntime) ListKubeContainers() ([]string, error) + func (runtime *CRIRuntime) PullImage(image string) error + func (runtime *CRIRuntime) RemoveContainers(containers []string) error + type ContainerRuntime interface + ImageExists func(image string) (bool, error) + IsDocker func() bool + IsRunning func() error + ListKubeContainers func() ([]string, error) + PullImage func(image string) error + RemoveContainers func(containers []string) error + func NewContainerRuntime(execer utilsexec.Interface, criSocket string) (ContainerRuntime, error) + type DockerRuntime struct + func (runtime *DockerRuntime) ImageExists(image string) (bool, error) + func (runtime *DockerRuntime) IsDocker() bool + func (runtime *DockerRuntime) IsRunning() error + func (runtime *DockerRuntime) ListKubeContainers() ([]string, error) + func (runtime *DockerRuntime) PullImage(image string) error + func (runtime *DockerRuntime) RemoveContainers(containers []string) error