Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContainerRuntimeDocker = "docker" ContainerRuntimeContainerd = "containerd" ContainerRuntimePouch = "pouch" )
Variables ¶
This section is empty.
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.