mock_ec2wrapper

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_ec2wrapper is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEC2

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

MockEC2 is a mock of EC2 interface.

func NewMockEC2

func NewMockEC2(ctrl *gomock.Controller) *MockEC2

NewMockEC2 creates a new mock instance.

func (*MockEC2) AssignIpv6AddressesWithContext added in v1.10.0

func (m *MockEC2) AssignIpv6AddressesWithContext(arg0 context.Context, arg1 *ec2.AssignIpv6AddressesInput, arg2 ...request.Option) (*ec2.AssignIpv6AddressesOutput, error)

AssignIpv6AddressesWithContext mocks base method.

func (*MockEC2) AssignPrivateIpAddressesWithContext added in v1.6.2

func (m *MockEC2) AssignPrivateIpAddressesWithContext(arg0 context.Context, arg1 *ec2.AssignPrivateIpAddressesInput, arg2 ...request.Option) (*ec2.AssignPrivateIpAddressesOutput, error)

AssignPrivateIpAddressesWithContext mocks base method.

func (*MockEC2) AttachNetworkInterfaceWithContext added in v1.6.2

func (m *MockEC2) AttachNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.AttachNetworkInterfaceInput, arg2 ...request.Option) (*ec2.AttachNetworkInterfaceOutput, error)

AttachNetworkInterfaceWithContext mocks base method.

func (*MockEC2) CreateNetworkInterfaceWithContext added in v1.6.2

func (m *MockEC2) CreateNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.CreateNetworkInterfaceInput, arg2 ...request.Option) (*ec2.CreateNetworkInterfaceOutput, error)

CreateNetworkInterfaceWithContext mocks base method.

func (*MockEC2) CreateTagsWithContext added in v1.6.2

func (m *MockEC2) CreateTagsWithContext(arg0 context.Context, arg1 *ec2.CreateTagsInput, arg2 ...request.Option) (*ec2.CreateTagsOutput, error)

CreateTagsWithContext mocks base method.

func (*MockEC2) DeleteNetworkInterfaceWithContext added in v1.6.2

func (m *MockEC2) DeleteNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.DeleteNetworkInterfaceInput, arg2 ...request.Option) (*ec2.DeleteNetworkInterfaceOutput, error)

DeleteNetworkInterfaceWithContext mocks base method.

func (*MockEC2) DescribeInstanceTypesWithContext added in v1.6.2

func (m *MockEC2) DescribeInstanceTypesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstanceTypesInput, arg2 ...request.Option) (*ec2.DescribeInstanceTypesOutput, error)

DescribeInstanceTypesWithContext mocks base method.

func (*MockEC2) DescribeInstancesWithContext added in v1.6.2

func (m *MockEC2) DescribeInstancesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstancesInput, arg2 ...request.Option) (*ec2.DescribeInstancesOutput, error)

DescribeInstancesWithContext mocks base method.

func (*MockEC2) DescribeNetworkInterfacesPagesWithContext added in v1.7.8

func (m *MockEC2) DescribeNetworkInterfacesPagesWithContext(arg0 context.Context, arg1 *ec2.DescribeNetworkInterfacesInput, arg2 func(*ec2.DescribeNetworkInterfacesOutput, bool) bool, arg3 ...request.Option) error

DescribeNetworkInterfacesPagesWithContext mocks base method.

func (*MockEC2) DescribeNetworkInterfacesWithContext added in v1.6.2

func (m *MockEC2) DescribeNetworkInterfacesWithContext(arg0 context.Context, arg1 *ec2.DescribeNetworkInterfacesInput, arg2 ...request.Option) (*ec2.DescribeNetworkInterfacesOutput, error)

DescribeNetworkInterfacesWithContext mocks base method.

func (*MockEC2) DescribeSubnetsWithContext added in v1.18.0

func (m *MockEC2) DescribeSubnetsWithContext(arg0 context.Context, arg1 *ec2.DescribeSubnetsInput, arg2 ...request.Option) (*ec2.DescribeSubnetsOutput, error)

DescribeSubnetsWithContext mocks base method.

func (*MockEC2) DetachNetworkInterfaceWithContext added in v1.6.2

func (m *MockEC2) DetachNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.DetachNetworkInterfaceInput, arg2 ...request.Option) (*ec2.DetachNetworkInterfaceOutput, error)

DetachNetworkInterfaceWithContext mocks base method.

func (*MockEC2) EXPECT

func (m *MockEC2) EXPECT() *MockEC2MockRecorder

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

func (*MockEC2) ModifyNetworkInterfaceAttributeWithContext added in v1.6.2

func (m *MockEC2) ModifyNetworkInterfaceAttributeWithContext(arg0 context.Context, arg1 *ec2.ModifyNetworkInterfaceAttributeInput, arg2 ...request.Option) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)

ModifyNetworkInterfaceAttributeWithContext mocks base method.

func (*MockEC2) UnassignIpv6AddressesWithContext added in v1.10.0

func (m *MockEC2) UnassignIpv6AddressesWithContext(arg0 context.Context, arg1 *ec2.UnassignIpv6AddressesInput, arg2 ...request.Option) (*ec2.UnassignIpv6AddressesOutput, error)

UnassignIpv6AddressesWithContext mocks base method.

func (*MockEC2) UnassignPrivateIpAddressesWithContext added in v1.5.0

func (m *MockEC2) UnassignPrivateIpAddressesWithContext(arg0 context.Context, arg1 *ec2.UnassignPrivateIpAddressesInput, arg2 ...request.Option) (*ec2.UnassignPrivateIpAddressesOutput, error)

UnassignPrivateIpAddressesWithContext mocks base method.

type MockEC2MockRecorder

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

MockEC2MockRecorder is the mock recorder for MockEC2.

func (*MockEC2MockRecorder) AssignIpv6AddressesWithContext added in v1.10.0

func (mr *MockEC2MockRecorder) AssignIpv6AddressesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

AssignIpv6AddressesWithContext indicates an expected call of AssignIpv6AddressesWithContext.

func (*MockEC2MockRecorder) AssignPrivateIpAddressesWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) AssignPrivateIpAddressesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

AssignPrivateIpAddressesWithContext indicates an expected call of AssignPrivateIpAddressesWithContext.

func (*MockEC2MockRecorder) AttachNetworkInterfaceWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) AttachNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

AttachNetworkInterfaceWithContext indicates an expected call of AttachNetworkInterfaceWithContext.

func (*MockEC2MockRecorder) CreateNetworkInterfaceWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) CreateNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateNetworkInterfaceWithContext indicates an expected call of CreateNetworkInterfaceWithContext.

func (*MockEC2MockRecorder) CreateTagsWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) CreateTagsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateTagsWithContext indicates an expected call of CreateTagsWithContext.

func (*MockEC2MockRecorder) DeleteNetworkInterfaceWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) DeleteNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteNetworkInterfaceWithContext indicates an expected call of DeleteNetworkInterfaceWithContext.

func (*MockEC2MockRecorder) DescribeInstanceTypesWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) DescribeInstanceTypesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeInstanceTypesWithContext indicates an expected call of DescribeInstanceTypesWithContext.

func (*MockEC2MockRecorder) DescribeInstancesWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) DescribeInstancesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeInstancesWithContext indicates an expected call of DescribeInstancesWithContext.

func (*MockEC2MockRecorder) DescribeNetworkInterfacesPagesWithContext added in v1.7.8

func (mr *MockEC2MockRecorder) DescribeNetworkInterfacesPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

DescribeNetworkInterfacesPagesWithContext indicates an expected call of DescribeNetworkInterfacesPagesWithContext.

func (*MockEC2MockRecorder) DescribeNetworkInterfacesWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) DescribeNetworkInterfacesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeNetworkInterfacesWithContext indicates an expected call of DescribeNetworkInterfacesWithContext.

func (*MockEC2MockRecorder) DescribeSubnetsWithContext added in v1.18.0

func (mr *MockEC2MockRecorder) DescribeSubnetsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeSubnetsWithContext indicates an expected call of DescribeSubnetsWithContext.

func (*MockEC2MockRecorder) DetachNetworkInterfaceWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) DetachNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DetachNetworkInterfaceWithContext indicates an expected call of DetachNetworkInterfaceWithContext.

func (*MockEC2MockRecorder) ModifyNetworkInterfaceAttributeWithContext added in v1.6.2

func (mr *MockEC2MockRecorder) ModifyNetworkInterfaceAttributeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ModifyNetworkInterfaceAttributeWithContext indicates an expected call of ModifyNetworkInterfaceAttributeWithContext.

func (*MockEC2MockRecorder) UnassignIpv6AddressesWithContext added in v1.10.0

func (mr *MockEC2MockRecorder) UnassignIpv6AddressesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UnassignIpv6AddressesWithContext indicates an expected call of UnassignIpv6AddressesWithContext.

func (*MockEC2MockRecorder) UnassignPrivateIpAddressesWithContext added in v1.5.0

func (mr *MockEC2MockRecorder) UnassignPrivateIpAddressesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UnassignPrivateIpAddressesWithContext indicates an expected call of UnassignPrivateIpAddressesWithContext.

Jump to

Keyboard shortcuts

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