helpers

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: BSD-3-Clause Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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