Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockScaler
- func (m *MockScaler) CanScale(arg0 client.Client, arg1 logr.Logger) (bool, error)
- func (m *MockScaler) EXPECT() *MockScalerMockRecorder
- func (m *MockScaler) EnsureScaleDownNodes(arg0 client.Client, arg1 drain.NodeDrainStrategy, arg2 logr.Logger) (bool, error)
- func (m *MockScaler) EnsureScaleUpNodes(arg0 client.Client, arg1 time.Duration, arg2 logr.Logger) (bool, error)
- type MockScalerMockRecorder
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) 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.
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.
Click to show internal directories.
Click to hide internal directories.