hash

package
v1.86.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareBuildSecretHash

func CompareBuildSecretHash(targetHash string, secret *corev1.Secret) (bool, error)

func CompareRadixApplicationHash

func CompareRadixApplicationHash(targetHash string, ra *v1.RadixApplication) (bool, error)

func CompareWithHashString

func CompareWithHashString(source any, targetHashString string) (bool, error)

func CreateBuildSecretHash

func CreateBuildSecretHash(secret *corev1.Secret) (string, error)

func CreateRadixApplicationHash

func CreateRadixApplicationHash(ra *v1.RadixApplication) (string, error)

func ToHashString

func ToHashString(alg Algorithm, source any) (string, error)

Types

type Algorithm

type Algorithm string
const (
	SHA256 Algorithm = "sha256"
)

Jump to

Keyboard shortcuts

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