images

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	RepoAddr          string
	Namespace         string
	NamespaceOverride string
	Repo              string
	Tag               string
	Group             string
	Enable            bool
}

Image defines image's info.

func (Image) ImageName

func (image Image) ImageName() string

ImageName is used to generate image's full name.

func (Image) ImageRepo

func (image Image) ImageRepo() string

ImageRepo is used to generate image's repo address.

type Images

type Images struct {
	Images []Image
}

Images contains a list of Image

func (*Images) PullImages

func (images *Images) PullImages(mgr *manager.Manager, node *kubekeyapiv1alpha1.HostCfg) error

PullImages is used to pull images in the list of Image.

Jump to

Keyboard shortcuts

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