util

package
v3.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCacheKey

func GenerateCacheKey(format string, args ...any) (string, error)

GenerateCacheKey generates a cache key based on a format string and arguments

func MakeSignature

func MakeSignature(size int) ([]byte, error)

MakeSignature generates a cryptographically-secure pseudo-random token, based on a given number of random bytes, for signing purposes.

func SliceCopy

func SliceCopy[T runtime.Object](items []T) []T

SliceCopy generates a deep copy of a slice containing any type that implements the runtime.Object interface.

Types

This section is empty.

Directories

Path Synopsis
app
log
normalizers
Code generated by github.com/argoproj/argo-cd/hack/known_types.
Code generated by github.com/argoproj/argo-cd/hack/known_types.
Utility functions for managing HTTPS server certificates and SSH known host entries for ArgoCD
Utility functions for managing HTTPS server certificates and SSH known host entries for ArgoCD
db
git
Package gpgsign provides helpers used by the commit server to import a GPG signing key into the shared GNUPGHOME and resolve the imported key's fingerprint.
Package gpgsign provides helpers used by the commit server to import a GPG signing key into the shared GNUPGHOME and resolve the imported key's fingerprint.
gpgsigntest
Package gpgsigntest provides GPG test fixtures shared by the commit-server signing tests across packages.
Package gpgsigntest provides GPG test fixtures shared by the commit-server signing tests across packages.
io
notification
k8s
oci
text

Jump to

Keyboard shortcuts

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