mock_services

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Run go generate to regenerate this mock.

Package mock_services is a generated GoMock package.

Package mock_services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockASGInterface added in v0.6.1

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

MockASGInterface is a mock of ASGInterface interface

func NewMockASGInterface added in v0.6.1

func NewMockASGInterface(ctrl *gomock.Controller) *MockASGInterface

NewMockASGInterface creates a new mock instance

func (*MockASGInterface) ASGIfExists added in v0.6.1

func (m *MockASGInterface) ASGIfExists(arg0 *string) (*v1alpha3.AutoScalingGroup, error)

ASGIfExists mocks base method

func (*MockASGInterface) CanStartASGInstanceRefresh added in v0.6.4

func (m *MockASGInterface) CanStartASGInstanceRefresh(arg0 *scope.MachinePoolScope) (bool, error)

CanStartASGInstanceRefresh mocks base method

func (*MockASGInterface) CreateASG added in v0.6.1

CreateASG mocks base method

func (*MockASGInterface) DeleteASGAndWait added in v0.6.1

func (m *MockASGInterface) DeleteASGAndWait(arg0 string) error

DeleteASGAndWait mocks base method

func (*MockASGInterface) EXPECT added in v0.6.1

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

func (*MockASGInterface) GetASGByName added in v0.6.1

GetASGByName mocks base method

func (*MockASGInterface) StartASGInstanceRefresh added in v0.6.4

func (m *MockASGInterface) StartASGInstanceRefresh(arg0 *scope.MachinePoolScope) error

StartASGInstanceRefresh mocks base method

func (*MockASGInterface) UpdateASG added in v0.6.1

func (m *MockASGInterface) UpdateASG(arg0 *scope.MachinePoolScope) error

UpdateASG mocks base method

func (*MockASGInterface) UpdateResourceTags added in v0.6.1

func (m *MockASGInterface) UpdateResourceTags(arg0 *string, arg1, arg2 map[string]string) error

UpdateResourceTags mocks base method

type MockASGInterfaceMockRecorder added in v0.6.1

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

MockASGInterfaceMockRecorder is the mock recorder for MockASGInterface

func (*MockASGInterfaceMockRecorder) ASGIfExists added in v0.6.1

func (mr *MockASGInterfaceMockRecorder) ASGIfExists(arg0 interface{}) *gomock.Call

ASGIfExists indicates an expected call of ASGIfExists

func (*MockASGInterfaceMockRecorder) CanStartASGInstanceRefresh added in v0.6.4

func (mr *MockASGInterfaceMockRecorder) CanStartASGInstanceRefresh(arg0 interface{}) *gomock.Call

CanStartASGInstanceRefresh indicates an expected call of CanStartASGInstanceRefresh

func (*MockASGInterfaceMockRecorder) CreateASG added in v0.6.1

func (mr *MockASGInterfaceMockRecorder) CreateASG(arg0 interface{}) *gomock.Call

CreateASG indicates an expected call of CreateASG

func (*MockASGInterfaceMockRecorder) DeleteASGAndWait added in v0.6.1

func (mr *MockASGInterfaceMockRecorder) DeleteASGAndWait(arg0 interface{}) *gomock.Call

DeleteASGAndWait indicates an expected call of DeleteASGAndWait

func (*MockASGInterfaceMockRecorder) GetASGByName added in v0.6.1

func (mr *MockASGInterfaceMockRecorder) GetASGByName(arg0 interface{}) *gomock.Call

GetASGByName indicates an expected call of GetASGByName

func (*MockASGInterfaceMockRecorder) StartASGInstanceRefresh added in v0.6.4

func (mr *MockASGInterfaceMockRecorder) StartASGInstanceRefresh(arg0 interface{}) *gomock.Call

StartASGInstanceRefresh indicates an expected call of StartASGInstanceRefresh

func (*MockASGInterfaceMockRecorder) UpdateASG added in v0.6.1

