Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigsPerEnvironment ¶
ConfigsPerEnvironment is a map of environment to configs
type ConfigsPerType ¶
ConfigsPerType is a map of configType (api or schema id) to configs
type ConfigsPerTypePerEnvironments ¶
type ConfigsPerTypePerEnvironments map[string]ConfigsPerType
ConfigsPerTypePerEnvironments is a map of environment to api to configs
type DependenciesPerEnvironment ¶
DependenciesPerEnvironment is a map of environment to project ids
type DuplicateConfigIdentifierError ¶
type DuplicateConfigIdentifierError struct {
Config coordinate.Coordinate
EnvironmentDetails configErrors.EnvironmentDetails
}
func (DuplicateConfigIdentifierError) Coordinates ¶
func (e DuplicateConfigIdentifierError) Coordinates() coordinate.Coordinate
func (DuplicateConfigIdentifierError) Error ¶
func (e DuplicateConfigIdentifierError) Error() string
func (DuplicateConfigIdentifierError) LocationDetails ¶
func (e DuplicateConfigIdentifierError) LocationDetails() configErrors.EnvironmentDetails
type EntitiesPerType ¶
type Project ¶
type Project struct {
Id string
// set to the name defined in manifest if this project is part of a grouping, else will be empty
GroupId string
Configs ConfigsPerTypePerEnvironments
// map of environment to project ids
Dependencies DependenciesPerEnvironment
}
func LoadProjects ¶
func LoadProjects(fs afero.Fs, context ProjectLoaderContext) ([]Project, []error)
func (Project) HasDependencyOn ¶
type ProjectLoaderContext ¶
Click to show internal directories.
Click to hide internal directories.