loader

package
v2.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMixingConfigs = errors.New("mixing both configurations and account resources is not allowed")

Functions

func LoadConfigFile added in v2.10.1

func LoadConfigFile(fs afero.Fs, context *LoaderContext, filePath string) ([]config.Config, []error)

LoadConfigFile loads a single configuration file and returns all configs defined in that file. The returned configs contain all variants for project/environment overwrites passed in the LoaderContext

Types

type LoaderContext

type LoaderContext struct {
	ProjectId       string
	Path            string
	Environments    []manifest.EnvironmentDefinition
	KnownApis       map[string]struct{}
	ParametersSerDe map[string]parameter.ParameterSerDe
}

type References

type References map[string]coordinate.Coordinate

References holds coordinate-string -> coordinate

Jump to

Keyboard shortcuts

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