wiring

package
v0.0.0-...-c0ba84e Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Session

func Session(cfg *Config, region string) (*rds.RDS, error)

Session initialises a connection for an AWS rds, to a particular region

Types

type Config

type Config struct {
	DryRun          bool
	Tag             string // An AWS Tag on the rds, which will flag copying of the snapshots
	LogLevel        string
	MaxCopyInFlight int
	MaxSnap         int
	RunEvery        int
	SourceRegion    string
	TargetKMS       string
	TargetRegion    string
}

Config defines the app config

Jump to

Keyboard shortcuts

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