kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/set/set_env.go

var validEnvNameRegexp

var envResources

var envLong

var envExample

type EnvOptions

// NewEnvOptions returns an EnvOptions indicating all containers in the selected
// pod templates are selected by default and allowing environment to be overwritten
func NewEnvOptions(streams genericiooptions.IOStreams) *EnvOptions {}

// NewCmdEnv implements the OpenShift cli env command
func NewCmdEnv(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command {}

func validateNoOverwrites(existing []v1.EnvVar, env []v1.EnvVar) error {}

func contains(key string, keyList []string) bool {}

func (o *EnvOptions) keyToEnvName(key string) string {}

// Complete completes all required options
func (o *EnvOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error {}

// Validate makes sure provided values for EnvOptions are valid
func (o *EnvOptions) Validate() error {}

// RunEnv contains all the necessary functionality for the OpenShift cli env command
func (o *EnvOptions) RunEnv() error {}