helpers

package
v1.11.11 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

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