Documentation ¶
Index ¶
Constants ¶
View Source
const ImageMetadataFile = "metadata.json"
View Source
const RawRootFSScheme = "raw"
Variables ¶
View Source
var ErrImageGetDidNotProduceVolume = errors.New("fetching the image did not produce a volume")
ErrImageUnavailable is returned when a task's configured image resource has no versions.
View Source
var ErrUnsupportedResourceType = errors.New("unsupported resource type")
Functions ¶
func NewImageFactory ¶
func NewImageFactory( imageResourceFetcherFactory ImageResourceFetcherFactory, compression compression.Compression, ) worker.ImageFactory
Types ¶
type ImageResourceFetcher ¶
type ImageResourceFetcherFactory ¶
type ImageResourceFetcherFactory interface { NewImageResourceFetcher( worker.Worker, worker.ImageResource, atc.Version, int, atc.VersionedResourceTypes, worker.ImageFetchingDelegate, compression.Compression, ) ImageResourceFetcher }
func NewImageResourceFetcherFactory ¶
func NewImageResourceFetcherFactory( resourceFactory resource.ResourceFactory, dbResourceCacheFactory db.ResourceCacheFactory, dbResourceConfigFactory db.ResourceConfigFactory, resourceFetcher worker.Fetcher, ) ImageResourceFetcherFactory
type MalformedMetadataError ¶
type MalformedMetadataError struct {
UnmarshalError error
}
func (MalformedMetadataError) Error ¶
func (err MalformedMetadataError) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.