environment

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 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 {
	// KubeContext is the name of the kube context.
	KubeContext string
	// KubeConfig is the name of the kubeconfig file.
	KubeConfig string
}

EnvSettings describes all of the environment settings.

func New

func New(args []string, flags *pflag.FlagSet) EnvSettings

New adds the appropriate persistent flags, parses them, and negotiates values based on existing environment variables

Jump to

Keyboard shortcuts

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