aliclient

package
v1.52.1 Latest Latest
Warning

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

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

Documentation

Overview

Package aliclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockActor

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

MockActor is a mock of Actor interface.

func NewMockActor

func NewMockActor(ctrl *gomock.Controller) *MockActor

NewMockActor creates a new mock instance.

func (*MockActor) AssociateEIP

func (m *MockActor) AssociateEIP(arg0 context.Context, arg1, arg2, arg3 string) error

AssociateEIP mocks base method.

func (*MockActor) AuthorizeSecurityGroupRule

func (m *MockActor) AuthorizeSecurityGroupRule(arg0 context.Context, arg1 string, arg2 aliclient.SecurityGroupRule) error

AuthorizeSecurityGroupRule mocks base method.

func (*MockActor) CreateEIP

func (m *MockActor) CreateEIP(arg0 context.Context, arg1 *aliclient.EIP) (*aliclient.EIP, error)

CreateEIP mocks base method.

func (*MockActor) CreateNatGateway

func (m *MockActor) CreateNatGateway(arg0 context.Context, arg1 *aliclient.NatGateway) (*aliclient.NatGateway, error)

CreateNatGateway mocks base method.

func (*MockActor) CreateSNatEntry

func (m *MockActor) CreateSNatEntry(arg0 context.Context, arg1 *aliclient.SNATEntry) (*aliclient.SNATEntry, error)

CreateSNatEntry mocks base method.

func (*MockActor) CreateSecurityGroup

func (m *MockActor) CreateSecurityGroup(arg0 context.Context, arg1 *aliclient.SecurityGroup) (*aliclient.SecurityGroup, error)

CreateSecurityGroup mocks base method.

func (*MockActor) CreateTags

func (m *MockActor) CreateTags(arg0 context.Context, arg1 []string, arg2 aliclient.Tags, arg3 string) error

CreateTags mocks base method.

func (*MockActor) CreateVSwitch

func (m *MockActor) CreateVSwitch(arg0 context.Context, arg1 *aliclient.VSwitch) (*aliclient.VSwitch, error)

CreateVSwitch mocks base method.

func (*MockActor) CreateVpc

func (m *MockActor) CreateVpc(arg0 context.Context, arg1 *aliclient.VPC) (*aliclient.VPC, error)

CreateVpc mocks base method.

func (*MockActor) DeleteEIP

func (m *MockActor) DeleteEIP(arg0 context.Context, arg1 string) error

DeleteEIP mocks base method.

func (*MockActor) DeleteNatGateway

func (m *MockActor) DeleteNatGateway(arg0 context.Context, arg1 string) error

DeleteNatGateway mocks base method.

func (*MockActor) DeleteSNatEntry

func (m *MockActor) DeleteSNatEntry(arg0 context.Context, arg1, arg2 string) error

DeleteSNatEntry mocks base method.

func (*MockActor) DeleteSecurityGroup

func (m *MockActor) DeleteSecurityGroup(arg0 context.Context, arg1 string) error

DeleteSecurityGroup mocks base method.

func (*MockActor) DeleteTags

func (m *MockActor) DeleteTags(arg0 context.Context, arg1 []string, arg2 aliclient.Tags, arg3 string) error

DeleteTags mocks base method.

func (*MockActor) DeleteVSwitch

func (m *MockActor) DeleteVSwitch(arg0 context.Context, arg1 string) error

DeleteVSwitch mocks base method.

func (*MockActor) DeleteVpc

func (m *MockActor) DeleteVpc(arg0 context.Context, arg1 string) error

DeleteVpc mocks base method.

func (*MockActor) EXPECT

func (m *MockActor) EXPECT() *MockActorMockRecorder

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

func (*MockActor) FindEIPsByTags

func (m *MockActor) FindEIPsByTags(arg0 context.Context, arg1 aliclient.Tags) ([]*aliclient.EIP, error)

FindEIPsByTags mocks base method.

func (*MockActor) FindNatGatewayByTags

func (m *MockActor) FindNatGatewayByTags(arg0 context.Context, arg1 aliclient.Tags) ([]*aliclient.NatGateway, error)

FindNatGatewayByTags mocks base method.

func (*MockActor) FindNatGatewayByVPC

func (m *MockActor) FindNatGatewayByVPC(arg0 context.Context, arg1 string) (*aliclient.NatGateway, error)

FindNatGatewayByVPC mocks base method.

func (*MockActor) FindSNatEntriesByNatGateway

func (m *MockActor) FindSNatEntriesByNatGateway(arg0 context.Context, arg1 string) ([]*aliclient.SNATEntry, error)

FindSNatEntriesByNatGateway mocks base method.

