Documentation ¶
Index ¶
- func GetSecret(ctx context.Context, name, namespace string, client crclient.Client, ...) (*corev1.Secret, error)
- func GetSecrets(ctx context.Context, namespace string, client crclient.Client, ...) ([]corev1.Secret, error)
- func New(instance csiv1.CSIDriver, secretName string) *corev1.Secret
- func NewTLS(instance csiv1.CSIDriver, secretName string) *corev1.Secret
- func SyncSecret(ctx context.Context, secret *corev1.Secret, client crclient.Client, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSecret ¶
func GetSecret(ctx context.Context, name, namespace string, client crclient.Client, reqLogger logr.Logger) (*corev1.Secret, error)
GetSecret - Returns a secret object
func GetSecrets ¶
func GetSecrets(ctx context.Context, namespace string, client crclient.Client, reqLogger logr.Logger) ([]corev1.Secret, error)
GetSecrets - Returns all secrets in a namespace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.