spacelift

package
v1.96.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSpaceliftStacks

func CreateSpaceliftStacks(
	stacksBasePath string,
	terraformComponentsBasePath string,
	helmfileComponentsBasePath string,
	filePaths []string,
	processStackDeps bool,
	processComponentDeps bool,
	processImports bool,
	stackConfigPathTemplate string,
) (map[string]any, error)

CreateSpaceliftStacks takes a list of paths to YAML config files, processes and deep-merges all imports, and returns a map of Spacelift stack configs

func TransformStackConfigToSpaceliftStacks

func TransformStackConfigToSpaceliftStacks(
	cliConfig schema.CliConfiguration,
	stacks map[string]any,
	stackConfigPathTemplate string,
	stackNamePattern string,
	processImports bool,
	rawStackConfigs map[string]map[string]any,
) (map[string]any, error)

TransformStackConfigToSpaceliftStacks takes a map of stack manifests and transforms it to a map of Spacelift stacks

Types

This section is empty.

Jump to

Keyboard shortcuts

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