Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvAttrName = "env" EnvNameKey = "name" EnvTypeKey = "type" )
View Source
const ( EnvTypeString envType = "string" EnvTypeInt envType = "int" EnvTypeBool envType = "bool" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Injector ¶
type Injector struct {
// contains filtered or unexported fields
}
Injector is a struct that injects environment variables into a CUE value
func NewDefaultInjector ¶
NewDefaultInjector creates a new Injector with default settings and an optional logger.
func NewInjector ¶
NewInjector creates a new Injector
type OSEnvGetter ¶
type OSEnvGetter struct{}
OSEnvGetter is an implementation of EnvGetter that gets environment variables from the OS
Click to show internal directories.
Click to hide internal directories.