stack

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentConfigMap

type ComponentConfigMap map[string]any

type LoadStackOptions

type LoadStackOptions struct {
	Stack string
}

type Stack

type Stack struct {
	Id                 string
	Name               string
	ComponentTypes     map[string]ComponentConfigMap
	Vars               map[string]any
	KubeConfigProvider string
}

func LoadStack

func LoadStack(ctx context.Context, options LoadStackOptions) (*Stack, error)

type StackProcessor

type StackProcessor interface {
	GetStackNames(ctx context.Context) ([]string, error)
	GetStack(ctx context.Context, name string) (*Stack, error)
	GetStacks(ctx context.Context, names []string) ([]*Stack, error)
}

func NewStackProcessor

func NewStackProcessor(source afero.Fs, includePaths []string, excludePaths []string, stackNamePattern string) StackProcessor

func NewStackProcessorFromConfig

func NewStackProcessorFromConfig(conf *config.Configuration) (StackProcessor, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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