config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 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"`
	Token        string `mapstructure:"token"`
	GitBaseURL   string `mapstructure:"git-base-url"`
	GitUploadURL string `mapstructure:"git-upload-url"`
	Commit       string `mapstructure:"commit"`
}

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