anonymize

package
v0.0.0-...-898015a Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(s []byte) []byte

func SensitiveEnvVars

func SensitiveEnvVars(containers []corev1.Container)

SensitiveEnvVars finds env variables within the given container list and, if they are a target, it will obfuscate their value

func String

func String(s string) string

func URL

func URL(s string) string

func URLCSV

func URLCSV(s string) string

func URLSlice

func URLSlice(in []string) []string

func UnstructuredNestedStringField

func UnstructuredNestedStringField(data map[string]interface{}, fields ...string) error

UnstructuredNestedStringField anonymizes the nested field in the unstructured object or returns error if it is not possible

Types

This section is empty.

Jump to

Keyboard shortcuts

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