mocks

package
v0.0.0-...-b41ccf1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	mock.Mock
}

Transaction mock

func (*Transaction) Close

func (_m *Transaction) Close() error

Close mock

func (*Transaction) Closed

func (_m *Transaction) Closed() bool

Closed mock

func (*Transaction) Commit

func (_m *Transaction) Commit() error

Commit mock

func (*Transaction) Create

func (_m *Transaction) Create(_a0 *schema.Resource) error

Create mock

func (*Transaction) Delete

func (_m *Transaction) Delete(_a0 *schema.Schema, _a1 interface{}) error

Delete mock

func (*Transaction) Fetch

func (_m *Transaction) Fetch(_a0 *schema.Schema, _a1 interface{}, _a2 []string) (*schema.Resource, error)

Fetch mock

func (*Transaction) List

func (_m *Transaction) List(_a0 *schema.Schema, _a1 map[string]interface{}, _a2 *pagination.Paginator) ([]*schema.Resource, uint64, error)

List mock

func (*Transaction) Query

func (_m *Transaction) Query(_a0 *schema.Schema, _a1 string, _a2 []interface{}) ([]*schema.Resource, error)

Query mock

func (*Transaction) RawTransaction

func (_m *Transaction) RawTransaction() *sqlx.Tx

RawTransaction mock

func (*Transaction) StateFetch

func (_m *Transaction) StateFetch(_a0 *schema.Schema, _a1 interface{}, _a2 []string) (transaction.ResourceState, error)

StateFetch mock

func (*Transaction) StateUpdate

func (_m *Transaction) StateUpdate(_a0 *schema.Resource, _a1 *transaction.ResourceState) error

StateUpdate mock

func (*Transaction) Update

func (_m *Transaction) Update(_a0 *schema.Resource) error

Update mock

Jump to

Keyboard shortcuts

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