environment

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 2 Imported by: 0

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)

Jump to

Keyboard shortcuts

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