secrets

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConsoleNameBuilder namer.NamerData
View Source
var CredentialsNameBuilder namer.NamerData
View Source
var NettyNameBuilder namer.NamerData

Functions

func Create

func Create(owner metav1.Object, namespacedName types.NamespacedName, stringDataMap map[string]string, labels map[string]string, client client.Client, scheme *runtime.Scheme) *corev1.Secret

func CreateOrUpdate added in v1.0.4

func CreateOrUpdate(owner metav1.Object, namespacedName types.NamespacedName, stringDataMap map[string]string, labels map[string]string, client client.Client, scheme *runtime.Scheme) error

func Delete added in v1.0.4

func Delete(namespacedName types.NamespacedName, stringDataMap map[string]string, labels map[string]string, client client.Client)

func GetValueFromSecret added in v0.20.0

func GetValueFromSecret(namespace string,
	secretName string, key string, labels map[string]string, client client.Client, scheme *runtime.Scheme, owner metav1.Object) *string

func MakeSecret

func MakeSecret(namespacedName types.NamespacedName, secretName string, stringData map[string]string, labels map[string]string) corev1.Secret

func MakeStringDataMap

func MakeStringDataMap(keyName string, valueName string, key string, value string) map[string]string

func NewSecret

func NewSecret(namespacedName types.NamespacedName, secretName string, stringData map[string]string, labels map[string]string) *corev1.Secret

func RetriveSecret added in v1.0.4

func RetriveSecret(namespacedName types.NamespacedName, secretName string, labels map[string]string, client client.Client) (*corev1.Secret, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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