Documentation
¶
Overview ¶
Package mock_sokar is a generated GoMock package.
Package mock_sokar is a generated GoMock package.
Package mock_sokar is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCapacityPlanner ¶
type MockCapacityPlanner struct {
// contains filtered or unexported fields
}
MockCapacityPlanner is a mock of CapacityPlanner interface
func NewMockCapacityPlanner ¶
func NewMockCapacityPlanner(ctrl *gomock.Controller) *MockCapacityPlanner
NewMockCapacityPlanner creates a new mock instance
func (*MockCapacityPlanner) EXPECT ¶
func (m *MockCapacityPlanner) EXPECT() *MockCapacityPlannerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCapacityPlanner) IsCoolingDown ¶
func (m *MockCapacityPlanner) IsCoolingDown(timeOfLastScale time.Time, scaleDown bool) (bool, time.Duration)
IsCoolingDown mocks base method
type MockCapacityPlannerMockRecorder ¶
type MockCapacityPlannerMockRecorder struct {
// contains filtered or unexported fields
}
MockCapacityPlannerMockRecorder is the mock recorder for MockCapacityPlanner
func (*MockCapacityPlannerMockRecorder) IsCoolingDown ¶
func (mr *MockCapacityPlannerMockRecorder) IsCoolingDown(timeOfLastScale, scaleDown interface{}) *gomock.Call
IsCoolingDown indicates an expected call of IsCoolingDown
func (*MockCapacityPlannerMockRecorder) Plan ¶
func (mr *MockCapacityPlannerMockRecorder) Plan(scaleFactor, currentScale interface{}) *gomock.Call
Plan indicates an expected call of Plan
type MockScaleEventEmitter ¶
type MockScaleEventEmitter struct {
// contains filtered or unexported fields
}
MockScaleEventEmitter is a mock of ScaleEventEmitter interface
func NewMockScaleEventEmitter ¶
func NewMockScaleEventEmitter(ctrl *gomock.Controller) *MockScaleEventEmitter
NewMockScaleEventEmitter creates a new mock instance
func (*MockScaleEventEmitter) EXPECT ¶
func (m *MockScaleEventEmitter) EXPECT() *MockScaleEventEmitterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScaleEventEmitter) Subscribe ¶
func (m *MockScaleEventEmitter) Subscribe(eventChannel chan iface.ScaleEvent)
Subscribe mocks base method
type MockScaleEventEmitterMockRecorder ¶
type MockScaleEventEmitterMockRecorder struct {
// contains filtered or unexported fields
}
MockScaleEventEmitterMockRecorder is the mock recorder for MockScaleEventEmitter
func (*MockScaleEventEmitterMockRecorder) Subscribe ¶
func (mr *MockScaleEventEmitterMockRecorder) Subscribe(eventChannel interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe
type MockScaler ¶
type MockScaler struct {
// contains filtered or unexported fields
}
MockScaler is a mock of Scaler interface
func NewMockScaler ¶
func NewMockScaler(ctrl *gomock.Controller) *MockScaler
NewMockScaler creates a new mock instance
func (*MockScaler) EXPECT ¶
func (m *MockScaler) EXPECT() *MockScalerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScaler) GetCount ¶
func (m *MockScaler) GetCount() (uint, error)
GetCount mocks base method
func (*MockScaler) GetTimeOfLastScaleAction ¶ added in v0.0.10
func (m *MockScaler) GetTimeOfLastScaleAction() time.Time
GetTimeOfLastScaleAction mocks base method
type MockScalerMockRecorder ¶
type MockScalerMockRecorder struct {
// contains filtered or unexported fields
}
MockScalerMockRecorder is the mock recorder for MockScaler
func (*MockScalerMockRecorder) GetCount ¶
func (mr *MockScalerMockRecorder) GetCount() *gomock.Call
GetCount indicates an expected call of GetCount
func (*MockScalerMockRecorder) GetTimeOfLastScaleAction ¶ added in v0.0.10
func (mr *MockScalerMockRecorder) GetTimeOfLastScaleAction() *gomock.Call
GetTimeOfLastScaleAction indicates an expected call of GetTimeOfLastScaleAction
func (*MockScalerMockRecorder) ScaleTo ¶
func (mr *MockScalerMockRecorder) ScaleTo(count, force interface{}) *gomock.Call
ScaleTo indicates an expected call of ScaleTo