loader

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	kubectl.Config

	GetKubeContext() string
	LoadImages() bool
}

type ImageLoader

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

func NewImageLoader

func NewImageLoader(kubeContext string, cli *kubectl.CLI) *ImageLoader

func (*ImageLoader) LoadImages

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

LoadImages loads images into a local cluster. imagesToLoad is used to determine the set of images we should load, based on images that are marked as local by the Runner, and part of the calling Deployer's set of manifests

Jump to

Keyboard shortcuts

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