Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultEditorRole ¶ added in v0.42.0
func DefaultOwnerRole ¶ added in v0.42.0
func DefaultOwnerRoleBinding ¶ added in v0.42.0
func DefaultOwnerRoleBinding(projectName string, username string) *v1.RoleBinding
func DefaultViewerRole ¶ added in v0.42.0
Types ¶
type VariableGroup ¶
type VariableGroup struct {
Variables []string
}
func BuildVariableOrder ¶
func BuildVariableOrder(variables []dashboard.Variable, projectVariables []*v1.Variable, globalVariables []*v1.GlobalVariable) ([]VariableGroup, error)
BuildVariableOrder determinate which variable we have to build first (aka to perform the query). Here is the description of the algorithm followed:
1. First calculate which variable depend on others 2. Then, thanks to the dependencies, we can create a dependency graph. 3. Then we have to determinate the build order.
Click to show internal directories.
Click to hide internal directories.