config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupConfiguration

type BackupConfiguration struct {
	AwsCredentialConfigPath string                    `yaml:"awsCredentialConfigPath"`
	AwsProfile              string                    `yaml:"aws_profile"`
	KmsKey                  string                    `yaml:"kms_key"`
	EncryptionContext       string                    `yaml:"encryption_context"`
	S3Bucket                string                    `yaml:"s3_bucket"`
	BackupFiles             []BackupFileConfiguration `yaml:"backup"`
}

func BackupConfig

func BackupConfig() (BackupConfiguration, error)

func New

func New(configFilePath string) (BackupConfiguration, error)

type BackupFileConfiguration

type BackupFileConfiguration struct {
	Title  string
	Path   string
	Ignore []string
}

Jump to

Keyboard shortcuts

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