environment

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvAsMap

func GetEnvAsMap() map[string]string

func GetVirtualEnvAsMapFromFile

func GetVirtualEnvAsMapFromFile() map[string]string

Types

type Env

type Env struct {
	// contains filtered or unexported fields
}

func GetInstance

func GetInstance() *Env

func (*Env) CleanVirtualEnv

func (env *Env) CleanVirtualEnv()

func (*Env) GetConfigEnvVars

func (env *Env) GetConfigEnvVars() map[string]string

func (*Env) GetEnv

func (env *Env) GetEnv() map[string]string

func (*Env) GetEnvAndVirtualEnv

func (env *Env) GetEnvAndVirtualEnv() map[string]string

func (*Env) GetEnvAndVirtualEnvArray

func (env *Env) GetEnvAndVirtualEnvArray() []string

func (*Env) GetVirtualEnv

func (env *Env) GetVirtualEnv() map[string]string

func (*Env) InitConfigEnvVars

func (env *Env) InitConfigEnvVars() map[string]string

func (*Env) SetEnvVar

func (env *Env) SetEnvVar(key string, value string) bool

func (*Env) SetEnvVars

func (env *Env) SetEnvVars(envVars map[string]string) map[string]string

Jump to

Keyboard shortcuts

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