sort

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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