Documentation ¶
Overview ¶
Package mock_appchainMgr is a generated GoMock package.
Index ¶
- type MockAppchainMgr
- func (m *MockAppchainMgr) All(extra []byte) (interface{}, error)
- func (m *MockAppchainMgr) Audit(proposer string, isApproved int32, desc string) (bool, []byte)
- func (m *MockAppchainMgr) ChangeStatus(id, trigger, lastStatus string, extra []byte) (bool, []byte)
- func (m *MockAppchainMgr) CountAll(extra []byte) (bool, []byte)
- func (m *MockAppchainMgr) CountAvailable(extra []byte) (bool, []byte)
- func (m *MockAppchainMgr) DeleteAppchain(id string) (bool, []byte)
- func (m *MockAppchainMgr) EXPECT() *MockAppchainMgrMockRecorder
- func (m *MockAppchainMgr) FetchAuditRecords(id string) (bool, []byte)
- func (m *MockAppchainMgr) GovernancePre(id string, event governance.EventType, extra []byte) (interface{}, error)
- func (m *MockAppchainMgr) QueryById(id string, extra []byte) (interface{}, error)
- func (m *MockAppchainMgr) Register(chainInfo *appchain_mgr.Appchain) (bool, []byte)
- func (m *MockAppchainMgr) Update(updateInfo *appchain_mgr.Appchain) (bool, []byte)
- type MockAppchainMgrMockRecorder
- func (mr *MockAppchainMgrMockRecorder) All(extra interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) Audit(proposer, isApproved, desc interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) ChangeStatus(id, trigger, lastStatus, extra interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) CountAll(extra interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) CountAvailable(extra interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) DeleteAppchain(id interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) FetchAuditRecords(id interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) GovernancePre(id, event, extra interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) QueryById(id, extra interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) Register(chainInfo interface{}) *gomock.Call
- func (mr *MockAppchainMgrMockRecorder) Update(updateInfo interface{}) *gomock.Call
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 ¶ added in v1.3.0
func (m *MockAppchainMgr) All(extra []byte) (interface{}, error)
All 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 ¶ added in v1.3.0
func (m *MockAppchainMgr) CountAll(extra []byte) (bool, []byte)
CountAll mocks base method.
func (*MockAppchainMgr) CountAvailable ¶ added in v1.3.0
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 ¶
func (m *MockAppchainMgr) EXPECT() *MockAppchainMgrMockRecorder
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 ¶ added in v1.20.0
func (m *MockAppchainMgr) GovernancePre(id string, event governance.EventType, extra []byte) (interface{}, error)
GovernancePre mocks base method.
func (*MockAppchainMgr) QueryById ¶ added in v1.3.0
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 ¶ added in v1.3.0
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 ¶ added in v1.3.0
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 ¶ added in v1.3.0
func (mr *MockAppchainMgrMockRecorder) CountAll(extra interface{}) *gomock.Call
CountAll indicates an expected call of CountAll.
func (*MockAppchainMgrMockRecorder) CountAvailable ¶ added in v1.3.0
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 ¶ added in v1.20.0
func (mr *MockAppchainMgrMockRecorder) GovernancePre(id, event, extra interface{}) *gomock.Call
GovernancePre indicates an expected call of GovernancePre.
func (*MockAppchainMgrMockRecorder) QueryById ¶ added in v1.3.0
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 ¶ added in v1.3.0
func (mr *MockAppchainMgrMockRecorder) Update(updateInfo interface{}) *gomock.Call
Update indicates an expected call of Update.