mocks

package
v1.4.11 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

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.

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 LifeCycleChangeListener

type LifeCycleChangeListener struct {
	mock.Mock
}

LifeCycleChangeListener is an autogenerated mock type for the LifeCycleChangeListener type

func (*LifeCycleChangeListener) LifeCycleChangeListener

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

LifeCycleChangeListener 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() (cc.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