Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type MockClientFactory
- func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
- func (m *MockClientFactory) NewDNSClient(arg0, arg1, arg2 string) (client.DNS, error)
- func (m *MockClientFactory) NewECSClient(arg0, arg1, arg2 string) (client.ECS, error)
- func (m *MockClientFactory) NewOSSClient(arg0, arg1, arg2 string) (client.OSS, error)
- func (m *MockClientFactory) NewOSSClientFromSecretRef(arg0 context.Context, arg1 client0.Client, arg2 *v1.SecretReference, ...) (client.OSS, error)
- func (m *MockClientFactory) NewRAMClient(arg0, arg1, arg2 string) (client.RAM, error)
- func (m *MockClientFactory) NewROSClient(arg0, arg1, arg2 string) (client.ROS, error)
- func (m *MockClientFactory) NewSLBClient(arg0, arg1, arg2 string) (client.SLB, error)
- func (m *MockClientFactory) NewSTSClient(arg0, arg1, arg2 string) (client.STS, error)
- func (m *MockClientFactory) NewVPCClient(arg0, arg1, arg2 string) (client.VPC, error)
- type MockClientFactoryMockRecorder
- func (mr *MockClientFactoryMockRecorder) NewDNSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewECSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewOSSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewOSSClientFromSecretRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewRAMClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewROSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewSLBClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewSTSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientFactoryMockRecorder) NewVPCClient(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockECS
- func (m *MockECS) AllocatePublicIp(arg0 string) (*ecs.AllocatePublicIpAddressResponse, error)
- func (m *MockECS) CheckIfImageExists(arg0 string) (bool, error)
- func (m *MockECS) CheckIfImageOwnedByAliCloud(arg0 string) (bool, error)
- func (m *MockECS) CreateEgressRule(arg0 *ecs.AuthorizeSecurityGroupEgressRequest) error
- func (m *MockECS) CreateIngressRule(arg0 *ecs.AuthorizeSecurityGroupRequest) error
- func (m *MockECS) CreateInstances(arg0, arg1, arg2, arg3, arg4, arg5, arg6 string) (*ecs.RunInstancesResponse, error)
- func (m *MockECS) CreateSecurityGroups(arg0, arg1 string) (*ecs.CreateSecurityGroupResponse, error)
- func (m *MockECS) DeleteInstances(arg0 string, arg1 bool) error
- func (m *MockECS) DeleteSecurityGroups(arg0 string) error
- func (m *MockECS) DescribeKeyPairs(arg0 *ecs.DescribeKeyPairsRequest) (*ecs.DescribeKeyPairsResponse, error)
- func (m *MockECS) DescribeSecurityGroupAttribute(arg0 *ecs.DescribeSecurityGroupAttributeRequest) (*ecs.DescribeSecurityGroupAttributeResponse, error)
- func (m *MockECS) DescribeSecurityGroups(arg0 *ecs.DescribeSecurityGroupsRequest) (*ecs.DescribeSecurityGroupsResponse, error)
- func (m *MockECS) DetachECSInstancesFromSSHKeyPair(arg0 string) error
- func (m *MockECS) EXPECT() *MockECSMockRecorder
- func (m *MockECS) GetInstanceType(arg0 int, arg1 string) (*ecs.DescribeAvailableResourceResponse, error)
- func (m *MockECS) GetInstances(arg0 string) (*ecs.DescribeInstancesResponse, error)
- func (m *MockECS) GetSecurityGroup(arg0 string) (*ecs.DescribeSecurityGroupsResponse, error)
- func (m *MockECS) GetSecurityGroupWithID(arg0 string) (*ecs.DescribeSecurityGroupsResponse, error)
- func (m *MockECS) RevokeEgressRule(arg0 *ecs.RevokeSecurityGroupEgressRequest) error
- func (m *MockECS) RevokeIngressRule(arg0 *ecs.RevokeSecurityGroupRequest) error
- func (m *MockECS) ShareImageToAccount(arg0 context.Context, arg1, arg2, arg3 string) error
- type MockECSMockRecorder
- func (mr *MockECSMockRecorder) AllocatePublicIp(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) CheckIfImageExists(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) CheckIfImageOwnedByAliCloud(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) CreateEgressRule(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) CreateIngressRule(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) CreateInstances(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) CreateSecurityGroups(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) DeleteInstances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) DeleteSecurityGroups(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) DescribeKeyPairs(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) DescribeSecurityGroupAttribute(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) DescribeSecurityGroups(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) DetachECSInstancesFromSSHKeyPair(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) GetInstanceType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) GetInstances(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) GetSecurityGroup(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) GetSecurityGroupWithID(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) RevokeEgressRule(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) RevokeIngressRule(arg0 interface{}) *gomock.Call
- func (mr *MockECSMockRecorder) ShareImageToAccount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockOSS
- type MockOSSMockRecorder
- type MockRAM
- type MockRAMMockRecorder
- type MockROS
- func (m *MockROS) CreateStack(arg0 *ros.CreateStackRequest) (*ros.CreateStackResponse, error)
- func (m *MockROS) DeleteStack(arg0 *ros.DeleteStackRequest) (*ros.DeleteStackResponse, error)
- func (m *MockROS) EXPECT() *MockROSMockRecorder
- func (m *MockROS) GetStack(arg0 *ros.GetStackRequest) (*ros.GetStackResponse, error)
- func (m *MockROS) ListStacks(arg0 *ros.ListStacksRequest) (*ros.ListStacksResponse, error)
- type MockROSMockRecorder
- type MockSLB
- func (m *MockSLB) DeleteLoadBalancer(arg0 context.Context, arg1, arg2 string) error
- func (m *MockSLB) EXPECT() *MockSLBMockRecorder
- func (m *MockSLB) GetFirstVServerGroupName(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockSLB) GetLoadBalancerIDs(arg0 context.Context, arg1 string) ([]string, error)
- func (m *MockSLB) SetLoadBalancerDeleteProtection(arg0 context.Context, arg1, arg2 string, arg3 bool) error
- type MockSLBMockRecorder
- func (mr *MockSLBMockRecorder) DeleteLoadBalancer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSLBMockRecorder) GetFirstVServerGroupName(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSLBMockRecorder) GetLoadBalancerIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSLBMockRecorder) SetLoadBalancerDeleteProtection(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockSTS
- type MockSTSMockRecorder
- type MockVPC
- func (m *MockVPC) CreateNatGateway(arg0 *vpc.CreateNatGatewayRequest) (*vpc.CreateNatGatewayResponse, error)
- func (m *MockVPC) CreateVSwitch(arg0 *vpc.CreateVSwitchRequest) (*vpc.CreateVSwitchResponse, error)
- func (m *MockVPC) CreateVpc(arg0 *vpc.CreateVpcRequest) (*vpc.CreateVpcResponse, error)
- func (m *MockVPC) DeleteNatGateway(arg0 *vpc.DeleteNatGatewayRequest) (*vpc.DeleteNatGatewayResponse, error)
- func (m *MockVPC) DeleteVSwitch(arg0 *vpc.DeleteVSwitchRequest) (*vpc.DeleteVSwitchResponse, error)
- func (m *MockVPC) DeleteVpc(arg0 *vpc.DeleteVpcRequest) (*vpc.DeleteVpcResponse, error)
- func (m *MockVPC) DescribeEipAddresses(arg0 *vpc.DescribeEipAddressesRequest) (*vpc.DescribeEipAddressesResponse, error)
- func (m *MockVPC) DescribeNatGateways(arg0 *vpc.DescribeNatGatewaysRequest) (*vpc.DescribeNatGatewaysResponse, error)
- func (m *MockVPC) DescribeSnatTableEntries(arg0 *vpc.DescribeSnatTableEntriesRequest) (*vpc.DescribeSnatTableEntriesResponse, error)
- func (m *MockVPC) DescribeVSwitches(arg0 *vpc.DescribeVSwitchesRequest) (*vpc.DescribeVSwitchesResponse, error)
- func (m *MockVPC) DescribeVpcs(arg0 *vpc.DescribeVpcsRequest) (*vpc.DescribeVpcsResponse, error)
- func (m *MockVPC) EXPECT() *MockVPCMockRecorder
- func (m *MockVPC) FetchEIPInternetChargeType(arg0 context.Context, arg1 *vpc.NatGateway, arg2 string) (string, error)
- func (m *MockVPC) GetEIPWithID(arg0 context.Context, arg1 string) ([]vpc.EipAddress, error)
- func (m *MockVPC) GetEnhanhcedNatGatewayAvailableZones(arg0 context.Context, arg1 string) ([]string, error)
- func (m *MockVPC) GetNatGatewaysWithVPCID(arg0 context.Context, arg1 string) ([]vpc.NatGateway, error)
- func (m *MockVPC) GetVPCInfo(arg0 context.Context, arg1 string) (*client.VPCInfo, error)
- func (m *MockVPC) GetVPCInfoByName(arg0 string) (*client.VPCInfo, error)
- func (m *MockVPC) GetVPCWithID(arg0 context.Context, arg1 string) ([]vpc.Vpc, error)
- func (m *MockVPC) GetVSwitchesInfoByID(arg0 string) (*client.VSwitchInfo, error)
- type MockVPCMockRecorder
- func (mr *MockVPCMockRecorder) CreateNatGateway(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) CreateVSwitch(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) CreateVpc(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) DeleteNatGateway(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) DeleteVSwitch(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) DeleteVpc(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) DescribeEipAddresses(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) DescribeNatGateways(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) DescribeSnatTableEntries(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) DescribeVSwitches(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) DescribeVpcs(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) FetchEIPInternetChargeType(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) GetEIPWithID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) GetEnhanhcedNatGatewayAvailableZones(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) GetNatGatewaysWithVPCID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) GetVPCInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) GetVPCInfoByName(arg0 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) GetVPCWithID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) GetVSwitchesInfoByID(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientFactory ¶
type MockClientFactory struct {
// contains filtered or unexported fields
}
MockClientFactory is a mock of ClientFactory interface.
func NewMockClientFactory ¶
func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory
NewMockClientFactory creates a new mock instance.
func (*MockClientFactory) EXPECT ¶
func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientFactory) NewDNSClient ¶ added in v1.26.0
func (m *MockClientFactory) NewDNSClient(arg0, arg1, arg2 string) (client.DNS, error)
NewDNSClient mocks base method.
func (*MockClientFactory) NewECSClient ¶
func (m *MockClientFactory) NewECSClient(arg0, arg1, arg2 string) (client.ECS, error)
NewECSClient mocks base method.
func (*MockClientFactory) NewOSSClient ¶ added in v1.24.0
func (m *MockClientFactory) NewOSSClient(arg0, arg1, arg2 string) (client.OSS, error)
NewOSSClient mocks base method.
func (*MockClientFactory) NewOSSClientFromSecretRef ¶ added in v1.24.0
func (m *MockClientFactory) NewOSSClientFromSecretRef(arg0 context.Context, arg1 client0.Client, arg2 *v1.SecretReference, arg3 string) (client.OSS, error)
NewOSSClientFromSecretRef mocks base method.
func (*MockClientFactory) NewRAMClient ¶ added in v1.21.0
func (m *MockClientFactory) NewRAMClient(arg0, arg1, arg2 string) (client.RAM, error)
NewRAMClient mocks base method.
func (*MockClientFactory) NewROSClient ¶ added in v1.25.0
func (m *MockClientFactory) NewROSClient(arg0, arg1, arg2 string) (client.ROS, error)
NewROSClient mocks base method.
func (*MockClientFactory) NewSLBClient ¶
func (m *MockClientFactory) NewSLBClient(arg0, arg1, arg2 string) (client.SLB, error)
NewSLBClient mocks base method.
func (*MockClientFactory) NewSTSClient ¶
func (m *MockClientFactory) NewSTSClient(arg0, arg1, arg2 string) (client.STS, error)
NewSTSClient mocks base method.
func (*MockClientFactory) NewVPCClient ¶ added in v1.16.0
func (m *MockClientFactory) NewVPCClient(arg0, arg1, arg2 string) (client.VPC, error)
NewVPCClient mocks base method.
type MockClientFactoryMockRecorder ¶
type MockClientFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.
func (*MockClientFactoryMockRecorder) NewDNSClient ¶ added in v1.26.0
func (mr *MockClientFactoryMockRecorder) NewDNSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewDNSClient indicates an expected call of NewDNSClient.
func (*MockClientFactoryMockRecorder) NewECSClient ¶
func (mr *MockClientFactoryMockRecorder) NewECSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewECSClient indicates an expected call of NewECSClient.
func (*MockClientFactoryMockRecorder) NewOSSClient ¶ added in v1.24.0
func (mr *MockClientFactoryMockRecorder) NewOSSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewOSSClient indicates an expected call of NewOSSClient.
func (*MockClientFactoryMockRecorder) NewOSSClientFromSecretRef ¶ added in v1.24.0
func (mr *MockClientFactoryMockRecorder) NewOSSClientFromSecretRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
NewOSSClientFromSecretRef indicates an expected call of NewOSSClientFromSecretRef.
func (*MockClientFactoryMockRecorder) NewRAMClient ¶ added in v1.21.0
func (mr *MockClientFactoryMockRecorder) NewRAMClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewRAMClient indicates an expected call of NewRAMClient.
func (*MockClientFactoryMockRecorder) NewROSClient ¶ added in v1.25.0
func (mr *MockClientFactoryMockRecorder) NewROSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewROSClient indicates an expected call of NewROSClient.
func (*MockClientFactoryMockRecorder) NewSLBClient ¶
func (mr *MockClientFactoryMockRecorder) NewSLBClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewSLBClient indicates an expected call of NewSLBClient.
func (*MockClientFactoryMockRecorder) NewSTSClient ¶
func (mr *MockClientFactoryMockRecorder) NewSTSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewSTSClient indicates an expected call of NewSTSClient.
func (*MockClientFactoryMockRecorder) NewVPCClient ¶ added in v1.16.0
func (mr *MockClientFactoryMockRecorder) NewVPCClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewVPCClient indicates an expected call of NewVPCClient.
type MockECS ¶
type MockECS struct {
// contains filtered or unexported fields
}
MockECS is a mock of ECS interface.
func NewMockECS ¶
func NewMockECS(ctrl *gomock.Controller) *MockECS
NewMockECS creates a new mock instance.
func (*MockECS) AllocatePublicIp ¶ added in v1.35.0
func (m *MockECS) AllocatePublicIp(arg0 string) (*ecs.AllocatePublicIpAddressResponse, error)
AllocatePublicIp mocks base method.
func (*MockECS) CheckIfImageExists ¶
CheckIfImageExists mocks base method.
func (*MockECS) CheckIfImageOwnedByAliCloud ¶ added in v1.25.0
CheckIfImageOwnedByAliCloud mocks base method.
func (*MockECS) CreateEgressRule ¶ added in v1.35.0
func (m *MockECS) CreateEgressRule(arg0 *ecs.AuthorizeSecurityGroupEgressRequest) error
CreateEgressRule mocks base method.
func (*MockECS) CreateIngressRule ¶ added in v1.35.0
func (m *MockECS) CreateIngressRule(arg0 *ecs.AuthorizeSecurityGroupRequest) error
CreateIngressRule mocks base method.
func (*MockECS) CreateInstances ¶ added in v1.35.0
func (m *MockECS) CreateInstances(arg0, arg1, arg2, arg3, arg4, arg5, arg6 string) (*ecs.RunInstancesResponse, error)
CreateInstances mocks base method.
func (*MockECS) CreateSecurityGroups ¶ added in v1.35.0
func (m *MockECS) CreateSecurityGroups(arg0, arg1 string) (*ecs.CreateSecurityGroupResponse, error)
CreateSecurityGroups mocks base method.
func (*MockECS) DeleteInstances ¶ added in v1.35.0
DeleteInstances mocks base method.
func (*MockECS) DeleteSecurityGroups ¶ added in v1.35.0
DeleteSecurityGroups mocks base method.
func (*MockECS) DescribeKeyPairs ¶ added in v1.24.0
func (m *MockECS) DescribeKeyPairs(arg0 *ecs.DescribeKeyPairsRequest) (*ecs.DescribeKeyPairsResponse, error)
DescribeKeyPairs mocks base method.
func (*MockECS) DescribeSecurityGroupAttribute ¶ added in v1.24.0
func (m *MockECS) DescribeSecurityGroupAttribute(arg0 *ecs.DescribeSecurityGroupAttributeRequest) (*ecs.DescribeSecurityGroupAttributeResponse, error)
DescribeSecurityGroupAttribute mocks base method.
func (*MockECS) DescribeSecurityGroups ¶ added in v1.24.0
func (m *MockECS) DescribeSecurityGroups(arg0 *ecs.DescribeSecurityGroupsRequest) (*ecs.DescribeSecurityGroupsResponse, error)
DescribeSecurityGroups mocks base method.
func (*MockECS) DetachECSInstancesFromSSHKeyPair ¶ added in v1.27.0
DetachECSInstancesFromSSHKeyPair mocks base method.
func (*MockECS) EXPECT ¶
func (m *MockECS) EXPECT() *MockECSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockECS) GetInstanceType ¶ added in v1.35.0
func (m *MockECS) GetInstanceType(arg0 int, arg1 string) (*ecs.DescribeAvailableResourceResponse, error)
GetInstanceType mocks base method.
func (*MockECS) GetInstances ¶ added in v1.35.0
func (m *MockECS) GetInstances(arg0 string) (*ecs.DescribeInstancesResponse, error)
GetInstances mocks base method.
func (*MockECS) GetSecurityGroup ¶ added in v1.35.0
func (m *MockECS) GetSecurityGroup(arg0 string) (*ecs.DescribeSecurityGroupsResponse, error)
GetSecurityGroup mocks base method.
func (*MockECS) GetSecurityGroupWithID ¶ added in v1.40.0
func (m *MockECS) GetSecurityGroupWithID(arg0 string) (*ecs.DescribeSecurityGroupsResponse, error)
GetSecurityGroupWithID mocks base method.
func (*MockECS) RevokeEgressRule ¶ added in v1.35.0
func (m *MockECS) RevokeEgressRule(arg0 *ecs.RevokeSecurityGroupEgressRequest) error
RevokeEgressRule mocks base method.
func (*MockECS) RevokeIngressRule ¶ added in v1.35.0
func (m *MockECS) RevokeIngressRule(arg0 *ecs.RevokeSecurityGroupRequest) error
RevokeIngressRule mocks base method.
type MockECSMockRecorder ¶
type MockECSMockRecorder struct {
// contains filtered or unexported fields
}
MockECSMockRecorder is the mock recorder for MockECS.
func (*MockECSMockRecorder) AllocatePublicIp ¶ added in v1.35.0
func (mr *MockECSMockRecorder) AllocatePublicIp(arg0 interface{}) *gomock.Call
AllocatePublicIp indicates an expected call of AllocatePublicIp.
func (*MockECSMockRecorder) CheckIfImageExists ¶
func (mr *MockECSMockRecorder) CheckIfImageExists(arg0 interface{}) *gomock.Call
CheckIfImageExists indicates an expected call of CheckIfImageExists.
func (*MockECSMockRecorder) CheckIfImageOwnedByAliCloud ¶ added in v1.25.0
func (mr *MockECSMockRecorder) CheckIfImageOwnedByAliCloud(arg0 interface{}) *gomock.Call
CheckIfImageOwnedByAliCloud indicates an expected call of CheckIfImageOwnedByAliCloud.
func (*MockECSMockRecorder) CreateEgressRule ¶ added in v1.35.0
func (mr *MockECSMockRecorder) CreateEgressRule(arg0 interface{}) *gomock.Call
CreateEgressRule indicates an expected call of CreateEgressRule.
func (*MockECSMockRecorder) CreateIngressRule ¶ added in v1.35.0
func (mr *MockECSMockRecorder) CreateIngressRule(arg0 interface{}) *gomock.Call
CreateIngressRule indicates an expected call of CreateIngressRule.
func (*MockECSMockRecorder) CreateInstances ¶ added in v1.35.0
func (mr *MockECSMockRecorder) CreateInstances(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
CreateInstances indicates an expected call of CreateInstances.
func (*MockECSMockRecorder) CreateSecurityGroups ¶ added in v1.35.0
func (mr *MockECSMockRecorder) CreateSecurityGroups(arg0, arg1 interface{}) *gomock.Call
CreateSecurityGroups indicates an expected call of CreateSecurityGroups.
func (*MockECSMockRecorder) DeleteInstances ¶ added in v1.35.0
func (mr *MockECSMockRecorder) DeleteInstances(arg0, arg1 interface{}) *gomock.Call
DeleteInstances indicates an expected call of DeleteInstances.
func (*MockECSMockRecorder) DeleteSecurityGroups ¶ added in v1.35.0
func (mr *MockECSMockRecorder) DeleteSecurityGroups(arg0 interface{}) *gomock.Call
DeleteSecurityGroups indicates an expected call of DeleteSecurityGroups.
func (*MockECSMockRecorder) DescribeKeyPairs ¶ added in v1.24.0
func (mr *MockECSMockRecorder) DescribeKeyPairs(arg0 interface{}) *gomock.Call
DescribeKeyPairs indicates an expected call of DescribeKeyPairs.
func (*MockECSMockRecorder) DescribeSecurityGroupAttribute ¶ added in v1.24.0
func (mr *MockECSMockRecorder) DescribeSecurityGroupAttribute(arg0 interface{}) *gomock.Call
DescribeSecurityGroupAttribute indicates an expected call of DescribeSecurityGroupAttribute.
func (*MockECSMockRecorder) DescribeSecurityGroups ¶ added in v1.24.0
func (mr *MockECSMockRecorder) DescribeSecurityGroups(arg0 interface{}) *gomock.Call
DescribeSecurityGroups indicates an expected call of DescribeSecurityGroups.
func (*MockECSMockRecorder) DetachECSInstancesFromSSHKeyPair ¶ added in v1.27.0
func (mr *MockECSMockRecorder) DetachECSInstancesFromSSHKeyPair(arg0 interface{}) *gomock.Call
DetachECSInstancesFromSSHKeyPair indicates an expected call of DetachECSInstancesFromSSHKeyPair.
func (*MockECSMockRecorder) GetInstanceType ¶ added in v1.35.0
func (mr *MockECSMockRecorder) GetInstanceType(arg0, arg1 interface{}) *gomock.Call
GetInstanceType indicates an expected call of GetInstanceType.
func (*MockECSMockRecorder) GetInstances ¶ added in v1.35.0
func (mr *MockECSMockRecorder) GetInstances(arg0 interface{}) *gomock.Call
GetInstances indicates an expected call of GetInstances.
func (*MockECSMockRecorder) GetSecurityGroup ¶ added in v1.35.0
func (mr *MockECSMockRecorder) GetSecurityGroup(arg0 interface{}) *gomock.Call
GetSecurityGroup indicates an expected call of GetSecurityGroup.
func (*MockECSMockRecorder) GetSecurityGroupWithID ¶ added in v1.40.0
func (mr *MockECSMockRecorder) GetSecurityGroupWithID(arg0 interface{}) *gomock.Call
GetSecurityGroupWithID indicates an expected call of GetSecurityGroupWithID.
func (*MockECSMockRecorder) RevokeEgressRule ¶ added in v1.35.0
func (mr *MockECSMockRecorder) RevokeEgressRule(arg0 interface{}) *gomock.Call
RevokeEgressRule indicates an expected call of RevokeEgressRule.
func (*MockECSMockRecorder) RevokeIngressRule ¶ added in v1.35.0
func (mr *MockECSMockRecorder) RevokeIngressRule(arg0 interface{}) *gomock.Call
RevokeIngressRule indicates an expected call of RevokeIngressRule.
func (*MockECSMockRecorder) ShareImageToAccount ¶
func (mr *MockECSMockRecorder) ShareImageToAccount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ShareImageToAccount indicates an expected call of ShareImageToAccount.
type MockOSS ¶ added in v1.24.0
type MockOSS struct {
// contains filtered or unexported fields
}
MockOSS is a mock of OSS interface.
func NewMockOSS ¶ added in v1.24.0
func NewMockOSS(ctrl *gomock.Controller) *MockOSS
NewMockOSS creates a new mock instance.
func (*MockOSS) CreateBucketIfNotExists ¶ added in v1.24.0
CreateBucketIfNotExists mocks base method.
func (*MockOSS) DeleteBucketIfExists ¶ added in v1.24.0
DeleteBucketIfExists mocks base method.
func (*MockOSS) DeleteObjectsWithPrefix ¶ added in v1.24.0
DeleteObjectsWithPrefix mocks base method.
func (*MockOSS) EXPECT ¶ added in v1.24.0
func (m *MockOSS) EXPECT() *MockOSSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOSSMockRecorder ¶ added in v1.24.0
type MockOSSMockRecorder struct {
// contains filtered or unexported fields
}
MockOSSMockRecorder is the mock recorder for MockOSS.
func (*MockOSSMockRecorder) CreateBucketIfNotExists ¶ added in v1.24.0
func (mr *MockOSSMockRecorder) CreateBucketIfNotExists(arg0, arg1 interface{}) *gomock.Call
CreateBucketIfNotExists indicates an expected call of CreateBucketIfNotExists.
func (*MockOSSMockRecorder) DeleteBucketIfExists ¶ added in v1.24.0
func (mr *MockOSSMockRecorder) DeleteBucketIfExists(arg0, arg1 interface{}) *gomock.Call
DeleteBucketIfExists indicates an expected call of DeleteBucketIfExists.
func (*MockOSSMockRecorder) DeleteObjectsWithPrefix ¶ added in v1.24.0
func (mr *MockOSSMockRecorder) DeleteObjectsWithPrefix(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteObjectsWithPrefix indicates an expected call of DeleteObjectsWithPrefix.
type MockRAM ¶ added in v1.21.0
type MockRAM struct {
// contains filtered or unexported fields
}
MockRAM is a mock of RAM interface.
func NewMockRAM ¶ added in v1.21.0
func NewMockRAM(ctrl *gomock.Controller) *MockRAM
NewMockRAM creates a new mock instance.
func (*MockRAM) CreateServiceLinkedRole ¶ added in v1.21.0
CreateServiceLinkedRole mocks base method.
func (*MockRAM) EXPECT ¶ added in v1.21.0
func (m *MockRAM) EXPECT() *MockRAMMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRAM) GetServiceLinkedRole ¶ added in v1.21.0
func (m *MockRAM) GetServiceLinkedRole(arg0 string) (*resourcemanager.Role, error)
GetServiceLinkedRole mocks base method.
type MockRAMMockRecorder ¶ added in v1.21.0
type MockRAMMockRecorder struct {
// contains filtered or unexported fields
}
MockRAMMockRecorder is the mock recorder for MockRAM.
func (*MockRAMMockRecorder) CreateServiceLinkedRole ¶ added in v1.21.0
func (mr *MockRAMMockRecorder) CreateServiceLinkedRole(arg0, arg1 interface{}) *gomock.Call
CreateServiceLinkedRole indicates an expected call of CreateServiceLinkedRole.
func (*MockRAMMockRecorder) GetServiceLinkedRole ¶ added in v1.21.0
func (mr *MockRAMMockRecorder) GetServiceLinkedRole(arg0 interface{}) *gomock.Call
GetServiceLinkedRole indicates an expected call of GetServiceLinkedRole.
type MockROS ¶ added in v1.25.0
type MockROS struct {
// contains filtered or unexported fields
}
MockROS is a mock of ROS interface.
func NewMockROS ¶ added in v1.25.0
func NewMockROS(ctrl *gomock.Controller) *MockROS
NewMockROS creates a new mock instance.
func (*MockROS) CreateStack ¶ added in v1.25.0
func (m *MockROS) CreateStack(arg0 *ros.CreateStackRequest) (*ros.CreateStackResponse, error)
CreateStack mocks base method.
func (*MockROS) DeleteStack ¶ added in v1.25.0
func (m *MockROS) DeleteStack(arg0 *ros.DeleteStackRequest) (*ros.DeleteStackResponse, error)
DeleteStack mocks base method.
func (*MockROS) EXPECT ¶ added in v1.25.0
func (m *MockROS) EXPECT() *MockROSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockROS) GetStack ¶ added in v1.25.0
func (m *MockROS) GetStack(arg0 *ros.GetStackRequest) (*ros.GetStackResponse, error)
GetStack mocks base method.
func (*MockROS) ListStacks ¶ added in v1.25.0
func (m *MockROS) ListStacks(arg0 *ros.ListStacksRequest) (*ros.ListStacksResponse, error)
ListStacks mocks base method.
type MockROSMockRecorder ¶ added in v1.25.0
type MockROSMockRecorder struct {
// contains filtered or unexported fields
}
MockROSMockRecorder is the mock recorder for MockROS.
func (*MockROSMockRecorder) CreateStack ¶ added in v1.25.0
func (mr *MockROSMockRecorder) CreateStack(arg0 interface{}) *gomock.Call
CreateStack indicates an expected call of CreateStack.
func (*MockROSMockRecorder) DeleteStack ¶ added in v1.25.0
func (mr *MockROSMockRecorder) DeleteStack(arg0 interface{}) *gomock.Call
DeleteStack indicates an expected call of DeleteStack.
func (*MockROSMockRecorder) GetStack ¶ added in v1.25.0
func (mr *MockROSMockRecorder) GetStack(arg0 interface{}) *gomock.Call
GetStack indicates an expected call of GetStack.
func (*MockROSMockRecorder) ListStacks ¶ added in v1.25.0
func (mr *MockROSMockRecorder) ListStacks(arg0 interface{}) *gomock.Call
ListStacks indicates an expected call of ListStacks.
type MockSLB ¶
type MockSLB struct {
// contains filtered or unexported fields
}
MockSLB is a mock of SLB interface.
func NewMockSLB ¶
func NewMockSLB(ctrl *gomock.Controller) *MockSLB
NewMockSLB creates a new mock instance.
func (*MockSLB) DeleteLoadBalancer ¶
DeleteLoadBalancer mocks base method.
func (*MockSLB) EXPECT ¶
func (m *MockSLB) EXPECT() *MockSLBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSLB) GetFirstVServerGroupName ¶
GetFirstVServerGroupName mocks base method.
func (*MockSLB) GetLoadBalancerIDs ¶
GetLoadBalancerIDs mocks base method.
type MockSLBMockRecorder ¶
type MockSLBMockRecorder struct {
// contains filtered or unexported fields
}
MockSLBMockRecorder is the mock recorder for MockSLB.
func (*MockSLBMockRecorder) DeleteLoadBalancer ¶
func (mr *MockSLBMockRecorder) DeleteLoadBalancer(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer.
func (*MockSLBMockRecorder) GetFirstVServerGroupName ¶
func (mr *MockSLBMockRecorder) GetFirstVServerGroupName(arg0, arg1, arg2 interface{}) *gomock.Call
GetFirstVServerGroupName indicates an expected call of GetFirstVServerGroupName.
func (*MockSLBMockRecorder) GetLoadBalancerIDs ¶
func (mr *MockSLBMockRecorder) GetLoadBalancerIDs(arg0, arg1 interface{}) *gomock.Call
GetLoadBalancerIDs indicates an expected call of GetLoadBalancerIDs.
func (*MockSLBMockRecorder) SetLoadBalancerDeleteProtection ¶ added in v1.19.0
func (mr *MockSLBMockRecorder) SetLoadBalancerDeleteProtection(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetLoadBalancerDeleteProtection indicates an expected call of SetLoadBalancerDeleteProtection.
type MockSTS ¶
type MockSTS struct {
// contains filtered or unexported fields
}
MockSTS is a mock of STS interface.
func NewMockSTS ¶
func NewMockSTS(ctrl *gomock.Controller) *MockSTS
NewMockSTS creates a new mock instance.
func (*MockSTS) EXPECT ¶
func (m *MockSTS) EXPECT() *MockSTSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSTSMockRecorder ¶
type MockSTSMockRecorder struct {
// contains filtered or unexported fields
}
MockSTSMockRecorder is the mock recorder for MockSTS.
func (*MockSTSMockRecorder) GetAccountIDFromCallerIdentity ¶
func (mr *MockSTSMockRecorder) GetAccountIDFromCallerIdentity(arg0 interface{}) *gomock.Call
GetAccountIDFromCallerIdentity indicates an expected call of GetAccountIDFromCallerIdentity.
type MockVPC ¶
type MockVPC struct {
// contains filtered or unexported fields
}
MockVPC is a mock of VPC interface.
func NewMockVPC ¶
func NewMockVPC(ctrl *gomock.Controller) *MockVPC
NewMockVPC creates a new mock instance.
func (*MockVPC) CreateNatGateway ¶ added in v1.24.0
func (m *MockVPC) CreateNatGateway(arg0 *vpc.CreateNatGatewayRequest) (*vpc.CreateNatGatewayResponse, error)
CreateNatGateway mocks base method.
func (*MockVPC) CreateVSwitch ¶ added in v1.24.0
func (m *MockVPC) CreateVSwitch(arg0 *vpc.CreateVSwitchRequest) (*vpc.CreateVSwitchResponse, error)
CreateVSwitch mocks base method.
func (*MockVPC) CreateVpc ¶ added in v1.24.0
func (m *MockVPC) CreateVpc(arg0 *vpc.CreateVpcRequest) (*vpc.CreateVpcResponse, error)
CreateVpc mocks base method.
func (*MockVPC) DeleteNatGateway ¶ added in v1.24.0
func (m *MockVPC) DeleteNatGateway(arg0 *vpc.DeleteNatGatewayRequest) (*vpc.DeleteNatGatewayResponse, error)
DeleteNatGateway mocks base method.
func (*MockVPC) DeleteVSwitch ¶ added in v1.24.0
func (m *MockVPC) DeleteVSwitch(arg0 *vpc.DeleteVSwitchRequest) (*vpc.DeleteVSwitchResponse, error)
DeleteVSwitch mocks base method.
func (*MockVPC) DeleteVpc ¶ added in v1.24.0
func (m *MockVPC) DeleteVpc(arg0 *vpc.DeleteVpcRequest) (*vpc.DeleteVpcResponse, error)
DeleteVpc mocks base method.
func (*MockVPC) DescribeEipAddresses ¶
func (m *MockVPC) DescribeEipAddresses(arg0 *vpc.DescribeEipAddressesRequest) (*vpc.DescribeEipAddressesResponse, error)
DescribeEipAddresses mocks base method.
func (*MockVPC) DescribeNatGateways ¶
func (m *MockVPC) DescribeNatGateways(arg0 *vpc.DescribeNatGatewaysRequest) (*vpc.DescribeNatGatewaysResponse, error)
DescribeNatGateways mocks base method.
func (*MockVPC) DescribeSnatTableEntries ¶ added in v1.24.0
func (m *MockVPC) DescribeSnatTableEntries(arg0 *vpc.DescribeSnatTableEntriesRequest) (*vpc.DescribeSnatTableEntriesResponse, error)
DescribeSnatTableEntries mocks base method.
func (*MockVPC) DescribeVSwitches ¶ added in v1.24.0
func (m *MockVPC) DescribeVSwitches(arg0 *vpc.DescribeVSwitchesRequest) (*vpc.DescribeVSwitchesResponse, error)
DescribeVSwitches mocks base method.
func (*MockVPC) DescribeVpcs ¶
func (m *MockVPC) DescribeVpcs(arg0 *vpc.DescribeVpcsRequest) (*vpc.DescribeVpcsResponse, error)
DescribeVpcs mocks base method.
func (*MockVPC) EXPECT ¶
func (m *MockVPC) EXPECT() *MockVPCMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVPC) FetchEIPInternetChargeType ¶ added in v1.24.0
func (m *MockVPC) FetchEIPInternetChargeType(arg0 context.Context, arg1 *vpc.NatGateway, arg2 string) (string, error)
FetchEIPInternetChargeType mocks base method.
func (*MockVPC) GetEIPWithID ¶ added in v1.24.0
GetEIPWithID mocks base method.
func (*MockVPC) GetEnhanhcedNatGatewayAvailableZones ¶ added in v1.34.0
func (m *MockVPC) GetEnhanhcedNatGatewayAvailableZones(arg0 context.Context, arg1 string) ([]string, error)
GetEnhanhcedNatGatewayAvailableZones mocks base method.
func (*MockVPC) GetNatGatewaysWithVPCID ¶ added in v1.24.0
func (m *MockVPC) GetNatGatewaysWithVPCID(arg0 context.Context, arg1 string) ([]vpc.NatGateway, error)
GetNatGatewaysWithVPCID mocks base method.
func (*MockVPC) GetVPCInfo ¶ added in v1.24.0
GetVPCInfo mocks base method.
func (*MockVPC) GetVPCInfoByName ¶ added in v1.35.0
GetVPCInfoByName mocks base method.
func (*MockVPC) GetVPCWithID ¶ added in v1.24.0
GetVPCWithID mocks base method.
func (*MockVPC) GetVSwitchesInfoByID ¶ added in v1.35.0
func (m *MockVPC) GetVSwitchesInfoByID(arg0 string) (*client.VSwitchInfo, error)
GetVSwitchesInfoByID mocks base method.
type MockVPCMockRecorder ¶
type MockVPCMockRecorder struct {
// contains filtered or unexported fields
}
MockVPCMockRecorder is the mock recorder for MockVPC.
func (*MockVPCMockRecorder) CreateNatGateway ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) CreateNatGateway(arg0 interface{}) *gomock.Call
CreateNatGateway indicates an expected call of CreateNatGateway.
func (*MockVPCMockRecorder) CreateVSwitch ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) CreateVSwitch(arg0 interface{}) *gomock.Call
CreateVSwitch indicates an expected call of CreateVSwitch.
func (*MockVPCMockRecorder) CreateVpc ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) CreateVpc(arg0 interface{}) *gomock.Call
CreateVpc indicates an expected call of CreateVpc.
func (*MockVPCMockRecorder) DeleteNatGateway ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) DeleteNatGateway(arg0 interface{}) *gomock.Call
DeleteNatGateway indicates an expected call of DeleteNatGateway.
func (*MockVPCMockRecorder) DeleteVSwitch ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) DeleteVSwitch(arg0 interface{}) *gomock.Call
DeleteVSwitch indicates an expected call of DeleteVSwitch.
func (*MockVPCMockRecorder) DeleteVpc ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) DeleteVpc(arg0 interface{}) *gomock.Call
DeleteVpc indicates an expected call of DeleteVpc.
func (*MockVPCMockRecorder) DescribeEipAddresses ¶
func (mr *MockVPCMockRecorder) DescribeEipAddresses(arg0 interface{}) *gomock.Call
DescribeEipAddresses indicates an expected call of DescribeEipAddresses.
func (*MockVPCMockRecorder) DescribeNatGateways ¶
func (mr *MockVPCMockRecorder) DescribeNatGateways(arg0 interface{}) *gomock.Call
DescribeNatGateways indicates an expected call of DescribeNatGateways.
func (*MockVPCMockRecorder) DescribeSnatTableEntries ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) DescribeSnatTableEntries(arg0 interface{}) *gomock.Call
DescribeSnatTableEntries indicates an expected call of DescribeSnatTableEntries.
func (*MockVPCMockRecorder) DescribeVSwitches ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) DescribeVSwitches(arg0 interface{}) *gomock.Call
DescribeVSwitches indicates an expected call of DescribeVSwitches.
func (*MockVPCMockRecorder) DescribeVpcs ¶
func (mr *MockVPCMockRecorder) DescribeVpcs(arg0 interface{}) *gomock.Call
DescribeVpcs indicates an expected call of DescribeVpcs.
func (*MockVPCMockRecorder) FetchEIPInternetChargeType ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) FetchEIPInternetChargeType(arg0, arg1, arg2 interface{}) *gomock.Call
FetchEIPInternetChargeType indicates an expected call of FetchEIPInternetChargeType.
func (*MockVPCMockRecorder) GetEIPWithID ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) GetEIPWithID(arg0, arg1 interface{}) *gomock.Call
GetEIPWithID indicates an expected call of GetEIPWithID.
func (*MockVPCMockRecorder) GetEnhanhcedNatGatewayAvailableZones ¶ added in v1.34.0
func (mr *MockVPCMockRecorder) GetEnhanhcedNatGatewayAvailableZones(arg0, arg1 interface{}) *gomock.Call
GetEnhanhcedNatGatewayAvailableZones indicates an expected call of GetEnhanhcedNatGatewayAvailableZones.
func (*MockVPCMockRecorder) GetNatGatewaysWithVPCID ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) GetNatGatewaysWithVPCID(arg0, arg1 interface{}) *gomock.Call
GetNatGatewaysWithVPCID indicates an expected call of GetNatGatewaysWithVPCID.
func (*MockVPCMockRecorder) GetVPCInfo ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) GetVPCInfo(arg0, arg1 interface{}) *gomock.Call
GetVPCInfo indicates an expected call of GetVPCInfo.
func (*MockVPCMockRecorder) GetVPCInfoByName ¶ added in v1.35.0
func (mr *MockVPCMockRecorder) GetVPCInfoByName(arg0 interface{}) *gomock.Call
GetVPCInfoByName indicates an expected call of GetVPCInfoByName.
func (*MockVPCMockRecorder) GetVPCWithID ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) GetVPCWithID(arg0, arg1 interface{}) *gomock.Call
GetVPCWithID indicates an expected call of GetVPCWithID.
func (*MockVPCMockRecorder) GetVSwitchesInfoByID ¶ added in v1.35.0
func (mr *MockVPCMockRecorder) GetVSwitchesInfoByID(arg0 interface{}) *gomock.Call
GetVSwitchesInfoByID indicates an expected call of GetVSwitchesInfoByID.