Documentation ¶
Index ¶
- func ExpandEnvironmentRecursively(environment map[string]string) map[string]string
- type Environment
- func (env *Environment) AddSensitiveValues(sensitiveValues ...string)
- func (env *Environment) ExpandText(text string) string
- func (env *Environment) Get(key string) string
- func (env *Environment) Items() map[string]string
- func (env *Environment) Lookup(key string) (string, bool)
- func (env *Environment) Merge(otherEnv map[string]string, isSensitive bool)
- func (env *Environment) SensitiveValues() []string
- func (env *Environment) Set(key string, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
func New ¶
func New(items map[string]string) *Environment
func NewEmpty ¶
func NewEmpty() *Environment
func (*Environment) AddSensitiveValues ¶
func (env *Environment) AddSensitiveValues(sensitiveValues ...string)
func (*Environment) ExpandText ¶
func (env *Environment) ExpandText(text string) string
func (*Environment) Get ¶
func (env *Environment) Get(key string) string
func (*Environment) Items ¶
func (env *Environment) Items() map[string]string
func (*Environment) Merge ¶
func (env *Environment) Merge(otherEnv map[string]string, isSensitive bool)
func (*Environment) SensitiveValues ¶
func (env *Environment) SensitiveValues() []string
func (*Environment) Set ¶
func (env *Environment) Set(key string, value string)
Click to show internal directories.
Click to hide internal directories.