cmd

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "metahelm",
	Short: "Manage graphs of Helm charts",
}

RootCmd represents the root command

Functions

This section is empty.

Types

type ChartDefinition

type ChartDefinition struct {
	// Name of the chart (must be unique)
	Name string `yaml:"name"`
	// Local filesystem path to the chart (directory or archive file)
	Path string `yaml:"path"`
	// Path to the values YAML file for overrides
	ValuesPath string `yaml:"values_path"`
	// The name of the k8s deployment object created by the chart used to determine health (omit or leave empty to ignore chart health)
	PrimaryDeployment string `yaml:"primary_deployment"`
	// How long to wait for the chart to become healthy before failing. Use a string like "10m" or "90s".
	Timeout string `yaml:"timeout"`
	// Wait for all pods of PrimaryDeployment to be healthy? If false, it will only wait for the first pod to become healthy
	WaitForAllPods bool `yaml:"wait_for_all_pods"`
	// Wait until Helm thinks the chart is ready (equivalent to the helm install --wait CLI flag). Overrides PrimaryDeployment.
	WaitForHelm bool `yaml:"wait_for_helm"`
	// The list of dependencies this chart has (names must be present in the same file)
	Dependencies []string `yaml:"dependencies"`
}

ChartDefinition models a chart in the YAML input file

Jump to

Keyboard shortcuts

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