utils

package
v0.36.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCASecret

func CreateCASecret(ctx context.Context, cl client.Client, name, namespace, certsDir string) error

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

func GetKubernetesClient(kubeconfigPath string) (client.Client, error)

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.

Jump to

Keyboard shortcuts

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