mock_services

package
v0.5.5-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 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) DetachSecurityGroupsFromNetworkInterface

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

DetachSecurityGroupsFromNetworkInterface 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) 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) 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) DetachSecurityGroupsFromNetworkInterface

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

DetachSecurityGroupsFromNetworkInterface indicates an expected call of DetachSecurityGroupsFromNetworkInterface

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) 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) 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 MockSecretsManagerInterface

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

MockSecretsManagerInterface is a mock of SecretsManagerInterface interface

func NewMockSecretsManagerInterface

func NewMockSecretsManagerInterface(ctrl *gomock.Controller) *MockSecretsManagerInterface

NewMockSecretsManagerInterface creates a new mock instance

func (*MockSecretsManagerInterface) Create

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

Create mocks base method

func (*MockSecretsManagerInterface) Delete

Delete mocks base method

func (*MockSecretsManagerInterface) EXPECT

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

type MockSecretsManagerInterfaceMockRecorder

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

MockSecretsManagerInterfaceMockRecorder is the mock recorder for MockSecretsManagerInterface

func (*MockSecretsManagerInterfaceMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockSecretsManagerInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete

Jump to

Keyboard shortcuts

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