image

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalID

func GetLocalID(ctx context.Context, dockerCli *dockerclient.Client, imageName string) (string, error)

GetLocalID returns local image id by name/reference

func GetNodesWithout

func GetNodesWithout(provider *kind.Provider, imageName, localImageID string, clusters []string) ([]nodes.Node, error)

GetNodesWithout return a list of nodes that don't have the image for multiple clusters

func LoadToNode

func LoadToNode(imageTarPath, imageName string, node nodes.Node, wg *sync.WaitGroup) error

LoadToNode loads an image to kubernetes node

func Save

func Save(ctx context.Context, dockerCli *dockerclient.Client, imageName string) (string, error)

Save saves the image to tar and returns temp file location

Types

This section is empty.

Jump to

Keyboard shortcuts

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