environment

package
v0.0.0-...-df1bddf Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvSettings

type EnvSettings struct {
	// Verbose indicates the level of additional debug output
	Verbose int
	// KubeContext is the name of the kubeconfig context.
	KubeContext string
}

EnvSettings describes all of the environment settings.

func (*EnvSettings) AddFlags

func (s *EnvSettings) AddFlags(fs *pflag.FlagSet)

AddFlags binds flags to the given flagset.

func (*EnvSettings) Init

func (s *EnvSettings) Init(fs *pflag.FlagSet)

Init sets values from the environment.

Jump to

Keyboard shortcuts

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