mocks

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2021 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 ApplicationCapabilities added in v1.5.6

type ApplicationCapabilities struct {
	mock.Mock
}

ApplicationCapabilities is an autogenerated mock type for the ApplicationCapabilities type

func (*ApplicationCapabilities) ACLs added in v1.5.6

func (_m *ApplicationCapabilities) ACLs() bool

ACLs provides a mock function with given fields:

func (*ApplicationCapabilities) CollectionUpgrade added in v1.5.6

func (_m *ApplicationCapabilities) CollectionUpgrade() bool

CollectionUpgrade provides a mock function with given fields:

func (*ApplicationCapabilities) ForbidDuplicateTXIdInBlock added in v1.5.6

func (_m *ApplicationCapabilities) ForbidDuplicateTXIdInBlock() bool

ForbidDuplicateTXIdInBlock provides a mock function with given fields:

func (*ApplicationCapabilities) KeyLevelEndorsement added in v1.5.6

func (_m *ApplicationCapabilities) KeyLevelEndorsement() bool

KeyLevelEndorsement provides a mock function with given fields:

func (*ApplicationCapabilities) LifecycleV20 added in v1.5.6

func (_m *ApplicationCapabilities) LifecycleV20() bool

LifecycleV20 provides a mock function with given fields:

func (*ApplicationCapabilities) MetadataLifecycle added in v1.5.6

func (_m *ApplicationCapabilities) MetadataLifecycle() bool

MetadataLifecycle provides a mock function with given fields:

func (*ApplicationCapabilities) PrivateChannelData added in v1.5.6

func (_m *ApplicationCapabilities) PrivateChannelData() bool

PrivateChannelData provides a mock function with given fields:

func (*ApplicationCapabilities) StorePvtDataOfInvalidTx added in v1.5.6

func (_m *ApplicationCapabilities) StorePvtDataOfInvalidTx() bool

StorePvtDataOfInvalidTx provides a mock function with given fields:

func (*ApplicationCapabilities) Supported added in v1.5.6

func (_m *ApplicationCapabilities) Supported() error

Supported provides a mock function with given fields:

func (*ApplicationCapabilities) V1_1Validation added in v1.5.6

func (_m *ApplicationCapabilities) V1_1Validation() bool

V1_1Validation provides a mock function with given fields:

func (*ApplicationCapabilities) V1_2Validation added in v1.5.6

func (_m *ApplicationCapabilities) V1_2Validation() bool

V1_2Validation provides a mock function with given fields:

func (*ApplicationCapabilities) V1_3Validation added in v1.5.6

func (_m *ApplicationCapabilities) V1_3Validation() bool

V1_3Validation provides a mock function with given fields:

func (*ApplicationCapabilities) V2_0Validation added in v1.5.6

func (_m *ApplicationCapabilities) V2_0Validation() bool

V2_0Validation provides a mock function with given fields:

type CapabilityProvider added in v1.5.6

type CapabilityProvider struct {
	mock.Mock
}

CapabilityProvider is an autogenerated mock type for the CapabilityProvider type

func (*CapabilityProvider) Capabilities added in v1.5.6

Capabilities provides a mock function with given fields:

type QueryExecutor added in v1.5.6

type QueryExecutor struct {
	mock.Mock
}

QueryExecutor is an autogenerated mock type for the QueryExecutor type

func (*QueryExecutor) Done added in v1.5.6

func (_m *QueryExecutor) Done()

Done provides a mock function with given fields:

func (*QueryExecutor) ExecuteQuery added in v1.5.6

func (_m *QueryExecutor) ExecuteQuery(namespace string, query string) (ledger.ResultsIterator, error)

ExecuteQuery provides a mock function with given fields: namespace, query

func (*QueryExecutor) ExecuteQueryOnPrivateData added in v1.5.6

func (_m *QueryExecutor) ExecuteQueryOnPrivateData(namespace string, collection string, query string) (ledger.ResultsIterator, error)

ExecuteQueryOnPrivateData provides a mock function with given fields: namespace, collection, query

func (*QueryExecutor) ExecuteQueryWithPagination added in v1.5.6

func (_m *QueryExecutor) ExecuteQueryWithPagination(namespace string, query string, bookmark string, pageSize int32) (coreledger.QueryResultsIterator, error)

ExecuteQueryWithPagination provides a mock function with given fields: namespace, query, bookmark, pageSize

func (*QueryExecutor) GetPrivateData added in v1.5.6

func (_m *QueryExecutor) GetPrivateData(namespace string, collection string, key string) ([]byte, error)

GetPrivateData provides a mock function with given fields: namespace, collection, key

func (*QueryExecutor) GetPrivateDataHash added in v1.5.6

func (_m *QueryExecutor) GetPrivateDataHash(namespace string, collection string, key string) ([]byte, error)

GetPrivateDataHash provides a mock function with given fields: namespace, collection, key

func (*QueryExecutor) GetPrivateDataMetadata added in v1.5.6

func (_m *QueryExecutor) GetPrivateDataMetadata(namespace string, collection string, key string) (map[string][]byte, error)

GetPrivateDataMetadata provides a mock function with given fields: namespace, collection, key

func (*QueryExecutor) GetPrivateDataMetadataByHash added in v1.5.6

func (_m *QueryExecutor) GetPrivateDataMetadataByHash(namespace string, collection string, keyhash []byte) (map[string][]byte, error)

GetPrivateDataMetadataByHash provides a mock function with given fields: namespace, collection, keyhash

func (*QueryExecutor) GetPrivateDataMultipleKeys added in v1.5.6

func (_m *QueryExecutor) GetPrivateDataMultipleKeys(namespace string, collection string, keys []string) ([][]byte, error)

GetPrivateDataMultipleKeys provides a mock function with given fields: namespace, collection, keys

func (*QueryExecutor) GetPrivateDataRangeScanIterator added in v1.5.6

func (_m *QueryExecutor) GetPrivateDataRangeScanIterator(namespace string, collection string, startKey string, endKey string) (ledger.ResultsIterator, error)

GetPrivateDataRangeScanIterator provides a mock function with given fields: namespace, collection, startKey, endKey

func (*QueryExecutor) GetState added in v1.5.6

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

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

func (*QueryExecutor) GetStateMetadata added in v1.5.6

func (_m *QueryExecutor) GetStateMetadata(namespace string, key string) (map[string][]byte, error)

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

func (*QueryExecutor) GetStateMultipleKeys added in v1.5.6

func (_m *QueryExecutor) GetStateMultipleKeys(namespace string, keys []string) ([][]byte, error)

GetStateMultipleKeys provides a mock function with given fields: namespace, keys

func (*QueryExecutor) GetStateRangeScanIterator added in v1.5.6

func (_m *QueryExecutor) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (ledger.ResultsIterator, error)

GetStateRangeScanIterator provides a mock function with given fields: namespace, startKey, endKey

func (*QueryExecutor) GetStateRangeScanIteratorWithPagination added in v1.5.6

func (_m *QueryExecutor) GetStateRangeScanIteratorWithPagination(namespace string, startKey string, endKey string, pageSize int32) (coreledger.QueryResultsIterator, error)

GetStateRangeScanIteratorWithPagination provides a mock function with given fields: namespace, startKey, endKey, pageSize

type Validator added in v1.5.6

type Validator struct {
	mock.Mock
}

Validator is an autogenerated mock type for the Validator type

func (*Validator) Validate added in v1.5.6

func (_m *Validator) Validate(block *common.Block) error

Validate provides a mock function with given fields: block

Jump to

Keyboard shortcuts

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