fakes

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 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 FakeDBInstance

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

	DescribeByTagCalled            bool
	DescribeByTagKey               string
	DescribeByTagValue             string
	DescribeByTagDBInstanceDetails []*awsrds.DBInstanceDetails
	DescribeByTagError             error

	DescribeSnapshotsCalled             bool
	DescribeSnapshotsDBInstanceID       string
	DescribeSnapshotsDBSnapshotsDetails []*awsrds.DBSnapshotDetails
	DescribeSnapshotsError              error

	CreateCalled            bool
	CreateID                string
	CreateDBInstanceDetails awsrds.DBInstanceDetails
	CreateError             error

	RestoreCalled             bool
	RestoreID                 string
	RestoreSnapshotIdentifier string
	RestoreDBInstanceDetails  awsrds.DBInstanceDetails
	RestoreError              error

	ModifyCalled            bool
	ModifyID                string
	ModifyDBInstanceDetails awsrds.DBInstanceDetails
	ModifyApplyImmediately  bool
	ModifyError             error
	ModifyCallback          func(string, awsrds.DBInstanceDetails, bool) error

	RebootCalled bool
	RebootID     string
	RebootError  error

	RemoveTagCalled bool
	RemoveTagID     string
	RemoveTagTagKey string
	RemoveTagError  error

	DeleteCalled            bool
	DeleteID                string
	DeleteSkipFinalSnapshot bool
	DeleteError             error

	GetTagKey   string
	GetTagValue string
	GetTagError 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) DescribeByTag

func (f *FakeDBInstance) DescribeByTag(tagKey, tagValue string) ([]*awsrds.DBInstanceDetails, error)

func (*FakeDBInstance) DescribeSnapshots

func (f *FakeDBInstance) DescribeSnapshots(dbInstanceID string) ([]*awsrds.DBSnapshotDetails, error)

func (*FakeDBInstance) GetTag

func (f *FakeDBInstance) GetTag(ID, tagKey string) (string, error)

func (*FakeDBInstance) Modify

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

func (*FakeDBInstance) Reboot

func (f *FakeDBInstance) Reboot(ID string) error

func (*FakeDBInstance) RemoveTag

func (f *FakeDBInstance) RemoveTag(ID, tagKey string) error

func (*FakeDBInstance) Restore

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

Jump to

Keyboard shortcuts

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