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 ¶
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
Click to show internal directories.
Click to hide internal directories.