Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAtxProvider
- type MockAtxProviderMockRecorder
- type MockNetworkIdentity
- type MockNetworkIdentityMockRecorder
- type MockPostSetupProvider
- func (m *MockPostSetupProvider) Benchmark(arg0 activation.PostSetupComputeProvider) (int, error)
- func (m *MockPostSetupProvider) ComputeProviders() []activation.PostSetupComputeProvider
- func (m *MockPostSetupProvider) Config() activation.PostConfig
- func (m *MockPostSetupProvider) EXPECT() *MockPostSetupProviderMockRecorder
- func (m *MockPostSetupProvider) Status() *activation.PostSetupStatus
- type MockPostSetupProviderMockRecorder
- type MockSyncer
- type MockSyncerMockRecorder
- type MockTxValidator
- type MockTxValidatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAtxProvider ¶
type MockAtxProvider struct {
// contains filtered or unexported fields
}
MockAtxProvider is a mock of AtxProvider interface.
func NewMockAtxProvider ¶
func NewMockAtxProvider(ctrl *gomock.Controller) *MockAtxProvider
NewMockAtxProvider creates a new mock instance.
func (*MockAtxProvider) EXPECT ¶
func (m *MockAtxProvider) EXPECT() *MockAtxProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAtxProvider) GetFullAtx ¶
func (m *MockAtxProvider) GetFullAtx(arg0 types.ATXID) (*types.VerifiedActivationTx, error)
GetFullAtx mocks base method.
type MockAtxProviderMockRecorder ¶
type MockAtxProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockAtxProviderMockRecorder is the mock recorder for MockAtxProvider.
func (*MockAtxProviderMockRecorder) GetFullAtx ¶
func (mr *MockAtxProviderMockRecorder) GetFullAtx(arg0 interface{}) *gomock.Call
GetFullAtx indicates an expected call of GetFullAtx.
type MockNetworkIdentity ¶
type MockNetworkIdentity struct {
// contains filtered or unexported fields
}
MockNetworkIdentity is a mock of NetworkIdentity interface.
func NewMockNetworkIdentity ¶
func NewMockNetworkIdentity(ctrl *gomock.Controller) *MockNetworkIdentity
NewMockNetworkIdentity creates a new mock instance.
func (*MockNetworkIdentity) EXPECT ¶
func (m *MockNetworkIdentity) EXPECT() *MockNetworkIdentityMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNetworkIdentityMockRecorder ¶
type MockNetworkIdentityMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkIdentityMockRecorder is the mock recorder for MockNetworkIdentity.
func (*MockNetworkIdentityMockRecorder) ID ¶
func (mr *MockNetworkIdentityMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
type MockPostSetupProvider ¶
type MockPostSetupProvider struct {
// contains filtered or unexported fields
}
MockPostSetupProvider is a mock of PostSetupProvider interface.
func NewMockPostSetupProvider ¶
func NewMockPostSetupProvider(ctrl *gomock.Controller) *MockPostSetupProvider
NewMockPostSetupProvider creates a new mock instance.
func (*MockPostSetupProvider) Benchmark ¶
func (m *MockPostSetupProvider) Benchmark(arg0 activation.PostSetupComputeProvider) (int, error)
Benchmark mocks base method.
func (*MockPostSetupProvider) ComputeProviders ¶
func (m *MockPostSetupProvider) ComputeProviders() []activation.PostSetupComputeProvider
ComputeProviders mocks base method.
func (*MockPostSetupProvider) Config ¶
func (m *MockPostSetupProvider) Config() activation.PostConfig
Config mocks base method.
func (*MockPostSetupProvider) EXPECT ¶
func (m *MockPostSetupProvider) EXPECT() *MockPostSetupProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPostSetupProvider) Status ¶
func (m *MockPostSetupProvider) Status() *activation.PostSetupStatus
Status mocks base method.
type MockPostSetupProviderMockRecorder ¶
type MockPostSetupProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockPostSetupProviderMockRecorder is the mock recorder for MockPostSetupProvider.
func (*MockPostSetupProviderMockRecorder) Benchmark ¶
func (mr *MockPostSetupProviderMockRecorder) Benchmark(arg0 interface{}) *gomock.Call
Benchmark indicates an expected call of Benchmark.
func (*MockPostSetupProviderMockRecorder) ComputeProviders ¶
func (mr *MockPostSetupProviderMockRecorder) ComputeProviders() *gomock.Call
ComputeProviders indicates an expected call of ComputeProviders.
func (*MockPostSetupProviderMockRecorder) Config ¶
func (mr *MockPostSetupProviderMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockPostSetupProviderMockRecorder) Status ¶
func (mr *MockPostSetupProviderMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
type MockSyncer ¶
type MockSyncer struct {
// contains filtered or unexported fields
}
MockSyncer is a mock of Syncer interface.
func NewMockSyncer ¶
func NewMockSyncer(ctrl *gomock.Controller) *MockSyncer
NewMockSyncer creates a new mock instance.
func (*MockSyncer) EXPECT ¶
func (m *MockSyncer) EXPECT() *MockSyncerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSyncer) IsSynced ¶
func (m *MockSyncer) IsSynced(arg0 context.Context) bool
IsSynced mocks base method.
func (*MockSyncer) Start ¶
func (m *MockSyncer) Start(arg0 context.Context)
Start mocks base method.
type MockSyncerMockRecorder ¶
type MockSyncerMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncerMockRecorder is the mock recorder for MockSyncer.
func (*MockSyncerMockRecorder) IsSynced ¶
func (mr *MockSyncerMockRecorder) IsSynced(arg0 interface{}) *gomock.Call
IsSynced indicates an expected call of IsSynced.
func (*MockSyncerMockRecorder) Start ¶
func (mr *MockSyncerMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
type MockTxValidator ¶
type MockTxValidator struct {
// contains filtered or unexported fields
}
MockTxValidator is a mock of TxValidator interface.
func NewMockTxValidator ¶
func NewMockTxValidator(ctrl *gomock.Controller) *MockTxValidator
NewMockTxValidator creates a new mock instance.
func (*MockTxValidator) EXPECT ¶
func (m *MockTxValidator) EXPECT() *MockTxValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTxValidator) VerifyAndCacheTx ¶
func (m *MockTxValidator) VerifyAndCacheTx(arg0 context.Context, arg1 []byte) error
VerifyAndCacheTx mocks base method.
type MockTxValidatorMockRecorder ¶
type MockTxValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockTxValidatorMockRecorder is the mock recorder for MockTxValidator.
func (*MockTxValidatorMockRecorder) VerifyAndCacheTx ¶
func (mr *MockTxValidatorMockRecorder) VerifyAndCacheTx(arg0, arg1 interface{}) *gomock.Call
VerifyAndCacheTx indicates an expected call of VerifyAndCacheTx.