credentials

package
v1.23.0 Latest Latest
Warning

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

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

Documentation

Overview

Package credentials is used to build environment for barman cloud commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvSetBackupCloudCredentials

func EnvSetBackupCloudCredentials(
	ctx context.Context,
	c client.Client,
	namespace string,
	configuration *apiv1.BarmanObjectStoreConfiguration,
	env []string,
) ([]string, error)

EnvSetBackupCloudCredentials sets the AWS environment variables needed for backups given the configuration inside the cluster

func EnvSetRestoreCloudCredentials

func EnvSetRestoreCloudCredentials(
	ctx context.Context,
	c client.Client,
	namespace string,
	configuration *apiv1.BarmanObjectStoreConfiguration,
	env []string,
) ([]string, error)

EnvSetRestoreCloudCredentials sets the AWS environment variables needed for restores given the configuration inside the cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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