mocks

package
v0.0.0-...-4a8fd02 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks contains mock for RDS client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRdsInstance

func NewRdsInstance() *aws_rds_types.DBInstance

func RandomString

func RandomString(length int) string

RandomString returns a random alphanumeric string of the specified length

Types

type RDSClient

type RDSClient struct {
	DescribeDBInstancesOutput               *aws_rds.DescribeDBInstancesOutput
	DescribePendingMaintenanceActionsOutput *aws_rds.DescribePendingMaintenanceActionsOutput
	DescribeDBLogFilesOutput                *aws_rds.DescribeDBLogFilesOutput
	DescribeDBLogFilesOutputError           error
	Error                                   error
}

func (RDSClient) DescribeDBInstancesPages

func (m RDSClient) DescribeDBInstancesPages(input *aws_rds.DescribeDBInstancesInput, fn func(*aws_rds.DescribeDBInstancesOutput, bool) bool) error

func (RDSClient) DescribeDBLogFiles

func (m RDSClient) DescribeDBLogFiles(ctx context.Context, input *aws_rds.DescribeDBLogFilesInput, fn ...func(*aws_rds.Options)) (*aws_rds.DescribeDBLogFilesOutput, error)

Jump to

Keyboard shortcuts

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