Documentation ¶
Overview ¶
Package mock_executor is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScaleExecutor ¶
type MockScaleExecutor struct {
// contains filtered or unexported fields
}
MockScaleExecutor is a mock of ScaleExecutor interface.
func NewMockScaleExecutor ¶
func NewMockScaleExecutor(ctrl *gomock.Controller) *MockScaleExecutor
NewMockScaleExecutor creates a new mock instance.
func (*MockScaleExecutor) EXPECT ¶
func (m *MockScaleExecutor) EXPECT() *MockScaleExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScaleExecutor) RequestJobScale ¶
func (m *MockScaleExecutor) RequestJobScale(ctx context.Context, scaledJob *v1alpha1.ScaledJob, isActive bool, scaleTo, maxScale int64)
RequestJobScale mocks base method.
func (*MockScaleExecutor) RequestScale ¶
func (m *MockScaleExecutor) RequestScale(ctx context.Context, scaledObject *v1alpha1.ScaledObject, isActive, isError bool)
RequestScale mocks base method.
type MockScaleExecutorMockRecorder ¶
type MockScaleExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockScaleExecutorMockRecorder is the mock recorder for MockScaleExecutor.
func (*MockScaleExecutorMockRecorder) RequestJobScale ¶
func (mr *MockScaleExecutorMockRecorder) RequestJobScale(ctx, scaledJob, isActive, scaleTo, maxScale interface{}) *gomock.Call
RequestJobScale indicates an expected call of RequestJobScale.
func (*MockScaleExecutorMockRecorder) RequestScale ¶
func (mr *MockScaleExecutorMockRecorder) RequestScale(ctx, scaledObject, isActive, isError interface{}) *gomock.Call
RequestScale indicates an expected call of RequestScale.
Click to show internal directories.
Click to hide internal directories.