mock_api

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_api is a generated GoMock package.

Package mock_api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEC2APIHelper

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

MockEC2APIHelper is a mock of EC2APIHelper interface.

func NewMockEC2APIHelper

func NewMockEC2APIHelper(ctrl *gomock.Controller) *MockEC2APIHelper

NewMockEC2APIHelper creates a new mock instance.

func (*MockEC2APIHelper) AssignIPv4ResourcesAndWaitTillReady added in v1.1.8

func (m *MockEC2APIHelper) AssignIPv4ResourcesAndWaitTillReady(arg0 string, arg1 config.ResourceType, arg2 int) ([]string, error)

AssignIPv4ResourcesAndWaitTillReady mocks base method.

func (*MockEC2APIHelper) AssociateBranchToTrunk

func (m *MockEC2APIHelper) AssociateBranchToTrunk(arg0, arg1 *string, arg2 int) (*ec2.AssociateTrunkInterfaceOutput, error)

AssociateBranchToTrunk mocks base method.

func (*MockEC2APIHelper) AttachNetworkInterfaceToInstance

func (m *MockEC2APIHelper) AttachNetworkInterfaceToInstance(arg0, arg1 *string, arg2 *int32) (*string, error)

AttachNetworkInterfaceToInstance mocks base method.

func (*MockEC2APIHelper) CreateAndAttachNetworkInterface

func (m *MockEC2APIHelper) CreateAndAttachNetworkInterface(arg0, arg1 *string, arg2 []string, arg3 []types.Tag, arg4 *int32, arg5, arg6 *string, arg7 *config.IPResourceCount) (*types.NetworkInterface, error)

CreateAndAttachNetworkInterface mocks base method.

func (*MockEC2APIHelper) CreateNetworkInterface

func (m *MockEC2APIHelper) CreateNetworkInterface(arg0, arg1 *string, arg2 []string, arg3 []types.Tag, arg4 *config.IPResourceCount, arg5 *string) (*types.NetworkInterface, error)

CreateNetworkInterface mocks base method.

func (*MockEC2APIHelper) DeleteNetworkInterface

func (m *MockEC2APIHelper) DeleteNetworkInterface(arg0 *string) error

DeleteNetworkInterface mocks base method.

func (*MockEC2APIHelper) DescribeNetworkInterfaces

func (m *MockEC2APIHelper) DescribeNetworkInterfaces(arg0 []string) ([]types.NetworkInterface, error)

DescribeNetworkInterfaces mocks base method.

func (*MockEC2APIHelper) DescribeTrunkInterfaceAssociation

func (m *MockEC2APIHelper) DescribeTrunkInterfaceAssociation(arg0 *string) ([]types.TrunkInterfaceAssociation, error)

DescribeTrunkInterfaceAssociation mocks base method.

func (*MockEC2APIHelper) DetachAndDeleteNetworkInterface

func (m *MockEC2APIHelper) DetachAndDeleteNetworkInterface(arg0, arg1 *string) error

DetachAndDeleteNetworkInterface mocks base method.

func (*MockEC2APIHelper) DetachNetworkInterfaceFromInstance

func (m *MockEC2APIHelper) DetachNetworkInterfaceFromInstance(arg0 *string) error

DetachNetworkInterfaceFromInstance mocks base method.

func (*MockEC2APIHelper) DisassociateTrunkInterface added in v1.5.0

func (m *MockEC2APIHelper) DisassociateTrunkInterface(arg0 *string) error

DisassociateTrunkInterface mocks base method.

func (*MockEC2APIHelper) EXPECT

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

func (*MockEC2APIHelper) GetBranchNetworkInterface

func (m *MockEC2APIHelper) GetBranchNetworkInterface(arg0, arg1 *string) ([]*types.NetworkInterface, error)

GetBranchNetworkInterface mocks base method.

func (*MockEC2APIHelper) GetInstanceDetails

func (m *MockEC2APIHelper) GetInstanceDetails(arg0 *string) (*types.Instance, error)

GetInstanceDetails mocks base method.

func (*MockEC2APIHelper) GetInstanceNetworkInterface

func (m *MockEC2APIHelper) GetInstanceNetworkInterface(arg0 *string) ([]types.InstanceNetworkInterface, error)

GetInstanceNetworkInterface mocks base method.

func (*MockEC2APIHelper) GetSubnet

func (m *MockEC2APIHelper) GetSubnet(arg0 *string) (*types.Subnet, error)

GetSubnet mocks base method.

func (*MockEC2APIHelper) SetDeleteOnTermination

func (m *MockEC2APIHelper) SetDeleteOnTermination(arg0, arg1 *string) error

SetDeleteOnTermination mocks base method.

func (*MockEC2APIHelper) UnassignIPv4Resources added in v1.1.8

func (m *MockEC2APIHelper) UnassignIPv4Resources(arg0 string, arg1 config.ResourceType, arg2 []string) error

UnassignIPv4Resources mocks base method.

func (*MockEC2APIHelper) WaitForNetworkInterfaceStatusChange

func (m *MockEC2APIHelper) WaitForNetworkInterfaceStatusChange(arg0 *string, arg1 string) error

WaitForNetworkInterfaceStatusChange mocks base method.

type MockEC2APIHelperMockRecorder

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

MockEC2APIHelperMockRecorder is the mock recorder for MockEC2APIHelper.

func (*MockEC2APIHelperMockRecorder) AssignIPv4ResourcesAndWaitTillReady added in v1.1.8

func (mr *MockEC2APIHelperMockRecorder) AssignIPv4ResourcesAndWaitTillReady(arg0, arg1, arg2 interface{}) *gomock.Call

AssignIPv4ResourcesAndWaitTillReady indicates an expected call of AssignIPv4ResourcesAndWaitTillReady.

func (*MockEC2APIHelperMockRecorder) AssociateBranchToTrunk

func (mr *MockEC2APIHelperMockRecorder) AssociateBranchToTrunk(arg0, arg1, arg2 interface{}) *gomock.Call

AssociateBranchToTrunk indicates an expected call of AssociateBranchToTrunk.

func (*MockEC2APIHelperMockRecorder) AttachNetworkInterfaceToInstance

func (mr *MockEC2APIHelperMockRecorder) AttachNetworkInterfaceToInstance(arg0, arg1, arg2 interface{}) *gomock.Call

AttachNetworkInterfaceToInstance indicates an expected call of AttachNetworkInterfaceToInstance.

func (*MockEC2APIHelperMockRecorder) CreateAndAttachNetworkInterface

func (mr *MockEC2APIHelperMockRecorder) CreateAndAttachNetworkInterface(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

CreateAndAttachNetworkInterface indicates an expected call of CreateAndAttachNetworkInterface.

func (*MockEC2APIHelperMockRecorder) CreateNetworkInterface

func (mr *MockEC2APIHelperMockRecorder) CreateNetworkInterface(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CreateNetworkInterface indicates an expected call of CreateNetworkInterface.

func (*MockEC2APIHelperMockRecorder) DeleteNetworkInterface

func (mr *MockEC2APIHelperMockRecorder) DeleteNetworkInterface(arg0 interface{}) *gomock.Call

DeleteNetworkInterface indicates an expected call of DeleteNetworkInterface.

func (*MockEC2APIHelperMockRecorder) DescribeNetworkInterfaces

func (mr *MockEC2APIHelperMockRecorder) DescribeNetworkInterfaces(arg0 interface{}) *gomock.Call

DescribeNetworkInterfaces indicates an expected call of DescribeNetworkInterfaces.

func (*MockEC2APIHelperMockRecorder) DescribeTrunkInterfaceAssociation

func (mr *MockEC2APIHelperMockRecorder) DescribeTrunkInterfaceAssociation(arg0 interface{}) *gomock.Call

DescribeTrunkInterfaceAssociation indicates an expected call of DescribeTrunkInterfaceAssociation.

func (*MockEC2APIHelperMockRecorder) DetachAndDeleteNetworkInterface

func (mr *MockEC2APIHelperMockRecorder) DetachAndDeleteNetworkInterface(arg0, arg1 interface{}) *gomock.Call

DetachAndDeleteNetworkInterface indicates an expected call of DetachAndDeleteNetworkInterface.

func (*MockEC2APIHelperMockRecorder) DetachNetworkInterfaceFromInstance

func (mr *MockEC2APIHelperMockRecorder) DetachNetworkInterfaceFromInstance(arg0 interface{}) *gomock.Call

DetachNetworkInterfaceFromInstance indicates an expected call of DetachNetworkInterfaceFromInstance.

func (*MockEC2APIHelperMockRecorder) DisassociateTrunkInterface added in v1.5.0

func (mr *MockEC2APIHelperMockRecorder) DisassociateTrunkInterface(arg0 interface{}) *gomock.Call

DisassociateTrunkInterface indicates an expected call of DisassociateTrunkInterface.

func (*MockEC2APIHelperMockRecorder) GetBranchNetworkInterface

func (mr *MockEC2APIHelperMockRecorder) GetBranchNetworkInterface(arg0, arg1 interface{}) *gomock.Call

GetBranchNetworkInterface indicates an expected call of GetBranchNetworkInterface.

func (*MockEC2APIHelperMockRecorder) GetInstanceDetails

func (mr *MockEC2APIHelperMockRecorder) GetInstanceDetails(arg0 interface{}) *gomock.Call

GetInstanceDetails indicates an expected call of GetInstanceDetails.

func (*MockEC2APIHelperMockRecorder) GetInstanceNetworkInterface

func (mr *MockEC2APIHelperMockRecorder) GetInstanceNetworkInterface(arg0 interface{}) *gomock.Call

GetInstanceNetworkInterface indicates an expected call of GetInstanceNetworkInterface.

func (*MockEC2APIHelperMockRecorder) GetSubnet

func (mr *MockEC2APIHelperMockRecorder) GetSubnet(arg0 interface{}) *gomock.Call

GetSubnet indicates an expected call of GetSubnet.

func (*MockEC2APIHelperMockRecorder) SetDeleteOnTermination

func (mr *MockEC2APIHelperMockRecorder) SetDeleteOnTermination(arg0, arg1 interface{}) *gomock.Call

SetDeleteOnTermination indicates an expected call of SetDeleteOnTermination.

func (*MockEC2APIHelperMockRecorder) UnassignIPv4Resources added in v1.1.8

func (mr *MockEC2APIHelperMockRecorder) UnassignIPv4Resources(arg0, arg1, arg2 interface{}) *gomock.Call

UnassignIPv4Resources indicates an expected call of UnassignIPv4Resources.

func (*MockEC2APIHelperMockRecorder) WaitForNetworkInterfaceStatusChange

func (mr *MockEC2APIHelperMockRecorder) WaitForNetworkInterfaceStatusChange(arg0, arg1 interface{}) *gomock.Call

WaitForNetworkInterfaceStatusChange indicates an expected call of WaitForNetworkInterfaceStatusChange.

type MockEC2Wrapper

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

MockEC2Wrapper is a mock of EC2Wrapper interface.

func NewMockEC2Wrapper

func NewMockEC2Wrapper(ctrl *gomock.Controller) *MockEC2Wrapper

NewMockEC2Wrapper creates a new mock instance.

func (*MockEC2Wrapper) AssignPrivateIPAddresses

AssignPrivateIPAddresses mocks base method.

func (*MockEC2Wrapper) AssociateTrunkInterface

AssociateTrunkInterface mocks base method.

func (*MockEC2Wrapper) AttachNetworkInterface

AttachNetworkInterface mocks base method.

func (*MockEC2Wrapper) CreateNetworkInterface

CreateNetworkInterface mocks base method.

func (*MockEC2Wrapper) CreateNetworkInterfacePermission

CreateNetworkInterfacePermission mocks base method.

func (*MockEC2Wrapper) CreateTags

func (m *MockEC2Wrapper) CreateTags(arg0 *ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error)

CreateTags mocks base method.

func (*MockEC2Wrapper) DeleteNetworkInterface

DeleteNetworkInterface mocks base method.

func (*MockEC2Wrapper) DescribeInstances

DescribeInstances mocks base method.

func (*MockEC2Wrapper) DescribeNetworkInterfaces

DescribeNetworkInterfaces mocks base method.

func (*MockEC2Wrapper) DescribeNetworkInterfacesPagesWithRetry added in v1.7.0

func (m *MockEC2Wrapper) DescribeNetworkInterfacesPagesWithRetry(arg0 *ec2.DescribeNetworkInterfacesInput) ([]*types.NetworkInterface, error)

DescribeNetworkInterfacesPagesWithRetry mocks base method.

func (*MockEC2Wrapper) DescribeSubnets

func (m *MockEC2Wrapper) DescribeSubnets(arg0 *ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)

DescribeSubnets mocks base method.

func (*MockEC2Wrapper) DescribeTrunkInterfaceAssociations

DescribeTrunkInterfaceAssociations mocks base method.

func (*MockEC2Wrapper) DetachNetworkInterface

DetachNetworkInterface mocks base method.

func (*MockEC2Wrapper) DisassociateTrunkInterface added in v1.5.0

func (m *MockEC2Wrapper) DisassociateTrunkInterface(arg0 *ec2.DisassociateTrunkInterfaceInput) error

DisassociateTrunkInterface mocks base method.

func (*MockEC2Wrapper) EXPECT

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

func (*MockEC2Wrapper) ModifyNetworkInterfaceAttribute

ModifyNetworkInterfaceAttribute mocks base method.

func (*MockEC2Wrapper) UnassignPrivateIPAddresses

UnassignPrivateIPAddresses mocks base method.

type MockEC2WrapperMockRecorder

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

MockEC2WrapperMockRecorder is the mock recorder for MockEC2Wrapper.

func (*MockEC2WrapperMockRecorder) AssignPrivateIPAddresses

func (mr *MockEC2WrapperMockRecorder) AssignPrivateIPAddresses(arg0 interface{}) *gomock.Call

AssignPrivateIPAddresses indicates an expected call of AssignPrivateIPAddresses.

func (*MockEC2WrapperMockRecorder) AssociateTrunkInterface

func (mr *MockEC2WrapperMockRecorder) AssociateTrunkInterface(arg0 interface{}) *gomock.Call

AssociateTrunkInterface indicates an expected call of AssociateTrunkInterface.

func (*MockEC2WrapperMockRecorder) AttachNetworkInterface

func (mr *MockEC2WrapperMockRecorder) AttachNetworkInterface(arg0 interface{}) *gomock.Call

AttachNetworkInterface indicates an expected call of AttachNetworkInterface.

func (*MockEC2WrapperMockRecorder) CreateNetworkInterface

func (mr *MockEC2WrapperMockRecorder) CreateNetworkInterface(arg0 interface{}) *gomock.Call

CreateNetworkInterface indicates an expected call of CreateNetworkInterface.

func (*MockEC2WrapperMockRecorder) CreateNetworkInterfacePermission

func (mr *MockEC2WrapperMockRecorder) CreateNetworkInterfacePermission(arg0 interface{}) *gomock.Call

CreateNetworkInterfacePermission indicates an expected call of CreateNetworkInterfacePermission.

func (*MockEC2WrapperMockRecorder) CreateTags

func (mr *MockEC2WrapperMockRecorder) CreateTags(arg0 interface{}) *gomock.Call

CreateTags indicates an expected call of CreateTags.

func (*MockEC2WrapperMockRecorder) DeleteNetworkInterface

func (mr *MockEC2WrapperMockRecorder) DeleteNetworkInterface(arg0 interface{}) *gomock.Call

DeleteNetworkInterface indicates an expected call of DeleteNetworkInterface.

func (*MockEC2WrapperMockRecorder) DescribeInstances

func (mr *MockEC2WrapperMockRecorder) DescribeInstances(arg0 interface{}) *gomock.Call

DescribeInstances indicates an expected call of DescribeInstances.

func (*MockEC2WrapperMockRecorder) DescribeNetworkInterfaces

func (mr *MockEC2WrapperMockRecorder) DescribeNetworkInterfaces(arg0 interface{}) *gomock.Call

DescribeNetworkInterfaces indicates an expected call of DescribeNetworkInterfaces.

func (*MockEC2WrapperMockRecorder) DescribeNetworkInterfacesPagesWithRetry added in v1.7.0

func (mr *MockEC2WrapperMockRecorder) DescribeNetworkInterfacesPagesWithRetry(arg0 interface{}) *gomock.Call

DescribeNetworkInterfacesPagesWithRetry indicates an expected call of DescribeNetworkInterfacesPagesWithRetry.

func (*MockEC2WrapperMockRecorder) DescribeSubnets

func (mr *MockEC2WrapperMockRecorder) DescribeSubnets(arg0 interface{}) *gomock.Call

DescribeSubnets indicates an expected call of DescribeSubnets.

func (*MockEC2WrapperMockRecorder) DescribeTrunkInterfaceAssociations

func (mr *MockEC2WrapperMockRecorder) DescribeTrunkInterfaceAssociations(arg0 interface{}) *gomock.Call

DescribeTrunkInterfaceAssociations indicates an expected call of DescribeTrunkInterfaceAssociations.

func (*MockEC2WrapperMockRecorder) DetachNetworkInterface

func (mr *MockEC2WrapperMockRecorder) DetachNetworkInterface(arg0 interface{}) *gomock.Call

DetachNetworkInterface indicates an expected call of DetachNetworkInterface.

func (*MockEC2WrapperMockRecorder) DisassociateTrunkInterface added in v1.5.0

func (mr *MockEC2WrapperMockRecorder) DisassociateTrunkInterface(arg0 interface{}) *gomock.Call

DisassociateTrunkInterface indicates an expected call of DisassociateTrunkInterface.

func (*MockEC2WrapperMockRecorder) ModifyNetworkInterfaceAttribute

func (mr *MockEC2WrapperMockRecorder) ModifyNetworkInterfaceAttribute(arg0 interface{}) *gomock.Call

ModifyNetworkInterfaceAttribute indicates an expected call of ModifyNetworkInterfaceAttribute.

func (*MockEC2WrapperMockRecorder) UnassignPrivateIPAddresses

func (mr *MockEC2WrapperMockRecorder) UnassignPrivateIPAddresses(arg0 interface{}) *gomock.Call

UnassignPrivateIPAddresses indicates an expected call of UnassignPrivateIPAddresses.

Directories

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

Jump to

Keyboard shortcuts

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