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
Click to show internal directories.
Click to hide internal directories.