config

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Owner               string `mapstructure:"owner"`
	GitRepo             string `mapstructure:"git-repo"`
	ChartsRepo          string `mapstructure:"charts-repo"`
	IndexPath           string `mapstructure:"index-path"`
	PackagePath         string `mapstructure:"package-path"`
	Sign                bool   `mapstructure:"sign"`
	Key                 string `mapstructure:"key"`
	KeyRing             string `mapstructure:"keyring"`
	PassphraseFile      string `mapstructure:"passphrase-file"`
	Token               string `mapstructure:"token"`
	GitBaseURL          string `mapstructure:"git-base-url"`
	GitUploadURL        string `mapstructure:"git-upload-url"`
	Commit              string `mapstructure:"commit"`
	PagesBranch         string `mapstructure:"pages-branch"`
	Push                bool   `mapstructure:"push"`
	PR                  bool   `mapstructure:"pr"`
	Remote              string `mapstructure:"remote"`
	ReleaseNameTemplate string `mapstructure:"release-name-template"`
	SkipExisting        bool   `mapstructure:"skip-existing"`
	PackagesWithIndex   bool   `mapstructure:"packages-with-index"`
}

func LoadConfiguration

func LoadConfiguration(cfgFile string, cmd *cobra.Command, requiredFlags []string) (*Options, error)

Jump to

Keyboard shortcuts

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