rds

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfClusterDeleteProtectionEnabled

func CheckIfClusterDeleteProtectionEnabled(checkConfig commons.CheckConfig, instances []types.DBCluster, testName string)

func CheckIfClusterLoggingEnabled

func CheckIfClusterLoggingEnabled(checkConfig commons.CheckConfig, instances []types.DBCluster, testName string)

func CheckIfDeleteProtectionEnabled

func CheckIfDeleteProtectionEnabled(checkConfig commons.CheckConfig, instances []types.DBInstance, testName string)

func CheckIfLoggingEnabled

func CheckIfLoggingEnabled(checkConfig commons.CheckConfig, instances []types.DBInstance, testName string)

func GetListDBClusters

func GetListDBClusters(svc RDSGetObjectAPI) []types.DBCluster

func GetListRDS

func GetListRDS(svc RDSGetObjectAPI) []types.DBInstance

func RunChecks

func RunChecks(wa *sync.WaitGroup, s aws.Config, c *commons.Config, queue chan []commons.Check)

Types

type RDSGetObjectAPI

type RDSGetObjectAPI interface {
	DescribeDBInstances(ctx context.Context, input *rds.DescribeDBInstancesInput, optFns ...func(*rds.Options)) (*rds.DescribeDBInstancesOutput, error)
	DescribeDBClusters(ctx context.Context, input *rds.DescribeDBClustersInput, optFns ...func(*rds.Options)) (*rds.DescribeDBClustersOutput, error)
}

Jump to

Keyboard shortcuts

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