config

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 4

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"`
	PagesIndexPath       string `mapstructure:"pages-index-path"`
	Push                 bool   `mapstructure:"push"`
	PR                   bool   `mapstructure:"pr"`
	Remote               string `mapstructure:"remote"`
	ReleaseNameTemplate  string `mapstructure:"release-name-template"`
	SkipExisting         bool   `mapstructure:"skip-existing"`
	ReleaseNotesFile     string `mapstructure:"release-notes-file"`
	GenerateReleaseNotes bool   `mapstructure:"generate-release-notes"`
	MakeReleaseLatest    bool   `mapstructure:"make-release-latest"`
	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