Documentation ¶
Index ¶
- func Commit(containerID, targetImage string) error
- func CreateNode(cluster, name, image, role string, volumes []string) error
- func GetAlterContainerArgs() ([]string, []string)
- func GetImages(n *status.Node) ([]string, error)
- func ImportImage(bc *bits.BuildContext, tar string) error
- func PreLoadInitImages(bc *bits.BuildContext, srcFolder string) error
- func PreLoadUpgradeImages(n *status.Node, srcFolder string) error
- func SetupRuntime(bc *bits.BuildContext) error
- func StartRuntime(bc *bits.BuildContext) error
- func StopRuntime(bc *bits.BuildContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNode ¶
CreateNode creates a container that internally hosts the containerd cri runtime
func GetAlterContainerArgs ¶
GetAlterContainerArgs returns arguments for the alter container for containerd
func ImportImage ¶
func ImportImage(bc *bits.BuildContext, tar string) error
ImportImage import a TAR file into the CR and delete it
func PreLoadInitImages ¶
func PreLoadInitImages(bc *bits.BuildContext, srcFolder string) error
PreLoadInitImages preload images required by kubeadm-init into the containerd runtime that exists inside a kind(er) node
func PreLoadUpgradeImages ¶
PreLoadUpgradeImages preload images required by kubeadm-upgrade into the containerd runtime that exists inside a kind(er) node
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.