fakes

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDBCluster

type FakeDBCluster struct {
	DescribeCalled           bool
	DescribeID               string
	DescribeDBClusterDetails awsrds.DBClusterDetails
	DescribeError            error

	CreateCalled           bool
	CreateID               string
	CreateDBClusterDetails awsrds.DBClusterDetails
	CreateError            error

	ModifyCalled           bool
	ModifyID               string
	ModifyDBClusterDetails awsrds.DBClusterDetails
	ModifyApplyImmediately bool
	ModifyError            error

	DeleteCalled            bool
	DeleteID                string
	DeleteSkipFinalSnapshot bool
	DeleteError             error
}

func (*FakeDBCluster) Create

func (f *FakeDBCluster) Create(ID string, dbClusterDetails awsrds.DBClusterDetails) error

func (*FakeDBCluster) Delete

func (f *FakeDBCluster) Delete(ID string, skipFinalSnapshot bool) error

func (*FakeDBCluster) Describe

func (f *FakeDBCluster) Describe(ID string) (awsrds.DBClusterDetails, error)

func (*FakeDBCluster) Modify

func (f *FakeDBCluster) Modify(ID string, dbClusterDetails awsrds.DBClusterDetails, applyImmediately bool) error

type FakeDBInstance

type FakeDBInstance struct {
	DescribeCalled            bool
	DescribeID                string
	DescribeDBInstanceDetails awsrds.DBInstanceDetails
	DescribeError             error

	CreateCalled            bool
	CreateID                string
	CreateDBInstanceDetails awsrds.DBInstanceDetails
	CreateError             error

	ModifyCalled            bool
	ModifyID                string
	ModifyDBInstanceDetails awsrds.DBInstanceDetails
	ModifyApplyImmediately  bool
	ModifyError             error

	DeleteCalled            bool
	DeleteID                string
	DeleteSkipFinalSnapshot bool
	DeleteError             error
}

func (*FakeDBInstance) Create

func (f *FakeDBInstance) Create(ID string, dbInstanceDetails awsrds.DBInstanceDetails) error

func (*FakeDBInstance) Delete

func (f *FakeDBInstance) Delete(ID string, skipFinalSnapshot bool) error

func (*FakeDBInstance) Describe

func (f *FakeDBInstance) Describe(ID string) (awsrds.DBInstanceDetails, error)

func (*FakeDBInstance) Modify

func (f *FakeDBInstance) Modify(ID string, dbInstanceDetails awsrds.DBInstanceDetails, applyImmediately bool) error

Jump to

Keyboard shortcuts

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