fabric: github.com/hyperledger/fabric/core/cclifecycle/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/core/cclifecycle/mocks"

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Package Files

enumerator.go life_cycle_change_listener.go query.go query_creator.go

type Enumerator Uses

type Enumerator struct {
    mock.Mock
}

Enumerator is an autogenerated mock type for the Enumerator type

func (*Enumerator) Enumerate Uses

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

Enumerate provides a mock function with given fields:

type LifeCycleChangeListener Uses

type LifeCycleChangeListener struct {
    mock.Mock
}

LifeCycleChangeListener is an autogenerated mock type for the LifeCycleChangeListener type

func (*LifeCycleChangeListener) LifeCycleChangeListener Uses

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

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

type Query Uses

type Query struct {
    mock.Mock
}

Query is an autogenerated mock type for the Query type

func (*Query) Done Uses

func (_m *Query) Done()

Done provides a mock function with given fields:

func (*Query) GetState Uses

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

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

type QueryCreator Uses

type QueryCreator struct {
    mock.Mock
}

QueryCreator is an autogenerated mock type for the QueryCreator type

func (*QueryCreator) NewQuery Uses

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

NewQuery provides a mock function with given fields:

Package mocks imports 3 packages (graph). Updated 2018-07-06. Refresh now. Tools for package owners.