Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigsPerEnvironment ¶
func ConfigsPerEnvironment(projects []project.Project, environments []string) (sortedConfigsPerEnv project.ConfigsPerEnvironment, errs []error)
ConfigsPerEnvironment returns a sorted slice of configurations for each environment. If configurations depend on each other, the slices will contain them in the right order to deploy one after the other. Depending on the configuration of featureflags.DependencyGraphBasedSort this will either use topologysort or a new graph datastructure based sort. To use the full graph-based implementation use graph.New instead.
func Parameters ¶
func Parameters(group string, environment string, conf coordinate.Coordinate, parameters config.Parameters) ([]parameter.NamedParameter, []error)
Parameters sorts the given parameters of a single configuration in order. If parameters depend on each other, the sorted return slice will contain them in the right order to resolve one after the other. This uses a simple toplogysort implementation.
Types ¶
This section is empty.