mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* Move models and other shareable code to pkg/domain and add own go.mod * Update all references to use pkg/domain paths * Fix generated file * Ensure pkg/domain tests are run by just tests * Use new models path in connector templates * Copy local pkg/domain in dockerfile * Ensure pkg/domain is subject to go generate
93 lines
3.2 KiB
Go
93 lines
3.2 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: plugin_expansion.go
|
|
//
|
|
// Generated by this command:
|
|
//
|
|
// mockgen -source plugin_expansion.go -destination plugin_expansion_generated.go -package models
|
|
//
|
|
|
|
// Package models is a generated GoMock package.
|
|
package models
|
|
|
|
import (
|
|
reflect "reflect"
|
|
|
|
gomock "go.uber.org/mock/gomock"
|
|
)
|
|
|
|
// MockPluginWithBootstrapOnInstall is a mock of PluginWithBootstrapOnInstall interface.
|
|
type MockPluginWithBootstrapOnInstall struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockPluginWithBootstrapOnInstallMockRecorder
|
|
isgomock struct{}
|
|
}
|
|
|
|
// MockPluginWithBootstrapOnInstallMockRecorder is the mock recorder for MockPluginWithBootstrapOnInstall.
|
|
type MockPluginWithBootstrapOnInstallMockRecorder struct {
|
|
mock *MockPluginWithBootstrapOnInstall
|
|
}
|
|
|
|
// NewMockPluginWithBootstrapOnInstall creates a new mock instance.
|
|
func NewMockPluginWithBootstrapOnInstall(ctrl *gomock.Controller) *MockPluginWithBootstrapOnInstall {
|
|
mock := &MockPluginWithBootstrapOnInstall{ctrl: ctrl}
|
|
mock.recorder = &MockPluginWithBootstrapOnInstallMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockPluginWithBootstrapOnInstall) EXPECT() *MockPluginWithBootstrapOnInstallMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// BootstrapOnInstall mocks base method.
|
|
func (m *MockPluginWithBootstrapOnInstall) BootstrapOnInstall() []TaskType {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "BootstrapOnInstall")
|
|
ret0, _ := ret[0].([]TaskType)
|
|
return ret0
|
|
}
|
|
|
|
// BootstrapOnInstall indicates an expected call of BootstrapOnInstall.
|
|
func (mr *MockPluginWithBootstrapOnInstallMockRecorder) BootstrapOnInstall() *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BootstrapOnInstall", reflect.TypeOf((*MockPluginWithBootstrapOnInstall)(nil).BootstrapOnInstall))
|
|
}
|
|
|
|
// MockPluginWithPayoutThrottle is a mock of PluginWithPayoutThrottle interface.
|
|
type MockPluginWithPayoutThrottle struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockPluginWithPayoutThrottleMockRecorder
|
|
isgomock struct{}
|
|
}
|
|
|
|
// MockPluginWithPayoutThrottleMockRecorder is the mock recorder for MockPluginWithPayoutThrottle.
|
|
type MockPluginWithPayoutThrottleMockRecorder struct {
|
|
mock *MockPluginWithPayoutThrottle
|
|
}
|
|
|
|
// NewMockPluginWithPayoutThrottle creates a new mock instance.
|
|
func NewMockPluginWithPayoutThrottle(ctrl *gomock.Controller) *MockPluginWithPayoutThrottle {
|
|
mock := &MockPluginWithPayoutThrottle{ctrl: ctrl}
|
|
mock.recorder = &MockPluginWithPayoutThrottleMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockPluginWithPayoutThrottle) EXPECT() *MockPluginWithPayoutThrottleMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// PayoutsPerSecond mocks base method.
|
|
func (m *MockPluginWithPayoutThrottle) PayoutsPerSecond() float64 {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "PayoutsPerSecond")
|
|
ret0, _ := ret[0].(float64)
|
|
return ret0
|
|
}
|
|
|
|
// PayoutsPerSecond indicates an expected call of PayoutsPerSecond.
|
|
func (mr *MockPluginWithPayoutThrottleMockRecorder) PayoutsPerSecond() *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PayoutsPerSecond", reflect.TypeOf((*MockPluginWithPayoutThrottle)(nil).PayoutsPerSecond))
|
|
}
|