Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyEnvironment = Environment{ Name: "", KubeContext: "", Values: map[string]any{}, Defaults: map[string]any{}, CLIOverrides: map[string]any{}, }
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct {
Name string
KubeContext string
Values map[string]any
Defaults map[string]any
CLIOverrides map[string]any // CLI --state-values-set values, merged element-by-element
}
func New ¶ added in v0.150.0
func New(name string) *Environment
New return Environment with default name and values
func (Environment) DeepCopy ¶
func (e Environment) DeepCopy() Environment
func (*Environment) GetMergedValues ¶
func (e *Environment) GetMergedValues() (map[string]any, error)
func (*Environment) Merge ¶
func (e *Environment) Merge(other *Environment) (*Environment, error)
Click to show internal directories.
Click to hide internal directories.