mock_ec2

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_ec2 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEC2Instance

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

MockEC2Instance is a mock of EC2Instance interface.

func NewMockEC2Instance

func NewMockEC2Instance(ctrl *gomock.Controller) *MockEC2Instance

NewMockEC2Instance creates a new mock instance.

func (*MockEC2Instance) CurrentInstanceSecurityGroups added in v1.1.6

func (m *MockEC2Instance) CurrentInstanceSecurityGroups() []string

CurrentInstanceSecurityGroups mocks base method.

func (*MockEC2Instance) EXPECT

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

func (*MockEC2Instance) FreeDeviceIndex

func (m *MockEC2Instance) FreeDeviceIndex(arg0 int64)

FreeDeviceIndex mocks base method.

func (*MockEC2Instance) GetHighestUnusedDeviceIndex

func (m *MockEC2Instance) GetHighestUnusedDeviceIndex() (int64, error)

GetHighestUnusedDeviceIndex mocks base method.

func (*MockEC2Instance) InstanceID

func (m *MockEC2Instance) InstanceID() string

InstanceID mocks base method.

func (*MockEC2Instance) LoadDetails

func (m *MockEC2Instance) LoadDetails(arg0 api.EC2APIHelper) error

LoadDetails mocks base method.

func (*MockEC2Instance) Name

func (m *MockEC2Instance) Name() string

Name mocks base method.

func (*MockEC2Instance) Os

func (m *MockEC2Instance) Os() string

Os mocks base method.

func (*MockEC2Instance) PrimaryNetworkInterfaceID

func (m *MockEC2Instance) PrimaryNetworkInterfaceID() string

PrimaryNetworkInterfaceID mocks base method.

func (*MockEC2Instance) SetNewCustomNetworkingSpec

func (m *MockEC2Instance) SetNewCustomNetworkingSpec(arg0 string, arg1 []string)

SetNewCustomNetworkingSpec mocks base method.

func (*MockEC2Instance) SubnetCidrBlock

func (m *MockEC2Instance) SubnetCidrBlock() string

SubnetCidrBlock mocks base method.

func (*MockEC2Instance) SubnetID

func (m *MockEC2Instance) SubnetID() string

SubnetID mocks base method.

func (*MockEC2Instance) SubnetMask

func (m *MockEC2Instance) SubnetMask() string

SubnetMask mocks base method.

func (*MockEC2Instance) SubnetV6CidrBlock added in v1.4.1

func (m *MockEC2Instance) SubnetV6CidrBlock() string

SubnetV6CidrBlock mocks base method.

func (*MockEC2Instance) SubnetV6Mask added in v1.4.1

func (m *MockEC2Instance) SubnetV6Mask() string

SubnetV6Mask mocks base method.

func (*MockEC2Instance) Type

func (m *MockEC2Instance) Type() string

Type mocks base method.

func (*MockEC2Instance) UpdateCurrentSubnetAndCidrBlock

func (m *MockEC2Instance) UpdateCurrentSubnetAndCidrBlock(arg0 api.EC2APIHelper) error

UpdateCurrentSubnetAndCidrBlock mocks base method.

type MockEC2InstanceMockRecorder

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

MockEC2InstanceMockRecorder is the mock recorder for MockEC2Instance.

func (*MockEC2InstanceMockRecorder) CurrentInstanceSecurityGroups added in v1.1.6

func (mr *MockEC2InstanceMockRecorder) CurrentInstanceSecurityGroups() *gomock.Call

CurrentInstanceSecurityGroups indicates an expected call of CurrentInstanceSecurityGroups.

func (*MockEC2InstanceMockRecorder) FreeDeviceIndex

func (mr *MockEC2InstanceMockRecorder) FreeDeviceIndex(arg0 interface{}) *gomock.Call

FreeDeviceIndex indicates an expected call of FreeDeviceIndex.

func (*MockEC2InstanceMockRecorder) GetHighestUnusedDeviceIndex

func (mr *MockEC2InstanceMockRecorder) GetHighestUnusedDeviceIndex() *gomock.Call

GetHighestUnusedDeviceIndex indicates an expected call of GetHighestUnusedDeviceIndex.

func (*MockEC2InstanceMockRecorder) InstanceID

func (mr *MockEC2InstanceMockRecorder) InstanceID() *gomock.Call

InstanceID indicates an expected call of InstanceID.

func (*MockEC2InstanceMockRecorder) LoadDetails

func (mr *MockEC2InstanceMockRecorder) LoadDetails(arg0 interface{}) *gomock.Call

LoadDetails indicates an expected call of LoadDetails.

func (*MockEC2InstanceMockRecorder) Name

Name indicates an expected call of Name.

func (*MockEC2InstanceMockRecorder) Os

Os indicates an expected call of Os.

func (*MockEC2InstanceMockRecorder) PrimaryNetworkInterfaceID

func (mr *MockEC2InstanceMockRecorder) PrimaryNetworkInterfaceID() *gomock.Call

PrimaryNetworkInterfaceID indicates an expected call of PrimaryNetworkInterfaceID.

func (*MockEC2InstanceMockRecorder) SetNewCustomNetworkingSpec

func (mr *MockEC2InstanceMockRecorder) SetNewCustomNetworkingSpec(arg0, arg1 interface{}) *gomock.Call

SetNewCustomNetworkingSpec indicates an expected call of SetNewCustomNetworkingSpec.

func (*MockEC2InstanceMockRecorder) SubnetCidrBlock

func (mr *MockEC2InstanceMockRecorder) SubnetCidrBlock() *gomock.Call

SubnetCidrBlock indicates an expected call of SubnetCidrBlock.

func (*MockEC2InstanceMockRecorder) SubnetID

func (mr *MockEC2InstanceMockRecorder) SubnetID() *gomock.Call

SubnetID indicates an expected call of SubnetID.

func (*MockEC2InstanceMockRecorder) SubnetMask

func (mr *MockEC2InstanceMockRecorder) SubnetMask() *gomock.Call

SubnetMask indicates an expected call of SubnetMask.

func (*MockEC2InstanceMockRecorder) SubnetV6CidrBlock added in v1.4.1

func (mr *MockEC2InstanceMockRecorder) SubnetV6CidrBlock() *gomock.Call

SubnetV6CidrBlock indicates an expected call of SubnetV6CidrBlock.

func (*MockEC2InstanceMockRecorder) SubnetV6Mask added in v1.4.1

func (mr *MockEC2InstanceMockRecorder) SubnetV6Mask() *gomock.Call

SubnetV6Mask indicates an expected call of SubnetV6Mask.

func (*MockEC2InstanceMockRecorder) Type

Type indicates an expected call of Type.

func (*MockEC2InstanceMockRecorder) UpdateCurrentSubnetAndCidrBlock

func (mr *MockEC2InstanceMockRecorder) UpdateCurrentSubnetAndCidrBlock(arg0 interface{}) *gomock.Call

UpdateCurrentSubnetAndCidrBlock indicates an expected call of UpdateCurrentSubnetAndCidrBlock.

Directories

Path Synopsis
Package mock_api is a generated GoMock package.
Package mock_api is a generated GoMock package.

Jump to

Keyboard shortcuts

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