rdsops

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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AntiRateLimit = (10 * time.Millisecond)

AntiRateLimit will be slept in key places, to preclude AWS API rate-limiting.

Variables

This section is empty.

Functions

func Filter

func Filter(logger *zap.Logger, cfg *wiring.Config, rdssession rdsiface.RDSAPI, input []*rds.DBInstance) ([]*rds.DBInstance, error)

Filter takes a list of rds and indentifies the ones that need their snapshots copied It does this by checking for the user supplied tag

func GetTag

func GetTag(rdssession rdsiface.RDSAPI, arn, searchKey string) (string, error)

GetTag returns an AWS rds Tag value, given the Key. Otherwise returns empty string

func List

func List(rdssession rdsiface.RDSAPI) ([]*rds.DBInstance, error)

List returns all rds instances in the region. Max of 50000

Types

This section is empty.

Jump to

Keyboard shortcuts

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