Documentation ¶
Index ¶
- type ImageInfo
- type ImagePullStatus
- type ImagePullStatusReader
- type ImageService
- func NewCRIImageService(runtimeURI string, accountManager daemonutil.ImagePullAccountManager) (ImageService, error)
- func NewDockerImageService(runtimeURI string, accountManager daemonutil.ImagePullAccountManager) (ImageService, error)
- func NewPouchImageService(runtimeURI string, accountManager daemonutil.ImagePullAccountManager) (ImageService, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageInfo ¶
type ImagePullStatus ¶
type ImagePullStatusReader ¶
type ImagePullStatusReader interface { C() <-chan ImagePullStatus Close() }
type ImageService ¶
type ImageService interface { PullImage(ctx context.Context, imageName, tag string, pullSecrets []v1.Secret, sandboxConfig *appsv1alpha1.SandboxConfig) (ImagePullStatusReader, error) ListImages(ctx context.Context) ([]ImageInfo, error) }
func NewCRIImageService ¶ added in v1.1.0
func NewCRIImageService(runtimeURI string, accountManager daemonutil.ImagePullAccountManager) (ImageService, error)
NewCRIImageService create a common CRI runtime
func NewDockerImageService ¶
func NewDockerImageService(runtimeURI string, accountManager daemonutil.ImagePullAccountManager) (ImageService, error)
NewDockerImageService create a docker runtime
func NewPouchImageService ¶
func NewPouchImageService(runtimeURI string, accountManager daemonutil.ImagePullAccountManager) (ImageService, error)
NewPouchImageService create a pouch runtime client
Click to show internal directories.
Click to hide internal directories.