environment

package
v0.119.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandEnvironmentRecursively

func ExpandEnvironmentRecursively(environment map[string]string) map[string]string

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) Lookup

func (env *Environment) Lookup(key string) (string, bool)

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)

Jump to

Keyboard shortcuts

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