mock_appchainMgr

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_appchainMgr is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAppchainMgr

type MockAppchainMgr struct {
	// contains filtered or unexported fields
}

MockAppchainMgr is a mock of AppchainMgr interface.

func NewMockAppchainMgr

func NewMockAppchainMgr(ctrl *gomock.Controller) *MockAppchainMgr

NewMockAppchainMgr creates a new mock instance.

func (*MockAppchainMgr) All

func (m *MockAppchainMgr) All(extra []byte) (interface{}, error)

All mocks base method.

func (*MockAppchainMgr) Audit

func (m *MockAppchainMgr) Audit(proposer string, isApproved int32, desc string) (bool, []byte)

Audit mocks base method.

func (*MockAppchainMgr) ChangeStatus

func (m *MockAppchainMgr) ChangeStatus(id, trigger, lastStatus string, extra []byte) (bool, []byte)

ChangeStatus mocks base method.

func (*MockAppchainMgr) CountAll

func (m *MockAppchainMgr) CountAll(extra []byte) (bool, []byte)

CountAll mocks base method.

func (*MockAppchainMgr) CountAvailable

func (m *MockAppchainMgr) CountAvailable(extra []byte) (bool, []byte)

CountAvailable mocks base method.

func (*MockAppchainMgr) DeleteAppchain

func (m *MockAppchainMgr) DeleteAppchain(id string) (bool, []byte)

DeleteAppchain mocks base method.

func (*MockAppchainMgr) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppchainMgr) FetchAuditRecords

func (m *MockAppchainMgr) FetchAuditRecords(id string) (bool, []byte)

FetchAuditRecords mocks base method.

func (*MockAppchainMgr) GovernancePre

func (m *MockAppchainMgr) GovernancePre(id string, event governance.EventType, extra []byte) (interface{}, error)

GovernancePre mocks base method.

func (*MockAppchainMgr) QueryById

func (m *MockAppchainMgr) QueryById(id string, extra []byte) (interface{}, error)

QueryById mocks base method.

func (*MockAppchainMgr) Register

func (m *MockAppchainMgr) Register(chainInfo *appchain_mgr.Appchain) (bool, []byte)

Register mocks base method.

func (*MockAppchainMgr) Update

func (m *MockAppchainMgr) Update(updateInfo *appchain_mgr.Appchain) (bool, []byte)

Update mocks base method.

type MockAppchainMgrMockRecorder

type MockAppchainMgrMockRecorder struct {
	// contains filtered or unexported fields
}

MockAppchainMgrMockRecorder is the mock recorder for MockAppchainMgr.

func (*MockAppchainMgrMockRecorder) All

func (mr *MockAppchainMgrMockRecorder) All(extra interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockAppchainMgrMockRecorder) Audit

func (mr *MockAppchainMgrMockRecorder) Audit(proposer, isApproved, desc interface{}) *gomock.Call

Audit indicates an expected call of Audit.

func (*MockAppchainMgrMockRecorder) ChangeStatus

func (mr *MockAppchainMgrMockRecorder) ChangeStatus(id, trigger, lastStatus, extra interface{}) *gomock.Call

ChangeStatus indicates an expected call of ChangeStatus.

func (*MockAppchainMgrMockRecorder) CountAll

func (mr *MockAppchainMgrMockRecorder) CountAll(extra interface{}) *gomock.Call

CountAll indicates an expected call of CountAll.

func (*MockAppchainMgrMockRecorder) CountAvailable

func (mr *MockAppchainMgrMockRecorder) CountAvailable(extra interface{}) *gomock.Call

CountAvailable indicates an expected call of CountAvailable.

func (*MockAppchainMgrMockRecorder) DeleteAppchain

func (mr *MockAppchainMgrMockRecorder) DeleteAppchain(id interface{}) *gomock.Call

DeleteAppchain indicates an expected call of DeleteAppchain.

func (*MockAppchainMgrMockRecorder) FetchAuditRecords

func (mr *MockAppchainMgrMockRecorder) FetchAuditRecords(id interface{}) *gomock.Call

FetchAuditRecords indicates an expected call of FetchAuditRecords.

func (*MockAppchainMgrMockRecorder) GovernancePre

func (mr *MockAppchainMgrMockRecorder) GovernancePre(id, event, extra interface{}) *gomock.Call

GovernancePre indicates an expected call of GovernancePre.

func (*MockAppchainMgrMockRecorder) QueryById

func (mr *MockAppchainMgrMockRecorder) QueryById(id, extra interface{}) *gomock.Call

QueryById indicates an expected call of QueryById.

func (*MockAppchainMgrMockRecorder) Register

func (mr *MockAppchainMgrMockRecorder) Register(chainInfo interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockAppchainMgrMockRecorder) Update

func (mr *MockAppchainMgrMockRecorder) Update(updateInfo interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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