credentials

package
v1.19.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 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