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 MockFactory ¶
type MockFactory struct {
// contains filtered or unexported fields
}
MockFactory is a mock of Factory interface
func NewMockFactory ¶
func NewMockFactory(ctrl *gomock.Controller) *MockFactory
NewMockFactory creates a new mock instance
func (*MockFactory) EXPECT ¶
func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFactory) New ¶
func (m *MockFactory) New(log *logrus.Entry, ssc compute0.VirtualMachineScaleSetsClient, vmc compute0.VirtualMachineScaleSetVMsClient, kubeclient kubeclient.Interface, resourceGroup string, ss *compute.VirtualMachineScaleSet, testConfig api.TestConfig, sshkey *rsa.PrivateKey) scaler.Scaler
New mocks base method
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory
func (*MockFactoryMockRecorder) New ¶
func (mr *MockFactoryMockRecorder) New(log, ssc, vmc, kubeclient, resourceGroup, ss, testConfig, sshkey interface{}) *gomock.Call
New indicates an expected call of New
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) Scale ¶
func (m *MockScaler) Scale(ctx context.Context, count int64) *api.PluginError
Scale mocks base method
type MockScalerMockRecorder ¶
type MockScalerMockRecorder struct {
// contains filtered or unexported fields
}
MockScalerMockRecorder is the mock recorder for MockScaler
func (*MockScalerMockRecorder) Scale ¶
func (mr *MockScalerMockRecorder) Scale(ctx, count interface{}) *gomock.Call
Scale indicates an expected call of Scale
Click to show internal directories.
Click to hide internal directories.