package
1.0.1-alpha
Repository: https://github.com/diktyo-io/appgroup-controller.git
Documentation: pkg.go.dev

# Functions

Alternate : inverts the order given by a Topology Sorting algorithm (e.g., Kahn, Tarjan).
AlternateKahn : inverts the order of the elements given by KahnSort in the resulting sorted list.
AlternateTarjan : inverts the order of the elements given by TarjanSort in the resulting sorted list.
CreateMergePatch return patch generated from original and new interfaces.
FindWorkloadBySelector : return the workload's Info based on its selector.
GetPodAppGroupLabel : get AppGroup from pod annotations.
GetPodAppGroupSelector : get Workload Selector from pod annotations.
Implementation of Topology Sorting algorithms based on https://github.com/otaviokr/topological-sort KahnSort : receives a tree (AppGroup Service Topology) and returns an array with the pods sorted.
NormalizeTree: checks if all Pods referred in the slices are present in the map as key too.
Reverse : inverts the order given by a Topology Sorting algorithm (e.g., Kahn, Tarjan).
ReverseKahn : reverses the order of the elements given by KahnSort in the resulting sorted list.
ReverseTarjan : reverses the order of the elements given by TarjanSort in the resulting sorted list.
TarjanSort : receives a description of a search tree and returns a sorted array based on the Tarjan Sort algorithm.

# Type aliases

Sort AppGroupWorkloadList by Workload.Selector.
Sort AppGroupTopologyList by Workload.Selector.