config

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2017 License: Apache-2.0 Imports: 5 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GCSBucket              string
	S3Bucket               string
	S3Region               string
	S3AccessKey            string
	S3SecretKey            string
	Hostname               string
	BackupInterval         time.Duration
	TmpDir                 string
	Acceptance             bool
	Version                string
	Encryption             string
	ObjectPrefix           string
	S3ServerSideEncryption string
	S3KmsKeyID             string
}

Config is a struct to hold the backup configuration

func ParseConfig

func ParseConfig(tests bool) *Config

ParseConfig parses the config and returns it

Jump to

Keyboard shortcuts

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