Documentation
¶
Index ¶
- func IsArchUnknownError(err error) bool
- func IsManifestUnknownError(err error) bool
- func IsRepositoryUnknownError(err error) bool
- func IsTagUnknownError(err error) bool
- type ImageInfo
- type Repository
- type RepositoryImpl
- func (r RepositoryImpl) CopyImage(ctx context.Context, srcRef, dstRef string, insecure bool) error
- func (r RepositoryImpl) ImageMetadata(imgRef, arch string, insecure bool) (imageInfo *ImageInfo, retErr error)
- func (r RepositoryImpl) PushImage(ctx context.Context, img v1.Image, imgRef string) error
- func (r RepositoryImpl) PushImageIndex(ctx context.Context, imageIndex v1.ImageIndex, imageRef string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsArchUnknownError ¶
func IsManifestUnknownError ¶
func IsTagUnknownError ¶
Types ¶
type Repository ¶
type Repository interface { ImageMetadata(imgRef, arch string, insecure bool) (*ImageInfo, error) PushImage(ctx context.Context, img v1.Image, imgRef string) error PushImageIndex(ctx context.Context, img v1.ImageIndex, imgRef string) error CopyImage(ctx context.Context, srcRef, dstRef string, insecure bool) error }
type RepositoryImpl ¶
type RepositoryImpl struct{}
func (RepositoryImpl) ImageMetadata ¶
func (r RepositoryImpl) ImageMetadata(imgRef, arch string, insecure bool) (imageInfo *ImageInfo, retErr error)
func (RepositoryImpl) PushImageIndex ¶
func (r RepositoryImpl) PushImageIndex(ctx context.Context, imageIndex v1.ImageIndex, imageRef string) error
Click to show internal directories.
Click to hide internal directories.