decrypt

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const LASTAPPLIEDANNOTAION_K8s = "kubectl.kubernetes.io/last-applied-configuration"

Variables

This section is empty.

Functions

func CheckSopsVersion

func CheckSopsVersion(json map[string]interface{}) (string, bool)

func DecryptMarkhorSecret

func DecryptMarkhorSecret(jsonObj map[string]interface{}, config config.MarkhorSecretsConfig, eid slog.Attr) (map[string]interface{}, error)

func DecryptMarkhorSecretEvent

func DecryptMarkhorSecretEvent(markhorSecret *v1.MarkhorSecret, config config.MarkhorSecretsConfig, eid slog.Attr) (map[string]interface{}, error)

Given an encrypted MarkhorSecret, this function attempts to decrypt it using SOPS.

func IsSupportedSopsVersion

func IsSupportedSopsVersion(version string) (string, bool)

Types

type Ordering

type Ordering struct {
	Name  string
	Terms []Ordering
}

Jump to

Keyboard shortcuts

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