secrets

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0, BSD-3-Clause, MIT Imports: 10 Imported by: 0

Documentation

Index

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

func New

func New(instance csiv1.CSIDriver, secretName string) *corev1.Secret

New - Returns a secret object

func NewTLS

func NewTLS(instance csiv1.CSIDriver, secretName string) *corev1.Secret

NewTLS - Returns a new TLS secret object

func SyncSecret

func SyncSecret(ctx context.Context, secret *corev1.Secret, client crclient.Client, reqLogger logr.Logger) error

SyncSecret - Syncs a secret

Types

This section is empty.

Jump to

Keyboard shortcuts

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