spacelift

package
v1.4.26 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: Apache-2.0 Imports: 7 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(
	stacks map[string]any,
	stackConfigPathTemplate string,
	stackNamePattern string,
	processImports bool) (map[string]any, error)

TransformStackConfigToSpaceliftStacks takes a map of stack configs 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