helm

package
v1.223.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx *component.ExecutionContext, operation Operation) error

Execute runs a single Helm component operation.

Types

type ComponentProvider

type ComponentProvider struct{}

ComponentProvider implements the component.ComponentProvider interface for native Helm components.

func (*ComponentProvider) Execute

Execute runs the requested subcommand for a Helm component.

func (*ComponentProvider) GenerateArtifacts

func (p *ComponentProvider) GenerateArtifacts(_ *component.ExecutionContext) error

GenerateArtifacts is a no-op for Helm components (charts are self-contained).

func (*ComponentProvider) GetAvailableCommands

func (p *ComponentProvider) GetAvailableCommands() []string

GetAvailableCommands returns the subcommands Helm components support.

func (*ComponentProvider) GetBasePath

func (p *ComponentProvider) GetBasePath(atmosConfig *schema.AtmosConfiguration) string

GetBasePath returns the base directory for Helm components.

func (*ComponentProvider) GetGroup

func (p *ComponentProvider) GetGroup() string

GetGroup returns the component group for categorization.

func (*ComponentProvider) GetType

func (p *ComponentProvider) GetType() string

GetType returns the component type identifier.

func (*ComponentProvider) ListComponents

func (p *ComponentProvider) ListComponents(_ context.Context, _ string, stackConfig map[string]any) ([]string, error)

ListComponents discovers all Helm components in a stack.

func (*ComponentProvider) ValidateComponent

func (p *ComponentProvider) ValidateComponent(config map[string]any) error

ValidateComponent validates Helm component configuration.

type Config

type Config struct {
	BasePath          string `yaml:"base_path" json:"base_path" mapstructure:"base_path"`
	AutoGenerateFiles bool   `yaml:"auto_generate_files" json:"auto_generate_files" mapstructure:"auto_generate_files"`
}

Config holds the resolved global configuration for Helm components.

func DefaultConfig

func DefaultConfig() Config

DefaultConfig returns the built-in defaults for Helm components.

type Operation

type Operation string

Operation is a Helm component lifecycle operation.

const (
	// OperationTemplate renders chart templates to manifests (no cluster contact).
	OperationTemplate Operation = "template"
	// OperationDiff previews the changes an apply would make.
	OperationDiff Operation = "diff"
	// OperationApply installs or upgrades the release (or delivers to a target).
	OperationApply Operation = "apply"
	// OperationDelete uninstalls the release.
	OperationDelete Operation = "delete"
)

Jump to

Keyboard shortcuts

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