loader

package
v1.35.0-aplha Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageLoader

type ImageLoader interface {
	// LoadImages loads the images into the cluster.
	LoadImages(context.Context, io.Writer, []graph.Artifact, []graph.Artifact, []graph.Artifact) error
}

ImageLoader defines the behavior for loading images into a cluster.

type ImageLoaderMux

type ImageLoaderMux []ImageLoader

func (ImageLoaderMux) LoadImages

func (i ImageLoaderMux) LoadImages(ctx context.Context, out io.Writer, localImages, originalImages, images []graph.Artifact) error

type NoopImageLoader

type NoopImageLoader struct{}

func (*NoopImageLoader) LoadImages

func (*NoopImageLoader) TrackBuildArtifacts

func (n *NoopImageLoader) TrackBuildArtifacts([]graph.Artifact, []graph.Artifact)

Jump to

Keyboard shortcuts

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