mocks

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enumerator

type Enumerator struct {
	mock.Mock
}

Enumerator is an autogenerated mock type for the Enumerator type

func (*Enumerator) Enumerate

func (_m *Enumerator) Enumerate() ([]chaincode.InstalledChaincode, error)

Enumerate provides a mock function with given fields:

type MetadataChangeListener

type MetadataChangeListener struct {
	mock.Mock
}

MetadataChangeListener is an autogenerated mock type for the MetadataChangeListener type

func (*MetadataChangeListener) HandleMetadataUpdate

func (_m *MetadataChangeListener) HandleMetadataUpdate(channel string, chaincodes chaincode.MetadataSet)

HandleMetadataUpdate provides a mock function with given fields: channel, chaincodes

type Query

type Query struct {
	mock.Mock
}

Query is an autogenerated mock type for the Query type

func (*Query) Done

func (_m *Query) Done()

Done provides a mock function with given fields:

func (*Query) GetState

func (_m *Query) GetState(namespace string, key string) ([]byte, error)

GetState provides a mock function with given fields: namespace, key

type QueryCreator

type QueryCreator struct {
	mock.Mock
}

QueryCreator is an autogenerated mock type for the QueryCreator type

func (*QueryCreator) NewQuery

func (_m *QueryCreator) NewQuery() (cclifecycle.Query, error)

NewQuery provides a mock function with given fields:

Jump to

Keyboard shortcuts

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