backupapi

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIV1 = "/v1"
	// S3V1 indicates the version 1 of
	// S3 backup format: <s3Bucket>/<s3Prefix>/"v1"/<namespace>/<clusterName>
	S3V1 = "v1"
)

Variables

This section is empty.

Functions

func BackupURLForRestore added in v0.7.0

func BackupURLForRestore(scheme, host, restoreName string) *url.URL

BackupURLForRestore creates a URL struct for retrieving an existing backup specified by a restore CR

func ToS3Prefix added in v0.5.2

func ToS3Prefix(s3Prefix, namespace, clusterName string) string

ToS3Prefix concatenates s3Prefix, S3V1, namespace, clusterName to a single s3 prefix. the concatenated prefix determines the location of S3 backup files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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