client

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockECSClient

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

MockECSClient is a mock of ECSClient interface.

func NewMockECSClient

func NewMockECSClient(ctrl *gomock.Controller) *MockECSClient

NewMockECSClient creates a new mock instance.

func (*MockECSClient) DeleteDisk added in v0.6.0

func (m *MockECSClient) DeleteDisk(request *ecs.DeleteDiskRequest) (*ecs.DeleteDiskResponse, error)

DeleteDisk mocks base method.

func (*MockECSClient) DeleteInstance

func (m *MockECSClient) DeleteInstance(request *ecs.DeleteInstanceRequest) (*ecs.DeleteInstanceResponse, error)

DeleteInstance mocks base method.

func (*MockECSClient) DeleteNetworkInterface added in v0.6.0

DeleteNetworkInterface mocks base method.

func (*MockECSClient) DescribeDisks added in v0.6.0

func (m *MockECSClient) DescribeDisks(request *ecs.DescribeDisksRequest) (*ecs.DescribeDisksResponse, error)

DescribeDisks mocks base method.

func (*MockECSClient) DescribeInstances

func (m *MockECSClient) DescribeInstances(request *ecs.DescribeInstancesRequest) (*ecs.DescribeInstancesResponse, error)

DescribeInstances mocks base method.

func (*MockECSClient) DescribeNetworkInterfaces added in v0.6.0

DescribeNetworkInterfaces mocks base method.

func (*MockECSClient) EXPECT

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

func (*MockECSClient) RunInstances

func (m *MockECSClient) RunInstances(request *ecs.RunInstancesRequest) (*ecs.RunInstancesResponse, error)

RunInstances mocks base method.

type MockECSClientMockRecorder

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

MockECSClientMockRecorder is the mock recorder for MockECSClient.

func (*MockECSClientMockRecorder) DeleteDisk added in v0.6.0

func (mr *MockECSClientMockRecorder) DeleteDisk(request interface{}) *gomock.Call

DeleteDisk indicates an expected call of DeleteDisk.

func (*MockECSClientMockRecorder) DeleteInstance

func (mr *MockECSClientMockRecorder) DeleteInstance(request interface{}) *gomock.Call

DeleteInstance indicates an expected call of DeleteInstance.

func (*MockECSClientMockRecorder) DeleteNetworkInterface added in v0.6.0

func (mr *MockECSClientMockRecorder) DeleteNetworkInterface(request interface{}) *gomock.Call

DeleteNetworkInterface indicates an expected call of DeleteNetworkInterface.

func (*MockECSClientMockRecorder) DescribeDisks added in v0.6.0

func (mr *MockECSClientMockRecorder) DescribeDisks(request interface{}) *gomock.Call

DescribeDisks indicates an expected call of DescribeDisks.

func (*MockECSClientMockRecorder) DescribeInstances

func (mr *MockECSClientMockRecorder) DescribeInstances(request interface{}) *gomock.Call

DescribeInstances indicates an expected call of DescribeInstances.

func (*MockECSClientMockRecorder) DescribeNetworkInterfaces added in v0.6.0

func (mr *MockECSClientMockRecorder) DescribeNetworkInterfaces(request interface{}) *gomock.Call

DescribeNetworkInterfaces indicates an expected call of DescribeNetworkInterfaces.

func (*MockECSClientMockRecorder) RunInstances

func (mr *MockECSClientMockRecorder) RunInstances(request interface{}) *gomock.Call

RunInstances indicates an expected call of RunInstances.

type MockPluginSPI added in v0.6.0

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

MockPluginSPI is a mock of PluginSPI interface.

func NewMockPluginSPI added in v0.6.0

func NewMockPluginSPI(ctrl *gomock.Controller) *MockPluginSPI

NewMockPluginSPI creates a new mock instance.

func (*MockPluginSPI) EXPECT added in v0.6.0

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

func (*MockPluginSPI) NewDeleteInstanceRequest added in v0.6.0

func (m *MockPluginSPI) NewDeleteInstanceRequest(instanceID string, force bool) (*ecs.DeleteInstanceRequest, error)

NewDeleteInstanceRequest mocks base method.

func (*MockPluginSPI) NewDescribeInstancesRequest added in v0.6.0

func (m *MockPluginSPI) NewDescribeInstancesRequest(machineName, instanceID string, tags map[string]string) (*ecs.DescribeInstancesRequest, error)

NewDescribeInstancesRequest mocks base method.

func (*MockPluginSPI) NewECSClient added in v0.6.0

func (m *MockPluginSPI) NewECSClient(secret *v1.Secret, region string) (spi.ECSClient, error)

NewECSClient mocks base method.

func (*MockPluginSPI) NewInstanceDataDisks added in v0.6.0

func (m *MockPluginSPI) NewInstanceDataDisks(disks []api.AlicloudDataDisk, machineName string) []ecs.RunInstancesDataDisk

NewInstanceDataDisks mocks base method.

func (*MockPluginSPI) NewRunInstanceTags added in v0.6.0

func (m *MockPluginSPI) NewRunInstanceTags(tags map[string]string) ([]ecs.RunInstancesTag, error)

NewRunInstanceTags mocks base method.

func (*MockPluginSPI) NewRunInstancesRequest added in v0.6.0

func (m *MockPluginSPI) NewRunInstancesRequest(providerSpec *api.ProviderSpec, machineName string, userData []byte) (*ecs.RunInstancesRequest, error)

NewRunInstancesRequest mocks base method.

type MockPluginSPIMockRecorder added in v0.6.0

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

MockPluginSPIMockRecorder is the mock recorder for MockPluginSPI.

func (*MockPluginSPIMockRecorder) NewDeleteInstanceRequest added in v0.6.0

func (mr *MockPluginSPIMockRecorder) NewDeleteInstanceRequest(instanceID, force interface{}) *gomock.Call

NewDeleteInstanceRequest indicates an expected call of NewDeleteInstanceRequest.

func (*MockPluginSPIMockRecorder) NewDescribeInstancesRequest added in v0.6.0

func (mr *MockPluginSPIMockRecorder) NewDescribeInstancesRequest(machineName, instanceID, tags interface{}) *gomock.Call

NewDescribeInstancesRequest indicates an expected call of NewDescribeInstancesRequest.

func (*MockPluginSPIMockRecorder) NewECSClient added in v0.6.0

func (mr *MockPluginSPIMockRecorder) NewECSClient(secret, region interface{}) *gomock.Call

NewECSClient indicates an expected call of NewECSClient.

func (*MockPluginSPIMockRecorder) NewInstanceDataDisks added in v0.6.0

func (mr *MockPluginSPIMockRecorder) NewInstanceDataDisks(disks, machineName interface{}) *gomock.Call

NewInstanceDataDisks indicates an expected call of NewInstanceDataDisks.

func (*MockPluginSPIMockRecorder) NewRunInstanceTags added in v0.6.0

func (mr *MockPluginSPIMockRecorder) NewRunInstanceTags(tags interface{}) *gomock.Call

NewRunInstanceTags indicates an expected call of NewRunInstanceTags.

func (*MockPluginSPIMockRecorder) NewRunInstancesRequest added in v0.6.0

func (mr *MockPluginSPIMockRecorder) NewRunInstancesRequest(providerSpec, machineName, userData interface{}) *gomock.Call

NewRunInstancesRequest indicates an expected call of NewRunInstancesRequest.

Jump to

Keyboard shortcuts

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