images

package
v1.12.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllImages added in v1.11.0

func GetAllImages(cfg *kubeadmapi.MasterConfiguration) []string

GetAllImages returns a list of container images kubeadm expects to use on a control plane node

func GetCoreImage

func GetCoreImage(image, repoPrefix, k8sVersion, overrideImage string) string

GetCoreImage generates and returns the image for the core Kubernetes components or returns overrideImage if specified

Types

type ImagePuller

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

ImagePuller is a struct that can pull images and hides the implementation (crictl vs docker)

func NewImagePuller

func NewImagePuller(execer utilsexec.Interface, criSocket string) (*ImagePuller, error)

NewImagePuller returns a ready to go ImagePuller

func (*ImagePuller) Pull

func (ip *ImagePuller) Pull(image string) error

Pull pulls the actual image using either crictl or docker

type Puller added in v1.11.0

type Puller interface {
	Pull(string) error
}

Puller is an interface for pulling images

Jump to

Keyboard shortcuts

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