mocks

package
v0.0.0-...-a56079f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) CanScale

func (m *MockScaler) CanScale(arg0 client.Client, arg1 logr.Logger) (bool, error)

CanScale mocks base method.

func (*MockScaler) EXPECT

func (m *MockScaler) EXPECT() *MockScalerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockScaler) EnsureScaleDownNodes

func (m *MockScaler) EnsureScaleDownNodes(arg0 client.Client, arg1 drain.NodeDrainStrategy, arg2 logr.Logger) (bool, error)

EnsureScaleDownNodes mocks base method.

func (*MockScaler) EnsureScaleUpNodes

func (m *MockScaler) EnsureScaleUpNodes(arg0 client.Client, arg1 time.Duration, arg2 logr.Logger) (bool, error)

EnsureScaleUpNodes mocks base method.

type MockScalerMockRecorder

type MockScalerMockRecorder struct {
	// contains filtered or unexported fields
}

MockScalerMockRecorder is the mock recorder for MockScaler.

func (*MockScalerMockRecorder) CanScale

func (mr *MockScalerMockRecorder) CanScale(arg0, arg1 any) *gomock.Call

CanScale indicates an expected call of CanScale.

func (*MockScalerMockRecorder) EnsureScaleDownNodes

func (mr *MockScalerMockRecorder) EnsureScaleDownNodes(arg0, arg1, arg2 any) *gomock.Call

EnsureScaleDownNodes indicates an expected call of EnsureScaleDownNodes.

func (*MockScalerMockRecorder) EnsureScaleUpNodes

func (mr *MockScalerMockRecorder) EnsureScaleUpNodes(arg0, arg1, arg2 any) *gomock.Call

EnsureScaleUpNodes indicates an expected call of EnsureScaleUpNodes.

Jump to

Keyboard shortcuts

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