Documentation
¶
Overview ¶
Package helpers contains helper functions for the various git manipulations that can be re-used.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareKeys ¶
func CompareKeys(keySetA, keySetB map[string]synv1alpha1.DeployKey) map[string]synv1alpha1.DeployKey
CompareKeys compares keySetA against keySetB, keySetA has the higher precedence. All keys that are in both sets, but differ, will be returned with the value of the set A instance. Also all keys not present in B but in A will also be added to the diff. This can be used to find out which keys have to be updated if keySetA is the local set of keys. It can also be used to find out which keys to delete on the repository if keySetA is the remote set of keys.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.