Documentation ¶
Index ¶
- func CreateOnlyIfNotExist(ctx context.Context, owner metav1.Object, c client.Client, ...) (*corev1.Secret, error)
- func GetCertificateFromSecretKeySelector(ctx context.Context, c client.Client, namespace string, ...) (*x509.Certificate, error)
- func GetPrivateKeyFromSecretKeySelector(ctx context.Context, c client.Client, namespace string, ...) (*rsa.PrivateKey, error)
- func GetValueFromSecretKeySelector(ctx context.Context, c client.Client, namespace string, ...) ([]byte, error)
- func Reconcile(ctx context.Context, owner metav1.Object, c client.Client, ...) (*corev1.Secret, error)
- func WithDataWithKey(key string, value []byte) k8s_object.ObjectOption
- func WithType(typ corev1.SecretType) k8s_object.ObjectOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOnlyIfNotExist ¶
func GetCertificateFromSecretKeySelector ¶
func GetCertificateFromSecretKeySelector( ctx context.Context, c client.Client, namespace string, selector *corev1.SecretKeySelector, ) (*x509.Certificate, error)
func GetPrivateKeyFromSecretKeySelector ¶
func GetPrivateKeyFromSecretKeySelector( ctx context.Context, c client.Client, namespace string, selector *corev1.SecretKeySelector, ) (*rsa.PrivateKey, error)
func WithDataWithKey ¶
func WithDataWithKey(key string, value []byte) k8s_object.ObjectOption
func WithType ¶
func WithType(typ corev1.SecretType) k8s_object.ObjectOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.