mock

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIaaSClient

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

MockIaaSClient is a mock of IaaSClient interface

func NewMockIaaSClient

func NewMockIaaSClient(ctrl *gomock.Controller) *MockIaaSClient

NewMockIaaSClient creates a new mock instance

func (*MockIaaSClient) AddPrivateIP

func (m *MockIaaSClient) AddPrivateIP(ctx context.Context, eniID, privateIP string) (string, error)

AddPrivateIP mocks base method

func (*MockIaaSClient) DeletePrivateIP

func (m *MockIaaSClient) DeletePrivateIP(ctx context.Context, eniID, privateIP string) error

DeletePrivateIP mocks base method

func (*MockIaaSClient) EXPECT

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

func (*MockIaaSClient) GetInstanceType

func (m *MockIaaSClient) GetInstanceType() string

GetInstanceType mocks base method

func (*MockIaaSClient) GetMwepType

func (m *MockIaaSClient) GetMwepType() string

GetMwepType mocks base method

func (*MockIaaSClient) ListEnis

func (m *MockIaaSClient) ListEnis(ctx context.Context, vpcID, instanceID string) ([]client.EniResult, error)

ListEnis mocks base method

type MockIaaSClientMockRecorder

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

MockIaaSClientMockRecorder is the mock recorder for MockIaaSClient

func (*MockIaaSClientMockRecorder) AddPrivateIP

func (mr *MockIaaSClientMockRecorder) AddPrivateIP(ctx, eniID, privateIP interface{}) *gomock.Call

AddPrivateIP indicates an expected call of AddPrivateIP

func (*MockIaaSClientMockRecorder) DeletePrivateIP

func (mr *MockIaaSClientMockRecorder) DeletePrivateIP(ctx, eniID, privateIP interface{}) *gomock.Call

DeletePrivateIP indicates an expected call of DeletePrivateIP

func (*MockIaaSClientMockRecorder) GetInstanceType

func (mr *MockIaaSClientMockRecorder) GetInstanceType() *gomock.Call

GetInstanceType indicates an expected call of GetInstanceType

func (*MockIaaSClientMockRecorder) GetMwepType

func (mr *MockIaaSClientMockRecorder) GetMwepType() *gomock.Call

GetMwepType indicates an expected call of GetMwepType

func (*MockIaaSClientMockRecorder) ListEnis

func (mr *MockIaaSClientMockRecorder) ListEnis(ctx, vpcID, instanceID interface{}) *gomock.Call

ListEnis indicates an expected call of ListEnis

Jump to

Keyboard shortcuts

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