Documentation ¶
Index ¶
- func DecodeValue(s string) (interface{}, error)
- func DeleteFromObject(fieldPath []string, paramsData, key, root string) (string, error)
- func SetInObject(fieldPath []string, paramsData, key string, value interface{}, root string) (string, error)
- func ToMap(componentName, src, root string) (map[string]interface{}, error)
- type EnvComponentRemover
- type EnvGlobalsSet
- type EnvGlobalsUnset
- type EnvParamSet
- type EnvParamUnset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeValue ¶
DecodeValue decodes a string to an interface value. nolint: gocyclo
func DeleteFromObject ¶
DeleteFromObject deletes a value from an object. `root` will generally be either `components` or `global`. `key` is the component name.
Types ¶
type EnvComponentRemover ¶
type EnvComponentRemover struct { }
EnvComponentRemover removes param configuration for components from env params libsonnet files.
func NewEnvComponentRemover ¶
func NewEnvComponentRemover() *EnvComponentRemover
NewEnvComponentRemover creates an instance of EnvComponentRemover.
type EnvGlobalsSet ¶
type EnvGlobalsSet struct { }
EnvGlobalsSet sets environment globals.
func NewEnvGlobalsSet ¶
func NewEnvGlobalsSet() *EnvGlobalsSet
NewEnvGlobalsSet creates an instance of EnvGlobalsSet.
type EnvGlobalsUnset ¶
type EnvGlobalsUnset struct { }
EnvGlobalsUnset un-sets global environment params.
func NewEnvGlobalsUnset ¶
func NewEnvGlobalsUnset() *EnvGlobalsUnset
NewEnvGlobalsUnset creates an instance of EnvGlobalsUnset.
type EnvParamSet ¶
type EnvParamSet struct { }
EnvParamSet sets environment params for a component.
func NewEnvParamSet ¶
func NewEnvParamSet() *EnvParamSet
NewEnvParamSet creates an instance of EnvParamSet.
type EnvParamUnset ¶
type EnvParamUnset struct { }
EnvParamUnset unset param configuration for components from env params libsonnet files.
func NewEnvParamUnset ¶
func NewEnvParamUnset() *EnvParamUnset
NewEnvParamUnset creates an instance of EnvParamUnset.