mocks

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mockec2Client

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

Mockec2Client is a mock of ec2Client interface.

func NewMockec2Client

func NewMockec2Client(ctrl *gomock.Controller) *Mockec2Client

NewMockec2Client creates a new mock instance.

func (*Mockec2Client) AllocateAddress

func (m *Mockec2Client) AllocateAddress(ctx context.Context, params *ec2.AllocateAddressInput, optFns ...func(*ec2.Options)) (*ec2.AllocateAddressOutput, error)

AllocateAddress mocks base method.

func (*Mockec2Client) AssociateAddress

func (m *Mockec2Client) AssociateAddress(ctx context.Context, params *ec2.AssociateAddressInput, optFns ...func(*ec2.Options)) (*ec2.AssociateAddressOutput, error)

AssociateAddress mocks base method.

func (*Mockec2Client) AuthorizeSecurityGroupEgress

func (m *Mockec2Client) AuthorizeSecurityGroupEgress(ctx context.Context, params *ec2.AuthorizeSecurityGroupEgressInput, optFns ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupEgressOutput, error)

AuthorizeSecurityGroupEgress mocks base method.

func (*Mockec2Client) AuthorizeSecurityGroupIngress

func (m *Mockec2Client) AuthorizeSecurityGroupIngress(ctx context.Context, params *ec2.AuthorizeSecurityGroupIngressInput, optFns ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupIngressOutput, error)

AuthorizeSecurityGroupIngress mocks base method.

func (*Mockec2Client) CreateSecurityGroup

func (m *Mockec2Client) CreateSecurityGroup(ctx context.Context, params *ec2.CreateSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.CreateSecurityGroupOutput, error)

CreateSecurityGroup mocks base method.

func (*Mockec2Client) DeleteSecurityGroup

func (m *Mockec2Client) DeleteSecurityGroup(ctx context.Context, params *ec2.DeleteSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.DeleteSecurityGroupOutput, error)

DeleteSecurityGroup mocks base method.

func (*Mockec2Client) DescribeAddresses

func (m *Mockec2Client) DescribeAddresses(ctx context.Context, params *ec2.DescribeAddressesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeAddressesOutput, error)

DescribeAddresses mocks base method.

func (*Mockec2Client) DescribeInstances

func (m *Mockec2Client) DescribeInstances(ctx context.Context, input *ec2.DescribeInstancesInput, opts ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)

DescribeInstances mocks base method.

func (*Mockec2Client) DescribeNetworkInterfaces

func (m *Mockec2Client) DescribeNetworkInterfaces(ctx context.Context, params *ec2.DescribeNetworkInterfacesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeNetworkInterfacesOutput, error)

DescribeNetworkInterfaces mocks base method.

func (*Mockec2Client) DescribeSecurityGroups

func (m *Mockec2Client) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)

DescribeSecurityGroups mocks base method.

func (*Mockec2Client) DisassociateAddress

func (m *Mockec2Client) DisassociateAddress(ctx context.Context, params *ec2.DisassociateAddressInput, optFns ...func(*ec2.Options)) (*ec2.DisassociateAddressOutput, error)

DisassociateAddress mocks base method.

func (*Mockec2Client) EXPECT

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

func (*Mockec2Client) ModifyNetworkInterfaceAttribute

func (m *Mockec2Client) ModifyNetworkInterfaceAttribute(ctx context.Context, params *ec2.ModifyNetworkInterfaceAttributeInput, optFns ...func(*ec2.Options)) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)

ModifyNetworkInterfaceAttribute mocks base method.

func (*Mockec2Client) ReleaseAddress

func (m *Mockec2Client) ReleaseAddress(ctx context.Context, params *ec2.ReleaseAddressInput, optFns ...func(*ec2.Options)) (*ec2.ReleaseAddressOutput, error)

ReleaseAddress mocks base method.

func (*Mockec2Client) RevokeSecurityGroupEgress

func (m *Mockec2Client) RevokeSecurityGroupEgress(ctx context.Context, params *ec2.RevokeSecurityGroupEgressInput, optFns ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupEgressOutput, error)

RevokeSecurityGroupEgress mocks base method.

func (*Mockec2Client) RevokeSecurityGroupIngress

func (m *Mockec2Client) RevokeSecurityGroupIngress(ctx context.Context, params *ec2.RevokeSecurityGroupIngressInput, optFns ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupIngressOutput, error)

RevokeSecurityGroupIngress mocks base method.

type Mockec2ClientMockRecorder

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

Mockec2ClientMockRecorder is the mock recorder for Mockec2Client.

func (*Mockec2ClientMockRecorder) AllocateAddress

func (mr *Mockec2ClientMockRecorder) AllocateAddress(ctx, params any, optFns ...any) *gomock.Call

AllocateAddress indicates an expected call of AllocateAddress.

func (*Mockec2ClientMockRecorder) AssociateAddress

func (mr *Mockec2ClientMockRecorder) AssociateAddress(ctx, params any, optFns ...any) *gomock.Call

AssociateAddress indicates an expected call of AssociateAddress.

func (*Mockec2ClientMockRecorder) AuthorizeSecurityGroupEgress

func (mr *Mockec2ClientMockRecorder) AuthorizeSecurityGroupEgress(ctx, params any, optFns ...any) *gomock.Call

AuthorizeSecurityGroupEgress indicates an expected call of AuthorizeSecurityGroupEgress.

func (*Mockec2ClientMockRecorder) AuthorizeSecurityGroupIngress

func (mr *Mockec2ClientMockRecorder) AuthorizeSecurityGroupIngress(ctx, params any, optFns ...any) *gomock.Call

AuthorizeSecurityGroupIngress indicates an expected call of AuthorizeSecurityGroupIngress.

func (*Mockec2ClientMockRecorder) CreateSecurityGroup

func (mr *Mockec2ClientMockRecorder) CreateSecurityGroup(ctx, params any, optFns ...any) *gomock.Call

CreateSecurityGroup indicates an expected call of CreateSecurityGroup.

func (*Mockec2ClientMockRecorder) DeleteSecurityGroup

func (mr *Mockec2ClientMockRecorder) DeleteSecurityGroup(ctx, params any, optFns ...any) *gomock.Call

DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.

func (*Mockec2ClientMockRecorder) DescribeAddresses

func (mr *Mockec2ClientMockRecorder) DescribeAddresses(ctx, params any, optFns ...any) *gomock.Call

DescribeAddresses indicates an expected call of DescribeAddresses.

func (*Mockec2ClientMockRecorder) DescribeInstances

func (mr *Mockec2ClientMockRecorder) DescribeInstances(ctx, input any, opts ...any) *gomock.Call

DescribeInstances indicates an expected call of DescribeInstances.

func (*Mockec2ClientMockRecorder) DescribeNetworkInterfaces

func (mr *Mockec2ClientMockRecorder) DescribeNetworkInterfaces(ctx, params any, optFns ...any) *gomock.Call

DescribeNetworkInterfaces indicates an expected call of DescribeNetworkInterfaces.

func (*Mockec2ClientMockRecorder) DescribeSecurityGroups

func (mr *Mockec2ClientMockRecorder) DescribeSecurityGroups(ctx, params any, optFns ...any) *gomock.Call

DescribeSecurityGroups indicates an expected call of DescribeSecurityGroups.

func (*Mockec2ClientMockRecorder) DisassociateAddress

func (mr *Mockec2ClientMockRecorder) DisassociateAddress(ctx, params any, optFns ...any) *gomock.Call

DisassociateAddress indicates an expected call of DisassociateAddress.

func (*Mockec2ClientMockRecorder) ModifyNetworkInterfaceAttribute

func (mr *Mockec2ClientMockRecorder) ModifyNetworkInterfaceAttribute(ctx, params any, optFns ...any) *gomock.Call

ModifyNetworkInterfaceAttribute indicates an expected call of ModifyNetworkInterfaceAttribute.

func (*Mockec2ClientMockRecorder) ReleaseAddress

func (mr *Mockec2ClientMockRecorder) ReleaseAddress(ctx, params any, optFns ...any) *gomock.Call

ReleaseAddress indicates an expected call of ReleaseAddress.

func (*Mockec2ClientMockRecorder) RevokeSecurityGroupEgress

func (mr *Mockec2ClientMockRecorder) RevokeSecurityGroupEgress(ctx, params any, optFns ...any) *gomock.Call

RevokeSecurityGroupEgress indicates an expected call of RevokeSecurityGroupEgress.

func (*Mockec2ClientMockRecorder) RevokeSecurityGroupIngress

func (mr *Mockec2ClientMockRecorder) RevokeSecurityGroupIngress(ctx, params any, optFns ...any) *gomock.Call

RevokeSecurityGroupIngress indicates an expected call of RevokeSecurityGroupIngress.

Jump to

Keyboard shortcuts

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