kubernetesk8s.io/kubernetes/cmd/kubeadm/app/images Index | Files

package images

import "k8s.io/kubernetes/cmd/kubeadm/app/images"

Index

Functions

func GetAllImages

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

type Puller interface {
	Pull(string) error
}

Puller is an interface for pulling images

Source Files

images.go puller.go

Version
v1.11.0-beta.0
Published
May 17, 2018
Platform
linux/amd64
Imports
9 packages
Last checked
54 seconds ago

Tools for package owners.