fake

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRDSClient

MockRDSClient for testing.

func (*MockRDSClient) AddTagsToResource

func (m *MockRDSClient) AddTagsToResource(ctx context.Context, i *rds.AddTagsToResourceInput, opts ...func(*rds.Options)) (*rds.AddTagsToResourceOutput, error)

AddTagsToResource adds tags to RDS Instance.

func (*MockRDSClient) CreateDBInstance

func (m *MockRDSClient) CreateDBInstance(ctx context.Context, i *rds.CreateDBInstanceInput, opts ...func(*rds.Options)) (*rds.CreateDBInstanceOutput, error)

CreateDBInstance creates RDS Instance with provided Specification

func (*MockRDSClient) DeleteDBInstance

func (m *MockRDSClient) DeleteDBInstance(ctx context.Context, i *rds.DeleteDBInstanceInput, opts ...func(*rds.Options)) (*rds.DeleteDBInstanceOutput, error)

DeleteDBInstance deletes RDS Instance

func (*MockRDSClient) DescribeDBInstances

func (m *MockRDSClient) DescribeDBInstances(ctx context.Context, i *rds.DescribeDBInstancesInput, opts ...func(*rds.Options)) (*rds.DescribeDBInstancesOutput, error)

DescribeDBInstances finds RDS Instance by name

func (*MockRDSClient) ModifyDBInstance

func (m *MockRDSClient) ModifyDBInstance(ctx context.Context, i *rds.ModifyDBInstanceInput, opts ...func(*rds.Options)) (*rds.ModifyDBInstanceOutput, error)

ModifyDBInstance modifies RDS Instance with provided Specification

func (*MockRDSClient) RestoreDBInstanceFromDBSnapshot

func (m *MockRDSClient) RestoreDBInstanceFromDBSnapshot(ctx context.Context, i *rds.RestoreDBInstanceFromDBSnapshotInput, opts ...func(*rds.Options)) (*rds.RestoreDBInstanceFromDBSnapshotOutput, error)

RestoreDBInstanceFromDBSnapshot restores an RDS Instance from a database snapshot with the provided Specification

func (*MockRDSClient) RestoreDBInstanceFromS3

func (m *MockRDSClient) RestoreDBInstanceFromS3(ctx context.Context, i *rds.RestoreDBInstanceFromS3Input, opts ...func(*rds.Options)) (*rds.RestoreDBInstanceFromS3Output, error)

RestoreDBInstanceFromS3 restores an RDS Instance from a backup with the provided Specification

func (*MockRDSClient) RestoreDBInstanceToPointInTime

func (m *MockRDSClient) RestoreDBInstanceToPointInTime(ctx context.Context, i *rds.RestoreDBInstanceToPointInTimeInput, opts ...func(*rds.Options)) (*rds.RestoreDBInstanceToPointInTimeOutput, error)

RestoreDBInstanceToPointInTime restores an RDS Instance to the date and time with the provided Specification

Jump to

Keyboard shortcuts

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