cacert

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCACertFromBSL

func GetCACertFromBSL(ctx context.Context, client kbclient.Client, namespace, bslName string) (string, error)

GetCACertFromBSL fetches a BackupStorageLocation directly and returns its cacert Priority order: caCertRef (from Secret) > caCert (inline, deprecated)

func GetCACertFromBackup

func GetCACertFromBackup(ctx context.Context, client kbclient.Client, namespace string, backup *velerov1api.Backup) (string, error)

GetCACertFromBackup fetches the BackupStorageLocation for a backup and returns its cacert

func GetCACertFromRestore

func GetCACertFromRestore(ctx context.Context, client kbclient.Client, namespace string, restore *velerov1api.Restore) (string, error)

GetCACertFromRestore fetches the BackupStorageLocation for a restore's backup and returns its cacert

Types

This section is empty.

Jump to

Keyboard shortcuts

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