...

Package mocks

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

Overview ▾

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.

type Enumerator

Enumerator is an autogenerated mock type for the Enumerator type

type Enumerator struct {
    mock.Mock
}

func (*Enumerator) Enumerate

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

Enumerate provides a mock function with given fields:

type LifeCycleChangeListener

LifeCycleChangeListener is an autogenerated mock type for the LifeCycleChangeListener type

type LifeCycleChangeListener struct {
    mock.Mock
}

func (*LifeCycleChangeListener) LifeCycleChangeListener

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

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

type Query

Query is an autogenerated mock type for the Query type

type Query struct {
    mock.Mock
}

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

QueryCreator is an autogenerated mock type for the QueryCreator type

type QueryCreator struct {
    mock.Mock
}

func (*QueryCreator) NewQuery

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

NewQuery provides a mock function with given fields: