mock_scaler

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_scaler is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockScalingTarget

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

MockScalingTarget is a mock of ScalingTarget interface

func NewMockScalingTarget

func NewMockScalingTarget(ctrl *gomock.Controller) *MockScalingTarget

NewMockScalingTarget creates a new mock instance

func (*MockScalingTarget) AdjustScalingObjectCount added in v0.0.9

func (m *MockScalingTarget) AdjustScalingObjectCount(scalingObject string, min, max, from, to uint) error

AdjustScalingObjectCount mocks base method

func (*MockScalingTarget) EXPECT

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

func (*MockScalingTarget) GetScalingObjectCount

func (m *MockScalingTarget) GetScalingObjectCount(scalingObject string) (uint, error)

GetScalingObjectCount mocks base method

func (*MockScalingTarget) IsScalingObjectDead

func (m *MockScalingTarget) IsScalingObjectDead(scalingObject string) (bool, error)

IsScalingObjectDead mocks base method

func (*MockScalingTarget) String added in v0.0.9

func (m *MockScalingTarget) String() string

String mocks base method

type MockScalingTargetMockRecorder

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

MockScalingTargetMockRecorder is the mock recorder for MockScalingTarget

func (*MockScalingTargetMockRecorder) AdjustScalingObjectCount added in v0.0.9

func (mr *MockScalingTargetMockRecorder) AdjustScalingObjectCount(scalingObject, min, max, from, to interface{}) *gomock.Call

AdjustScalingObjectCount indicates an expected call of AdjustScalingObjectCount

func (*MockScalingTargetMockRecorder) GetScalingObjectCount

func (mr *MockScalingTargetMockRecorder) GetScalingObjectCount(scalingObject interface{}) *gomock.Call

GetScalingObjectCount indicates an expected call of GetScalingObjectCount

func (*MockScalingTargetMockRecorder) IsScalingObjectDead

func (mr *MockScalingTargetMockRecorder) IsScalingObjectDead(scalingObject interface{}) *gomock.Call

IsScalingObjectDead indicates an expected call of IsScalingObjectDead

func (*MockScalingTargetMockRecorder) String added in v0.0.9

String indicates an expected call of String

Jump to

Keyboard shortcuts

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