mock_executor

package
v2.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL