Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllImages ¶ added in v1.11.1
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 CRInterfacer ¶ added in v1.11.1
type CRInterfacer struct {
// contains filtered or unexported fields
}
CRInterfacer is a struct that interfaces with the container runtime
func NewCRInterfacer ¶ added in v1.11.1
func NewCRInterfacer(execer utilsexec.Interface, criSocket string) (*CRInterfacer, error)
NewCRInterfacer sets up and returns a CRInterfacer
func (*CRInterfacer) Exists ¶ added in v1.11.1
func (cri *CRInterfacer) Exists(image string) error
Exists checks to see if the image exists on the system already Returns an error if the image is not found.
func (*CRInterfacer) Pull ¶ added in v1.11.1
func (cri *CRInterfacer) Pull(image string) error
Pull pulls the actual image using either crictl or docker
type Existence ¶ added in v1.11.1
Existence is an interface to determine if an image exists on the system A nil error means the image was found
Click to show internal directories.
Click to hide internal directories.