Documentation
¶
Index ¶
- func CreateCASecret(ctx context.Context, cl client.Client, name, namespace, certsDir string) error
- func CreateClientTLSSecret(ctx context.Context, cl client.Client, name, namespace, certsDir string) error
- func CreateServerTLSSecret(ctx context.Context, cl client.Client, name, namespace, certsDir string) error
- func GetKubernetesClient(kubeconfigPath string) (client.Client, error)
- func ParseBackupProviders(providers string) ([]druidv1alpha1.StorageProvider, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCASecret ¶
CreateCASecret creates the secret containing the CA certificates.
func CreateClientTLSSecret ¶
func CreateClientTLSSecret(ctx context.Context, cl client.Client, name, namespace, certsDir string) error
CreateClientTLSSecret creates the secret containing the client TLS certificates.
func CreateServerTLSSecret ¶
func CreateServerTLSSecret(ctx context.Context, cl client.Client, name, namespace, certsDir string) error
CreateServerTLSSecret creates the secret containing the server TLS certificates.
func GetKubernetesClient ¶
GetKubernetesClient creates a Kubernetes client using the provided kubeconfig path.
func ParseBackupProviders ¶
func ParseBackupProviders(providers string) ([]druidv1alpha1.StorageProvider, error)
ParseBackupProviders parses a comma-separated string of backup providers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.