Documentation ¶
Index ¶
- type Config
- type Fetcher
- type ImageExportStreamer
- type ImageFetcher
- type ImageFilterer
- type ImageGetter
- type ImageImportStreamer
- type ImageImporter
- type ImagePusher
- type ImageResolver
- type ImageStorer
- type ImageUnpacker
- type Opt
- type Progress
- type ProgressFunc
- type Pusher
- type Transferrer
- type UnpackConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Progress ProgressFunc
}
type Fetcher ¶
type Fetcher interface {
Fetch(context.Context, ocispec.Descriptor) (io.ReadCloser, error)
}
type ImageExportStreamer ¶
type ImageFetcher ¶
type ImageFilterer ¶
type ImageFilterer interface {
ImageFilter(images.HandlerFunc, content.Store) images.HandlerFunc
}
ImageFilterer is used to filter out child objects of an image
type ImageGetter ¶
ImageGetter is type which returns an image from an image store
type ImageImportStreamer ¶
ImageImportStreamer returns an import streamer based on OCI or Docker image tar archives. The stream should be a raw tar stream and without compression.
type ImageImporter ¶
ImageImporter imports an image into a content store
type ImagePusher ¶
type ImageResolver ¶
type ImageStorer ¶
type ImageStorer interface {
Store(context.Context, ocispec.Descriptor, images.Store) ([]images.Image, error)
}
ImageStorer is a type which is capable of storing images for the provided descriptor. The descriptor may be any type of manifest including an index with multiple image references.
type ImageUnpacker ¶
type ImageUnpacker interface {
UnpackPlatforms() []UnpackConfiguration
}
type Progress ¶
Progress is used to represent a particular progress event or incremental update for the provided named object. The parents represent the names of the objects which initiated the progress for the provided named object. The name and what object it represents is determined by the implementation.
type ProgressFunc ¶
type ProgressFunc func(Progress)
type Transferrer ¶
type UnpackConfiguration ¶
UnpackConfiguration specifies the platform and snapshotter to use for resolving the unpack Platform, if snapshotter is not specified the platform default will be used.