func (*MockActor) FindSecurityGroupsByTags

func (m *MockActor) FindSecurityGroupsByTags(arg0 context.Context, arg1 aliclient.Tags) ([]*aliclient.SecurityGroup, error)

FindSecurityGroupsByTags mocks base method.

func (*MockActor) FindVSwitchesByTags

func (m *MockActor) FindVSwitchesByTags(arg0 context.Context, arg1 aliclient.Tags) ([]*aliclient.VSwitch, error)

FindVSwitchesByTags mocks base method.

func (*MockActor) FindVpcsByTags

func (m *MockActor) FindVpcsByTags(arg0 context.Context, arg1 aliclient.Tags) ([]*aliclient.VPC, error)

FindVpcsByTags mocks base method.

func (*MockActor) GetEIP

func (m *MockActor) GetEIP(arg0 context.Context, arg1 string) (*aliclient.EIP, error)

GetEIP mocks base method.

func (*MockActor) GetEIPByAddress

func (m *MockActor) GetEIPByAddress(arg0 context.Context, arg1 string) (*aliclient.EIP, error)

GetEIPByAddress mocks base method.

func (*MockActor) GetNatGateway

func (m *MockActor) GetNatGateway(arg0 context.Context, arg1 string) (*aliclient.NatGateway, error)

GetNatGateway mocks base method.

func (*MockActor) GetSNatEntry

func (m *MockActor) GetSNatEntry(arg0 context.Context, arg1, arg2 string) (*aliclient.SNATEntry, error)

GetSNatEntry mocks base method.

func (*MockActor) GetSecurityGroup

func (m *MockActor) GetSecurityGroup(arg0 context.Context, arg1 string) (*aliclient.SecurityGroup, error)

GetSecurityGroup mocks base method.

func (*MockActor) GetVSwitch

func (m *MockActor) GetVSwitch(arg0 context.Context, arg1 string) (*aliclient.VSwitch, error)

GetVSwitch mocks base method.

func (*MockActor) GetVpc

func (m *MockActor) GetVpc(arg0 context.Context, arg1 string) (*aliclient.VPC, error)

GetVpc mocks base method.

func (*MockActor) ListEIPs

func (m *MockActor) ListEIPs(arg0 context.Context, arg1 []string) ([]*aliclient.EIP, error)

ListEIPs mocks base method.

func (*MockActor) ListEnhanhcedNatGatewayAvailableZones

func (m *MockActor) ListEnhanhcedNatGatewayAvailableZones(arg0 context.Context, arg1 string) ([]string, error)

ListEnhanhcedNatGatewayAvailableZones mocks base method.

func (*MockActor) ListNatGateways

func (m *MockActor) ListNatGateways(arg0 context.Context, arg1 []string) ([]*aliclient.NatGateway, error)

ListNatGateways mocks base method.

func (*MockActor) ListSecurityGroups

func (m *MockActor) ListSecurityGroups(arg0 context.Context, arg1 []string) ([]*aliclient.SecurityGroup, error)

ListSecurityGroups mocks base method.

func (*MockActor) ListVSwitches

func (m *MockActor) ListVSwitches(arg0 context.Context, arg1 []string) ([]*aliclient.VSwitch, error)

ListVSwitches mocks base method.

func (*MockActor) ListVpcs

func (m *MockActor) ListVpcs(arg0 context.Context, arg1 []string) ([]*aliclient.VPC, error)

ListVpcs mocks base method.

func (*MockActor) ModifyEIP

func (m *MockActor) ModifyEIP(arg0 context.Context, arg1 string, arg2 *aliclient.EIP) error

ModifyEIP mocks base method.

func (*MockActor) RevokeSecurityGroupRule

func (m *MockActor) RevokeSecurityGroupRule(arg0 context.Context, arg1, arg2, arg3 string) error

RevokeSecurityGroupRule mocks base method.

func (*MockActor) UnAssociateEIP

func (m *MockActor) UnAssociateEIP(arg0 context.Context, arg1 *aliclient.EIP) error

UnAssociateEIP mocks base method.

type MockActorMockRecorder

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

MockActorMockRecorder is the mock recorder for MockActor.

func (*MockActorMockRecorder) AssociateEIP

func (mr *MockActorMockRecorder) AssociateEIP(arg0, arg1, arg2, arg3 any) *gomock.Call

AssociateEIP indicates an expected call of AssociateEIP.

func (*MockActorMockRecorder) AuthorizeSecurityGroupRule

func (mr *MockActorMockRecorder) AuthorizeSecurityGroupRule(arg0, arg1, arg2 any) *gomock.Call

AuthorizeSecurityGroupRule indicates an expected call of AuthorizeSecurityGroupRule.

func (*MockActorMockRecorder) CreateEIP

func (mr *MockActorMockRecorder) CreateEIP(arg0, arg1 any) *gomock.Call

CreateEIP indicates an expected call of CreateEIP.

func (*MockActorMockRecorder) CreateNatGateway

func (mr *MockActorMockRecorder) CreateNatGateway(arg0, arg1 any) *gomock.Call

CreateNatGateway indicates an expected call of CreateNatGateway.

func (*MockActorMockRecorder) CreateSNatEntry

func (mr *MockActorMockRecorder) CreateSNatEntry(arg0, arg1 any) *gomock.Call

CreateSNatEntry indicates an expected call of CreateSNatEntry.

func (*MockActorMockRecorder) CreateSecurityGroup

func (mr *MockActorMockRecorder) CreateSecurityGroup(arg0, arg1 any) *gomock.Call

CreateSecurityGroup indicates an expected call of CreateSecurityGroup.

func (*MockActorMockRecorder) CreateTags

func (mr *MockActorMockRecorder) CreateTags(arg0, arg1, arg2, arg3 any) *gomock.Call

CreateTags indicates an expected call of CreateTags.

func (*MockActorMockRecorder) CreateVSwitch

func (mr *MockActorMockRecorder) CreateVSwitch(arg0, arg1 any) *gomock.Call

CreateVSwitch indicates an expected call of CreateVSwitch.

func (*MockActorMockRecorder) CreateVpc

func (mr *MockActorMockRecorder) CreateVpc(arg0, arg1 any) *gomock.Call

CreateVpc indicates an expected call of CreateVpc.

func (*MockActorMockRecorder) DeleteEIP

func (mr *MockActorMockRecorder) DeleteEIP(arg0, arg1 any) *gomock.Call

DeleteEIP indicates an expected call of DeleteEIP.

func (*MockActorMockRecorder) DeleteNatGateway

func (mr *MockActorMockRecorder) DeleteNatGateway(arg0, arg1 any) *gomock.Call

DeleteNatGateway indicates an expected call of DeleteNatGateway.

func (*MockActorMockRecorder) DeleteSNatEntry

func (mr *MockActorMockRecorder) DeleteSNatEntry(arg0, arg1, arg2 any) *gomock.Call

DeleteSNatEntry indicates an expected call of DeleteSNatEntry.

func (*MockActorMockRecorder) DeleteSecurityGroup

func (mr *MockActorMockRecorder) DeleteSecurityGroup(arg0, arg1 any) *gomock.Call

DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.

func (*MockActorMockRecorder) DeleteTags

func (mr *MockActorMockRecorder) DeleteTags(arg0, arg1, arg2, arg3 any) *gomock.Call

DeleteTags indicates an expected call of DeleteTags.

func (*MockActorMockRecorder) DeleteVSwitch

func (mr *MockActorMockRecorder) DeleteVSwitch(arg0, arg1 any) *gomock.Call

DeleteVSwitch indicates an expected call of DeleteVSwitch.

func (*MockActorMockRecorder) DeleteVpc

func (mr *MockActorMockRecorder) DeleteVpc(arg0, arg1 any) *gomock.Call

DeleteVpc indicates an expected call of DeleteVpc.

func (*MockActorMockRecorder) FindEIPsByTags

func (mr *MockActorMockRecorder) FindEIPsByTags(arg0, arg1 any) *gomock.Call

FindEIPsByTags indicates an expected call of FindEIPsByTags.

func (*MockActorMockRecorder) FindNatGatewayByTags

func (mr *MockActorMockRecorder) FindNatGatewayByTags(arg0, arg1 any) *gomock.Call

FindNatGatewayByTags indicates an expected call of FindNatGatewayByTags.

func (*MockActorMockRecorder) FindNatGatewayByVPC

func (mr *MockActorMockRecorder) FindNatGatewayByVPC(arg0, arg1 any) *gomock.Call

FindNatGatewayByVPC indicates an expected call of FindNatGatewayByVPC.

func (*MockActorMockRecorder) FindSNatEntriesByNatGateway

func (mr *MockActorMockRecorder) FindSNatEntriesByNatGateway(arg0, arg1 any) *gomock.Call

FindSNatEntriesByNatGateway indicates an expected call of FindSNatEntriesByNatGateway.

func (*MockActorMockRecorder) FindSecurityGroupsByTags

func (mr *MockActorMockRecorder) FindSecurityGroupsByTags(arg0, arg1 any) *gomock.Call

FindSecurityGroupsByTags indicates an expected call of FindSecurityGroupsByTags.

func (*MockActorMockRecorder) FindVSwitchesByTags

func (mr *MockActorMockRecorder) FindVSwitchesByTags(arg0, arg1 any) *gomock.Call

FindVSwitchesByTags indicates an expected call of FindVSwitchesByTags.

func (*MockActorMockRecorder) FindVpcsByTags

func (mr *MockActorMockRecorder) FindVpcsByTags(arg0, arg1 any) *gomock.Call

FindVpcsByTags indicates an expected call of FindVpcsByTags.

func (*MockActorMockRecorder) GetEIP

func (mr *MockActorMockRecorder) GetEIP(arg0, arg1 any) *gomock.Call

GetEIP indicates an expected call of GetEIP.

func (*MockActorMockRecorder) GetEIPByAddress

func (mr *MockActorMockRecorder) GetEIPByAddress(arg0, arg1 any) *gomock.Call

GetEIPByAddress indicates an expected call of GetEIPByAddress.

func (*MockActorMockRecorder) GetNatGateway

func (mr *MockActorMockRecorder) GetNatGateway(arg0, arg1 any) *gomock.Call

GetNatGateway indicates an expected call of GetNatGateway.

func (*MockActorMockRecorder) GetSNatEntry

func (mr *MockActorMockRecorder) GetSNatEntry(arg0, arg1, arg2 any) *gomock.Call

GetSNatEntry indicates an expected call of GetSNatEntry.

func (*MockActorMockRecorder) GetSecurityGroup

func (mr *MockActorMockRecorder) GetSecurityGroup(arg0, arg1 any) *gomock.Call

GetSecurityGroup indicates an expected call of GetSecurityGroup.

func (*MockActorMockRecorder) GetVSwitch

func (mr *MockActorMockRecorder) GetVSwitch(arg0, arg1 any) *gomock.Call

GetVSwitch indicates an expected call of GetVSwitch.

func (*MockActorMockRecorder) GetVpc

func (mr *MockActorMockRecorder) GetVpc(arg0, arg1 any) *gomock.Call

GetVpc indicates an expected call of GetVpc.

func (*MockActorMockRecorder) ListEIPs

func (mr *MockActorMockRecorder) ListEIPs(arg0, arg1 any) *gomock.Call

ListEIPs indicates an expected call of ListEIPs.

func (*MockActorMockRecorder) ListEnhanhcedNatGatewayAvailableZones

func (mr *MockActorMockRecorder) ListEnhanhcedNatGatewayAvailableZones(arg0, arg1 any) *gomock.Call

ListEnhanhcedNatGatewayAvailableZones indicates an expected call of ListEnhanhcedNatGatewayAvailableZones.

func (*MockActorMockRecorder) ListNatGateways

func (mr *MockActorMockRecorder) ListNatGateways(arg0, arg1 any) *gomock.Call

ListNatGateways indicates an expected call of ListNatGateways.

func (*MockActorMockRecorder) ListSecurityGroups

func (mr *MockActorMockRecorder) ListSecurityGroups(arg0, arg1 any) *gomock.Call

ListSecurityGroups indicates an expected call of ListSecurityGroups.

func (*MockActorMockRecorder) ListVSwitches

func (mr *MockActorMockRecorder) ListVSwitches(arg0, arg1 any) *gomock.Call

ListVSwitches indicates an expected call of ListVSwitches.

func (*MockActorMockRecorder) ListVpcs

func (mr *MockActorMockRecorder) ListVpcs(arg0, arg1 any) *gomock.Call

ListVpcs indicates an expected call of ListVpcs.

func (*MockActorMockRecorder) ModifyEIP

func (mr *MockActorMockRecorder) ModifyEIP(arg0, arg1, arg2 any) *gomock.Call

ModifyEIP indicates an expected call of ModifyEIP.

func (*MockActorMockRecorder) RevokeSecurityGroupRule

func (mr *MockActorMockRecorder) RevokeSecurityGroupRule(arg0, arg1, arg2, arg3 any) *gomock.Call

RevokeSecurityGroupRule indicates an expected call of RevokeSecurityGroupRule.

func (*MockActorMockRecorder) UnAssociateEIP

func (mr *MockActorMockRecorder) UnAssociateEIP(arg0, arg1 any) *gomock.Call

UnAssociateEIP indicates an expected call of UnAssociateEIP.

type MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) NewActor

func (m *MockFactory) NewActor(arg0, arg1, arg2 string) (aliclient.Actor, error)

NewActor mocks base method.

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) NewActor

func (mr *MockFactoryMockRecorder) NewActor(arg0, arg1, arg2 any) *gomock.Call

NewActor indicates an expected call of NewActor.

Jump to

Keyboard shortcuts

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