Documentation
¶
Index ¶
- func GetAllImages(cfg *kubeadmapi.MasterConfiguration) []string
- func GetCoreImage(image, repoPrefix, k8sVersion, overrideImage string) string
- func GetGenericArchImage(prefix, image, tag string) string
- func GetGenericImage(prefix, image, tag string) string
- type CRInterfacer
- type Existence
- type Images
- type Puller
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
func GetGenericArchImage ¶ added in v1.11.2
func GetGenericArchImage(prefix, image, tag string) string
GetGenericArchImage generates and returns an image based on the current runtime arch
func GetGenericImage ¶ added in v1.11.1
func GetGenericImage(prefix, image, tag string) string
GetGenericImage generates and returns a platform agnostic image (backed by manifest list)
Types ¶
type CRInterfacer ¶ added in v1.11.0
type CRInterfacer struct {
// contains filtered or unexported fields
}
CRInterfacer is a struct that interfaces with the container runtime
func NewCRInterfacer ¶ added in v1.11.0
func NewCRInterfacer(execer utilsexec.Interface, criSocket string) (*CRInterfacer, error)
NewCRInterfacer sets up and returns a CRInterfacer
type Existence ¶ added in v1.11.0
type Existence interface {
Exists(string) error
}
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.