flags

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Default = &Global{}
)

Functions

This section is empty.

Types

type Global

type Global struct {
	// Path to the root of the cert-manager repository
	RepoRoot string

	// DockerRepo is the docker repository used to store release images
	DockerRepo string

	// UpstreamRepoURL is the URL of the git repo used to check for tags
	UpstreamRepoURL string

	// AppVersion is the version tag to use for this release
	AppVersion string

	// GitState contains the state of the git working tree.
	GitState string

	// GitCommitRef is the current git commit hash being built
	GitCommitRef string

	GitPath string

	// Path to the cert-manager Helm chart.
	// This is defined as a global as the manifests plugin also needs
	// access to this flag
	ChartPath string
}

func (*Global) AddFlags

func (g *Global) AddFlags(fs *flag.FlagSet)

func (*Global) Complete

func (g *Global) Complete() error

func (*Global) Validate

func (g *Global) Validate() []error

Jump to

Keyboard shortcuts

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