describe

package
v1.207.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteDescribeComponent added in v1.109.0

func ExecuteDescribeComponent(
	component string,
	stack string,
	processTemplates bool,
	processYamlFunctions bool,
	skip []string,
) (map[string]any, error)

ExecuteDescribeComponent describes component config and returns the final map of component configuration in the stack

func ExecuteDescribeStacks

func ExecuteDescribeStacks(
	atmosConfig schema.AtmosConfiguration,
	filterByStack string,
	components []string,
	componentTypes []string,
	sections []string,
	ignoreMissingFiles bool,
	includeEmptyStacks bool,
) (map[string]any, error)

ExecuteDescribeStacks processes stack manifests and returns the final map of stacks and components.

func ProcessComponentFromContext added in v1.207.0

func ProcessComponentFromContext(params *ComponentFromContextParams) (map[string]any, error)

ProcessComponentFromContext accepts context (namespace, tenant, environment, stage) and returns the component configuration in the stack.

This function is the public API used by terraform-provider-utils (data "utils_component_config"). See ProcessComponentInStack for details on why this lives in pkg/describe.

func ProcessComponentInStack added in v1.207.0

func ProcessComponentInStack(
	component string,
	stack string,
	atmosCliConfigPath string,
	atmosBasePath string,
) (map[string]any, error)

ProcessComponentInStack accepts a component and a stack name and returns the component configuration in the stack.

This function is the public API used by terraform-provider-utils (data "utils_component_config"). It was originally in pkg/component/component_processor.go but was moved here because internal/exec imports pkg/component (for the registry/provider types), creating an import cycle if pkg/component imports internal/exec.

Types

type ComponentFromContextParams added in v1.207.0

type ComponentFromContextParams struct {
	Component          string
	Namespace          string
	Tenant             string
	Environment        string
	Stage              string
	AtmosCliConfigPath string
	AtmosBasePath      string
}

ComponentFromContextParams contains the parameters for ProcessComponentFromContext.

Jump to

Keyboard shortcuts

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