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.