Documentation ¶
Index ¶
- type ImageInfo
- type ImagePullStatus
- type ImagePullStatusReader
- type ImageService
- func NewContainerdImageService(conn *grpc.ClientConn, 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) (ImagePullStatusReader, error) ListImages(ctx context.Context) ([]ImageInfo, error) }
func NewContainerdImageService ¶
func NewContainerdImageService( conn *grpc.ClientConn, accountManager daemonutil.ImagePullAccountManager, ) (ImageService, error)
NewContainerdImageService returns containerd-type ImageService
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.