Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContainerRuntimeDocker = "docker" ContainerRuntimeContainerd = "containerd" ContainerRuntimePouch = "pouch" ContainerRuntimeCommonCRI = "common-cri" )
Variables ¶
View Source
var (
CRISocketFileName = flag.String("socket-file", "", "The name of CRI socket file, and it should be in the mounted /hostvarrun directory.")
)
Functions ¶
This section is empty.
Types ¶
type ContainerRuntimeType ¶
type ContainerRuntimeType string
type Factory ¶
type Factory interface { GetImageService() runtimeimage.ImageService GetRuntimeService() criapi.RuntimeService GetRuntimeServiceByName(runtimeName string) criapi.RuntimeService }
Factory is the interface to get container and image runtime service
func NewFactory ¶
func NewFactory(varRunPath string, accountManager daemonutil.ImagePullAccountManager) (Factory, error)
Click to show internal directories.
Click to hide internal directories.