config

package
v2.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Remote                string   `mapstructure:"remote"`
	TargetBranch          string   `mapstructure:"target-branch"`
	BuildId               string   `mapstructure:"build-id"`
	LintConf              string   `mapstructure:"lint-conf"`
	ChartYamlSchema       string   `mapstructure:"chart-yaml-schema"`
	ValidateMaintainers   bool     `mapstructure:"validate-maintainers"`
	ValidateChartSchema   bool     `mapstructure:"validate-chart-schema"`
	ValidateYaml          bool     `mapstructure:"validate-yaml"`
	CheckVersionIncrement bool     `mapstructure:"check-version-increment"`
	ProcessAllCharts      bool     `mapstructure:"all"`
	Charts                []string `mapstructure:"charts"`
	ChartRepos            []string `mapstructure:"chart-repos"`
	ChartDirs             []string `mapstructure:"chart-dirs"`
	ExcludedCharts        []string `mapstructure:"excluded-charts"`
	HelmExtraArgs         string   `mapstructure:"helm-extra-args"`
	HelmRepoExtraArgs     []string `mapstructure:"helm-repo-extra-args"`
	Debug                 bool     `mapstructure:"debug"`
	Upgrade               bool     `mapstructure:"upgrade"`
	SkipMissingValues     bool     `mapstructure:"skip-missing-values"`
	Namespace             string   `mapstructure:"namespace"`
	ReleaseLabel          string   `mapstructure:"release-label"`
}

func LoadConfiguration

func LoadConfiguration(cfgFile string, cmd *cobra.Command, printConfig bool) (*Configuration, error)

Jump to

Keyboard shortcuts

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