bootstrap

package
v1.26.3-rke2r1-build20... Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stage

func Stage(resolver *images.Resolver, nodeConfig *daemonconfig.Node, cfg cmds.Agent) (string, error)

Stage extracts binaries and manifests from the runtime image specified in imageConf into the directory at dataDir. It attempts to load the runtime image from a tarball at dataDir/agent/images, falling back to a remote image pull if the image is not found within a tarball. Extraction is skipped if a bin directory for the specified image already exists. Unique image detection is accomplished by hashing the image name and tag, or the image digest, depending on what the runtime image reference points at. If the bin directory already exists, or content is successfully extracted, the bin directory path is returned.

func UpdateManifests

func UpdateManifests(resolver *images.Resolver, nodeConfig *daemonconfig.Node, cfg cmds.Agent) error

UpdateManifests copies the staged manifests into the server's manifests dir, and applies cluster configuration values to any HelmChart manifests found in the manifests directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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