Documentation ¶
Index ¶
- func CopySecret(ctx context.Context, c client.Client, ...) (controllerutil.OperationResult, error)
- func GenerateTLSKeyPair(domain string, prefix string) (map[string][]byte, error)
- func GetCertCommonName(TLSCertKey []byte) (string, error)
- func ValidateSecretType(ctx context.Context, c client.Client, ref *corev1.SecretReference, ...) error
- type SecretCopySettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopySecret ¶
func CopySecret(ctx context.Context, c client.Client, relocation *rhsysenggithubiov1beta1.ClusterRelocation, scheme *runtime.Scheme, origSecretName string, origSecretNamespace string, destSecretName string, destSecretNamespace string, settings SecretCopySettings, ) (controllerutil.OperationResult, error)
copies a secret from one location to another
func GenerateTLSKeyPair ¶
func GetCertCommonName ¶
func ValidateSecretType ¶ added in v0.9.5
func ValidateSecretType(ctx context.Context, c client.Client, ref *corev1.SecretReference, desiredSecretType corev1.SecretType) error
Types ¶
Click to show internal directories.
Click to hide internal directories.