config

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 9 Imported by: 3 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"`
	PreRelease           bool   `mapstructure:"pre-release"`
	PackagesWithIndex    bool   `mapstructure:"packages-with-index"`
	IndexCommitMessage   string `mapstructure:"index-commit-message"`
	PackageCommitMessage string `mapstructure:"package-commit-message"`

	RegistryURL           string `mapstructure:"registry-url"`
	Username              string `mapstructure:"username"`
	Password              string `mapstructure:"password"`
	PlainHTTP             bool   `mapstructure:"plain-http"`
	InsecureSkipTLSVerify bool   `mapstructure:"insecure-skip-tls-verify"`
	CAFile                string `mapstructure:"ca-file"`
	CertFile              string `mapstructure:"cert-file"`
	KeyFile               string `mapstructure:"key-file"`
}

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