Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type MockClientFactory
- func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
- 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) 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) 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) 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) CheckIfImageExists(arg0 context.Context, arg1 string) (bool, 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) EXPECT() *MockECSMockRecorder
- func (m *MockECS) ShareImageToAccount(arg0 context.Context, arg1, arg2, arg3 string) error
- type MockECSMockRecorder
- func (mr *MockECSMockRecorder) CheckIfImageExists(arg0, arg1 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) ShareImageToAccount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockOSS
- type MockOSSMockRecorder
- type MockRAM
- type MockRAMMockRecorder
- 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) GetNatGatewaysWithVPCID(arg0 context.Context, arg1 string) ([]vpc.NatGateway, error)
- func (m *MockVPC) GetVPCInfo(arg0 context.Context, arg1 string) (*client.VPCInfo, error)
- func (m *MockVPC) GetVPCWithID(arg0 context.Context, arg1 string) ([]vpc.Vpc, 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) GetNatGatewaysWithVPCID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) GetVPCInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVPCMockRecorder) GetVPCWithID(arg0, arg1 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) 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) 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) 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) 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) CheckIfImageExists ¶
CheckIfImageExists 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) EXPECT ¶
func (m *MockECS) EXPECT() *MockECSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockECSMockRecorder ¶
type MockECSMockRecorder struct {
// contains filtered or unexported fields
}
MockECSMockRecorder is the mock recorder for MockECS.
func (*MockECSMockRecorder) CheckIfImageExists ¶
func (mr *MockECSMockRecorder) CheckIfImageExists(arg0, arg1 interface{}) *gomock.Call
CheckIfImageExists indicates an expected call of CheckIfImageExists.
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) 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 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) 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.
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) 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) GetVPCWithID ¶ added in v1.24.0
func (mr *MockVPCMockRecorder) GetVPCWithID(arg0, arg1 interface{}) *gomock.Call
GetVPCWithID indicates an expected call of GetVPCWithID.