mockautoscaler

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoScaler

type AutoScaler struct {
	mock.Mock
}

AutoScaler is an autogenerated mock type for the AutoScaler type

func (*AutoScaler) Close

func (_m *AutoScaler) Close() error

Close provides a mock function with given fields:

func (*AutoScaler) InformFunctionReplicas

func (_m *AutoScaler) InformFunctionReplicas(function autoscaler.FunctionId, replicas int)

InformFunctionReplicas provides a mock function with given fields: function, replicas

func (*AutoScaler) Propose

func (_m *AutoScaler) Propose() map[autoscaler.FunctionId]int

Propose provides a mock function with given fields:

func (*AutoScaler) Run

func (_m *AutoScaler) Run()

Run provides a mock function with given fields:

func (*AutoScaler) SetDelayScaleDownPolicy

func (_m *AutoScaler) SetDelayScaleDownPolicy(_a0 func(autoscaler.FunctionId) time.Duration)

SetDelayScaleDownPolicy provides a mock function with given fields: _a0

func (*AutoScaler) SetMaxReplicasPolicy

func (_m *AutoScaler) SetMaxReplicasPolicy(_a0 func(autoscaler.FunctionId) int)

SetMaxReplicasPolicy provides a mock function with given fields: _a0

func (*AutoScaler) StartMonitoring

func (_m *AutoScaler) StartMonitoring(topic string, function autoscaler.FunctionId) error

StartMonitoring provides a mock function with given fields: topic, function

func (*AutoScaler) StopMonitoring

func (_m *AutoScaler) StopMonitoring(topic string, function autoscaler.FunctionId) error

StopMonitoring provides a mock function with given fields: topic, function

Jump to

Keyboard shortcuts

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