Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestinationParams ¶
type DestinationParams struct { AuthConfig types.AuthConfig DestinationImageName string }
type ImageManager ¶
type ImageManager interface { ImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) (io.ReadCloser, error) ImageTag(ctx context.Context, source, target string) error ImageSave(ctx context.Context, imageIDs []string) (io.ReadCloser, error) ImagePush(ctx context.Context, image string, options types.ImagePushOptions) (io.ReadCloser, error) }
ImageManager represents a subset of the docker client interface
type ImageSaver ¶
ImageSaver saves an image
func NewImageSaver ¶
func NewImageSaver(logger log.Logger, client *docker.Client) ImageSaver
type PullURLResolver ¶
type PullURLResolver interface {
ResolvePullURL(asset api.DockerAsset, meta api.ReleaseMetadata) (string, error)
}
func URLResolverFromViper ¶
func URLResolverFromViper(logger log.Logger) PullURLResolver
type URLResolver ¶
func (*URLResolver) ResolvePullURL ¶
func (r *URLResolver) ResolvePullURL(asset api.DockerAsset, meta api.ReleaseMetadata) (string, error)
Click to show internal directories.
Click to hide internal directories.