containerd

package
v0.0.0-...-27de893 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit(containerID, targetImage string) error

Commit a kind(er) node image that uses the containerd runtime internally

func CreateNode

func CreateNode(cluster, name, image, role string, volumes []string) error

CreateNode creates a container that internally hosts the containerd cri runtime

func GetAlterContainerArgs

func GetAlterContainerArgs() ([]string, []string)

GetAlterContainerArgs returns arguments for the alter container for containerd

func GetImages

func GetImages(n *status.Node) ([]string, error)

GetImages returns the list of images available in the node

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

func PreLoadUpgradeImages(n *status.Node, srcFolder string) error

PreLoadUpgradeImages preload images required by kubeadm-upgrade into the containerd runtime that exists inside a kind(er) node

func SetupRuntime

func SetupRuntime(bc *bits.BuildContext) error

SetupRuntime setups the runtime

func StartRuntime

func StartRuntime(bc *bits.BuildContext) error

StartRuntime starts the runtime

func StopRuntime

func StopRuntime(bc *bits.BuildContext) error

StopRuntime stops the runtime

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL