config

package
Version: v3.4.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

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"`
	Since                 string   `mapstructure:"since"`
	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"`
	AdditionalCommands    []string `mapstructure:"additional-commands"`
	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"`
	ExcludeDeprecated     bool     `mapstructure:"exclude-deprecated"`
}

func LoadConfiguration

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL