Documentation ¶
Overview ¶
Package aliclient is a generated GoMock package.
Index ¶
- type MockActor
- func (m *MockActor) AssociateEIP(ctx context.Context, id, to, insType string) error
- func (m *MockActor) AuthorizeSecurityGroupRule(ctx context.Context, sgId string, rule aliclient.SecurityGroupRule) error
- func (m *MockActor) CreateEIP(ctx context.Context, eip *aliclient.EIP) (*aliclient.EIP, error)
- func (m *MockActor) CreateNatGateway(ctx context.Context, ngw *aliclient.NatGateway) (*aliclient.NatGateway, error)
- func (m *MockActor) CreateSNatEntry(ctx context.Context, entry *aliclient.SNATEntry) (*aliclient.SNATEntry, error)
- func (m *MockActor) CreateSecurityGroup(ctx context.Context, sg *aliclient.SecurityGroup) (*aliclient.SecurityGroup, error)
- func (m *MockActor) CreateTags(ctx context.Context, resources []string, tags aliclient.Tags, ...) error
- func (m *MockActor) CreateVSwitch(ctx context.Context, vsw *aliclient.VSwitch) (*aliclient.VSwitch, error)
- func (m *MockActor) CreateVpc(ctx context.Context, vpc *aliclient.VPC) (*aliclient.VPC, error)
- func (m *MockActor) DeleteEIP(ctx context.Context, id string) error
- func (m *MockActor) DeleteNatGateway(ctx context.Context, id string) error
- func (m *MockActor) DeleteSNatEntry(ctx context.Context, id, snatTableId string) error
- func (m *MockActor) DeleteSecurityGroup(ctx context.Context, id string) error
- func (m *MockActor) DeleteTags(ctx context.Context, resources []string, tags aliclient.Tags, ...) error
- func (m *MockActor) DeleteVSwitch(ctx context.Context, id string) error
- func (m *MockActor) DeleteVpc(ctx context.Context, id string) error
- func (m *MockActor) EXPECT() *MockActorMockRecorder
- func (m *MockActor) FindEIPsByTags(ctx context.Context, tags aliclient.Tags) ([]*aliclient.EIP, error)
- func (m *MockActor) FindNatGatewayByTags(ctx context.Context, tags aliclient.Tags) ([]*aliclient.NatGateway, error)
- func (m *MockActor) FindNatGatewayByVPC(ctx context.Context, vpcId string) (*aliclient.NatGateway, error)
- func (m *MockActor) FindSNatEntriesByNatGateway(ctx context.Context, ngwId string) ([]*aliclient.SNATEntry, error)
- func (m *MockActor) FindSecurityGroupsByTags(ctx context.Context, tags aliclient.Tags) ([]*aliclient.SecurityGroup, error)
- func (m *MockActor) FindVSwitchesByTags(ctx context.Context, tags aliclient.Tags) ([]*aliclient.VSwitch, error)
- func (m *MockActor) FindVpcsByTags(ctx context.Context, tags aliclient.Tags) ([]*aliclient.VPC, error)
- func (m *MockActor) GetEIP(ctx context.Context, id string) (*aliclient.EIP, error)
- func (m *MockActor) GetEIPByAddress(ctx context.Context, ipAddress string) (*aliclient.EIP, error)
- func (m *MockActor) GetNatGateway(ctx context.Context, id string) (*aliclient.NatGateway, error)
- func (m *MockActor) GetSNatEntry(ctx context.Context, id, snatTableId string) (*aliclient.SNATEntry, error)
- func (m *MockActor) GetSecurityGroup(ctx context.Context, id string) (*aliclient.SecurityGroup, error)
- func (m *MockActor) GetVSwitch(ctx context.Context, id string) (*aliclient.VSwitch, error)
- func (m *MockActor) GetVpc(ctx context.Context, id string) (*aliclient.VPC, error)
- func (m *MockActor) ListEIPs(ctx context.Context, ids []string) ([]*aliclient.EIP, error)
- func (m *MockActor) ListEnhanhcedNatGatewayAvailableZones(ctx context.Context, region string) ([]string, error)
- func (m *MockActor) ListNatGateways(ctx context.Context, ids []string) ([]*aliclient.NatGateway, error)
- func (m *MockActor) ListSecurityGroups(ctx context.Context, ids []string) ([]*aliclient.SecurityGroup, error)
- func (m *MockActor) ListVSwitches(ctx context.Context, ids []string) ([]*aliclient.VSwitch, error)
- func (m *MockActor) ListVpcs(ctx context.Context, ids []string) ([]*aliclient.VPC, error)
- func (m *MockActor) ModifyEIP(ctx context.Context, id string, eip *aliclient.EIP) error
- func (m *MockActor) RevokeSecurityGroupRule(ctx context.Context, sgId, ruleId, direction string) error
- func (m *MockActor) UnAssociateEIP(ctx context.Context, eip *aliclient.EIP) error
- type MockActorMockRecorder
- func (mr *MockActorMockRecorder) AssociateEIP(ctx, id, to, insType any) *gomock.Call
- func (mr *MockActorMockRecorder) AuthorizeSecurityGroupRule(ctx, sgId, rule any) *gomock.Call
- func (mr *MockActorMockRecorder) CreateEIP(ctx, eip any) *gomock.Call
- func (mr *MockActorMockRecorder) CreateNatGateway(ctx, ngw any) *gomock.Call
- func (mr *MockActorMockRecorder) CreateSNatEntry(ctx, entry any) *gomock.Call
- func (mr *MockActorMockRecorder) CreateSecurityGroup(ctx, sg any) *gomock.Call
- func (mr *MockActorMockRecorder) CreateTags(ctx, resources, tags, resourceType any) *gomock.Call
- func (mr *MockActorMockRecorder) CreateVSwitch(ctx, vsw any) *gomock.Call
- func (mr *MockActorMockRecorder) CreateVpc(ctx, vpc any) *gomock.Call
- func (mr *MockActorMockRecorder) DeleteEIP(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) DeleteNatGateway(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) DeleteSNatEntry(ctx, id, snatTableId any) *gomock.Call
- func (mr *MockActorMockRecorder) DeleteSecurityGroup(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) DeleteTags(ctx, resources, tags, resourceType any) *gomock.Call
- func (mr *MockActorMockRecorder) DeleteVSwitch(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) DeleteVpc(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) FindEIPsByTags(ctx, tags any) *gomock.Call
- func (mr *MockActorMockRecorder) FindNatGatewayByTags(ctx, tags any) *gomock.Call
- func (mr *MockActorMockRecorder) FindNatGatewayByVPC(ctx, vpcId any) *gomock.Call
- func (mr *MockActorMockRecorder) FindSNatEntriesByNatGateway(ctx, ngwId any) *gomock.Call
- func (mr *MockActorMockRecorder) FindSecurityGroupsByTags(ctx, tags any) *gomock.Call
- func (mr *MockActorMockRecorder) FindVSwitchesByTags(ctx, tags any) *gomock.Call
- func (mr *MockActorMockRecorder) FindVpcsByTags(ctx, tags any) *gomock.Call
- func (mr *MockActorMockRecorder) GetEIP(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) GetEIPByAddress(ctx, ipAddress any) *gomock.Call
- func (mr *MockActorMockRecorder) GetNatGateway(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) GetSNatEntry(ctx, id, snatTableId any) *gomock.Call
- func (mr *MockActorMockRecorder) GetSecurityGroup(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) GetVSwitch(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) GetVpc(ctx, id any) *gomock.Call
- func (mr *MockActorMockRecorder) ListEIPs(ctx, ids any) *gomock.Call
- func (mr *MockActorMockRecorder) ListEnhanhcedNatGatewayAvailableZones(ctx, region any) *gomock.Call
- func (mr *MockActorMockRecorder) ListNatGateways(ctx, ids any) *gomock.Call
- func (mr *MockActorMockRecorder) ListSecurityGroups(ctx, ids any) *gomock.Call
- func (mr *MockActorMockRecorder) ListVSwitches(ctx, ids any) *gomock.Call
- func (mr *MockActorMockRecorder) ListVpcs(ctx, ids any) *gomock.Call
- func (mr *MockActorMockRecorder) ModifyEIP(ctx, id, eip any) *gomock.Call
- func (mr *MockActorMockRecorder) RevokeSecurityGroupRule(ctx, sgId, ruleId, direction any) *gomock.Call
- func (mr *MockActorMockRecorder) UnAssociateEIP(ctx, eip any) *gomock.Call
- type MockFactory
- type MockFactoryMockRecorder
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 ¶
AssociateEIP mocks base method.
func (*MockActor) AuthorizeSecurityGroupRule ¶
func (m *MockActor) AuthorizeSecurityGroupRule(ctx context.Context, sgId string, rule aliclient.SecurityGroupRule) error
AuthorizeSecurityGroupRule mocks base method.
func (*MockActor) CreateNatGateway ¶
func (m *MockActor) CreateNatGateway(ctx context.Context, ngw *aliclient.NatGateway) (*aliclient.NatGateway, error)
CreateNatGateway mocks base method.
func (*MockActor) CreateSNatEntry ¶
func (m *MockActor) CreateSNatEntry(ctx context.Context, entry *aliclient.SNATEntry) (*aliclient.SNATEntry, error)
CreateSNatEntry mocks base method.
func (*MockActor) CreateSecurityGroup ¶
func (m *MockActor) CreateSecurityGroup(ctx context.Context, sg *aliclient.SecurityGroup) (*aliclient.SecurityGroup, error)
CreateSecurityGroup mocks base method.
func (*MockActor) CreateTags ¶
func (m *MockActor) CreateTags(ctx context.Context, resources []string, tags aliclient.Tags, resourceType string) error
CreateTags mocks base method.
func (*MockActor) CreateVSwitch ¶
func (m *MockActor) CreateVSwitch(ctx context.Context, vsw *aliclient.VSwitch) (*aliclient.VSwitch, error)
CreateVSwitch mocks base method.
func (*MockActor) DeleteNatGateway ¶
DeleteNatGateway mocks base method.
func (*MockActor) DeleteSNatEntry ¶
DeleteSNatEntry mocks base method.
func (*MockActor) DeleteSecurityGroup ¶
DeleteSecurityGroup mocks base method.
func (*MockActor) DeleteTags ¶
func (m *MockActor) DeleteTags(ctx context.Context, resources []string, tags aliclient.Tags, resourceType string) error
DeleteTags mocks base method.
func (*MockActor) DeleteVSwitch ¶
DeleteVSwitch 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(ctx context.Context, tags aliclient.Tags) ([]*aliclient.EIP, error)
FindEIPsByTags mocks base method.
func (*MockActor) FindNatGatewayByTags ¶
func (m *MockActor) FindNatGatewayByTags(ctx context.Context, tags aliclient.Tags) ([]*aliclient.NatGateway, error)
FindNatGatewayByTags mocks base method.
func (*MockActor) FindNatGatewayByVPC ¶
func (m *MockActor) FindNatGatewayByVPC(ctx context.Context, vpcId string) (*aliclient.NatGateway, error)
FindNatGatewayByVPC mocks base method.
func (*MockActor) FindSNatEntriesByNatGateway ¶
func (m *MockActor) FindSNatEntriesByNatGateway(ctx context.Context, ngwId string) ([]*aliclient.SNATEntry, error)
FindSNatEntriesByNatGateway mocks base method.
func (*MockActor) FindSecurityGroupsByTags ¶
func (m *MockActor) FindSecurityGroupsByTags(ctx context.Context, tags aliclient.Tags) ([]*aliclient.SecurityGroup, error)
FindSecurityGroupsByTags mocks base method.
func (*MockActor) FindVSwitchesByTags ¶
func (m *MockActor) FindVSwitchesByTags(ctx context.Context, tags aliclient.Tags) ([]*aliclient.VSwitch, error)
FindVSwitchesByTags mocks base method.
func (*MockActor) FindVpcsByTags ¶
func (m *MockActor) FindVpcsByTags(ctx context.Context, tags aliclient.Tags) ([]*aliclient.VPC, error)
FindVpcsByTags mocks base method.
func (*MockActor) GetEIPByAddress ¶
GetEIPByAddress mocks base method.
func (*MockActor) GetNatGateway ¶
GetNatGateway mocks base method.
func (*MockActor) GetSNatEntry ¶
func (m *MockActor) GetSNatEntry(ctx context.Context, id, snatTableId string) (*aliclient.SNATEntry, error)
GetSNatEntry mocks base method.
func (*MockActor) GetSecurityGroup ¶
func (m *MockActor) GetSecurityGroup(ctx context.Context, id string) (*aliclient.SecurityGroup, error)
GetSecurityGroup mocks base method.
func (*MockActor) GetVSwitch ¶
GetVSwitch mocks base method.
func (*MockActor) ListEnhanhcedNatGatewayAvailableZones ¶
func (m *MockActor) ListEnhanhcedNatGatewayAvailableZones(ctx context.Context, region string) ([]string, error)
ListEnhanhcedNatGatewayAvailableZones mocks base method.
func (*MockActor) ListNatGateways ¶
func (m *MockActor) ListNatGateways(ctx context.Context, ids []string) ([]*aliclient.NatGateway, error)
ListNatGateways mocks base method.
func (*MockActor) ListSecurityGroups ¶
func (m *MockActor) ListSecurityGroups(ctx context.Context, ids []string) ([]*aliclient.SecurityGroup, error)
ListSecurityGroups mocks base method.
func (*MockActor) ListVSwitches ¶
ListVSwitches 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(ctx, id, to, insType any) *gomock.Call
AssociateEIP indicates an expected call of AssociateEIP.
func (*MockActorMockRecorder) AuthorizeSecurityGroupRule ¶
func (mr *MockActorMockRecorder) AuthorizeSecurityGroupRule(ctx, sgId, rule any) *gomock.Call
AuthorizeSecurityGroupRule indicates an expected call of AuthorizeSecurityGroupRule.
func (*MockActorMockRecorder) CreateEIP ¶
func (mr *MockActorMockRecorder) CreateEIP(ctx, eip any) *gomock.Call
CreateEIP indicates an expected call of CreateEIP.
func (*MockActorMockRecorder) CreateNatGateway ¶
func (mr *MockActorMockRecorder) CreateNatGateway(ctx, ngw any) *gomock.Call
CreateNatGateway indicates an expected call of CreateNatGateway.
func (*MockActorMockRecorder) CreateSNatEntry ¶
func (mr *MockActorMockRecorder) CreateSNatEntry(ctx, entry any) *gomock.Call
CreateSNatEntry indicates an expected call of CreateSNatEntry.
func (*MockActorMockRecorder) CreateSecurityGroup ¶
func (mr *MockActorMockRecorder) CreateSecurityGroup(ctx, sg any) *gomock.Call
CreateSecurityGroup indicates an expected call of CreateSecurityGroup.
func (*MockActorMockRecorder) CreateTags ¶
func (mr *MockActorMockRecorder) CreateTags(ctx, resources, tags, resourceType any) *gomock.Call
CreateTags indicates an expected call of CreateTags.
func (*MockActorMockRecorder) CreateVSwitch ¶
func (mr *MockActorMockRecorder) CreateVSwitch(ctx, vsw any) *gomock.Call
CreateVSwitch indicates an expected call of CreateVSwitch.
func (*MockActorMockRecorder) CreateVpc ¶
func (mr *MockActorMockRecorder) CreateVpc(ctx, vpc any) *gomock.Call
CreateVpc indicates an expected call of CreateVpc.
func (*MockActorMockRecorder) DeleteEIP ¶
func (mr *MockActorMockRecorder) DeleteEIP(ctx, id any) *gomock.Call
DeleteEIP indicates an expected call of DeleteEIP.
func (*MockActorMockRecorder) DeleteNatGateway ¶
func (mr *MockActorMockRecorder) DeleteNatGateway(ctx, id any) *gomock.Call
DeleteNatGateway indicates an expected call of DeleteNatGateway.
func (*MockActorMockRecorder) DeleteSNatEntry ¶
func (mr *MockActorMockRecorder) DeleteSNatEntry(ctx, id, snatTableId any) *gomock.Call
DeleteSNatEntry indicates an expected call of DeleteSNatEntry.
func (*MockActorMockRecorder) DeleteSecurityGroup ¶
func (mr *MockActorMockRecorder) DeleteSecurityGroup(ctx, id any) *gomock.Call
DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.
func (*MockActorMockRecorder) DeleteTags ¶
func (mr *MockActorMockRecorder) DeleteTags(ctx, resources, tags, resourceType any) *gomock.Call
DeleteTags indicates an expected call of DeleteTags.
func (*MockActorMockRecorder) DeleteVSwitch ¶
func (mr *MockActorMockRecorder) DeleteVSwitch(ctx, id any) *gomock.Call
DeleteVSwitch indicates an expected call of DeleteVSwitch.
func (*MockActorMockRecorder) DeleteVpc ¶
func (mr *MockActorMockRecorder) DeleteVpc(ctx, id any) *gomock.Call
DeleteVpc indicates an expected call of DeleteVpc.
func (*MockActorMockRecorder) FindEIPsByTags ¶
func (mr *MockActorMockRecorder) FindEIPsByTags(ctx, tags any) *gomock.Call
FindEIPsByTags indicates an expected call of FindEIPsByTags.
func (*MockActorMockRecorder) FindNatGatewayByTags ¶
func (mr *MockActorMockRecorder) FindNatGatewayByTags(ctx, tags any) *gomock.Call
FindNatGatewayByTags indicates an expected call of FindNatGatewayByTags.
func (*MockActorMockRecorder) FindNatGatewayByVPC ¶
func (mr *MockActorMockRecorder) FindNatGatewayByVPC(ctx, vpcId any) *gomock.Call
FindNatGatewayByVPC indicates an expected call of FindNatGatewayByVPC.
func (*MockActorMockRecorder) FindSNatEntriesByNatGateway ¶
func (mr *MockActorMockRecorder) FindSNatEntriesByNatGateway(ctx, ngwId any) *gomock.Call
FindSNatEntriesByNatGateway indicates an expected call of FindSNatEntriesByNatGateway.
func (*MockActorMockRecorder) FindSecurityGroupsByTags ¶
func (mr *MockActorMockRecorder) FindSecurityGroupsByTags(ctx, tags any) *gomock.Call
FindSecurityGroupsByTags indicates an expected call of FindSecurityGroupsByTags.
func (*MockActorMockRecorder) FindVSwitchesByTags ¶
func (mr *MockActorMockRecorder) FindVSwitchesByTags(ctx, tags any) *gomock.Call
FindVSwitchesByTags indicates an expected call of FindVSwitchesByTags.
func (*MockActorMockRecorder) FindVpcsByTags ¶
func (mr *MockActorMockRecorder) FindVpcsByTags(ctx, tags any) *gomock.Call
FindVpcsByTags indicates an expected call of FindVpcsByTags.
func (*MockActorMockRecorder) GetEIP ¶
func (mr *MockActorMockRecorder) GetEIP(ctx, id any) *gomock.Call
GetEIP indicates an expected call of GetEIP.
func (*MockActorMockRecorder) GetEIPByAddress ¶
func (mr *MockActorMockRecorder) GetEIPByAddress(ctx, ipAddress any) *gomock.Call
GetEIPByAddress indicates an expected call of GetEIPByAddress.
func (*MockActorMockRecorder) GetNatGateway ¶
func (mr *MockActorMockRecorder) GetNatGateway(ctx, id any) *gomock.Call
GetNatGateway indicates an expected call of GetNatGateway.
func (*MockActorMockRecorder) GetSNatEntry ¶
func (mr *MockActorMockRecorder) GetSNatEntry(ctx, id, snatTableId any) *gomock.Call
GetSNatEntry indicates an expected call of GetSNatEntry.
func (*MockActorMockRecorder) GetSecurityGroup ¶
func (mr *MockActorMockRecorder) GetSecurityGroup(ctx, id any) *gomock.Call
GetSecurityGroup indicates an expected call of GetSecurityGroup.
func (*MockActorMockRecorder) GetVSwitch ¶
func (mr *MockActorMockRecorder) GetVSwitch(ctx, id any) *gomock.Call
GetVSwitch indicates an expected call of GetVSwitch.
func (*MockActorMockRecorder) GetVpc ¶
func (mr *MockActorMockRecorder) GetVpc(ctx, id any) *gomock.Call
GetVpc indicates an expected call of GetVpc.
func (*MockActorMockRecorder) ListEIPs ¶
func (mr *MockActorMockRecorder) ListEIPs(ctx, ids any) *gomock.Call
ListEIPs indicates an expected call of ListEIPs.
func (*MockActorMockRecorder) ListEnhanhcedNatGatewayAvailableZones ¶
func (mr *MockActorMockRecorder) ListEnhanhcedNatGatewayAvailableZones(ctx, region any) *gomock.Call
ListEnhanhcedNatGatewayAvailableZones indicates an expected call of ListEnhanhcedNatGatewayAvailableZones.
func (*MockActorMockRecorder) ListNatGateways ¶
func (mr *MockActorMockRecorder) ListNatGateways(ctx, ids any) *gomock.Call
ListNatGateways indicates an expected call of ListNatGateways.
func (*MockActorMockRecorder) ListSecurityGroups ¶
func (mr *MockActorMockRecorder) ListSecurityGroups(ctx, ids any) *gomock.Call
ListSecurityGroups indicates an expected call of ListSecurityGroups.
func (*MockActorMockRecorder) ListVSwitches ¶
func (mr *MockActorMockRecorder) ListVSwitches(ctx, ids any) *gomock.Call
ListVSwitches indicates an expected call of ListVSwitches.
func (*MockActorMockRecorder) ListVpcs ¶
func (mr *MockActorMockRecorder) ListVpcs(ctx, ids any) *gomock.Call
ListVpcs indicates an expected call of ListVpcs.
func (*MockActorMockRecorder) ModifyEIP ¶
func (mr *MockActorMockRecorder) ModifyEIP(ctx, id, eip any) *gomock.Call
ModifyEIP indicates an expected call of ModifyEIP.
func (*MockActorMockRecorder) RevokeSecurityGroupRule ¶
func (mr *MockActorMockRecorder) RevokeSecurityGroupRule(ctx, sgId, ruleId, direction any) *gomock.Call
RevokeSecurityGroupRule indicates an expected call of RevokeSecurityGroupRule.
func (*MockActorMockRecorder) UnAssociateEIP ¶
func (mr *MockActorMockRecorder) UnAssociateEIP(ctx, eip 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.
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.