func (mr *MockASGInterfaceMockRecorder) UpdateASG(arg0 interface{}) *gomock.Call

UpdateASG indicates an expected call of UpdateASG

func (*MockASGInterfaceMockRecorder) UpdateResourceTags added in v0.6.1

func (mr *MockASGInterfaceMockRecorder) UpdateResourceTags(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateResourceTags indicates an expected call of UpdateResourceTags

type MockEC2MachineInterface

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

MockEC2MachineInterface is a mock of EC2MachineInterface interface

func NewMockEC2MachineInterface

func NewMockEC2MachineInterface(ctrl *gomock.Controller) *MockEC2MachineInterface

NewMockEC2MachineInterface creates a new mock instance

func (*MockEC2MachineInterface) CreateInstance

func (m *MockEC2MachineInterface) CreateInstance(arg0 *scope.MachineScope, arg1 []byte) (*v1alpha3.Instance, error)

CreateInstance mocks base method

func (*MockEC2MachineInterface) CreateLaunchTemplate added in v0.6.1

func (m *MockEC2MachineInterface) CreateLaunchTemplate(arg0 *scope.MachinePoolScope, arg1 *string, arg2 []byte) (string, error)

CreateLaunchTemplate mocks base method

func (*MockEC2MachineInterface) CreateLaunchTemplateVersion added in v0.6.1

func (m *MockEC2MachineInterface) CreateLaunchTemplateVersion(arg0 *scope.MachinePoolScope, arg1 *string, arg2 []byte) error

CreateLaunchTemplateVersion mocks base method

func (*MockEC2MachineInterface) DeleteLaunchTemplate added in v0.6.1

func (m *MockEC2MachineInterface) DeleteLaunchTemplate(arg0 string) error

DeleteLaunchTemplate mocks base method

func (*MockEC2MachineInterface) DetachSecurityGroupsFromNetworkInterface

func (m *MockEC2MachineInterface) DetachSecurityGroupsFromNetworkInterface(arg0 []string, arg1 string) error

DetachSecurityGroupsFromNetworkInterface mocks base method

func (*MockEC2MachineInterface) DiscoverLaunchTemplateAMI added in v0.6.1

func (m *MockEC2MachineInterface) DiscoverLaunchTemplateAMI(arg0 *scope.MachinePoolScope) (*string, error)

DiscoverLaunchTemplateAMI mocks base method

func (*MockEC2MachineInterface) EXPECT

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

func (*MockEC2MachineInterface) GetCoreSecurityGroups

func (m *MockEC2MachineInterface) GetCoreSecurityGroups(arg0 *scope.MachineScope) ([]string, error)

GetCoreSecurityGroups mocks base method

func (*MockEC2MachineInterface) GetInstanceSecurityGroups

func (m *MockEC2MachineInterface) GetInstanceSecurityGroups(arg0 string) (map[string][]string, error)

GetInstanceSecurityGroups mocks base method

func (*MockEC2MachineInterface) GetLaunchTemplate added in v0.6.1

func (m *MockEC2MachineInterface) GetLaunchTemplate(arg0 string) (*v1alpha30.AWSLaunchTemplate, error)

GetLaunchTemplate mocks base method

func (*MockEC2MachineInterface) GetRunningInstanceByTags

func (m *MockEC2MachineInterface) GetRunningInstanceByTags(arg0 *scope.MachineScope) (*v1alpha3.Instance, error)

GetRunningInstanceByTags mocks base method

func (*MockEC2MachineInterface) InstanceIfExists

func (m *MockEC2MachineInterface) InstanceIfExists(arg0 *string) (*v1alpha3.Instance, error)

InstanceIfExists mocks base method

func (*MockEC2MachineInterface) LaunchTemplateNeedsUpdate added in v0.6.1

func (m *MockEC2MachineInterface) LaunchTemplateNeedsUpdate(arg0 *scope.MachinePoolScope, arg1, arg2 *v1alpha30.AWSLaunchTemplate) (bool, error)

LaunchTemplateNeedsUpdate mocks base method

func (*MockEC2MachineInterface) TerminateInstance

func (m *MockEC2MachineInterface) TerminateInstance(arg0 string) error

TerminateInstance mocks base method

func (*MockEC2MachineInterface) TerminateInstanceAndWait

func (m *MockEC2MachineInterface) TerminateInstanceAndWait(arg0 string) error

TerminateInstanceAndWait mocks base method

func (*MockEC2MachineInterface) UpdateInstanceSecurityGroups

func (m *MockEC2MachineInterface) UpdateInstanceSecurityGroups(arg0 string, arg1 []string) error

UpdateInstanceSecurityGroups mocks base method

func (*MockEC2MachineInterface) UpdateResourceTags

func (m *MockEC2MachineInterface) UpdateResourceTags(arg0 *string, arg1, arg2 map[string]string) error

UpdateResourceTags mocks base method

type MockEC2MachineInterfaceMockRecorder

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

MockEC2MachineInterfaceMockRecorder is the mock recorder for MockEC2MachineInterface

func (*MockEC2MachineInterfaceMockRecorder) CreateInstance

func (mr *MockEC2MachineInterfaceMockRecorder) CreateInstance(arg0, arg1 interface{}) *gomock.Call

CreateInstance indicates an expected call of CreateInstance

func (*MockEC2MachineInterfaceMockRecorder) CreateLaunchTemplate added in v0.6.1

func (mr *MockEC2MachineInterfaceMockRecorder) CreateLaunchTemplate(arg0, arg1, arg2 interface{}) *gomock.Call

CreateLaunchTemplate indicates an expected call of CreateLaunchTemplate

func (*MockEC2MachineInterfaceMockRecorder) CreateLaunchTemplateVersion added in v0.6.1

func (mr *MockEC2MachineInterfaceMockRecorder) CreateLaunchTemplateVersion(arg0, arg1, arg2 interface{}) *gomock.Call

CreateLaunchTemplateVersion indicates an expected call of CreateLaunchTemplateVersion

func (*MockEC2MachineInterfaceMockRecorder) DeleteLaunchTemplate added in v0.6.1

func (mr *MockEC2MachineInterfaceMockRecorder) DeleteLaunchTemplate(arg0 interface{}) *gomock.Call

DeleteLaunchTemplate indicates an expected call of DeleteLaunchTemplate

func (*MockEC2MachineInterfaceMockRecorder) DetachSecurityGroupsFromNetworkInterface

func (mr *MockEC2MachineInterfaceMockRecorder) DetachSecurityGroupsFromNetworkInterface(arg0, arg1 interface{}) *gomock.Call

DetachSecurityGroupsFromNetworkInterface indicates an expected call of DetachSecurityGroupsFromNetworkInterface

func (*MockEC2MachineInterfaceMockRecorder) DiscoverLaunchTemplateAMI added in v0.6.1

func (mr *MockEC2MachineInterfaceMockRecorder) DiscoverLaunchTemplateAMI(arg0 interface{}) *gomock.Call

DiscoverLaunchTemplateAMI indicates an expected call of DiscoverLaunchTemplateAMI

func (*MockEC2MachineInterfaceMockRecorder) GetCoreSecurityGroups

func (mr *MockEC2MachineInterfaceMockRecorder) GetCoreSecurityGroups(arg0 interface{}) *gomock.Call

GetCoreSecurityGroups indicates an expected call of GetCoreSecurityGroups

func (*MockEC2MachineInterfaceMockRecorder) GetInstanceSecurityGroups

func (mr *MockEC2MachineInterfaceMockRecorder) GetInstanceSecurityGroups(arg0 interface{}) *gomock.Call

GetInstanceSecurityGroups indicates an expected call of GetInstanceSecurityGroups

func (*MockEC2MachineInterfaceMockRecorder) GetLaunchTemplate added in v0.6.1

func (mr *MockEC2MachineInterfaceMockRecorder) GetLaunchTemplate(arg0 interface{}) *gomock.Call

GetLaunchTemplate indicates an expected call of GetLaunchTemplate

func (*MockEC2MachineInterfaceMockRecorder) GetRunningInstanceByTags

func (mr *MockEC2MachineInterfaceMockRecorder) GetRunningInstanceByTags(arg0 interface{}) *gomock.Call

GetRunningInstanceByTags indicates an expected call of GetRunningInstanceByTags

func (*MockEC2MachineInterfaceMockRecorder) InstanceIfExists

func (mr *MockEC2MachineInterfaceMockRecorder) InstanceIfExists(arg0 interface{}) *gomock.Call

InstanceIfExists indicates an expected call of InstanceIfExists

func (*MockEC2MachineInterfaceMockRecorder) LaunchTemplateNeedsUpdate added in v0.6.1

func (mr *MockEC2MachineInterfaceMockRecorder) LaunchTemplateNeedsUpdate(arg0, arg1, arg2 interface{}) *gomock.Call

LaunchTemplateNeedsUpdate indicates an expected call of LaunchTemplateNeedsUpdate

func (*MockEC2MachineInterfaceMockRecorder) TerminateInstance

func (mr *MockEC2MachineInterfaceMockRecorder) TerminateInstance(arg0 interface{}) *gomock.Call

TerminateInstance indicates an expected call of TerminateInstance

func (*MockEC2MachineInterfaceMockRecorder) TerminateInstanceAndWait

func (mr *MockEC2MachineInterfaceMockRecorder) TerminateInstanceAndWait(arg0 interface{}) *gomock.Call

TerminateInstanceAndWait indicates an expected call of TerminateInstanceAndWait

func (*MockEC2MachineInterfaceMockRecorder) UpdateInstanceSecurityGroups

func (mr *MockEC2MachineInterfaceMockRecorder) UpdateInstanceSecurityGroups(arg0, arg1 interface{}) *gomock.Call

UpdateInstanceSecurityGroups indicates an expected call of UpdateInstanceSecurityGroups

func (*MockEC2MachineInterfaceMockRecorder) UpdateResourceTags

func (mr *MockEC2MachineInterfaceMockRecorder) UpdateResourceTags(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateResourceTags indicates an expected call of UpdateResourceTags

type MockSecretInterface added in v0.6.1

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

MockSecretInterface is a mock of SecretInterface interface

func NewMockSecretInterface added in v0.6.1

func NewMockSecretInterface(ctrl *gomock.Controller) *MockSecretInterface

NewMockSecretInterface creates a new mock instance

func (*MockSecretInterface) Create added in v0.6.1

func (m *MockSecretInterface) Create(arg0 *scope.MachineScope, arg1 []byte) (string, int32, error)

Create mocks base method

func (*MockSecretInterface) Delete added in v0.6.1

func (m *MockSecretInterface) Delete(arg0 *scope.MachineScope) error

Delete mocks base method

func (*MockSecretInterface) EXPECT added in v0.6.1

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

func (*MockSecretInterface) UserData added in v0.6.1

func (m *MockSecretInterface) UserData(arg0 string, arg1 int32, arg2 string, arg3 []scope.ServiceEndpoint) ([]byte, error)

UserData mocks base method

type MockSecretInterfaceMockRecorder added in v0.6.1

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

MockSecretInterfaceMockRecorder is the mock recorder for MockSecretInterface

func (*MockSecretInterfaceMockRecorder) Create added in v0.6.1

func (mr *MockSecretInterfaceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockSecretInterfaceMockRecorder) Delete added in v0.6.1

func (mr *MockSecretInterfaceMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSecretInterfaceMockRecorder) UserData added in v0.6.1

func (mr *MockSecretInterfaceMockRecorder) UserData(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UserData indicates an expected call of UserData

Jump to

Keyboard shortcuts

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