Documentation
¶
Index ¶
- func GetOrCreateSecret(ctx context.Context, kubeClient client.Client, name string, namespace string) (*corev1.Secret, error)
- func GetSecret(ctx context.Context, kubeClient client.Client, name string, namespace string) (*corev1.Secret, error)
- func UpdateSecret(ctx context.Context, kubeClient client.Client, secret *corev1.Secret) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOrCreateSecret ¶
func GetOrCreateSecret(ctx context.Context, kubeClient client.Client, name string, namespace string) (*corev1.Secret, error)
GetOrCreateSecret retrieves a Kubernetes Secret from the cluster. If the secret does not exist, it creates a new one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.