image

package
v0.75.0-no-limit Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrImageGetDidNotProduceVolume = errors.New("fetching the image did not produce a volume")
View Source
var ErrImageUnavailable = errors.New("no versions of image available")

ErrImageUnavailable is returned when a task's configured image resource has no versions.

Functions

This section is empty.

Types

type Fetcher

type Fetcher struct {
	// contains filtered or unexported fields
}

func NewFetcher

func NewFetcher(trackerFactory TrackerFactory) Fetcher

func (Fetcher) FetchImage

func (fetcher Fetcher) FetchImage(
	logger lager.Logger,
	imageConfig atc.TaskImageConfig,
	signals <-chan os.Signal,
	identifier worker.Identifier,
	metadata worker.Metadata,
	delegate worker.ImageFetchingDelegate,
	worker worker.Client,
	workerTags atc.Tags,
	customTypes atc.ResourceTypes,
) (worker.Image, error)

type MalformedMetadataError

type MalformedMetadataError struct {
	UnmarshalError error
}

func (MalformedMetadataError) Error

func (err MalformedMetadataError) Error() string

type TrackerFactory

type TrackerFactory interface {
	TrackerFor(client worker.Client) resource.Tracker
}

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL