mock_api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_api is a generated GoMock package.

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

func (m *MockEC2APIHelper) AssignIPv4AddressesAndWaitTillReady(arg0 string, arg1 int) ([]string, error)

AssignIPv4AddressesAndWaitTillReady 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 *int64) (*string, error)

AttachNetworkInterfaceToInstance mocks base method

func (*MockEC2APIHelper) CreateAndAttachNetworkInterface

func (m *MockEC2APIHelper) CreateAndAttachNetworkInterface(arg0, arg1 *string, arg2 []string, arg3 []*ec2.Tag, arg4 *int64, arg5, arg6 *string, arg7 int) (*ec2.NetworkInterface, error)

CreateAndAttachNetworkInterface mocks base method

func (*MockEC2APIHelper) CreateNetworkInterface

func (m *MockEC2APIHelper) CreateNetworkInterface(arg0, arg1 *string, arg2 []string, arg3 []*ec2.Tag, arg4 int, arg5 *string) (*ec2.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) ([]*ec2.NetworkInterface, error)

DescribeNetworkInterfaces mocks base method

func (*MockEC2APIHelper) DescribeTrunkInterfaceAssociation

func (m *MockEC2APIHelper) DescribeTrunkInterfaceAssociation(arg0 *string) ([]*ec2.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) EXPECT

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

func (*MockEC2APIHelper) GetBranchNetworkInterface

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

GetBranchNetworkInterface mocks base method

func (*MockEC2APIHelper) GetInstanceDetails

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

GetInstanceDetails mocks base method

func (*MockEC2APIHelper) GetInstanceNetworkInterface

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

GetInstanceNetworkInterface mocks base method

func (*MockEC2APIHelper) GetSubnet

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

GetSubnet mocks base method

func (*MockEC2APIHelper) SetDeleteOnTermination

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

SetDeleteOnTermination mocks base method

func (*MockEC2APIHelper) UnassignPrivateIpAddresses

func (m *MockEC2APIHelper) UnassignPrivateIpAddresses(arg0 string, arg1 []string) error

UnassignPrivateIpAddresses 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) AssignIPv4AddressesAndWaitTillReady

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

AssignIPv4AddressesAndWaitTillReady indicates an expected call of AssignIPv4AddressesAndWaitTillReady

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

func (mr *MockEC2APIHelperMockRecorder) GetBranchNetworkInterface(arg0 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) UnassignPrivateIpAddresses

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

UnassignPrivateIpAddresses indicates an expected call of UnassignPrivateIpAddresses

func (*MockEC2APIHelperMockRecorder) WaitForNetworkInterfaceStatusChange

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

WaitForNetworkInterfaceStatusChange indicates an expected call of WaitForNetworkInterfaceStatusChange

type MockEC2MetadataClient

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

MockEC2MetadataClient is a mock of EC2MetadataClient interface

func NewMockEC2MetadataClient

func NewMockEC2MetadataClient(ctrl *gomock.Controller) *MockEC2MetadataClient

NewMockEC2MetadataClient creates a new mock instance

func (*MockEC2MetadataClient) EXPECT

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

func (*MockEC2MetadataClient) GetInstanceIdentityDocument

func (m *MockEC2MetadataClient) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)

GetInstanceIdentityDocument mocks base method

func (*MockEC2MetadataClient) Region

func (m *MockEC2MetadataClient) Region() (string, error)

Region mocks base method

type MockEC2MetadataClientMockRecorder

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

MockEC2MetadataClientMockRecorder is the mock recorder for MockEC2MetadataClient

func (*MockEC2MetadataClientMockRecorder) GetInstanceIdentityDocument

func (mr *MockEC2MetadataClientMockRecorder) GetInstanceIdentityDocument() *gomock.Call

GetInstanceIdentityDocument indicates an expected call of GetInstanceIdentityDocument

func (*MockEC2MetadataClientMockRecorder) Region

Region indicates an expected call of Region

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

Jump to

Keyboard shortcuts

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