Documentation ¶
Overview ¶
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Index ¶
- type MockApplicationLoadBalancersService
- func (m *MockApplicationLoadBalancersService) Create(datacenterId string, input resources.ApplicationLoadBalancer, ...) (*resources.ApplicationLoadBalancer, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) CreateFlowLog(datacenterId, applicationLoadBalancerId string, input resources.FlowLog, ...) (*resources.FlowLog, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) CreateForwardingRule(datacenterId, applicationLoadBalancerId string, ...) (*resources.ApplicationLoadBalancerForwardingRule, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) Delete(datacenterId, applicationLoadBalancerId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockApplicationLoadBalancersService) DeleteFlowLog(datacenterId, applicationLoadBalancerId, flowLogId string, ...) (*resources.Response, error)
- func (m *MockApplicationLoadBalancersService) DeleteForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId string, ...) (*resources.Response, error)
- func (m *MockApplicationLoadBalancersService) EXPECT() *MockApplicationLoadBalancersServiceMockRecorder
- func (m *MockApplicationLoadBalancersService) Get(datacenterId, applicationLoadBalancerId string, params resources.QueryParams) (*resources.ApplicationLoadBalancer, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) GetFlowLog(datacenterId, applicationLoadBalancerId, flowLogId string, ...) (*resources.FlowLog, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) GetForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId string, ...) (*resources.ApplicationLoadBalancerForwardingRule, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) List(datacenterId string, params resources.ListQueryParams) (resources.ApplicationLoadBalancers, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) ListFlowLogs(datacenterId, applicationLoadBalancerId string, ...) (resources.FlowLogs, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) ListForwardingRules(datacenterId, applicationLoadBalancerId string, ...) (resources.ApplicationLoadBalancerForwardingRules, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) Update(datacenterId, applicationLoadBalancerId string, ...) (*resources.ApplicationLoadBalancer, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) UpdateFlowLog(datacenterId, applicationLoadBalancerId, flowLogId string, ...) (*resources.FlowLog, *resources.Response, error)
- func (m *MockApplicationLoadBalancersService) UpdateForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId string, ...) (*resources.ApplicationLoadBalancerForwardingRule, *resources.Response, error)
- type MockApplicationLoadBalancersServiceMockRecorder
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) CreateFlowLog(datacenterId, applicationLoadBalancerId, input, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) CreateForwardingRule(datacenterId, applicationLoadBalancerId, input, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) Delete(datacenterId, applicationLoadBalancerId, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) DeleteFlowLog(datacenterId, applicationLoadBalancerId, flowLogId, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) DeleteForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) Get(datacenterId, applicationLoadBalancerId, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) GetFlowLog(datacenterId, applicationLoadBalancerId, flowLogId, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) GetForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) ListFlowLogs(datacenterId, applicationLoadBalancerId, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) ListForwardingRules(datacenterId, applicationLoadBalancerId, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) Update(datacenterId, applicationLoadBalancerId, input, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) UpdateFlowLog(datacenterId, applicationLoadBalancerId, flowLogId, input, params interface{}) *gomock.Call
- func (mr *MockApplicationLoadBalancersServiceMockRecorder) UpdateForwardingRule(...) *gomock.Call
- type MockBackupUnitsService
- func (m *MockBackupUnitsService) Create(u resources.BackupUnit, params resources.QueryParams) (*resources.BackupUnit, *resources.Response, error)
- func (m *MockBackupUnitsService) Delete(backupUnitId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockBackupUnitsService) EXPECT() *MockBackupUnitsServiceMockRecorder
- func (m *MockBackupUnitsService) Get(backupUnitId string, params resources.QueryParams) (*resources.BackupUnit, *resources.Response, error)
- func (m *MockBackupUnitsService) GetSsoUrl(backupUnitId string, params resources.QueryParams) (*resources.BackupUnitSSO, *resources.Response, error)
- func (m *MockBackupUnitsService) List(params resources.ListQueryParams) (resources.BackupUnits, *resources.Response, error)
- func (m *MockBackupUnitsService) Update(backupUnitId string, input resources.BackupUnitProperties, ...) (*resources.BackupUnit, *resources.Response, error)
- type MockBackupUnitsServiceMockRecorder
- func (mr *MockBackupUnitsServiceMockRecorder) Create(u, params interface{}) *gomock.Call
- func (mr *MockBackupUnitsServiceMockRecorder) Delete(backupUnitId, params interface{}) *gomock.Call
- func (mr *MockBackupUnitsServiceMockRecorder) Get(backupUnitId, params interface{}) *gomock.Call
- func (mr *MockBackupUnitsServiceMockRecorder) GetSsoUrl(backupUnitId, params interface{}) *gomock.Call
- func (mr *MockBackupUnitsServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockBackupUnitsServiceMockRecorder) Update(backupUnitId, input, params interface{}) *gomock.Call
- type MockContractsService
- type MockContractsServiceMockRecorder
- type MockDatacentersService
- func (m *MockDatacentersService) Create(name, description, region string, queryParams resources.QueryParams) (*resources.Datacenter, *resources.Response, error)
- func (m *MockDatacentersService) Delete(datacenterId string, queryParams resources.QueryParams) (*resources.Response, error)
- func (m *MockDatacentersService) EXPECT() *MockDatacentersServiceMockRecorder
- func (m *MockDatacentersService) Get(datacenterId string, queryParams resources.QueryParams) (*resources.Datacenter, *resources.Response, error)
- func (m *MockDatacentersService) List(params resources.ListQueryParams) (resources.Datacenters, *resources.Response, error)
- func (m *MockDatacentersService) Update(datacenterId string, input resources.DatacenterProperties, ...) (*resources.Datacenter, *resources.Response, error)
- type MockDatacentersServiceMockRecorder
- func (mr *MockDatacentersServiceMockRecorder) Create(name, description, region, queryParams interface{}) *gomock.Call
- func (mr *MockDatacentersServiceMockRecorder) Delete(datacenterId, queryParams interface{}) *gomock.Call
- func (mr *MockDatacentersServiceMockRecorder) Get(datacenterId, queryParams interface{}) *gomock.Call
- func (mr *MockDatacentersServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockDatacentersServiceMockRecorder) Update(datacenterId, input, queryParams interface{}) *gomock.Call
- type MockFirewallRulesService
- func (m *MockFirewallRulesService) Create(datacenterId, serverId, nicId string, input resources.FirewallRule, ...) (*resources.FirewallRule, *resources.Response, error)
- func (m *MockFirewallRulesService) Delete(datacenterId, serverId, nicId, firewallRuleId string, ...) (*resources.Response, error)
- func (m *MockFirewallRulesService) EXPECT() *MockFirewallRulesServiceMockRecorder
- func (m *MockFirewallRulesService) Get(datacenterId, serverId, nicId, firewallRuleId string, ...) (*resources.FirewallRule, *resources.Response, error)
- func (m *MockFirewallRulesService) List(datacenterId, serverId, nicId string, params resources.ListQueryParams) (resources.FirewallRules, *resources.Response, error)
- func (m *MockFirewallRulesService) Update(datacenterId, serverId, nicId, firewallRuleId string, ...) (*resources.FirewallRule, *resources.Response, error)
- type MockFirewallRulesServiceMockRecorder
- func (mr *MockFirewallRulesServiceMockRecorder) Create(datacenterId, serverId, nicId, input, params interface{}) *gomock.Call
- func (mr *MockFirewallRulesServiceMockRecorder) Delete(datacenterId, serverId, nicId, firewallRuleId, params interface{}) *gomock.Call
- func (mr *MockFirewallRulesServiceMockRecorder) Get(datacenterId, serverId, nicId, firewallRuleId, params interface{}) *gomock.Call
- func (mr *MockFirewallRulesServiceMockRecorder) List(datacenterId, serverId, nicId, params interface{}) *gomock.Call
- func (mr *MockFirewallRulesServiceMockRecorder) Update(datacenterId, serverId, nicId, firewallRuleId, input, params interface{}) *gomock.Call
- type MockFlowLogsService
- func (m *MockFlowLogsService) Create(datacenterId, serverId, nicId string, input resources.FlowLog, ...) (*resources.FlowLog, *resources.Response, error)
- func (m *MockFlowLogsService) Delete(datacenterId, serverId, nicId, flowLogId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockFlowLogsService) EXPECT() *MockFlowLogsServiceMockRecorder
- func (m *MockFlowLogsService) Get(datacenterId, serverId, nicId, flowLogId string, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
- func (m *MockFlowLogsService) List(datacenterId, serverId, nicId string, params resources.ListQueryParams) (resources.FlowLogs, *resources.Response, error)
- func (m *MockFlowLogsService) Update(datacenterId, serverId, nicId, flowlogId string, input resources.FlowLogPut, ...) (*resources.FlowLog, *resources.Response, error)
- type MockFlowLogsServiceMockRecorder
- func (mr *MockFlowLogsServiceMockRecorder) Create(datacenterId, serverId, nicId, input, params interface{}) *gomock.Call
- func (mr *MockFlowLogsServiceMockRecorder) Delete(datacenterId, serverId, nicId, flowLogId, params interface{}) *gomock.Call
- func (mr *MockFlowLogsServiceMockRecorder) Get(datacenterId, serverId, nicId, flowLogId, params interface{}) *gomock.Call
- func (mr *MockFlowLogsServiceMockRecorder) List(datacenterId, serverId, nicId, params interface{}) *gomock.Call
- func (mr *MockFlowLogsServiceMockRecorder) Update(datacenterId, serverId, nicId, flowlogId, input, params interface{}) *gomock.Call
- type MockGroupsService
- func (m *MockGroupsService) AddShare(groupId, resourceId string, input resources.GroupShare, ...) (*resources.GroupShare, *resources.Response, error)
- func (m *MockGroupsService) AddUser(groupId string, input resources.User, params resources.QueryParams) (*resources.User, *resources.Response, error)
- func (m *MockGroupsService) Create(u resources.Group, params resources.QueryParams) (*resources.Group, *resources.Response, error)
- func (m *MockGroupsService) Delete(groupId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockGroupsService) EXPECT() *MockGroupsServiceMockRecorder
- func (m *MockGroupsService) Get(groupId string, params resources.QueryParams) (*resources.Group, *resources.Response, error)
- func (m *MockGroupsService) GetShare(groupId, resourceId string, params resources.QueryParams) (*resources.GroupShare, *resources.Response, error)
- func (m *MockGroupsService) List(params resources.ListQueryParams) (resources.Groups, *resources.Response, error)
- func (m *MockGroupsService) ListResources(groupId string, params resources.ListQueryParams) (resources.ResourceGroups, *resources.Response, error)
- func (m *MockGroupsService) ListShares(groupId string, params resources.ListQueryParams) (resources.GroupShares, *resources.Response, error)
- func (m *MockGroupsService) ListUsers(groupId string, params resources.ListQueryParams) (resources.GroupMembers, *resources.Response, error)
- func (m *MockGroupsService) RemoveShare(groupId, resourceId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockGroupsService) RemoveUser(groupId, userId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockGroupsService) Update(groupId string, input resources.Group, params resources.QueryParams) (*resources.Group, *resources.Response, error)
- func (m *MockGroupsService) UpdateShare(groupId, resourceId string, input resources.GroupShare, ...) (*resources.GroupShare, *resources.Response, error)
- type MockGroupsServiceMockRecorder
- func (mr *MockGroupsServiceMockRecorder) AddShare(groupId, resourceId, input, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) AddUser(groupId, input, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) Create(u, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) Delete(groupId, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) Get(groupId, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) GetShare(groupId, resourceId, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) ListResources(groupId, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) ListShares(groupId, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) ListUsers(groupId, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) RemoveShare(groupId, resourceId, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) RemoveUser(groupId, userId, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) Update(groupId, input, params interface{}) *gomock.Call
- func (mr *MockGroupsServiceMockRecorder) UpdateShare(groupId, resourceId, input, params interface{}) *gomock.Call
- type MockImagesService
- func (m *MockImagesService) Delete(imageId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockImagesService) EXPECT() *MockImagesServiceMockRecorder
- func (m *MockImagesService) Get(imageId string, params resources.QueryParams) (*resources.Image, *resources.Response, error)
- func (m *MockImagesService) List(params resources.ListQueryParams) (resources.Images, *resources.Response, error)
- func (m *MockImagesService) Update(imageId string, imgProp resources.ImageProperties, ...) (*resources.Image, *resources.Response, error)
- func (m *MockImagesService) Upload(ctx context.Context, properties resources.UploadProperties) error
- type MockImagesServiceMockRecorder
- func (mr *MockImagesServiceMockRecorder) Delete(imageId, params interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) Get(imageId, params interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) Update(imageId, imgProp, params interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) Upload(ctx, properties interface{}) *gomock.Call
- type MockIpBlocksService
- func (m *MockIpBlocksService) Create(name, location string, size int32, params resources.QueryParams) (*resources.IpBlock, *resources.Response, error)
- func (m *MockIpBlocksService) Delete(ipBlockId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockIpBlocksService) EXPECT() *MockIpBlocksServiceMockRecorder
- func (m *MockIpBlocksService) Get(IpBlockId string, params resources.QueryParams) (*resources.IpBlock, *resources.Response, error)
- func (m *MockIpBlocksService) List(params resources.ListQueryParams) (resources.IpBlocks, *resources.Response, error)
- func (m *MockIpBlocksService) Update(ipBlockId string, input resources.IpBlockProperties, ...) (*resources.IpBlock, *resources.Response, error)
- type MockIpBlocksServiceMockRecorder
- func (mr *MockIpBlocksServiceMockRecorder) Create(name, location, size, params interface{}) *gomock.Call
- func (mr *MockIpBlocksServiceMockRecorder) Delete(ipBlockId, params interface{}) *gomock.Call
- func (mr *MockIpBlocksServiceMockRecorder) Get(IpBlockId, params interface{}) *gomock.Call
- func (mr *MockIpBlocksServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockIpBlocksServiceMockRecorder) Update(ipBlockId, input, params interface{}) *gomock.Call
- type MockK8sService
- func (m *MockK8sService) CreateCluster(u resources.K8sClusterForPost, params resources.QueryParams) (*resources.K8sCluster, *resources.Response, error)
- func (m *MockK8sService) CreateNodePool(clusterId string, nodepool resources.K8sNodePoolForPost, ...) (*resources.K8sNodePool, *resources.Response, error)
- func (m *MockK8sService) DeleteCluster(clusterId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockK8sService) DeleteNode(clusterId, nodepoolId, nodeId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockK8sService) DeleteNodePool(clusterId, nodepoolId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockK8sService) EXPECT() *MockK8sServiceMockRecorder
- func (m *MockK8sService) GetCluster(clusterId string, params resources.QueryParams) (*resources.K8sCluster, *resources.Response, error)
- func (m *MockK8sService) GetNode(clusterId, nodepoolId, nodeId string, params resources.QueryParams) (*resources.K8sNode, *resources.Response, error)
- func (m *MockK8sService) GetNodePool(clusterId, nodepoolId string, params resources.QueryParams) (*resources.K8sNodePool, *resources.Response, error)
- func (m *MockK8sService) GetVersion() (string, *resources.Response, error)
- func (m *MockK8sService) ListClusters(params resources.ListQueryParams) (resources.K8sClusters, *resources.Response, error)
- func (m *MockK8sService) ListNodePools(clusterId string, params resources.ListQueryParams) (resources.K8sNodePools, *resources.Response, error)
- func (m *MockK8sService) ListNodes(clusterId, nodepoolId string, params resources.ListQueryParams) (resources.K8sNodes, *resources.Response, error)
- func (m *MockK8sService) ListVersions() ([]string, *resources.Response, error)
- func (m *MockK8sService) ReadKubeConfig(clusterId string) (string, *resources.Response, error)
- func (m *MockK8sService) RecreateNode(clusterId, nodepoolId, nodeId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockK8sService) UpdateCluster(clusterId string, input resources.K8sClusterForPut, ...) (*resources.K8sCluster, *resources.Response, error)
- func (m *MockK8sService) UpdateNodePool(clusterId, nodepoolId string, nodepool resources.K8sNodePoolForPut, ...) (*resources.K8sNodePool, *resources.Response, error)
- type MockK8sServiceMockRecorder
- func (mr *MockK8sServiceMockRecorder) CreateCluster(u, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) CreateNodePool(clusterId, nodepool, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) DeleteCluster(clusterId, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) DeleteNode(clusterId, nodepoolId, nodeId, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) DeleteNodePool(clusterId, nodepoolId, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) GetCluster(clusterId, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) GetNode(clusterId, nodepoolId, nodeId, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) GetNodePool(clusterId, nodepoolId, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) GetVersion() *gomock.Call
- func (mr *MockK8sServiceMockRecorder) ListClusters(params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) ListNodePools(clusterId, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) ListNodes(clusterId, nodepoolId, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) ListVersions() *gomock.Call
- func (mr *MockK8sServiceMockRecorder) ReadKubeConfig(clusterId interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) RecreateNode(clusterId, nodepoolId, nodeId, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) UpdateCluster(clusterId, input, params interface{}) *gomock.Call
- func (mr *MockK8sServiceMockRecorder) UpdateNodePool(clusterId, nodepoolId, nodepool, params interface{}) *gomock.Call
- type MockLabelResourcesService
- func (m *MockLabelResourcesService) DatacenterCreate(datacenterId, key, value string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) DatacenterDelete(datacenterId, key string) (*resources.Response, error)
- func (m *MockLabelResourcesService) DatacenterGet(datacenterId, key string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) DatacenterList(params resources.ListQueryParams, datacenterId string) (resources.LabelResources, *resources.Response, error)
- func (m *MockLabelResourcesService) EXPECT() *MockLabelResourcesServiceMockRecorder
- func (m *MockLabelResourcesService) GetByUrn(labelurn string) (*resources.Label, *resources.Response, error)
- func (m *MockLabelResourcesService) IpBlockCreate(ipblockId, key, value string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) IpBlockDelete(ipblockId, key string) (*resources.Response, error)
- func (m *MockLabelResourcesService) IpBlockGet(ipblockId, key string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) IpBlockList(params resources.ListQueryParams, ipblockId string) (resources.LabelResources, *resources.Response, error)
- func (m *MockLabelResourcesService) List(params resources.ListQueryParams) (resources.Labels, *resources.Response, error)
- func (m *MockLabelResourcesService) ServerCreate(datacenterId, serverId, key, value string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) ServerDelete(datacenterId, serverId, key string) (*resources.Response, error)
- func (m *MockLabelResourcesService) ServerGet(datacenterId, serverId, key string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) ServerList(params resources.ListQueryParams, datacenterId, serverId string) (resources.LabelResources, *resources.Response, error)
- func (m *MockLabelResourcesService) SnapshotCreate(snapshotId, key, value string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) SnapshotDelete(snapshotId, key string) (*resources.Response, error)
- func (m *MockLabelResourcesService) SnapshotGet(snapshotId, key string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) SnapshotList(params resources.ListQueryParams, snapshotId string) (resources.LabelResources, *resources.Response, error)
- func (m *MockLabelResourcesService) VolumeCreate(datacenterId, serverId, key, value string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) VolumeDelete(datacenterId, serverId, key string) (*resources.Response, error)
- func (m *MockLabelResourcesService) VolumeGet(datacenterId, serverId, key string) (*resources.LabelResource, *resources.Response, error)
- func (m *MockLabelResourcesService) VolumeList(params resources.ListQueryParams, datacenterId, serverId string) (resources.LabelResources, *resources.Response, error)
- type MockLabelResourcesServiceMockRecorder
- func (mr *MockLabelResourcesServiceMockRecorder) DatacenterCreate(datacenterId, key, value interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) DatacenterDelete(datacenterId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) DatacenterGet(datacenterId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) DatacenterList(params, datacenterId interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) GetByUrn(labelurn interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) IpBlockCreate(ipblockId, key, value interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) IpBlockDelete(ipblockId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) IpBlockGet(ipblockId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) IpBlockList(params, ipblockId interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) ServerCreate(datacenterId, serverId, key, value interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) ServerDelete(datacenterId, serverId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) ServerGet(datacenterId, serverId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) ServerList(params, datacenterId, serverId interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) SnapshotCreate(snapshotId, key, value interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) SnapshotDelete(snapshotId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) SnapshotGet(snapshotId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) SnapshotList(params, snapshotId interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) VolumeCreate(datacenterId, serverId, key, value interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) VolumeDelete(datacenterId, serverId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) VolumeGet(datacenterId, serverId, key interface{}) *gomock.Call
- func (mr *MockLabelResourcesServiceMockRecorder) VolumeList(params, datacenterId, serverId interface{}) *gomock.Call
- type MockLansService
- func (m *MockLansService) Create(datacenterId string, input resources.LanPost, params resources.QueryParams) (*resources.LanPost, *resources.Response, error)
- func (m *MockLansService) Delete(datacenterId, lanId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockLansService) EXPECT() *MockLansServiceMockRecorder
- func (m *MockLansService) Get(datacenterId, lanId string, params resources.QueryParams) (*resources.Lan, *resources.Response, error)
- func (m *MockLansService) List(datacenterId string, params resources.ListQueryParams) (resources.Lans, *resources.Response, error)
- func (m *MockLansService) Update(datacenterId, lanId string, input resources.LanProperties, ...) (*resources.Lan, *resources.Response, error)
- type MockLansServiceMockRecorder
- func (mr *MockLansServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
- func (mr *MockLansServiceMockRecorder) Delete(datacenterId, lanId, params interface{}) *gomock.Call
- func (mr *MockLansServiceMockRecorder) Get(datacenterId, lanId, params interface{}) *gomock.Call
- func (mr *MockLansServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
- func (mr *MockLansServiceMockRecorder) Update(datacenterId, lanId, input, params interface{}) *gomock.Call
- type MockLoadbalancersService
- func (m *MockLoadbalancersService) AttachNic(datacenterId, loadbalancerId, nicId string, params resources.QueryParams) (*resources.Nic, *resources.Response, error)
- func (m *MockLoadbalancersService) Create(datacenterId, name string, dhcp bool, params resources.QueryParams) (*resources.Loadbalancer, *resources.Response, error)
- func (m *MockLoadbalancersService) Delete(datacenterId, loadbalancerId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockLoadbalancersService) DetachNic(datacenterId, loadbalancerId, nicId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockLoadbalancersService) EXPECT() *MockLoadbalancersServiceMockRecorder
- func (m *MockLoadbalancersService) Get(datacenterId, loadbalancerId string, params resources.QueryParams) (*resources.Loadbalancer, *resources.Response, error)
- func (m *MockLoadbalancersService) GetNic(datacenterId, loadbalancerId, nicId string, params resources.QueryParams) (*resources.Nic, *resources.Response, error)
- func (m *MockLoadbalancersService) List(datacenterId string, params resources.ListQueryParams) (resources.Loadbalancers, *resources.Response, error)
- func (m *MockLoadbalancersService) ListNics(datacenterId, loadbalancerId string, params resources.ListQueryParams) (resources.BalancedNics, *resources.Response, error)
- func (m *MockLoadbalancersService) Update(datacenterId, loadbalancerId string, input resources.LoadbalancerProperties, ...) (*resources.Loadbalancer, *resources.Response, error)
- type MockLoadbalancersServiceMockRecorder
- func (mr *MockLoadbalancersServiceMockRecorder) AttachNic(datacenterId, loadbalancerId, nicId, params interface{}) *gomock.Call
- func (mr *MockLoadbalancersServiceMockRecorder) Create(datacenterId, name, dhcp, params interface{}) *gomock.Call
- func (mr *MockLoadbalancersServiceMockRecorder) Delete(datacenterId, loadbalancerId, params interface{}) *gomock.Call
- func (mr *MockLoadbalancersServiceMockRecorder) DetachNic(datacenterId, loadbalancerId, nicId, params interface{}) *gomock.Call
- func (mr *MockLoadbalancersServiceMockRecorder) Get(datacenterId, loadbalancerId, params interface{}) *gomock.Call
- func (mr *MockLoadbalancersServiceMockRecorder) GetNic(datacenterId, loadbalancerId, nicId, params interface{}) *gomock.Call
- func (mr *MockLoadbalancersServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
- func (mr *MockLoadbalancersServiceMockRecorder) ListNics(datacenterId, loadbalancerId, params interface{}) *gomock.Call
- func (mr *MockLoadbalancersServiceMockRecorder) Update(datacenterId, loadbalancerId, input, params interface{}) *gomock.Call
- type MockLocationsService
- func (m *MockLocationsService) EXPECT() *MockLocationsServiceMockRecorder
- func (m *MockLocationsService) GetByRegionAndLocationId(regionId, locationId string, params resources.QueryParams) (*resources.Location, *resources.Response, error)
- func (m *MockLocationsService) GetByRegionId(regionId string, params resources.QueryParams) (resources.Locations, *resources.Response, error)
- func (m *MockLocationsService) List(params resources.ListQueryParams) (resources.Locations, *resources.Response, error)
- type MockLocationsServiceMockRecorder
- func (mr *MockLocationsServiceMockRecorder) GetByRegionAndLocationId(regionId, locationId, params interface{}) *gomock.Call
- func (mr *MockLocationsServiceMockRecorder) GetByRegionId(regionId, params interface{}) *gomock.Call
- func (mr *MockLocationsServiceMockRecorder) List(params interface{}) *gomock.Call
- type MockNatGatewaysService
- func (m *MockNatGatewaysService) Create(datacenterId string, input resources.NatGateway, params resources.QueryParams) (*resources.NatGateway, *resources.Response, error)
- func (m *MockNatGatewaysService) CreateFlowLog(datacenterId, natGatewayId string, input resources.FlowLog, ...) (*resources.FlowLog, *resources.Response, error)
- func (m *MockNatGatewaysService) CreateRule(datacenterId, natGatewayId string, input resources.NatGatewayRule, ...) (*resources.NatGatewayRule, *resources.Response, error)
- func (m *MockNatGatewaysService) Delete(datacenterId, natGatewayId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockNatGatewaysService) DeleteFlowLog(datacenterId, natGatewayId, flowlogId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockNatGatewaysService) DeleteRule(datacenterId, natGatewayId, ruleId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockNatGatewaysService) EXPECT() *MockNatGatewaysServiceMockRecorder
- func (m *MockNatGatewaysService) Get(datacenterId, natGatewayId string, params resources.QueryParams) (*resources.NatGateway, *resources.Response, error)
- func (m *MockNatGatewaysService) GetFlowLog(datacenterId, natGatewayId, flowlogId string, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
- func (m *MockNatGatewaysService) GetRule(datacenterId, natGatewayId, ruleId string, params resources.QueryParams) (*resources.NatGatewayRule, *resources.Response, error)
- func (m *MockNatGatewaysService) List(datacenterId string, params resources.ListQueryParams) (resources.NatGateways, *resources.Response, error)
- func (m *MockNatGatewaysService) ListFlowLogs(datacenterId, natGatewayId string, params resources.ListQueryParams) (resources.FlowLogs, *resources.Response, error)
- func (m *MockNatGatewaysService) ListRules(datacenterId, natGatewayId string, params resources.ListQueryParams) (resources.NatGatewayRules, *resources.Response, error)
- func (m *MockNatGatewaysService) Update(datacenterId, natGatewayId string, input resources.NatGatewayProperties, ...) (*resources.NatGateway, *resources.Response, error)
- func (m *MockNatGatewaysService) UpdateFlowLog(datacenterId, natGatewayId, flowlogId string, ...) (*resources.FlowLog, *resources.Response, error)
- func (m *MockNatGatewaysService) UpdateRule(datacenterId, natGatewayId, ruleId string, ...) (*resources.NatGatewayRule, *resources.Response, error)
- type MockNatGatewaysServiceMockRecorder
- func (mr *MockNatGatewaysServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) CreateFlowLog(datacenterId, natGatewayId, input, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) CreateRule(datacenterId, natGatewayId, input, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) Delete(datacenterId, natGatewayId, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) DeleteFlowLog(datacenterId, natGatewayId, flowlogId, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) DeleteRule(datacenterId, natGatewayId, ruleId, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) Get(datacenterId, natGatewayId, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) GetFlowLog(datacenterId, natGatewayId, flowlogId, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) GetRule(datacenterId, natGatewayId, ruleId, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) ListFlowLogs(datacenterId, natGatewayId, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) ListRules(datacenterId, natGatewayId, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) Update(datacenterId, natGatewayId, input, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) UpdateFlowLog(datacenterId, natGatewayId, flowlogId, input, params interface{}) *gomock.Call
- func (mr *MockNatGatewaysServiceMockRecorder) UpdateRule(datacenterId, natGatewayId, ruleId, input, params interface{}) *gomock.Call
- type MockNetworkLoadBalancersService
- func (m *MockNetworkLoadBalancersService) Create(datacenterId string, input resources.NetworkLoadBalancer, ...) (*resources.NetworkLoadBalancer, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) CreateFlowLog(datacenterId, networkLoadBalancerId string, input resources.FlowLog, ...) (*resources.FlowLog, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) CreateForwardingRule(datacenterId, networkLoadBalancerId string, ...) (*resources.NetworkLoadBalancerForwardingRule, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) Delete(datacenterId, networkLoadBalancerId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockNetworkLoadBalancersService) DeleteFlowLog(datacenterId, networkLoadBalancerId, flowLogId string, ...) (*resources.Response, error)
- func (m *MockNetworkLoadBalancersService) DeleteForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId string, ...) (*resources.Response, error)
- func (m *MockNetworkLoadBalancersService) EXPECT() *MockNetworkLoadBalancersServiceMockRecorder
- func (m *MockNetworkLoadBalancersService) Get(datacenterId, networkLoadBalancerId string, params resources.QueryParams) (*resources.NetworkLoadBalancer, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) GetFlowLog(datacenterId, networkLoadBalancerId, flowLogId string, ...) (*resources.FlowLog, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) GetForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId string, ...) (*resources.NetworkLoadBalancerForwardingRule, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) List(datacenterId string, params resources.ListQueryParams) (resources.NetworkLoadBalancers, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) ListFlowLogs(datacenterId, networkLoadBalancerId string, params resources.ListQueryParams) (resources.FlowLogs, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) ListForwardingRules(datacenterId, networkLoadBalancerId string, params resources.ListQueryParams) (resources.NetworkLoadBalancerForwardingRules, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) Update(datacenterId, networkLoadBalancerId string, ...) (*resources.NetworkLoadBalancer, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) UpdateFlowLog(datacenterId, networkLoadBalancerId, flowLogId string, ...) (*resources.FlowLog, *resources.Response, error)
- func (m *MockNetworkLoadBalancersService) UpdateForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId string, ...) (*resources.NetworkLoadBalancerForwardingRule, *resources.Response, error)
- type MockNetworkLoadBalancersServiceMockRecorder
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) CreateFlowLog(datacenterId, networkLoadBalancerId, input, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) CreateForwardingRule(datacenterId, networkLoadBalancerId, input, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) Delete(datacenterId, networkLoadBalancerId, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) DeleteFlowLog(datacenterId, networkLoadBalancerId, flowLogId, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) DeleteForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) Get(datacenterId, networkLoadBalancerId, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) GetFlowLog(datacenterId, networkLoadBalancerId, flowLogId, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) GetForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) ListFlowLogs(datacenterId, networkLoadBalancerId, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) ListForwardingRules(datacenterId, networkLoadBalancerId, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) Update(datacenterId, networkLoadBalancerId, input, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) UpdateFlowLog(datacenterId, networkLoadBalancerId, flowLogId, input, params interface{}) *gomock.Call
- func (mr *MockNetworkLoadBalancersServiceMockRecorder) UpdateForwardingRule(...) *gomock.Call
- type MockNicsService
- func (m *MockNicsService) Create(datacenterId, serverId string, input resources.Nic, ...) (*resources.Nic, *resources.Response, error)
- func (m *MockNicsService) Delete(datacenterId, serverId, nicId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockNicsService) EXPECT() *MockNicsServiceMockRecorder
- func (m *MockNicsService) Get(datacenterId, serverId, nicId string, params resources.QueryParams) (*resources.Nic, *resources.Response, error)
- func (m *MockNicsService) List(datacenterId, serverId string, params resources.ListQueryParams) (resources.Nics, *resources.Response, error)
- func (m *MockNicsService) Update(datacenterId, serverId, nicId string, input resources.NicProperties, ...) (*resources.Nic, *resources.Response, error)
- type MockNicsServiceMockRecorder
- func (mr *MockNicsServiceMockRecorder) Create(datacenterId, serverId, input, params interface{}) *gomock.Call
- func (mr *MockNicsServiceMockRecorder) Delete(datacenterId, serverId, nicId, params interface{}) *gomock.Call
- func (mr *MockNicsServiceMockRecorder) Get(datacenterId, serverId, nicId, params interface{}) *gomock.Call
- func (mr *MockNicsServiceMockRecorder) List(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockNicsServiceMockRecorder) Update(datacenterId, serverId, nicId, input, params interface{}) *gomock.Call
- type MockPccsService
- func (m *MockPccsService) Create(u resources.PrivateCrossConnect, params resources.QueryParams) (*resources.PrivateCrossConnect, *resources.Response, error)
- func (m *MockPccsService) Delete(pccId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockPccsService) EXPECT() *MockPccsServiceMockRecorder
- func (m *MockPccsService) Get(pccId string, params resources.QueryParams) (*resources.PrivateCrossConnect, *resources.Response, error)
- func (m *MockPccsService) GetPeers(pccId string) (*[]resources.Peer, *resources.Response, error)
- func (m *MockPccsService) List(params resources.ListQueryParams) (resources.PrivateCrossConnects, *resources.Response, error)
- func (m *MockPccsService) Update(pccId string, input resources.PrivateCrossConnectProperties, ...) (*resources.PrivateCrossConnect, *resources.Response, error)
- type MockPccsServiceMockRecorder
- func (mr *MockPccsServiceMockRecorder) Create(u, params interface{}) *gomock.Call
- func (mr *MockPccsServiceMockRecorder) Delete(pccId, params interface{}) *gomock.Call
- func (mr *MockPccsServiceMockRecorder) Get(pccId, params interface{}) *gomock.Call
- func (mr *MockPccsServiceMockRecorder) GetPeers(pccId interface{}) *gomock.Call
- func (mr *MockPccsServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockPccsServiceMockRecorder) Update(pccId, input, params interface{}) *gomock.Call
- type MockRequestsService
- func (m *MockRequestsService) EXPECT() *MockRequestsServiceMockRecorder
- func (m *MockRequestsService) Get(requestId string, params resources.QueryParams) (*resources.Request, *resources.Response, error)
- func (m *MockRequestsService) GetStatus(requestId string) (*resources.RequestStatus, *resources.Response, error)
- func (m *MockRequestsService) List(params resources.ListQueryParams) (resources.Requests, *resources.Response, error)
- func (m *MockRequestsService) Wait(requestId string) (*resources.Response, error)
- type MockRequestsServiceMockRecorder
- func (mr *MockRequestsServiceMockRecorder) Get(requestId, params interface{}) *gomock.Call
- func (mr *MockRequestsServiceMockRecorder) GetStatus(requestId interface{}) *gomock.Call
- func (mr *MockRequestsServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockRequestsServiceMockRecorder) Wait(requestId interface{}) *gomock.Call
- type MockS3KeysService
- func (m *MockS3KeysService) Create(userId string, params resources.QueryParams) (*resources.S3Key, *resources.Response, error)
- func (m *MockS3KeysService) Delete(userId, keyId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockS3KeysService) EXPECT() *MockS3KeysServiceMockRecorder
- func (m *MockS3KeysService) Get(userId, keyId string, params resources.QueryParams) (*resources.S3Key, *resources.Response, error)
- func (m *MockS3KeysService) List(userId string, params resources.ListQueryParams) (resources.S3Keys, *resources.Response, error)
- func (m *MockS3KeysService) Update(userId, keyId string, key resources.S3Key, params resources.QueryParams) (*resources.S3Key, *resources.Response, error)
- type MockS3KeysServiceMockRecorder
- func (mr *MockS3KeysServiceMockRecorder) Create(userId, params interface{}) *gomock.Call
- func (mr *MockS3KeysServiceMockRecorder) Delete(userId, keyId, params interface{}) *gomock.Call
- func (mr *MockS3KeysServiceMockRecorder) Get(userId, keyId, params interface{}) *gomock.Call
- func (mr *MockS3KeysServiceMockRecorder) List(userId, params interface{}) *gomock.Call
- func (mr *MockS3KeysServiceMockRecorder) Update(userId, keyId, key, params interface{}) *gomock.Call
- type MockServersService
- func (m *MockServersService) AttachCdrom(datacenterId, serverId, cdromId string, params resources.QueryParams) (*resources.Image, *resources.Response, error)
- func (m *MockServersService) AttachVolume(datacenterId, serverId, volumeId string, params resources.QueryParams) (*resources.Volume, *resources.Response, error)
- func (m *MockServersService) Create(datacenterId string, input resources.Server, params resources.QueryParams) (*resources.Server, *resources.Response, error)
- func (m *MockServersService) Delete(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockServersService) DetachCdrom(datacenterId, serverId, cdromId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockServersService) DetachVolume(datacenterId, serverId, volumeId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockServersService) EXPECT() *MockServersServiceMockRecorder
- func (m *MockServersService) Get(datacenterId, serverId string, params resources.QueryParams) (*resources.Server, *resources.Response, error)
- func (m *MockServersService) GetCdrom(datacenterId, serverId, cdromId string, params resources.QueryParams) (*resources.Image, *resources.Response, error)
- func (m *MockServersService) GetRemoteConsoleUrl(datacenterId, serverId string) (resources.RemoteConsoleUrl, *resources.Response, error)
- func (m *MockServersService) GetToken(datacenterId, serverId string) (resources.Token, *resources.Response, error)
- func (m *MockServersService) GetVolume(datacenterId, serverId, volumeId string, params resources.QueryParams) (*resources.Volume, *resources.Response, error)
- func (m *MockServersService) List(datacenterId string, params resources.ListQueryParams) (resources.Servers, *resources.Response, error)
- func (m *MockServersService) ListCdroms(datacenterId, serverId string, params resources.ListQueryParams) (resources.Cdroms, *resources.Response, error)
- func (m *MockServersService) ListVolumes(datacenterId, serverId string, params resources.ListQueryParams) (resources.AttachedVolumes, *resources.Response, error)
- func (m *MockServersService) Reboot(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockServersService) Resume(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockServersService) Start(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockServersService) Stop(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockServersService) Suspend(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockServersService) Update(datacenterId, serverId string, input resources.ServerProperties, ...) (*resources.Server, *resources.Response, error)
- type MockServersServiceMockRecorder
- func (mr *MockServersServiceMockRecorder) AttachCdrom(datacenterId, serverId, cdromId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) AttachVolume(datacenterId, serverId, volumeId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) Delete(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) DetachCdrom(datacenterId, serverId, cdromId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) DetachVolume(datacenterId, serverId, volumeId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) Get(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) GetCdrom(datacenterId, serverId, cdromId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) GetRemoteConsoleUrl(datacenterId, serverId interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) GetToken(datacenterId, serverId interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) GetVolume(datacenterId, serverId, volumeId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) ListCdroms(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) ListVolumes(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) Reboot(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) Resume(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) Start(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) Stop(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) Suspend(datacenterId, serverId, params interface{}) *gomock.Call
- func (mr *MockServersServiceMockRecorder) Update(datacenterId, serverId, input, params interface{}) *gomock.Call
- type MockSnapshotsService
- func (m *MockSnapshotsService) Create(datacenterId, volumeId, name, description, licenceType string, ...) (*resources.Snapshot, *resources.Response, error)
- func (m *MockSnapshotsService) Delete(snapshotId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockSnapshotsService) EXPECT() *MockSnapshotsServiceMockRecorder
- func (m *MockSnapshotsService) Get(snapshotId string, params resources.QueryParams) (*resources.Snapshot, *resources.Response, error)
- func (m *MockSnapshotsService) List(params resources.ListQueryParams) (resources.Snapshots, *resources.Response, error)
- func (m *MockSnapshotsService) Restore(datacenterId, volumeId, snapshotId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockSnapshotsService) Update(snapshotId string, snapshotProp resources.SnapshotProperties, ...) (*resources.Snapshot, *resources.Response, error)
- type MockSnapshotsServiceMockRecorder
- func (mr *MockSnapshotsServiceMockRecorder) Create(...) *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) Delete(snapshotId, params interface{}) *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) Get(snapshotId, params interface{}) *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) Restore(datacenterId, volumeId, snapshotId, params interface{}) *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) Update(snapshotId, snapshotProp, params interface{}) *gomock.Call
- type MockTargetGroupsService
- func (m *MockTargetGroupsService) Create(tg resources.TargetGroup, params resources.QueryParams) (*resources.TargetGroup, *resources.Response, error)
- func (m *MockTargetGroupsService) Delete(targetGroupId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockTargetGroupsService) EXPECT() *MockTargetGroupsServiceMockRecorder
- func (m *MockTargetGroupsService) Get(targetGroupId string, params resources.QueryParams) (*resources.TargetGroup, *resources.Response, error)
- func (m *MockTargetGroupsService) List(params resources.ListQueryParams) (resources.TargetGroups, *resources.Response, error)
- func (m *MockTargetGroupsService) Update(targetGroupId string, input *resources.TargetGroupProperties, ...) (*resources.TargetGroup, *resources.Response, error)
- type MockTargetGroupsServiceMockRecorder
- func (mr *MockTargetGroupsServiceMockRecorder) Create(tg, params interface{}) *gomock.Call
- func (mr *MockTargetGroupsServiceMockRecorder) Delete(targetGroupId, params interface{}) *gomock.Call
- func (mr *MockTargetGroupsServiceMockRecorder) Get(targetGroupId, params interface{}) *gomock.Call
- func (mr *MockTargetGroupsServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockTargetGroupsServiceMockRecorder) Update(targetGroupId, input, params interface{}) *gomock.Call
- type MockTemplatesService
- func (m *MockTemplatesService) EXPECT() *MockTemplatesServiceMockRecorder
- func (m *MockTemplatesService) Get(templateId string, params resources.QueryParams) (*resources.Template, *resources.Response, error)
- func (m *MockTemplatesService) List(params resources.ListQueryParams) (resources.Templates, *resources.Response, error)
- type MockTemplatesServiceMockRecorder
- type MockUsersService
- func (m *MockUsersService) Create(u resources.UserPost, params resources.QueryParams) (*resources.User, *resources.Response, error)
- func (m *MockUsersService) Delete(userId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockUsersService) EXPECT() *MockUsersServiceMockRecorder
- func (m *MockUsersService) Get(userId string, params resources.QueryParams) (*resources.User, *resources.Response, error)
- func (m *MockUsersService) GetResourceByTypeAndId(resourceType, resourceId string) (*resources.Resource, *resources.Response, error)
- func (m *MockUsersService) GetResourcesByType(resourceType string) (resources.Resources, *resources.Response, error)
- func (m *MockUsersService) List(params resources.ListQueryParams) (resources.Users, *resources.Response, error)
- func (m *MockUsersService) ListResources() (resources.Resources, *resources.Response, error)
- func (m *MockUsersService) Update(userId string, input resources.UserPut, params resources.QueryParams) (*resources.User, *resources.Response, error)
- type MockUsersServiceMockRecorder
- func (mr *MockUsersServiceMockRecorder) Create(u, params interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) Delete(userId, params interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) Get(userId, params interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) GetResourceByTypeAndId(resourceType, resourceId interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) GetResourcesByType(resourceType interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) List(params interface{}) *gomock.Call
- func (mr *MockUsersServiceMockRecorder) ListResources() *gomock.Call
- func (mr *MockUsersServiceMockRecorder) Update(userId, input, params interface{}) *gomock.Call
- type MockVolumesService
- func (m *MockVolumesService) Create(datacenterId string, input resources.Volume, params resources.QueryParams) (*resources.Volume, *resources.Response, error)
- func (m *MockVolumesService) Delete(datacenterId, volumeId string, params resources.QueryParams) (*resources.Response, error)
- func (m *MockVolumesService) EXPECT() *MockVolumesServiceMockRecorder
- func (m *MockVolumesService) Get(datacenterId, volumeId string, params resources.QueryParams) (*resources.Volume, *resources.Response, error)
- func (m *MockVolumesService) List(datacenterId string, params resources.ListQueryParams) (resources.Volumes, *resources.Response, error)
- func (m *MockVolumesService) Update(datacenterId, volumeId string, input resources.VolumeProperties, ...) (*resources.Volume, *resources.Response, error)
- type MockVolumesServiceMockRecorder
- func (mr *MockVolumesServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) Delete(datacenterId, volumeId, params interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) Get(datacenterId, volumeId, params interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) Update(datacenterId, volumeId, input, params interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationLoadBalancersService ¶
type MockApplicationLoadBalancersService struct {
// contains filtered or unexported fields
}
MockApplicationLoadBalancersService is a mock of ApplicationLoadBalancersService interface.
func NewMockApplicationLoadBalancersService ¶
func NewMockApplicationLoadBalancersService(ctrl *gomock.Controller) *MockApplicationLoadBalancersService
NewMockApplicationLoadBalancersService creates a new mock instance.
func (*MockApplicationLoadBalancersService) Create ¶
func (m *MockApplicationLoadBalancersService) Create(datacenterId string, input resources.ApplicationLoadBalancer, params resources.QueryParams) (*resources.ApplicationLoadBalancer, *resources.Response, error)
Create mocks base method.
func (*MockApplicationLoadBalancersService) CreateFlowLog ¶
func (m *MockApplicationLoadBalancersService) CreateFlowLog(datacenterId, applicationLoadBalancerId string, input resources.FlowLog, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
CreateFlowLog mocks base method.
func (*MockApplicationLoadBalancersService) CreateForwardingRule ¶
func (m *MockApplicationLoadBalancersService) CreateForwardingRule(datacenterId, applicationLoadBalancerId string, input resources.ApplicationLoadBalancerForwardingRule, params resources.QueryParams) (*resources.ApplicationLoadBalancerForwardingRule, *resources.Response, error)
CreateForwardingRule mocks base method.
func (*MockApplicationLoadBalancersService) Delete ¶
func (m *MockApplicationLoadBalancersService) Delete(datacenterId, applicationLoadBalancerId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockApplicationLoadBalancersService) DeleteFlowLog ¶
func (m *MockApplicationLoadBalancersService) DeleteFlowLog(datacenterId, applicationLoadBalancerId, flowLogId string, params resources.QueryParams) (*resources.Response, error)
DeleteFlowLog mocks base method.
func (*MockApplicationLoadBalancersService) DeleteForwardingRule ¶
func (m *MockApplicationLoadBalancersService) DeleteForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId string, params resources.QueryParams) (*resources.Response, error)
DeleteForwardingRule mocks base method.
func (*MockApplicationLoadBalancersService) EXPECT ¶
func (m *MockApplicationLoadBalancersService) EXPECT() *MockApplicationLoadBalancersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationLoadBalancersService) Get ¶
func (m *MockApplicationLoadBalancersService) Get(datacenterId, applicationLoadBalancerId string, params resources.QueryParams) (*resources.ApplicationLoadBalancer, *resources.Response, error)
Get mocks base method.
func (*MockApplicationLoadBalancersService) GetFlowLog ¶
func (m *MockApplicationLoadBalancersService) GetFlowLog(datacenterId, applicationLoadBalancerId, flowLogId string, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
GetFlowLog mocks base method.
func (*MockApplicationLoadBalancersService) GetForwardingRule ¶
func (m *MockApplicationLoadBalancersService) GetForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId string, params resources.QueryParams) (*resources.ApplicationLoadBalancerForwardingRule, *resources.Response, error)
GetForwardingRule mocks base method.
func (*MockApplicationLoadBalancersService) List ¶
func (m *MockApplicationLoadBalancersService) List(datacenterId string, params resources.ListQueryParams) (resources.ApplicationLoadBalancers, *resources.Response, error)
List mocks base method.
func (*MockApplicationLoadBalancersService) ListFlowLogs ¶
func (m *MockApplicationLoadBalancersService) ListFlowLogs(datacenterId, applicationLoadBalancerId string, params resources.ListQueryParams) (resources.FlowLogs, *resources.Response, error)
ListFlowLogs mocks base method.
func (*MockApplicationLoadBalancersService) ListForwardingRules ¶
func (m *MockApplicationLoadBalancersService) ListForwardingRules(datacenterId, applicationLoadBalancerId string, params resources.ListQueryParams) (resources.ApplicationLoadBalancerForwardingRules, *resources.Response, error)
ListForwardingRules mocks base method.
func (*MockApplicationLoadBalancersService) Update ¶
func (m *MockApplicationLoadBalancersService) Update(datacenterId, applicationLoadBalancerId string, input resources.ApplicationLoadBalancerProperties, params resources.QueryParams) (*resources.ApplicationLoadBalancer, *resources.Response, error)
Update mocks base method.
func (*MockApplicationLoadBalancersService) UpdateFlowLog ¶
func (m *MockApplicationLoadBalancersService) UpdateFlowLog(datacenterId, applicationLoadBalancerId, flowLogId string, input *resources.FlowLogProperties, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
UpdateFlowLog mocks base method.
func (*MockApplicationLoadBalancersService) UpdateForwardingRule ¶
func (m *MockApplicationLoadBalancersService) UpdateForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId string, input *resources.ApplicationLoadBalancerForwardingRuleProperties, params resources.QueryParams) (*resources.ApplicationLoadBalancerForwardingRule, *resources.Response, error)
UpdateForwardingRule mocks base method.
type MockApplicationLoadBalancersServiceMockRecorder ¶
type MockApplicationLoadBalancersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationLoadBalancersServiceMockRecorder is the mock recorder for MockApplicationLoadBalancersService.
func (*MockApplicationLoadBalancersServiceMockRecorder) Create ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockApplicationLoadBalancersServiceMockRecorder) CreateFlowLog ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) CreateFlowLog(datacenterId, applicationLoadBalancerId, input, params interface{}) *gomock.Call
CreateFlowLog indicates an expected call of CreateFlowLog.
func (*MockApplicationLoadBalancersServiceMockRecorder) CreateForwardingRule ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) CreateForwardingRule(datacenterId, applicationLoadBalancerId, input, params interface{}) *gomock.Call
CreateForwardingRule indicates an expected call of CreateForwardingRule.
func (*MockApplicationLoadBalancersServiceMockRecorder) Delete ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) Delete(datacenterId, applicationLoadBalancerId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockApplicationLoadBalancersServiceMockRecorder) DeleteFlowLog ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) DeleteFlowLog(datacenterId, applicationLoadBalancerId, flowLogId, params interface{}) *gomock.Call
DeleteFlowLog indicates an expected call of DeleteFlowLog.
func (*MockApplicationLoadBalancersServiceMockRecorder) DeleteForwardingRule ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) DeleteForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId, params interface{}) *gomock.Call
DeleteForwardingRule indicates an expected call of DeleteForwardingRule.
func (*MockApplicationLoadBalancersServiceMockRecorder) Get ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) Get(datacenterId, applicationLoadBalancerId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockApplicationLoadBalancersServiceMockRecorder) GetFlowLog ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) GetFlowLog(datacenterId, applicationLoadBalancerId, flowLogId, params interface{}) *gomock.Call
GetFlowLog indicates an expected call of GetFlowLog.
func (*MockApplicationLoadBalancersServiceMockRecorder) GetForwardingRule ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) GetForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId, params interface{}) *gomock.Call
GetForwardingRule indicates an expected call of GetForwardingRule.
func (*MockApplicationLoadBalancersServiceMockRecorder) List ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockApplicationLoadBalancersServiceMockRecorder) ListFlowLogs ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) ListFlowLogs(datacenterId, applicationLoadBalancerId, params interface{}) *gomock.Call
ListFlowLogs indicates an expected call of ListFlowLogs.
func (*MockApplicationLoadBalancersServiceMockRecorder) ListForwardingRules ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) ListForwardingRules(datacenterId, applicationLoadBalancerId, params interface{}) *gomock.Call
ListForwardingRules indicates an expected call of ListForwardingRules.
func (*MockApplicationLoadBalancersServiceMockRecorder) Update ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) Update(datacenterId, applicationLoadBalancerId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockApplicationLoadBalancersServiceMockRecorder) UpdateFlowLog ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) UpdateFlowLog(datacenterId, applicationLoadBalancerId, flowLogId, input, params interface{}) *gomock.Call
UpdateFlowLog indicates an expected call of UpdateFlowLog.
func (*MockApplicationLoadBalancersServiceMockRecorder) UpdateForwardingRule ¶
func (mr *MockApplicationLoadBalancersServiceMockRecorder) UpdateForwardingRule(datacenterId, applicationLoadBalancerId, forwardingRuleId, input, params interface{}) *gomock.Call
UpdateForwardingRule indicates an expected call of UpdateForwardingRule.
type MockBackupUnitsService ¶
type MockBackupUnitsService struct {
// contains filtered or unexported fields
}
MockBackupUnitsService is a mock of BackupUnitsService interface.
func NewMockBackupUnitsService ¶
func NewMockBackupUnitsService(ctrl *gomock.Controller) *MockBackupUnitsService
NewMockBackupUnitsService creates a new mock instance.
func (*MockBackupUnitsService) Create ¶
func (m *MockBackupUnitsService) Create(u resources.BackupUnit, params resources.QueryParams) (*resources.BackupUnit, *resources.Response, error)
Create mocks base method.
func (*MockBackupUnitsService) Delete ¶
func (m *MockBackupUnitsService) Delete(backupUnitId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockBackupUnitsService) EXPECT ¶
func (m *MockBackupUnitsService) EXPECT() *MockBackupUnitsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackupUnitsService) Get ¶
func (m *MockBackupUnitsService) Get(backupUnitId string, params resources.QueryParams) (*resources.BackupUnit, *resources.Response, error)
Get mocks base method.
func (*MockBackupUnitsService) GetSsoUrl ¶
func (m *MockBackupUnitsService) GetSsoUrl(backupUnitId string, params resources.QueryParams) (*resources.BackupUnitSSO, *resources.Response, error)
GetSsoUrl mocks base method.
func (*MockBackupUnitsService) List ¶
func (m *MockBackupUnitsService) List(params resources.ListQueryParams) (resources.BackupUnits, *resources.Response, error)
List mocks base method.
func (*MockBackupUnitsService) Update ¶
func (m *MockBackupUnitsService) Update(backupUnitId string, input resources.BackupUnitProperties, params resources.QueryParams) (*resources.BackupUnit, *resources.Response, error)
Update mocks base method.
type MockBackupUnitsServiceMockRecorder ¶
type MockBackupUnitsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBackupUnitsServiceMockRecorder is the mock recorder for MockBackupUnitsService.
func (*MockBackupUnitsServiceMockRecorder) Create ¶
func (mr *MockBackupUnitsServiceMockRecorder) Create(u, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockBackupUnitsServiceMockRecorder) Delete ¶
func (mr *MockBackupUnitsServiceMockRecorder) Delete(backupUnitId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockBackupUnitsServiceMockRecorder) Get ¶
func (mr *MockBackupUnitsServiceMockRecorder) Get(backupUnitId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockBackupUnitsServiceMockRecorder) GetSsoUrl ¶
func (mr *MockBackupUnitsServiceMockRecorder) GetSsoUrl(backupUnitId, params interface{}) *gomock.Call
GetSsoUrl indicates an expected call of GetSsoUrl.
func (*MockBackupUnitsServiceMockRecorder) List ¶
func (mr *MockBackupUnitsServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockBackupUnitsServiceMockRecorder) Update ¶
func (mr *MockBackupUnitsServiceMockRecorder) Update(backupUnitId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockContractsService ¶
type MockContractsService struct {
// contains filtered or unexported fields
}
MockContractsService is a mock of ContractsService interface.
func NewMockContractsService ¶
func NewMockContractsService(ctrl *gomock.Controller) *MockContractsService
NewMockContractsService creates a new mock instance.
func (*MockContractsService) EXPECT ¶
func (m *MockContractsService) EXPECT() *MockContractsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContractsService) Get ¶
func (m *MockContractsService) Get(params resources.QueryParams) (resources.Contracts, *resources.Response, error)
Get mocks base method.
type MockContractsServiceMockRecorder ¶
type MockContractsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockContractsServiceMockRecorder is the mock recorder for MockContractsService.
func (*MockContractsServiceMockRecorder) Get ¶
func (mr *MockContractsServiceMockRecorder) Get(params interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockDatacentersService ¶
type MockDatacentersService struct {
// contains filtered or unexported fields
}
MockDatacentersService is a mock of DatacentersService interface.
func NewMockDatacentersService ¶
func NewMockDatacentersService(ctrl *gomock.Controller) *MockDatacentersService
NewMockDatacentersService creates a new mock instance.
func (*MockDatacentersService) Create ¶
func (m *MockDatacentersService) Create(name, description, region string, queryParams resources.QueryParams) (*resources.Datacenter, *resources.Response, error)
Create mocks base method.
func (*MockDatacentersService) Delete ¶
func (m *MockDatacentersService) Delete(datacenterId string, queryParams resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockDatacentersService) EXPECT ¶
func (m *MockDatacentersService) EXPECT() *MockDatacentersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDatacentersService) Get ¶
func (m *MockDatacentersService) Get(datacenterId string, queryParams resources.QueryParams) (*resources.Datacenter, *resources.Response, error)
Get mocks base method.
func (*MockDatacentersService) List ¶
func (m *MockDatacentersService) List(params resources.ListQueryParams) (resources.Datacenters, *resources.Response, error)
List mocks base method.
func (*MockDatacentersService) Update ¶
func (m *MockDatacentersService) Update(datacenterId string, input resources.DatacenterProperties, queryParams resources.QueryParams) (*resources.Datacenter, *resources.Response, error)
Update mocks base method.
type MockDatacentersServiceMockRecorder ¶
type MockDatacentersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDatacentersServiceMockRecorder is the mock recorder for MockDatacentersService.
func (*MockDatacentersServiceMockRecorder) Create ¶
func (mr *MockDatacentersServiceMockRecorder) Create(name, description, region, queryParams interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockDatacentersServiceMockRecorder) Delete ¶
func (mr *MockDatacentersServiceMockRecorder) Delete(datacenterId, queryParams interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDatacentersServiceMockRecorder) Get ¶
func (mr *MockDatacentersServiceMockRecorder) Get(datacenterId, queryParams interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDatacentersServiceMockRecorder) List ¶
func (mr *MockDatacentersServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockDatacentersServiceMockRecorder) Update ¶
func (mr *MockDatacentersServiceMockRecorder) Update(datacenterId, input, queryParams interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockFirewallRulesService ¶
type MockFirewallRulesService struct {
// contains filtered or unexported fields
}
MockFirewallRulesService is a mock of FirewallRulesService interface.
func NewMockFirewallRulesService ¶
func NewMockFirewallRulesService(ctrl *gomock.Controller) *MockFirewallRulesService
NewMockFirewallRulesService creates a new mock instance.
func (*MockFirewallRulesService) Create ¶
func (m *MockFirewallRulesService) Create(datacenterId, serverId, nicId string, input resources.FirewallRule, params resources.QueryParams) (*resources.FirewallRule, *resources.Response, error)
Create mocks base method.
func (*MockFirewallRulesService) Delete ¶
func (m *MockFirewallRulesService) Delete(datacenterId, serverId, nicId, firewallRuleId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockFirewallRulesService) EXPECT ¶
func (m *MockFirewallRulesService) EXPECT() *MockFirewallRulesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFirewallRulesService) Get ¶
func (m *MockFirewallRulesService) Get(datacenterId, serverId, nicId, firewallRuleId string, params resources.QueryParams) (*resources.FirewallRule, *resources.Response, error)
Get mocks base method.
func (*MockFirewallRulesService) List ¶
func (m *MockFirewallRulesService) List(datacenterId, serverId, nicId string, params resources.ListQueryParams) (resources.FirewallRules, *resources.Response, error)
List mocks base method.
func (*MockFirewallRulesService) Update ¶
func (m *MockFirewallRulesService) Update(datacenterId, serverId, nicId, firewallRuleId string, input resources.FirewallRuleProperties, params resources.QueryParams) (*resources.FirewallRule, *resources.Response, error)
Update mocks base method.
type MockFirewallRulesServiceMockRecorder ¶
type MockFirewallRulesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFirewallRulesServiceMockRecorder is the mock recorder for MockFirewallRulesService.
func (*MockFirewallRulesServiceMockRecorder) Create ¶
func (mr *MockFirewallRulesServiceMockRecorder) Create(datacenterId, serverId, nicId, input, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockFirewallRulesServiceMockRecorder) Delete ¶
func (mr *MockFirewallRulesServiceMockRecorder) Delete(datacenterId, serverId, nicId, firewallRuleId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockFirewallRulesServiceMockRecorder) Get ¶
func (mr *MockFirewallRulesServiceMockRecorder) Get(datacenterId, serverId, nicId, firewallRuleId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockFirewallRulesServiceMockRecorder) List ¶
func (mr *MockFirewallRulesServiceMockRecorder) List(datacenterId, serverId, nicId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockFirewallRulesServiceMockRecorder) Update ¶
func (mr *MockFirewallRulesServiceMockRecorder) Update(datacenterId, serverId, nicId, firewallRuleId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockFlowLogsService ¶
type MockFlowLogsService struct {
// contains filtered or unexported fields
}
MockFlowLogsService is a mock of FlowLogsService interface.
func NewMockFlowLogsService ¶
func NewMockFlowLogsService(ctrl *gomock.Controller) *MockFlowLogsService
NewMockFlowLogsService creates a new mock instance.
func (*MockFlowLogsService) Create ¶
func (m *MockFlowLogsService) Create(datacenterId, serverId, nicId string, input resources.FlowLog, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
Create mocks base method.
func (*MockFlowLogsService) Delete ¶
func (m *MockFlowLogsService) Delete(datacenterId, serverId, nicId, flowLogId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockFlowLogsService) EXPECT ¶
func (m *MockFlowLogsService) EXPECT() *MockFlowLogsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFlowLogsService) Get ¶
func (m *MockFlowLogsService) Get(datacenterId, serverId, nicId, flowLogId string, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
Get mocks base method.
func (*MockFlowLogsService) List ¶
func (m *MockFlowLogsService) List(datacenterId, serverId, nicId string, params resources.ListQueryParams) (resources.FlowLogs, *resources.Response, error)
List mocks base method.
func (*MockFlowLogsService) Update ¶
func (m *MockFlowLogsService) Update(datacenterId, serverId, nicId, flowlogId string, input resources.FlowLogPut, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
Update mocks base method.
type MockFlowLogsServiceMockRecorder ¶
type MockFlowLogsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFlowLogsServiceMockRecorder is the mock recorder for MockFlowLogsService.
func (*MockFlowLogsServiceMockRecorder) Create ¶
func (mr *MockFlowLogsServiceMockRecorder) Create(datacenterId, serverId, nicId, input, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockFlowLogsServiceMockRecorder) Delete ¶
func (mr *MockFlowLogsServiceMockRecorder) Delete(datacenterId, serverId, nicId, flowLogId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockFlowLogsServiceMockRecorder) Get ¶
func (mr *MockFlowLogsServiceMockRecorder) Get(datacenterId, serverId, nicId, flowLogId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockFlowLogsServiceMockRecorder) List ¶
func (mr *MockFlowLogsServiceMockRecorder) List(datacenterId, serverId, nicId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockFlowLogsServiceMockRecorder) Update ¶
func (mr *MockFlowLogsServiceMockRecorder) Update(datacenterId, serverId, nicId, flowlogId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockGroupsService ¶
type MockGroupsService struct {
// contains filtered or unexported fields
}
MockGroupsService is a mock of GroupsService interface.
func NewMockGroupsService ¶
func NewMockGroupsService(ctrl *gomock.Controller) *MockGroupsService
NewMockGroupsService creates a new mock instance.
func (*MockGroupsService) AddShare ¶
func (m *MockGroupsService) AddShare(groupId, resourceId string, input resources.GroupShare, params resources.QueryParams) (*resources.GroupShare, *resources.Response, error)
AddShare mocks base method.
func (*MockGroupsService) AddUser ¶
func (m *MockGroupsService) AddUser(groupId string, input resources.User, params resources.QueryParams) (*resources.User, *resources.Response, error)
AddUser mocks base method.
func (*MockGroupsService) Create ¶
func (m *MockGroupsService) Create(u resources.Group, params resources.QueryParams) (*resources.Group, *resources.Response, error)
Create mocks base method.
func (*MockGroupsService) Delete ¶
func (m *MockGroupsService) Delete(groupId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockGroupsService) EXPECT ¶
func (m *MockGroupsService) EXPECT() *MockGroupsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGroupsService) Get ¶
func (m *MockGroupsService) Get(groupId string, params resources.QueryParams) (*resources.Group, *resources.Response, error)
Get mocks base method.
func (*MockGroupsService) GetShare ¶
func (m *MockGroupsService) GetShare(groupId, resourceId string, params resources.QueryParams) (*resources.GroupShare, *resources.Response, error)
GetShare mocks base method.
func (*MockGroupsService) List ¶
func (m *MockGroupsService) List(params resources.ListQueryParams) (resources.Groups, *resources.Response, error)
List mocks base method.
func (*MockGroupsService) ListResources ¶
func (m *MockGroupsService) ListResources(groupId string, params resources.ListQueryParams) (resources.ResourceGroups, *resources.Response, error)
ListResources mocks base method.
func (*MockGroupsService) ListShares ¶
func (m *MockGroupsService) ListShares(groupId string, params resources.ListQueryParams) (resources.GroupShares, *resources.Response, error)
ListShares mocks base method.
func (*MockGroupsService) ListUsers ¶
func (m *MockGroupsService) ListUsers(groupId string, params resources.ListQueryParams) (resources.GroupMembers, *resources.Response, error)
ListUsers mocks base method.
func (*MockGroupsService) RemoveShare ¶
func (m *MockGroupsService) RemoveShare(groupId, resourceId string, params resources.QueryParams) (*resources.Response, error)
RemoveShare mocks base method.
func (*MockGroupsService) RemoveUser ¶
func (m *MockGroupsService) RemoveUser(groupId, userId string, params resources.QueryParams) (*resources.Response, error)
RemoveUser mocks base method.
func (*MockGroupsService) Update ¶
func (m *MockGroupsService) Update(groupId string, input resources.Group, params resources.QueryParams) (*resources.Group, *resources.Response, error)
Update mocks base method.
func (*MockGroupsService) UpdateShare ¶
func (m *MockGroupsService) UpdateShare(groupId, resourceId string, input resources.GroupShare, params resources.QueryParams) (*resources.GroupShare, *resources.Response, error)
UpdateShare mocks base method.
type MockGroupsServiceMockRecorder ¶
type MockGroupsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGroupsServiceMockRecorder is the mock recorder for MockGroupsService.
func (*MockGroupsServiceMockRecorder) AddShare ¶
func (mr *MockGroupsServiceMockRecorder) AddShare(groupId, resourceId, input, params interface{}) *gomock.Call
AddShare indicates an expected call of AddShare.
func (*MockGroupsServiceMockRecorder) AddUser ¶
func (mr *MockGroupsServiceMockRecorder) AddUser(groupId, input, params interface{}) *gomock.Call
AddUser indicates an expected call of AddUser.
func (*MockGroupsServiceMockRecorder) Create ¶
func (mr *MockGroupsServiceMockRecorder) Create(u, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockGroupsServiceMockRecorder) Delete ¶
func (mr *MockGroupsServiceMockRecorder) Delete(groupId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockGroupsServiceMockRecorder) Get ¶
func (mr *MockGroupsServiceMockRecorder) Get(groupId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockGroupsServiceMockRecorder) GetShare ¶
func (mr *MockGroupsServiceMockRecorder) GetShare(groupId, resourceId, params interface{}) *gomock.Call
GetShare indicates an expected call of GetShare.
func (*MockGroupsServiceMockRecorder) List ¶
func (mr *MockGroupsServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockGroupsServiceMockRecorder) ListResources ¶
func (mr *MockGroupsServiceMockRecorder) ListResources(groupId, params interface{}) *gomock.Call
ListResources indicates an expected call of ListResources.
func (*MockGroupsServiceMockRecorder) ListShares ¶
func (mr *MockGroupsServiceMockRecorder) ListShares(groupId, params interface{}) *gomock.Call
ListShares indicates an expected call of ListShares.
func (*MockGroupsServiceMockRecorder) ListUsers ¶
func (mr *MockGroupsServiceMockRecorder) ListUsers(groupId, params interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers.
func (*MockGroupsServiceMockRecorder) RemoveShare ¶
func (mr *MockGroupsServiceMockRecorder) RemoveShare(groupId, resourceId, params interface{}) *gomock.Call
RemoveShare indicates an expected call of RemoveShare.
func (*MockGroupsServiceMockRecorder) RemoveUser ¶
func (mr *MockGroupsServiceMockRecorder) RemoveUser(groupId, userId, params interface{}) *gomock.Call
RemoveUser indicates an expected call of RemoveUser.
func (*MockGroupsServiceMockRecorder) Update ¶
func (mr *MockGroupsServiceMockRecorder) Update(groupId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockGroupsServiceMockRecorder) UpdateShare ¶
func (mr *MockGroupsServiceMockRecorder) UpdateShare(groupId, resourceId, input, params interface{}) *gomock.Call
UpdateShare indicates an expected call of UpdateShare.
type MockImagesService ¶
type MockImagesService struct {
// contains filtered or unexported fields
}
MockImagesService is a mock of ImagesService interface.
func NewMockImagesService ¶
func NewMockImagesService(ctrl *gomock.Controller) *MockImagesService
NewMockImagesService creates a new mock instance.
func (*MockImagesService) Delete ¶
func (m *MockImagesService) Delete(imageId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockImagesService) EXPECT ¶
func (m *MockImagesService) EXPECT() *MockImagesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImagesService) Get ¶
func (m *MockImagesService) Get(imageId string, params resources.QueryParams) (*resources.Image, *resources.Response, error)
Get mocks base method.
func (*MockImagesService) List ¶
func (m *MockImagesService) List(params resources.ListQueryParams) (resources.Images, *resources.Response, error)
List mocks base method.
func (*MockImagesService) Update ¶
func (m *MockImagesService) Update(imageId string, imgProp resources.ImageProperties, params resources.QueryParams) (*resources.Image, *resources.Response, error)
Update mocks base method.
func (*MockImagesService) Upload ¶
func (m *MockImagesService) Upload(ctx context.Context, properties resources.UploadProperties) error
Upload mocks base method.
type MockImagesServiceMockRecorder ¶
type MockImagesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockImagesServiceMockRecorder is the mock recorder for MockImagesService.
func (*MockImagesServiceMockRecorder) Delete ¶
func (mr *MockImagesServiceMockRecorder) Delete(imageId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockImagesServiceMockRecorder) Get ¶
func (mr *MockImagesServiceMockRecorder) Get(imageId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockImagesServiceMockRecorder) List ¶
func (mr *MockImagesServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockImagesServiceMockRecorder) Update ¶
func (mr *MockImagesServiceMockRecorder) Update(imageId, imgProp, params interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockImagesServiceMockRecorder) Upload ¶
func (mr *MockImagesServiceMockRecorder) Upload(ctx, properties interface{}) *gomock.Call
Upload indicates an expected call of Upload.
type MockIpBlocksService ¶
type MockIpBlocksService struct {
// contains filtered or unexported fields
}
MockIpBlocksService is a mock of IpBlocksService interface.
func NewMockIpBlocksService ¶
func NewMockIpBlocksService(ctrl *gomock.Controller) *MockIpBlocksService
NewMockIpBlocksService creates a new mock instance.
func (*MockIpBlocksService) Create ¶
func (m *MockIpBlocksService) Create(name, location string, size int32, params resources.QueryParams) (*resources.IpBlock, *resources.Response, error)
Create mocks base method.
func (*MockIpBlocksService) Delete ¶
func (m *MockIpBlocksService) Delete(ipBlockId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockIpBlocksService) EXPECT ¶
func (m *MockIpBlocksService) EXPECT() *MockIpBlocksServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIpBlocksService) Get ¶
func (m *MockIpBlocksService) Get(IpBlockId string, params resources.QueryParams) (*resources.IpBlock, *resources.Response, error)
Get mocks base method.
func (*MockIpBlocksService) List ¶
func (m *MockIpBlocksService) List(params resources.ListQueryParams) (resources.IpBlocks, *resources.Response, error)
List mocks base method.
func (*MockIpBlocksService) Update ¶
func (m *MockIpBlocksService) Update(ipBlockId string, input resources.IpBlockProperties, params resources.QueryParams) (*resources.IpBlock, *resources.Response, error)
Update mocks base method.
type MockIpBlocksServiceMockRecorder ¶
type MockIpBlocksServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIpBlocksServiceMockRecorder is the mock recorder for MockIpBlocksService.
func (*MockIpBlocksServiceMockRecorder) Create ¶
func (mr *MockIpBlocksServiceMockRecorder) Create(name, location, size, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockIpBlocksServiceMockRecorder) Delete ¶
func (mr *MockIpBlocksServiceMockRecorder) Delete(ipBlockId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIpBlocksServiceMockRecorder) Get ¶
func (mr *MockIpBlocksServiceMockRecorder) Get(IpBlockId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockIpBlocksServiceMockRecorder) List ¶
func (mr *MockIpBlocksServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockIpBlocksServiceMockRecorder) Update ¶
func (mr *MockIpBlocksServiceMockRecorder) Update(ipBlockId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockK8sService ¶
type MockK8sService struct {
// contains filtered or unexported fields
}
MockK8sService is a mock of K8sService interface.
func NewMockK8sService ¶
func NewMockK8sService(ctrl *gomock.Controller) *MockK8sService
NewMockK8sService creates a new mock instance.
func (*MockK8sService) CreateCluster ¶
func (m *MockK8sService) CreateCluster(u resources.K8sClusterForPost, params resources.QueryParams) (*resources.K8sCluster, *resources.Response, error)
CreateCluster mocks base method.
func (*MockK8sService) CreateNodePool ¶
func (m *MockK8sService) CreateNodePool(clusterId string, nodepool resources.K8sNodePoolForPost, params resources.QueryParams) (*resources.K8sNodePool, *resources.Response, error)
CreateNodePool mocks base method.
func (*MockK8sService) DeleteCluster ¶
func (m *MockK8sService) DeleteCluster(clusterId string, params resources.QueryParams) (*resources.Response, error)
DeleteCluster mocks base method.
func (*MockK8sService) DeleteNode ¶
func (m *MockK8sService) DeleteNode(clusterId, nodepoolId, nodeId string, params resources.QueryParams) (*resources.Response, error)
DeleteNode mocks base method.
func (*MockK8sService) DeleteNodePool ¶
func (m *MockK8sService) DeleteNodePool(clusterId, nodepoolId string, params resources.QueryParams) (*resources.Response, error)
DeleteNodePool mocks base method.
func (*MockK8sService) EXPECT ¶
func (m *MockK8sService) EXPECT() *MockK8sServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockK8sService) GetCluster ¶
func (m *MockK8sService) GetCluster(clusterId string, params resources.QueryParams) (*resources.K8sCluster, *resources.Response, error)
GetCluster mocks base method.
func (*MockK8sService) GetNode ¶
func (m *MockK8sService) GetNode(clusterId, nodepoolId, nodeId string, params resources.QueryParams) (*resources.K8sNode, *resources.Response, error)
GetNode mocks base method.
func (*MockK8sService) GetNodePool ¶
func (m *MockK8sService) GetNodePool(clusterId, nodepoolId string, params resources.QueryParams) (*resources.K8sNodePool, *resources.Response, error)
GetNodePool mocks base method.
func (*MockK8sService) GetVersion ¶
func (m *MockK8sService) GetVersion() (string, *resources.Response, error)
GetVersion mocks base method.
func (*MockK8sService) ListClusters ¶
func (m *MockK8sService) ListClusters(params resources.ListQueryParams) (resources.K8sClusters, *resources.Response, error)
ListClusters mocks base method.
func (*MockK8sService) ListNodePools ¶
func (m *MockK8sService) ListNodePools(clusterId string, params resources.ListQueryParams) (resources.K8sNodePools, *resources.Response, error)
ListNodePools mocks base method.
func (*MockK8sService) ListNodes ¶
func (m *MockK8sService) ListNodes(clusterId, nodepoolId string, params resources.ListQueryParams) (resources.K8sNodes, *resources.Response, error)
ListNodes mocks base method.
func (*MockK8sService) ListVersions ¶
func (m *MockK8sService) ListVersions() ([]string, *resources.Response, error)
ListVersions mocks base method.
func (*MockK8sService) ReadKubeConfig ¶
ReadKubeConfig mocks base method.
func (*MockK8sService) RecreateNode ¶
func (m *MockK8sService) RecreateNode(clusterId, nodepoolId, nodeId string, params resources.QueryParams) (*resources.Response, error)
RecreateNode mocks base method.
func (*MockK8sService) UpdateCluster ¶
func (m *MockK8sService) UpdateCluster(clusterId string, input resources.K8sClusterForPut, params resources.QueryParams) (*resources.K8sCluster, *resources.Response, error)
UpdateCluster mocks base method.
func (*MockK8sService) UpdateNodePool ¶
func (m *MockK8sService) UpdateNodePool(clusterId, nodepoolId string, nodepool resources.K8sNodePoolForPut, params resources.QueryParams) (*resources.K8sNodePool, *resources.Response, error)
UpdateNodePool mocks base method.
type MockK8sServiceMockRecorder ¶
type MockK8sServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockK8sServiceMockRecorder is the mock recorder for MockK8sService.
func (*MockK8sServiceMockRecorder) CreateCluster ¶
func (mr *MockK8sServiceMockRecorder) CreateCluster(u, params interface{}) *gomock.Call
CreateCluster indicates an expected call of CreateCluster.
func (*MockK8sServiceMockRecorder) CreateNodePool ¶
func (mr *MockK8sServiceMockRecorder) CreateNodePool(clusterId, nodepool, params interface{}) *gomock.Call
CreateNodePool indicates an expected call of CreateNodePool.
func (*MockK8sServiceMockRecorder) DeleteCluster ¶
func (mr *MockK8sServiceMockRecorder) DeleteCluster(clusterId, params interface{}) *gomock.Call
DeleteCluster indicates an expected call of DeleteCluster.
func (*MockK8sServiceMockRecorder) DeleteNode ¶
func (mr *MockK8sServiceMockRecorder) DeleteNode(clusterId, nodepoolId, nodeId, params interface{}) *gomock.Call
DeleteNode indicates an expected call of DeleteNode.
func (*MockK8sServiceMockRecorder) DeleteNodePool ¶
func (mr *MockK8sServiceMockRecorder) DeleteNodePool(clusterId, nodepoolId, params interface{}) *gomock.Call
DeleteNodePool indicates an expected call of DeleteNodePool.
func (*MockK8sServiceMockRecorder) GetCluster ¶
func (mr *MockK8sServiceMockRecorder) GetCluster(clusterId, params interface{}) *gomock.Call
GetCluster indicates an expected call of GetCluster.
func (*MockK8sServiceMockRecorder) GetNode ¶
func (mr *MockK8sServiceMockRecorder) GetNode(clusterId, nodepoolId, nodeId, params interface{}) *gomock.Call
GetNode indicates an expected call of GetNode.
func (*MockK8sServiceMockRecorder) GetNodePool ¶
func (mr *MockK8sServiceMockRecorder) GetNodePool(clusterId, nodepoolId, params interface{}) *gomock.Call
GetNodePool indicates an expected call of GetNodePool.
func (*MockK8sServiceMockRecorder) GetVersion ¶
func (mr *MockK8sServiceMockRecorder) GetVersion() *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockK8sServiceMockRecorder) ListClusters ¶
func (mr *MockK8sServiceMockRecorder) ListClusters(params interface{}) *gomock.Call
ListClusters indicates an expected call of ListClusters.
func (*MockK8sServiceMockRecorder) ListNodePools ¶
func (mr *MockK8sServiceMockRecorder) ListNodePools(clusterId, params interface{}) *gomock.Call
ListNodePools indicates an expected call of ListNodePools.
func (*MockK8sServiceMockRecorder) ListNodes ¶
func (mr *MockK8sServiceMockRecorder) ListNodes(clusterId, nodepoolId, params interface{}) *gomock.Call
ListNodes indicates an expected call of ListNodes.
func (*MockK8sServiceMockRecorder) ListVersions ¶
func (mr *MockK8sServiceMockRecorder) ListVersions() *gomock.Call
ListVersions indicates an expected call of ListVersions.
func (*MockK8sServiceMockRecorder) ReadKubeConfig ¶
func (mr *MockK8sServiceMockRecorder) ReadKubeConfig(clusterId interface{}) *gomock.Call
ReadKubeConfig indicates an expected call of ReadKubeConfig.
func (*MockK8sServiceMockRecorder) RecreateNode ¶
func (mr *MockK8sServiceMockRecorder) RecreateNode(clusterId, nodepoolId, nodeId, params interface{}) *gomock.Call
RecreateNode indicates an expected call of RecreateNode.
func (*MockK8sServiceMockRecorder) UpdateCluster ¶
func (mr *MockK8sServiceMockRecorder) UpdateCluster(clusterId, input, params interface{}) *gomock.Call
UpdateCluster indicates an expected call of UpdateCluster.
func (*MockK8sServiceMockRecorder) UpdateNodePool ¶
func (mr *MockK8sServiceMockRecorder) UpdateNodePool(clusterId, nodepoolId, nodepool, params interface{}) *gomock.Call
UpdateNodePool indicates an expected call of UpdateNodePool.
type MockLabelResourcesService ¶
type MockLabelResourcesService struct {
// contains filtered or unexported fields
}
MockLabelResourcesService is a mock of LabelResourcesService interface.
func NewMockLabelResourcesService ¶
func NewMockLabelResourcesService(ctrl *gomock.Controller) *MockLabelResourcesService
NewMockLabelResourcesService creates a new mock instance.
func (*MockLabelResourcesService) DatacenterCreate ¶
func (m *MockLabelResourcesService) DatacenterCreate(datacenterId, key, value string) (*resources.LabelResource, *resources.Response, error)
DatacenterCreate mocks base method.
func (*MockLabelResourcesService) DatacenterDelete ¶
func (m *MockLabelResourcesService) DatacenterDelete(datacenterId, key string) (*resources.Response, error)
DatacenterDelete mocks base method.
func (*MockLabelResourcesService) DatacenterGet ¶
func (m *MockLabelResourcesService) DatacenterGet(datacenterId, key string) (*resources.LabelResource, *resources.Response, error)
DatacenterGet mocks base method.
func (*MockLabelResourcesService) DatacenterList ¶
func (m *MockLabelResourcesService) DatacenterList(params resources.ListQueryParams, datacenterId string) (resources.LabelResources, *resources.Response, error)
DatacenterList mocks base method.
func (*MockLabelResourcesService) EXPECT ¶
func (m *MockLabelResourcesService) EXPECT() *MockLabelResourcesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLabelResourcesService) GetByUrn ¶
func (m *MockLabelResourcesService) GetByUrn(labelurn string) (*resources.Label, *resources.Response, error)
GetByUrn mocks base method.
func (*MockLabelResourcesService) IpBlockCreate ¶
func (m *MockLabelResourcesService) IpBlockCreate(ipblockId, key, value string) (*resources.LabelResource, *resources.Response, error)
IpBlockCreate mocks base method.
func (*MockLabelResourcesService) IpBlockDelete ¶
func (m *MockLabelResourcesService) IpBlockDelete(ipblockId, key string) (*resources.Response, error)
IpBlockDelete mocks base method.
func (*MockLabelResourcesService) IpBlockGet ¶
func (m *MockLabelResourcesService) IpBlockGet(ipblockId, key string) (*resources.LabelResource, *resources.Response, error)
IpBlockGet mocks base method.
func (*MockLabelResourcesService) IpBlockList ¶
func (m *MockLabelResourcesService) IpBlockList(params resources.ListQueryParams, ipblockId string) (resources.LabelResources, *resources.Response, error)
IpBlockList mocks base method.
func (*MockLabelResourcesService) List ¶
func (m *MockLabelResourcesService) List(params resources.ListQueryParams) (resources.Labels, *resources.Response, error)
List mocks base method.
func (*MockLabelResourcesService) ServerCreate ¶
func (m *MockLabelResourcesService) ServerCreate(datacenterId, serverId, key, value string) (*resources.LabelResource, *resources.Response, error)
ServerCreate mocks base method.
func (*MockLabelResourcesService) ServerDelete ¶
func (m *MockLabelResourcesService) ServerDelete(datacenterId, serverId, key string) (*resources.Response, error)
ServerDelete mocks base method.
func (*MockLabelResourcesService) ServerGet ¶
func (m *MockLabelResourcesService) ServerGet(datacenterId, serverId, key string) (*resources.LabelResource, *resources.Response, error)
ServerGet mocks base method.
func (*MockLabelResourcesService) ServerList ¶
func (m *MockLabelResourcesService) ServerList(params resources.ListQueryParams, datacenterId, serverId string) (resources.LabelResources, *resources.Response, error)
ServerList mocks base method.
func (*MockLabelResourcesService) SnapshotCreate ¶
func (m *MockLabelResourcesService) SnapshotCreate(snapshotId, key, value string) (*resources.LabelResource, *resources.Response, error)
SnapshotCreate mocks base method.
func (*MockLabelResourcesService) SnapshotDelete ¶
func (m *MockLabelResourcesService) SnapshotDelete(snapshotId, key string) (*resources.Response, error)
SnapshotDelete mocks base method.
func (*MockLabelResourcesService) SnapshotGet ¶
func (m *MockLabelResourcesService) SnapshotGet(snapshotId, key string) (*resources.LabelResource, *resources.Response, error)
SnapshotGet mocks base method.
func (*MockLabelResourcesService) SnapshotList ¶
func (m *MockLabelResourcesService) SnapshotList(params resources.ListQueryParams, snapshotId string) (resources.LabelResources, *resources.Response, error)
SnapshotList mocks base method.
func (*MockLabelResourcesService) VolumeCreate ¶
func (m *MockLabelResourcesService) VolumeCreate(datacenterId, serverId, key, value string) (*resources.LabelResource, *resources.Response, error)
VolumeCreate mocks base method.
func (*MockLabelResourcesService) VolumeDelete ¶
func (m *MockLabelResourcesService) VolumeDelete(datacenterId, serverId, key string) (*resources.Response, error)
VolumeDelete mocks base method.
func (*MockLabelResourcesService) VolumeGet ¶
func (m *MockLabelResourcesService) VolumeGet(datacenterId, serverId, key string) (*resources.LabelResource, *resources.Response, error)
VolumeGet mocks base method.
func (*MockLabelResourcesService) VolumeList ¶
func (m *MockLabelResourcesService) VolumeList(params resources.ListQueryParams, datacenterId, serverId string) (resources.LabelResources, *resources.Response, error)
VolumeList mocks base method.
type MockLabelResourcesServiceMockRecorder ¶
type MockLabelResourcesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLabelResourcesServiceMockRecorder is the mock recorder for MockLabelResourcesService.
func (*MockLabelResourcesServiceMockRecorder) DatacenterCreate ¶
func (mr *MockLabelResourcesServiceMockRecorder) DatacenterCreate(datacenterId, key, value interface{}) *gomock.Call
DatacenterCreate indicates an expected call of DatacenterCreate.
func (*MockLabelResourcesServiceMockRecorder) DatacenterDelete ¶
func (mr *MockLabelResourcesServiceMockRecorder) DatacenterDelete(datacenterId, key interface{}) *gomock.Call
DatacenterDelete indicates an expected call of DatacenterDelete.
func (*MockLabelResourcesServiceMockRecorder) DatacenterGet ¶
func (mr *MockLabelResourcesServiceMockRecorder) DatacenterGet(datacenterId, key interface{}) *gomock.Call
DatacenterGet indicates an expected call of DatacenterGet.
func (*MockLabelResourcesServiceMockRecorder) DatacenterList ¶
func (mr *MockLabelResourcesServiceMockRecorder) DatacenterList(params, datacenterId interface{}) *gomock.Call
DatacenterList indicates an expected call of DatacenterList.
func (*MockLabelResourcesServiceMockRecorder) GetByUrn ¶
func (mr *MockLabelResourcesServiceMockRecorder) GetByUrn(labelurn interface{}) *gomock.Call
GetByUrn indicates an expected call of GetByUrn.
func (*MockLabelResourcesServiceMockRecorder) IpBlockCreate ¶
func (mr *MockLabelResourcesServiceMockRecorder) IpBlockCreate(ipblockId, key, value interface{}) *gomock.Call
IpBlockCreate indicates an expected call of IpBlockCreate.
func (*MockLabelResourcesServiceMockRecorder) IpBlockDelete ¶
func (mr *MockLabelResourcesServiceMockRecorder) IpBlockDelete(ipblockId, key interface{}) *gomock.Call
IpBlockDelete indicates an expected call of IpBlockDelete.
func (*MockLabelResourcesServiceMockRecorder) IpBlockGet ¶
func (mr *MockLabelResourcesServiceMockRecorder) IpBlockGet(ipblockId, key interface{}) *gomock.Call
IpBlockGet indicates an expected call of IpBlockGet.
func (*MockLabelResourcesServiceMockRecorder) IpBlockList ¶
func (mr *MockLabelResourcesServiceMockRecorder) IpBlockList(params, ipblockId interface{}) *gomock.Call
IpBlockList indicates an expected call of IpBlockList.
func (*MockLabelResourcesServiceMockRecorder) List ¶
func (mr *MockLabelResourcesServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLabelResourcesServiceMockRecorder) ServerCreate ¶
func (mr *MockLabelResourcesServiceMockRecorder) ServerCreate(datacenterId, serverId, key, value interface{}) *gomock.Call
ServerCreate indicates an expected call of ServerCreate.
func (*MockLabelResourcesServiceMockRecorder) ServerDelete ¶
func (mr *MockLabelResourcesServiceMockRecorder) ServerDelete(datacenterId, serverId, key interface{}) *gomock.Call
ServerDelete indicates an expected call of ServerDelete.
func (*MockLabelResourcesServiceMockRecorder) ServerGet ¶
func (mr *MockLabelResourcesServiceMockRecorder) ServerGet(datacenterId, serverId, key interface{}) *gomock.Call
ServerGet indicates an expected call of ServerGet.
func (*MockLabelResourcesServiceMockRecorder) ServerList ¶
func (mr *MockLabelResourcesServiceMockRecorder) ServerList(params, datacenterId, serverId interface{}) *gomock.Call
ServerList indicates an expected call of ServerList.
func (*MockLabelResourcesServiceMockRecorder) SnapshotCreate ¶
func (mr *MockLabelResourcesServiceMockRecorder) SnapshotCreate(snapshotId, key, value interface{}) *gomock.Call
SnapshotCreate indicates an expected call of SnapshotCreate.
func (*MockLabelResourcesServiceMockRecorder) SnapshotDelete ¶
func (mr *MockLabelResourcesServiceMockRecorder) SnapshotDelete(snapshotId, key interface{}) *gomock.Call
SnapshotDelete indicates an expected call of SnapshotDelete.
func (*MockLabelResourcesServiceMockRecorder) SnapshotGet ¶
func (mr *MockLabelResourcesServiceMockRecorder) SnapshotGet(snapshotId, key interface{}) *gomock.Call
SnapshotGet indicates an expected call of SnapshotGet.
func (*MockLabelResourcesServiceMockRecorder) SnapshotList ¶
func (mr *MockLabelResourcesServiceMockRecorder) SnapshotList(params, snapshotId interface{}) *gomock.Call
SnapshotList indicates an expected call of SnapshotList.
func (*MockLabelResourcesServiceMockRecorder) VolumeCreate ¶
func (mr *MockLabelResourcesServiceMockRecorder) VolumeCreate(datacenterId, serverId, key, value interface{}) *gomock.Call
VolumeCreate indicates an expected call of VolumeCreate.
func (*MockLabelResourcesServiceMockRecorder) VolumeDelete ¶
func (mr *MockLabelResourcesServiceMockRecorder) VolumeDelete(datacenterId, serverId, key interface{}) *gomock.Call
VolumeDelete indicates an expected call of VolumeDelete.
func (*MockLabelResourcesServiceMockRecorder) VolumeGet ¶
func (mr *MockLabelResourcesServiceMockRecorder) VolumeGet(datacenterId, serverId, key interface{}) *gomock.Call
VolumeGet indicates an expected call of VolumeGet.
func (*MockLabelResourcesServiceMockRecorder) VolumeList ¶
func (mr *MockLabelResourcesServiceMockRecorder) VolumeList(params, datacenterId, serverId interface{}) *gomock.Call
VolumeList indicates an expected call of VolumeList.
type MockLansService ¶
type MockLansService struct {
// contains filtered or unexported fields
}
MockLansService is a mock of LansService interface.
func NewMockLansService ¶
func NewMockLansService(ctrl *gomock.Controller) *MockLansService
NewMockLansService creates a new mock instance.
func (*MockLansService) Create ¶
func (m *MockLansService) Create(datacenterId string, input resources.LanPost, params resources.QueryParams) (*resources.LanPost, *resources.Response, error)
Create mocks base method.
func (*MockLansService) Delete ¶
func (m *MockLansService) Delete(datacenterId, lanId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockLansService) EXPECT ¶
func (m *MockLansService) EXPECT() *MockLansServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLansService) Get ¶
func (m *MockLansService) Get(datacenterId, lanId string, params resources.QueryParams) (*resources.Lan, *resources.Response, error)
Get mocks base method.
func (*MockLansService) List ¶
func (m *MockLansService) List(datacenterId string, params resources.ListQueryParams) (resources.Lans, *resources.Response, error)
List mocks base method.
func (*MockLansService) Update ¶
func (m *MockLansService) Update(datacenterId, lanId string, input resources.LanProperties, params resources.QueryParams) (*resources.Lan, *resources.Response, error)
Update mocks base method.
type MockLansServiceMockRecorder ¶
type MockLansServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLansServiceMockRecorder is the mock recorder for MockLansService.
func (*MockLansServiceMockRecorder) Create ¶
func (mr *MockLansServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockLansServiceMockRecorder) Delete ¶
func (mr *MockLansServiceMockRecorder) Delete(datacenterId, lanId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockLansServiceMockRecorder) Get ¶
func (mr *MockLansServiceMockRecorder) Get(datacenterId, lanId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLansServiceMockRecorder) List ¶
func (mr *MockLansServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLansServiceMockRecorder) Update ¶
func (mr *MockLansServiceMockRecorder) Update(datacenterId, lanId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockLoadbalancersService ¶
type MockLoadbalancersService struct {
// contains filtered or unexported fields
}
MockLoadbalancersService is a mock of LoadbalancersService interface.
func NewMockLoadbalancersService ¶
func NewMockLoadbalancersService(ctrl *gomock.Controller) *MockLoadbalancersService
NewMockLoadbalancersService creates a new mock instance.
func (*MockLoadbalancersService) AttachNic ¶
func (m *MockLoadbalancersService) AttachNic(datacenterId, loadbalancerId, nicId string, params resources.QueryParams) (*resources.Nic, *resources.Response, error)
AttachNic mocks base method.
func (*MockLoadbalancersService) Create ¶
func (m *MockLoadbalancersService) Create(datacenterId, name string, dhcp bool, params resources.QueryParams) (*resources.Loadbalancer, *resources.Response, error)
Create mocks base method.
func (*MockLoadbalancersService) Delete ¶
func (m *MockLoadbalancersService) Delete(datacenterId, loadbalancerId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockLoadbalancersService) DetachNic ¶
func (m *MockLoadbalancersService) DetachNic(datacenterId, loadbalancerId, nicId string, params resources.QueryParams) (*resources.Response, error)
DetachNic mocks base method.
func (*MockLoadbalancersService) EXPECT ¶
func (m *MockLoadbalancersService) EXPECT() *MockLoadbalancersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadbalancersService) Get ¶
func (m *MockLoadbalancersService) Get(datacenterId, loadbalancerId string, params resources.QueryParams) (*resources.Loadbalancer, *resources.Response, error)
Get mocks base method.
func (*MockLoadbalancersService) GetNic ¶
func (m *MockLoadbalancersService) GetNic(datacenterId, loadbalancerId, nicId string, params resources.QueryParams) (*resources.Nic, *resources.Response, error)
GetNic mocks base method.
func (*MockLoadbalancersService) List ¶
func (m *MockLoadbalancersService) List(datacenterId string, params resources.ListQueryParams) (resources.Loadbalancers, *resources.Response, error)
List mocks base method.
func (*MockLoadbalancersService) ListNics ¶
func (m *MockLoadbalancersService) ListNics(datacenterId, loadbalancerId string, params resources.ListQueryParams) (resources.BalancedNics, *resources.Response, error)
ListNics mocks base method.
func (*MockLoadbalancersService) Update ¶
func (m *MockLoadbalancersService) Update(datacenterId, loadbalancerId string, input resources.LoadbalancerProperties, params resources.QueryParams) (*resources.Loadbalancer, *resources.Response, error)
Update mocks base method.
type MockLoadbalancersServiceMockRecorder ¶
type MockLoadbalancersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadbalancersServiceMockRecorder is the mock recorder for MockLoadbalancersService.
func (*MockLoadbalancersServiceMockRecorder) AttachNic ¶
func (mr *MockLoadbalancersServiceMockRecorder) AttachNic(datacenterId, loadbalancerId, nicId, params interface{}) *gomock.Call
AttachNic indicates an expected call of AttachNic.
func (*MockLoadbalancersServiceMockRecorder) Create ¶
func (mr *MockLoadbalancersServiceMockRecorder) Create(datacenterId, name, dhcp, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockLoadbalancersServiceMockRecorder) Delete ¶
func (mr *MockLoadbalancersServiceMockRecorder) Delete(datacenterId, loadbalancerId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockLoadbalancersServiceMockRecorder) DetachNic ¶
func (mr *MockLoadbalancersServiceMockRecorder) DetachNic(datacenterId, loadbalancerId, nicId, params interface{}) *gomock.Call
DetachNic indicates an expected call of DetachNic.
func (*MockLoadbalancersServiceMockRecorder) Get ¶
func (mr *MockLoadbalancersServiceMockRecorder) Get(datacenterId, loadbalancerId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLoadbalancersServiceMockRecorder) GetNic ¶
func (mr *MockLoadbalancersServiceMockRecorder) GetNic(datacenterId, loadbalancerId, nicId, params interface{}) *gomock.Call
GetNic indicates an expected call of GetNic.
func (*MockLoadbalancersServiceMockRecorder) List ¶
func (mr *MockLoadbalancersServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLoadbalancersServiceMockRecorder) ListNics ¶
func (mr *MockLoadbalancersServiceMockRecorder) ListNics(datacenterId, loadbalancerId, params interface{}) *gomock.Call
ListNics indicates an expected call of ListNics.
func (*MockLoadbalancersServiceMockRecorder) Update ¶
func (mr *MockLoadbalancersServiceMockRecorder) Update(datacenterId, loadbalancerId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockLocationsService ¶
type MockLocationsService struct {
// contains filtered or unexported fields
}
MockLocationsService is a mock of LocationsService interface.
func NewMockLocationsService ¶
func NewMockLocationsService(ctrl *gomock.Controller) *MockLocationsService
NewMockLocationsService creates a new mock instance.
func (*MockLocationsService) EXPECT ¶
func (m *MockLocationsService) EXPECT() *MockLocationsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLocationsService) GetByRegionAndLocationId ¶
func (m *MockLocationsService) GetByRegionAndLocationId(regionId, locationId string, params resources.QueryParams) (*resources.Location, *resources.Response, error)
GetByRegionAndLocationId mocks base method.
func (*MockLocationsService) GetByRegionId ¶
func (m *MockLocationsService) GetByRegionId(regionId string, params resources.QueryParams) (resources.Locations, *resources.Response, error)
GetByRegionId mocks base method.
func (*MockLocationsService) List ¶
func (m *MockLocationsService) List(params resources.ListQueryParams) (resources.Locations, *resources.Response, error)
List mocks base method.
type MockLocationsServiceMockRecorder ¶
type MockLocationsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLocationsServiceMockRecorder is the mock recorder for MockLocationsService.
func (*MockLocationsServiceMockRecorder) GetByRegionAndLocationId ¶
func (mr *MockLocationsServiceMockRecorder) GetByRegionAndLocationId(regionId, locationId, params interface{}) *gomock.Call
GetByRegionAndLocationId indicates an expected call of GetByRegionAndLocationId.
func (*MockLocationsServiceMockRecorder) GetByRegionId ¶
func (mr *MockLocationsServiceMockRecorder) GetByRegionId(regionId, params interface{}) *gomock.Call
GetByRegionId indicates an expected call of GetByRegionId.
func (*MockLocationsServiceMockRecorder) List ¶
func (mr *MockLocationsServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
type MockNatGatewaysService ¶
type MockNatGatewaysService struct {
// contains filtered or unexported fields
}
MockNatGatewaysService is a mock of NatGatewaysService interface.
func NewMockNatGatewaysService ¶
func NewMockNatGatewaysService(ctrl *gomock.Controller) *MockNatGatewaysService
NewMockNatGatewaysService creates a new mock instance.
func (*MockNatGatewaysService) Create ¶
func (m *MockNatGatewaysService) Create(datacenterId string, input resources.NatGateway, params resources.QueryParams) (*resources.NatGateway, *resources.Response, error)
Create mocks base method.
func (*MockNatGatewaysService) CreateFlowLog ¶
func (m *MockNatGatewaysService) CreateFlowLog(datacenterId, natGatewayId string, input resources.FlowLog, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
CreateFlowLog mocks base method.
func (*MockNatGatewaysService) CreateRule ¶
func (m *MockNatGatewaysService) CreateRule(datacenterId, natGatewayId string, input resources.NatGatewayRule, params resources.QueryParams) (*resources.NatGatewayRule, *resources.Response, error)
CreateRule mocks base method.
func (*MockNatGatewaysService) Delete ¶
func (m *MockNatGatewaysService) Delete(datacenterId, natGatewayId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockNatGatewaysService) DeleteFlowLog ¶
func (m *MockNatGatewaysService) DeleteFlowLog(datacenterId, natGatewayId, flowlogId string, params resources.QueryParams) (*resources.Response, error)
DeleteFlowLog mocks base method.
func (*MockNatGatewaysService) DeleteRule ¶
func (m *MockNatGatewaysService) DeleteRule(datacenterId, natGatewayId, ruleId string, params resources.QueryParams) (*resources.Response, error)
DeleteRule mocks base method.
func (*MockNatGatewaysService) EXPECT ¶
func (m *MockNatGatewaysService) EXPECT() *MockNatGatewaysServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNatGatewaysService) Get ¶
func (m *MockNatGatewaysService) Get(datacenterId, natGatewayId string, params resources.QueryParams) (*resources.NatGateway, *resources.Response, error)
Get mocks base method.
func (*MockNatGatewaysService) GetFlowLog ¶
func (m *MockNatGatewaysService) GetFlowLog(datacenterId, natGatewayId, flowlogId string, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
GetFlowLog mocks base method.
func (*MockNatGatewaysService) GetRule ¶
func (m *MockNatGatewaysService) GetRule(datacenterId, natGatewayId, ruleId string, params resources.QueryParams) (*resources.NatGatewayRule, *resources.Response, error)
GetRule mocks base method.
func (*MockNatGatewaysService) List ¶
func (m *MockNatGatewaysService) List(datacenterId string, params resources.ListQueryParams) (resources.NatGateways, *resources.Response, error)
List mocks base method.
func (*MockNatGatewaysService) ListFlowLogs ¶
func (m *MockNatGatewaysService) ListFlowLogs(datacenterId, natGatewayId string, params resources.ListQueryParams) (resources.FlowLogs, *resources.Response, error)
ListFlowLogs mocks base method.
func (*MockNatGatewaysService) ListRules ¶
func (m *MockNatGatewaysService) ListRules(datacenterId, natGatewayId string, params resources.ListQueryParams) (resources.NatGatewayRules, *resources.Response, error)
ListRules mocks base method.
func (*MockNatGatewaysService) Update ¶
func (m *MockNatGatewaysService) Update(datacenterId, natGatewayId string, input resources.NatGatewayProperties, params resources.QueryParams) (*resources.NatGateway, *resources.Response, error)
Update mocks base method.
func (*MockNatGatewaysService) UpdateFlowLog ¶
func (m *MockNatGatewaysService) UpdateFlowLog(datacenterId, natGatewayId, flowlogId string, input *resources.FlowLogProperties, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
UpdateFlowLog mocks base method.
func (*MockNatGatewaysService) UpdateRule ¶
func (m *MockNatGatewaysService) UpdateRule(datacenterId, natGatewayId, ruleId string, input resources.NatGatewayRuleProperties, params resources.QueryParams) (*resources.NatGatewayRule, *resources.Response, error)
UpdateRule mocks base method.
type MockNatGatewaysServiceMockRecorder ¶
type MockNatGatewaysServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNatGatewaysServiceMockRecorder is the mock recorder for MockNatGatewaysService.
func (*MockNatGatewaysServiceMockRecorder) Create ¶
func (mr *MockNatGatewaysServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNatGatewaysServiceMockRecorder) CreateFlowLog ¶
func (mr *MockNatGatewaysServiceMockRecorder) CreateFlowLog(datacenterId, natGatewayId, input, params interface{}) *gomock.Call
CreateFlowLog indicates an expected call of CreateFlowLog.
func (*MockNatGatewaysServiceMockRecorder) CreateRule ¶
func (mr *MockNatGatewaysServiceMockRecorder) CreateRule(datacenterId, natGatewayId, input, params interface{}) *gomock.Call
CreateRule indicates an expected call of CreateRule.
func (*MockNatGatewaysServiceMockRecorder) Delete ¶
func (mr *MockNatGatewaysServiceMockRecorder) Delete(datacenterId, natGatewayId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNatGatewaysServiceMockRecorder) DeleteFlowLog ¶
func (mr *MockNatGatewaysServiceMockRecorder) DeleteFlowLog(datacenterId, natGatewayId, flowlogId, params interface{}) *gomock.Call
DeleteFlowLog indicates an expected call of DeleteFlowLog.
func (*MockNatGatewaysServiceMockRecorder) DeleteRule ¶
func (mr *MockNatGatewaysServiceMockRecorder) DeleteRule(datacenterId, natGatewayId, ruleId, params interface{}) *gomock.Call
DeleteRule indicates an expected call of DeleteRule.
func (*MockNatGatewaysServiceMockRecorder) Get ¶
func (mr *MockNatGatewaysServiceMockRecorder) Get(datacenterId, natGatewayId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNatGatewaysServiceMockRecorder) GetFlowLog ¶
func (mr *MockNatGatewaysServiceMockRecorder) GetFlowLog(datacenterId, natGatewayId, flowlogId, params interface{}) *gomock.Call
GetFlowLog indicates an expected call of GetFlowLog.
func (*MockNatGatewaysServiceMockRecorder) GetRule ¶
func (mr *MockNatGatewaysServiceMockRecorder) GetRule(datacenterId, natGatewayId, ruleId, params interface{}) *gomock.Call
GetRule indicates an expected call of GetRule.
func (*MockNatGatewaysServiceMockRecorder) List ¶
func (mr *MockNatGatewaysServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNatGatewaysServiceMockRecorder) ListFlowLogs ¶
func (mr *MockNatGatewaysServiceMockRecorder) ListFlowLogs(datacenterId, natGatewayId, params interface{}) *gomock.Call
ListFlowLogs indicates an expected call of ListFlowLogs.
func (*MockNatGatewaysServiceMockRecorder) ListRules ¶
func (mr *MockNatGatewaysServiceMockRecorder) ListRules(datacenterId, natGatewayId, params interface{}) *gomock.Call
ListRules indicates an expected call of ListRules.
func (*MockNatGatewaysServiceMockRecorder) Update ¶
func (mr *MockNatGatewaysServiceMockRecorder) Update(datacenterId, natGatewayId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockNatGatewaysServiceMockRecorder) UpdateFlowLog ¶
func (mr *MockNatGatewaysServiceMockRecorder) UpdateFlowLog(datacenterId, natGatewayId, flowlogId, input, params interface{}) *gomock.Call
UpdateFlowLog indicates an expected call of UpdateFlowLog.
func (*MockNatGatewaysServiceMockRecorder) UpdateRule ¶
func (mr *MockNatGatewaysServiceMockRecorder) UpdateRule(datacenterId, natGatewayId, ruleId, input, params interface{}) *gomock.Call
UpdateRule indicates an expected call of UpdateRule.
type MockNetworkLoadBalancersService ¶
type MockNetworkLoadBalancersService struct {
// contains filtered or unexported fields
}
MockNetworkLoadBalancersService is a mock of NetworkLoadBalancersService interface.
func NewMockNetworkLoadBalancersService ¶
func NewMockNetworkLoadBalancersService(ctrl *gomock.Controller) *MockNetworkLoadBalancersService
NewMockNetworkLoadBalancersService creates a new mock instance.
func (*MockNetworkLoadBalancersService) Create ¶
func (m *MockNetworkLoadBalancersService) Create(datacenterId string, input resources.NetworkLoadBalancer, params resources.QueryParams) (*resources.NetworkLoadBalancer, *resources.Response, error)
Create mocks base method.
func (*MockNetworkLoadBalancersService) CreateFlowLog ¶
func (m *MockNetworkLoadBalancersService) CreateFlowLog(datacenterId, networkLoadBalancerId string, input resources.FlowLog, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
CreateFlowLog mocks base method.
func (*MockNetworkLoadBalancersService) CreateForwardingRule ¶
func (m *MockNetworkLoadBalancersService) CreateForwardingRule(datacenterId, networkLoadBalancerId string, input resources.NetworkLoadBalancerForwardingRule, params resources.QueryParams) (*resources.NetworkLoadBalancerForwardingRule, *resources.Response, error)
CreateForwardingRule mocks base method.
func (*MockNetworkLoadBalancersService) Delete ¶
func (m *MockNetworkLoadBalancersService) Delete(datacenterId, networkLoadBalancerId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockNetworkLoadBalancersService) DeleteFlowLog ¶
func (m *MockNetworkLoadBalancersService) DeleteFlowLog(datacenterId, networkLoadBalancerId, flowLogId string, params resources.QueryParams) (*resources.Response, error)
DeleteFlowLog mocks base method.
func (*MockNetworkLoadBalancersService) DeleteForwardingRule ¶
func (m *MockNetworkLoadBalancersService) DeleteForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId string, params resources.QueryParams) (*resources.Response, error)
DeleteForwardingRule mocks base method.
func (*MockNetworkLoadBalancersService) EXPECT ¶
func (m *MockNetworkLoadBalancersService) EXPECT() *MockNetworkLoadBalancersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkLoadBalancersService) Get ¶
func (m *MockNetworkLoadBalancersService) Get(datacenterId, networkLoadBalancerId string, params resources.QueryParams) (*resources.NetworkLoadBalancer, *resources.Response, error)
Get mocks base method.
func (*MockNetworkLoadBalancersService) GetFlowLog ¶
func (m *MockNetworkLoadBalancersService) GetFlowLog(datacenterId, networkLoadBalancerId, flowLogId string, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
GetFlowLog mocks base method.
func (*MockNetworkLoadBalancersService) GetForwardingRule ¶
func (m *MockNetworkLoadBalancersService) GetForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId string, params resources.QueryParams) (*resources.NetworkLoadBalancerForwardingRule, *resources.Response, error)
GetForwardingRule mocks base method.
func (*MockNetworkLoadBalancersService) List ¶
func (m *MockNetworkLoadBalancersService) List(datacenterId string, params resources.ListQueryParams) (resources.NetworkLoadBalancers, *resources.Response, error)
List mocks base method.
func (*MockNetworkLoadBalancersService) ListFlowLogs ¶
func (m *MockNetworkLoadBalancersService) ListFlowLogs(datacenterId, networkLoadBalancerId string, params resources.ListQueryParams) (resources.FlowLogs, *resources.Response, error)
ListFlowLogs mocks base method.
func (*MockNetworkLoadBalancersService) ListForwardingRules ¶
func (m *MockNetworkLoadBalancersService) ListForwardingRules(datacenterId, networkLoadBalancerId string, params resources.ListQueryParams) (resources.NetworkLoadBalancerForwardingRules, *resources.Response, error)
ListForwardingRules mocks base method.
func (*MockNetworkLoadBalancersService) Update ¶
func (m *MockNetworkLoadBalancersService) Update(datacenterId, networkLoadBalancerId string, input resources.NetworkLoadBalancerProperties, params resources.QueryParams) (*resources.NetworkLoadBalancer, *resources.Response, error)
Update mocks base method.
func (*MockNetworkLoadBalancersService) UpdateFlowLog ¶
func (m *MockNetworkLoadBalancersService) UpdateFlowLog(datacenterId, networkLoadBalancerId, flowLogId string, input *resources.FlowLogProperties, params resources.QueryParams) (*resources.FlowLog, *resources.Response, error)
UpdateFlowLog mocks base method.
func (*MockNetworkLoadBalancersService) UpdateForwardingRule ¶
func (m *MockNetworkLoadBalancersService) UpdateForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId string, input *resources.NetworkLoadBalancerForwardingRuleProperties, params resources.QueryParams) (*resources.NetworkLoadBalancerForwardingRule, *resources.Response, error)
UpdateForwardingRule mocks base method.
type MockNetworkLoadBalancersServiceMockRecorder ¶
type MockNetworkLoadBalancersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkLoadBalancersServiceMockRecorder is the mock recorder for MockNetworkLoadBalancersService.
func (*MockNetworkLoadBalancersServiceMockRecorder) Create ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNetworkLoadBalancersServiceMockRecorder) CreateFlowLog ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) CreateFlowLog(datacenterId, networkLoadBalancerId, input, params interface{}) *gomock.Call
CreateFlowLog indicates an expected call of CreateFlowLog.
func (*MockNetworkLoadBalancersServiceMockRecorder) CreateForwardingRule ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) CreateForwardingRule(datacenterId, networkLoadBalancerId, input, params interface{}) *gomock.Call
CreateForwardingRule indicates an expected call of CreateForwardingRule.
func (*MockNetworkLoadBalancersServiceMockRecorder) Delete ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) Delete(datacenterId, networkLoadBalancerId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNetworkLoadBalancersServiceMockRecorder) DeleteFlowLog ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) DeleteFlowLog(datacenterId, networkLoadBalancerId, flowLogId, params interface{}) *gomock.Call
DeleteFlowLog indicates an expected call of DeleteFlowLog.
func (*MockNetworkLoadBalancersServiceMockRecorder) DeleteForwardingRule ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) DeleteForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId, params interface{}) *gomock.Call
DeleteForwardingRule indicates an expected call of DeleteForwardingRule.
func (*MockNetworkLoadBalancersServiceMockRecorder) Get ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) Get(datacenterId, networkLoadBalancerId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNetworkLoadBalancersServiceMockRecorder) GetFlowLog ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) GetFlowLog(datacenterId, networkLoadBalancerId, flowLogId, params interface{}) *gomock.Call
GetFlowLog indicates an expected call of GetFlowLog.
func (*MockNetworkLoadBalancersServiceMockRecorder) GetForwardingRule ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) GetForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId, params interface{}) *gomock.Call
GetForwardingRule indicates an expected call of GetForwardingRule.
func (*MockNetworkLoadBalancersServiceMockRecorder) List ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNetworkLoadBalancersServiceMockRecorder) ListFlowLogs ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) ListFlowLogs(datacenterId, networkLoadBalancerId, params interface{}) *gomock.Call
ListFlowLogs indicates an expected call of ListFlowLogs.
func (*MockNetworkLoadBalancersServiceMockRecorder) ListForwardingRules ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) ListForwardingRules(datacenterId, networkLoadBalancerId, params interface{}) *gomock.Call
ListForwardingRules indicates an expected call of ListForwardingRules.
func (*MockNetworkLoadBalancersServiceMockRecorder) Update ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) Update(datacenterId, networkLoadBalancerId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockNetworkLoadBalancersServiceMockRecorder) UpdateFlowLog ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) UpdateFlowLog(datacenterId, networkLoadBalancerId, flowLogId, input, params interface{}) *gomock.Call
UpdateFlowLog indicates an expected call of UpdateFlowLog.
func (*MockNetworkLoadBalancersServiceMockRecorder) UpdateForwardingRule ¶
func (mr *MockNetworkLoadBalancersServiceMockRecorder) UpdateForwardingRule(datacenterId, networkLoadBalancerId, forwardingRuleId, input, params interface{}) *gomock.Call
UpdateForwardingRule indicates an expected call of UpdateForwardingRule.
type MockNicsService ¶
type MockNicsService struct {
// contains filtered or unexported fields
}
MockNicsService is a mock of NicsService interface.
func NewMockNicsService ¶
func NewMockNicsService(ctrl *gomock.Controller) *MockNicsService
NewMockNicsService creates a new mock instance.
func (*MockNicsService) Create ¶
func (m *MockNicsService) Create(datacenterId, serverId string, input resources.Nic, params resources.QueryParams) (*resources.Nic, *resources.Response, error)
Create mocks base method.
func (*MockNicsService) Delete ¶
func (m *MockNicsService) Delete(datacenterId, serverId, nicId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockNicsService) EXPECT ¶
func (m *MockNicsService) EXPECT() *MockNicsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNicsService) Get ¶
func (m *MockNicsService) Get(datacenterId, serverId, nicId string, params resources.QueryParams) (*resources.Nic, *resources.Response, error)
Get mocks base method.
func (*MockNicsService) List ¶
func (m *MockNicsService) List(datacenterId, serverId string, params resources.ListQueryParams) (resources.Nics, *resources.Response, error)
List mocks base method.
func (*MockNicsService) Update ¶
func (m *MockNicsService) Update(datacenterId, serverId, nicId string, input resources.NicProperties, params resources.QueryParams) (*resources.Nic, *resources.Response, error)
Update mocks base method.
type MockNicsServiceMockRecorder ¶
type MockNicsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNicsServiceMockRecorder is the mock recorder for MockNicsService.
func (*MockNicsServiceMockRecorder) Create ¶
func (mr *MockNicsServiceMockRecorder) Create(datacenterId, serverId, input, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNicsServiceMockRecorder) Delete ¶
func (mr *MockNicsServiceMockRecorder) Delete(datacenterId, serverId, nicId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNicsServiceMockRecorder) Get ¶
func (mr *MockNicsServiceMockRecorder) Get(datacenterId, serverId, nicId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNicsServiceMockRecorder) List ¶
func (mr *MockNicsServiceMockRecorder) List(datacenterId, serverId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNicsServiceMockRecorder) Update ¶
func (mr *MockNicsServiceMockRecorder) Update(datacenterId, serverId, nicId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockPccsService ¶
type MockPccsService struct {
// contains filtered or unexported fields
}
MockPccsService is a mock of PccsService interface.
func NewMockPccsService ¶
func NewMockPccsService(ctrl *gomock.Controller) *MockPccsService
NewMockPccsService creates a new mock instance.
func (*MockPccsService) Create ¶
func (m *MockPccsService) Create(u resources.PrivateCrossConnect, params resources.QueryParams) (*resources.PrivateCrossConnect, *resources.Response, error)
Create mocks base method.
func (*MockPccsService) Delete ¶
func (m *MockPccsService) Delete(pccId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockPccsService) EXPECT ¶
func (m *MockPccsService) EXPECT() *MockPccsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPccsService) Get ¶
func (m *MockPccsService) Get(pccId string, params resources.QueryParams) (*resources.PrivateCrossConnect, *resources.Response, error)
Get mocks base method.
func (*MockPccsService) List ¶
func (m *MockPccsService) List(params resources.ListQueryParams) (resources.PrivateCrossConnects, *resources.Response, error)
List mocks base method.
func (*MockPccsService) Update ¶
func (m *MockPccsService) Update(pccId string, input resources.PrivateCrossConnectProperties, params resources.QueryParams) (*resources.PrivateCrossConnect, *resources.Response, error)
Update mocks base method.
type MockPccsServiceMockRecorder ¶
type MockPccsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPccsServiceMockRecorder is the mock recorder for MockPccsService.
func (*MockPccsServiceMockRecorder) Create ¶
func (mr *MockPccsServiceMockRecorder) Create(u, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPccsServiceMockRecorder) Delete ¶
func (mr *MockPccsServiceMockRecorder) Delete(pccId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPccsServiceMockRecorder) Get ¶
func (mr *MockPccsServiceMockRecorder) Get(pccId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPccsServiceMockRecorder) GetPeers ¶
func (mr *MockPccsServiceMockRecorder) GetPeers(pccId interface{}) *gomock.Call
GetPeers indicates an expected call of GetPeers.
func (*MockPccsServiceMockRecorder) List ¶
func (mr *MockPccsServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockPccsServiceMockRecorder) Update ¶
func (mr *MockPccsServiceMockRecorder) Update(pccId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockRequestsService ¶
type MockRequestsService struct {
// contains filtered or unexported fields
}
MockRequestsService is a mock of RequestsService interface.
func NewMockRequestsService ¶
func NewMockRequestsService(ctrl *gomock.Controller) *MockRequestsService
NewMockRequestsService creates a new mock instance.
func (*MockRequestsService) EXPECT ¶
func (m *MockRequestsService) EXPECT() *MockRequestsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRequestsService) Get ¶
func (m *MockRequestsService) Get(requestId string, params resources.QueryParams) (*resources.Request, *resources.Response, error)
Get mocks base method.
func (*MockRequestsService) GetStatus ¶
func (m *MockRequestsService) GetStatus(requestId string) (*resources.RequestStatus, *resources.Response, error)
GetStatus mocks base method.
func (*MockRequestsService) List ¶
func (m *MockRequestsService) List(params resources.ListQueryParams) (resources.Requests, *resources.Response, error)
List mocks base method.
type MockRequestsServiceMockRecorder ¶
type MockRequestsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestsServiceMockRecorder is the mock recorder for MockRequestsService.
func (*MockRequestsServiceMockRecorder) Get ¶
func (mr *MockRequestsServiceMockRecorder) Get(requestId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockRequestsServiceMockRecorder) GetStatus ¶
func (mr *MockRequestsServiceMockRecorder) GetStatus(requestId interface{}) *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockRequestsServiceMockRecorder) List ¶
func (mr *MockRequestsServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockRequestsServiceMockRecorder) Wait ¶
func (mr *MockRequestsServiceMockRecorder) Wait(requestId interface{}) *gomock.Call
Wait indicates an expected call of Wait.
type MockS3KeysService ¶
type MockS3KeysService struct {
// contains filtered or unexported fields
}
MockS3KeysService is a mock of S3KeysService interface.
func NewMockS3KeysService ¶
func NewMockS3KeysService(ctrl *gomock.Controller) *MockS3KeysService
NewMockS3KeysService creates a new mock instance.
func (*MockS3KeysService) Create ¶
func (m *MockS3KeysService) Create(userId string, params resources.QueryParams) (*resources.S3Key, *resources.Response, error)
Create mocks base method.
func (*MockS3KeysService) Delete ¶
func (m *MockS3KeysService) Delete(userId, keyId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockS3KeysService) EXPECT ¶
func (m *MockS3KeysService) EXPECT() *MockS3KeysServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockS3KeysService) Get ¶
func (m *MockS3KeysService) Get(userId, keyId string, params resources.QueryParams) (*resources.S3Key, *resources.Response, error)
Get mocks base method.
type MockS3KeysServiceMockRecorder ¶
type MockS3KeysServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockS3KeysServiceMockRecorder is the mock recorder for MockS3KeysService.
func (*MockS3KeysServiceMockRecorder) Create ¶
func (mr *MockS3KeysServiceMockRecorder) Create(userId, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockS3KeysServiceMockRecorder) Delete ¶
func (mr *MockS3KeysServiceMockRecorder) Delete(userId, keyId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockS3KeysServiceMockRecorder) Get ¶
func (mr *MockS3KeysServiceMockRecorder) Get(userId, keyId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockS3KeysServiceMockRecorder) List ¶
func (mr *MockS3KeysServiceMockRecorder) List(userId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockS3KeysServiceMockRecorder) Update ¶
func (mr *MockS3KeysServiceMockRecorder) Update(userId, keyId, key, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockServersService ¶
type MockServersService struct {
// contains filtered or unexported fields
}
MockServersService is a mock of ServersService interface.
func NewMockServersService ¶
func NewMockServersService(ctrl *gomock.Controller) *MockServersService
NewMockServersService creates a new mock instance.
func (*MockServersService) AttachCdrom ¶
func (m *MockServersService) AttachCdrom(datacenterId, serverId, cdromId string, params resources.QueryParams) (*resources.Image, *resources.Response, error)
AttachCdrom mocks base method.
func (*MockServersService) AttachVolume ¶
func (m *MockServersService) AttachVolume(datacenterId, serverId, volumeId string, params resources.QueryParams) (*resources.Volume, *resources.Response, error)
AttachVolume mocks base method.
func (*MockServersService) Create ¶
func (m *MockServersService) Create(datacenterId string, input resources.Server, params resources.QueryParams) (*resources.Server, *resources.Response, error)
Create mocks base method.
func (*MockServersService) Delete ¶
func (m *MockServersService) Delete(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockServersService) DetachCdrom ¶
func (m *MockServersService) DetachCdrom(datacenterId, serverId, cdromId string, params resources.QueryParams) (*resources.Response, error)
DetachCdrom mocks base method.
func (*MockServersService) DetachVolume ¶
func (m *MockServersService) DetachVolume(datacenterId, serverId, volumeId string, params resources.QueryParams) (*resources.Response, error)
DetachVolume mocks base method.
func (*MockServersService) EXPECT ¶
func (m *MockServersService) EXPECT() *MockServersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServersService) Get ¶
func (m *MockServersService) Get(datacenterId, serverId string, params resources.QueryParams) (*resources.Server, *resources.Response, error)
Get mocks base method.
func (*MockServersService) GetCdrom ¶
func (m *MockServersService) GetCdrom(datacenterId, serverId, cdromId string, params resources.QueryParams) (*resources.Image, *resources.Response, error)
GetCdrom mocks base method.
func (*MockServersService) GetRemoteConsoleUrl ¶
func (m *MockServersService) GetRemoteConsoleUrl(datacenterId, serverId string) (resources.RemoteConsoleUrl, *resources.Response, error)
GetRemoteConsoleUrl mocks base method.
func (*MockServersService) GetToken ¶
func (m *MockServersService) GetToken(datacenterId, serverId string) (resources.Token, *resources.Response, error)
GetToken mocks base method.
func (*MockServersService) GetVolume ¶
func (m *MockServersService) GetVolume(datacenterId, serverId, volumeId string, params resources.QueryParams) (*resources.Volume, *resources.Response, error)
GetVolume mocks base method.
func (*MockServersService) List ¶
func (m *MockServersService) List(datacenterId string, params resources.ListQueryParams) (resources.Servers, *resources.Response, error)
List mocks base method.
func (*MockServersService) ListCdroms ¶
func (m *MockServersService) ListCdroms(datacenterId, serverId string, params resources.ListQueryParams) (resources.Cdroms, *resources.Response, error)
ListCdroms mocks base method.
func (*MockServersService) ListVolumes ¶
func (m *MockServersService) ListVolumes(datacenterId, serverId string, params resources.ListQueryParams) (resources.AttachedVolumes, *resources.Response, error)
ListVolumes mocks base method.
func (*MockServersService) Reboot ¶
func (m *MockServersService) Reboot(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
Reboot mocks base method.
func (*MockServersService) Resume ¶
func (m *MockServersService) Resume(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
Resume mocks base method.
func (*MockServersService) Start ¶
func (m *MockServersService) Start(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
Start mocks base method.
func (*MockServersService) Stop ¶
func (m *MockServersService) Stop(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
Stop mocks base method.
func (*MockServersService) Suspend ¶
func (m *MockServersService) Suspend(datacenterId, serverId string, params resources.QueryParams) (*resources.Response, error)
Suspend mocks base method.
func (*MockServersService) Update ¶
func (m *MockServersService) Update(datacenterId, serverId string, input resources.ServerProperties, params resources.QueryParams) (*resources.Server, *resources.Response, error)
Update mocks base method.
type MockServersServiceMockRecorder ¶
type MockServersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServersServiceMockRecorder is the mock recorder for MockServersService.
func (*MockServersServiceMockRecorder) AttachCdrom ¶
func (mr *MockServersServiceMockRecorder) AttachCdrom(datacenterId, serverId, cdromId, params interface{}) *gomock.Call
AttachCdrom indicates an expected call of AttachCdrom.
func (*MockServersServiceMockRecorder) AttachVolume ¶
func (mr *MockServersServiceMockRecorder) AttachVolume(datacenterId, serverId, volumeId, params interface{}) *gomock.Call
AttachVolume indicates an expected call of AttachVolume.
func (*MockServersServiceMockRecorder) Create ¶
func (mr *MockServersServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockServersServiceMockRecorder) Delete ¶
func (mr *MockServersServiceMockRecorder) Delete(datacenterId, serverId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockServersServiceMockRecorder) DetachCdrom ¶
func (mr *MockServersServiceMockRecorder) DetachCdrom(datacenterId, serverId, cdromId, params interface{}) *gomock.Call
DetachCdrom indicates an expected call of DetachCdrom.
func (*MockServersServiceMockRecorder) DetachVolume ¶
func (mr *MockServersServiceMockRecorder) DetachVolume(datacenterId, serverId, volumeId, params interface{}) *gomock.Call
DetachVolume indicates an expected call of DetachVolume.
func (*MockServersServiceMockRecorder) Get ¶
func (mr *MockServersServiceMockRecorder) Get(datacenterId, serverId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockServersServiceMockRecorder) GetCdrom ¶
func (mr *MockServersServiceMockRecorder) GetCdrom(datacenterId, serverId, cdromId, params interface{}) *gomock.Call
GetCdrom indicates an expected call of GetCdrom.
func (*MockServersServiceMockRecorder) GetRemoteConsoleUrl ¶
func (mr *MockServersServiceMockRecorder) GetRemoteConsoleUrl(datacenterId, serverId interface{}) *gomock.Call
GetRemoteConsoleUrl indicates an expected call of GetRemoteConsoleUrl.
func (*MockServersServiceMockRecorder) GetToken ¶
func (mr *MockServersServiceMockRecorder) GetToken(datacenterId, serverId interface{}) *gomock.Call
GetToken indicates an expected call of GetToken.
func (*MockServersServiceMockRecorder) GetVolume ¶
func (mr *MockServersServiceMockRecorder) GetVolume(datacenterId, serverId, volumeId, params interface{}) *gomock.Call
GetVolume indicates an expected call of GetVolume.
func (*MockServersServiceMockRecorder) List ¶
func (mr *MockServersServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockServersServiceMockRecorder) ListCdroms ¶
func (mr *MockServersServiceMockRecorder) ListCdroms(datacenterId, serverId, params interface{}) *gomock.Call
ListCdroms indicates an expected call of ListCdroms.
func (*MockServersServiceMockRecorder) ListVolumes ¶
func (mr *MockServersServiceMockRecorder) ListVolumes(datacenterId, serverId, params interface{}) *gomock.Call
ListVolumes indicates an expected call of ListVolumes.
func (*MockServersServiceMockRecorder) Reboot ¶
func (mr *MockServersServiceMockRecorder) Reboot(datacenterId, serverId, params interface{}) *gomock.Call
Reboot indicates an expected call of Reboot.
func (*MockServersServiceMockRecorder) Resume ¶
func (mr *MockServersServiceMockRecorder) Resume(datacenterId, serverId, params interface{}) *gomock.Call
Resume indicates an expected call of Resume.
func (*MockServersServiceMockRecorder) Start ¶
func (mr *MockServersServiceMockRecorder) Start(datacenterId, serverId, params interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockServersServiceMockRecorder) Stop ¶
func (mr *MockServersServiceMockRecorder) Stop(datacenterId, serverId, params interface{}) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockServersServiceMockRecorder) Suspend ¶
func (mr *MockServersServiceMockRecorder) Suspend(datacenterId, serverId, params interface{}) *gomock.Call
Suspend indicates an expected call of Suspend.
func (*MockServersServiceMockRecorder) Update ¶
func (mr *MockServersServiceMockRecorder) Update(datacenterId, serverId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockSnapshotsService ¶
type MockSnapshotsService struct {
// contains filtered or unexported fields
}
MockSnapshotsService is a mock of SnapshotsService interface.
func NewMockSnapshotsService ¶
func NewMockSnapshotsService(ctrl *gomock.Controller) *MockSnapshotsService
NewMockSnapshotsService creates a new mock instance.
func (*MockSnapshotsService) Create ¶
func (m *MockSnapshotsService) Create(datacenterId, volumeId, name, description, licenceType string, secAuthProtection bool, params resources.QueryParams) (*resources.Snapshot, *resources.Response, error)
Create mocks base method.
func (*MockSnapshotsService) Delete ¶
func (m *MockSnapshotsService) Delete(snapshotId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockSnapshotsService) EXPECT ¶
func (m *MockSnapshotsService) EXPECT() *MockSnapshotsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSnapshotsService) Get ¶
func (m *MockSnapshotsService) Get(snapshotId string, params resources.QueryParams) (*resources.Snapshot, *resources.Response, error)
Get mocks base method.
func (*MockSnapshotsService) List ¶
func (m *MockSnapshotsService) List(params resources.ListQueryParams) (resources.Snapshots, *resources.Response, error)
List mocks base method.
func (*MockSnapshotsService) Restore ¶
func (m *MockSnapshotsService) Restore(datacenterId, volumeId, snapshotId string, params resources.QueryParams) (*resources.Response, error)
Restore mocks base method.
func (*MockSnapshotsService) Update ¶
func (m *MockSnapshotsService) Update(snapshotId string, snapshotProp resources.SnapshotProperties, params resources.QueryParams) (*resources.Snapshot, *resources.Response, error)
Update mocks base method.
type MockSnapshotsServiceMockRecorder ¶
type MockSnapshotsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotsServiceMockRecorder is the mock recorder for MockSnapshotsService.
func (*MockSnapshotsServiceMockRecorder) Create ¶
func (mr *MockSnapshotsServiceMockRecorder) Create(datacenterId, volumeId, name, description, licenceType, secAuthProtection, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSnapshotsServiceMockRecorder) Delete ¶
func (mr *MockSnapshotsServiceMockRecorder) Delete(snapshotId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSnapshotsServiceMockRecorder) Get ¶
func (mr *MockSnapshotsServiceMockRecorder) Get(snapshotId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockSnapshotsServiceMockRecorder) List ¶
func (mr *MockSnapshotsServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockSnapshotsServiceMockRecorder) Restore ¶
func (mr *MockSnapshotsServiceMockRecorder) Restore(datacenterId, volumeId, snapshotId, params interface{}) *gomock.Call
Restore indicates an expected call of Restore.
func (*MockSnapshotsServiceMockRecorder) Update ¶
func (mr *MockSnapshotsServiceMockRecorder) Update(snapshotId, snapshotProp, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockTargetGroupsService ¶
type MockTargetGroupsService struct {
// contains filtered or unexported fields
}
MockTargetGroupsService is a mock of TargetGroupsService interface.
func NewMockTargetGroupsService ¶
func NewMockTargetGroupsService(ctrl *gomock.Controller) *MockTargetGroupsService
NewMockTargetGroupsService creates a new mock instance.
func (*MockTargetGroupsService) Create ¶
func (m *MockTargetGroupsService) Create(tg resources.TargetGroup, params resources.QueryParams) (*resources.TargetGroup, *resources.Response, error)
Create mocks base method.
func (*MockTargetGroupsService) Delete ¶
func (m *MockTargetGroupsService) Delete(targetGroupId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockTargetGroupsService) EXPECT ¶
func (m *MockTargetGroupsService) EXPECT() *MockTargetGroupsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTargetGroupsService) Get ¶
func (m *MockTargetGroupsService) Get(targetGroupId string, params resources.QueryParams) (*resources.TargetGroup, *resources.Response, error)
Get mocks base method.
func (*MockTargetGroupsService) List ¶
func (m *MockTargetGroupsService) List(params resources.ListQueryParams) (resources.TargetGroups, *resources.Response, error)
List mocks base method.
func (*MockTargetGroupsService) Update ¶
func (m *MockTargetGroupsService) Update(targetGroupId string, input *resources.TargetGroupProperties, params resources.QueryParams) (*resources.TargetGroup, *resources.Response, error)
Update mocks base method.
type MockTargetGroupsServiceMockRecorder ¶
type MockTargetGroupsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetGroupsServiceMockRecorder is the mock recorder for MockTargetGroupsService.
func (*MockTargetGroupsServiceMockRecorder) Create ¶
func (mr *MockTargetGroupsServiceMockRecorder) Create(tg, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockTargetGroupsServiceMockRecorder) Delete ¶
func (mr *MockTargetGroupsServiceMockRecorder) Delete(targetGroupId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTargetGroupsServiceMockRecorder) Get ¶
func (mr *MockTargetGroupsServiceMockRecorder) Get(targetGroupId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockTargetGroupsServiceMockRecorder) List ¶
func (mr *MockTargetGroupsServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockTargetGroupsServiceMockRecorder) Update ¶
func (mr *MockTargetGroupsServiceMockRecorder) Update(targetGroupId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockTemplatesService ¶
type MockTemplatesService struct {
// contains filtered or unexported fields
}
MockTemplatesService is a mock of TemplatesService interface.
func NewMockTemplatesService ¶
func NewMockTemplatesService(ctrl *gomock.Controller) *MockTemplatesService
NewMockTemplatesService creates a new mock instance.
func (*MockTemplatesService) EXPECT ¶
func (m *MockTemplatesService) EXPECT() *MockTemplatesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTemplatesService) Get ¶
func (m *MockTemplatesService) Get(templateId string, params resources.QueryParams) (*resources.Template, *resources.Response, error)
Get mocks base method.
func (*MockTemplatesService) List ¶
func (m *MockTemplatesService) List(params resources.ListQueryParams) (resources.Templates, *resources.Response, error)
List mocks base method.
type MockTemplatesServiceMockRecorder ¶
type MockTemplatesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTemplatesServiceMockRecorder is the mock recorder for MockTemplatesService.
func (*MockTemplatesServiceMockRecorder) Get ¶
func (mr *MockTemplatesServiceMockRecorder) Get(templateId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockTemplatesServiceMockRecorder) List ¶
func (mr *MockTemplatesServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
type MockUsersService ¶
type MockUsersService struct {
// contains filtered or unexported fields
}
MockUsersService is a mock of UsersService interface.
func NewMockUsersService ¶
func NewMockUsersService(ctrl *gomock.Controller) *MockUsersService
NewMockUsersService creates a new mock instance.
func (*MockUsersService) Create ¶
func (m *MockUsersService) Create(u resources.UserPost, params resources.QueryParams) (*resources.User, *resources.Response, error)
Create mocks base method.
func (*MockUsersService) Delete ¶
func (m *MockUsersService) Delete(userId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockUsersService) EXPECT ¶
func (m *MockUsersService) EXPECT() *MockUsersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUsersService) Get ¶
func (m *MockUsersService) Get(userId string, params resources.QueryParams) (*resources.User, *resources.Response, error)
Get mocks base method.
func (*MockUsersService) GetResourceByTypeAndId ¶
func (m *MockUsersService) GetResourceByTypeAndId(resourceType, resourceId string) (*resources.Resource, *resources.Response, error)
GetResourceByTypeAndId mocks base method.
func (*MockUsersService) GetResourcesByType ¶
func (m *MockUsersService) GetResourcesByType(resourceType string) (resources.Resources, *resources.Response, error)
GetResourcesByType mocks base method.
func (*MockUsersService) List ¶
func (m *MockUsersService) List(params resources.ListQueryParams) (resources.Users, *resources.Response, error)
List mocks base method.
func (*MockUsersService) ListResources ¶
ListResources mocks base method.
type MockUsersServiceMockRecorder ¶
type MockUsersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUsersServiceMockRecorder is the mock recorder for MockUsersService.
func (*MockUsersServiceMockRecorder) Create ¶
func (mr *MockUsersServiceMockRecorder) Create(u, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUsersServiceMockRecorder) Delete ¶
func (mr *MockUsersServiceMockRecorder) Delete(userId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockUsersServiceMockRecorder) Get ¶
func (mr *MockUsersServiceMockRecorder) Get(userId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockUsersServiceMockRecorder) GetResourceByTypeAndId ¶
func (mr *MockUsersServiceMockRecorder) GetResourceByTypeAndId(resourceType, resourceId interface{}) *gomock.Call
GetResourceByTypeAndId indicates an expected call of GetResourceByTypeAndId.
func (*MockUsersServiceMockRecorder) GetResourcesByType ¶
func (mr *MockUsersServiceMockRecorder) GetResourcesByType(resourceType interface{}) *gomock.Call
GetResourcesByType indicates an expected call of GetResourcesByType.
func (*MockUsersServiceMockRecorder) List ¶
func (mr *MockUsersServiceMockRecorder) List(params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockUsersServiceMockRecorder) ListResources ¶
func (mr *MockUsersServiceMockRecorder) ListResources() *gomock.Call
ListResources indicates an expected call of ListResources.
func (*MockUsersServiceMockRecorder) Update ¶
func (mr *MockUsersServiceMockRecorder) Update(userId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockVolumesService ¶
type MockVolumesService struct {
// contains filtered or unexported fields
}
MockVolumesService is a mock of VolumesService interface.
func NewMockVolumesService ¶
func NewMockVolumesService(ctrl *gomock.Controller) *MockVolumesService
NewMockVolumesService creates a new mock instance.
func (*MockVolumesService) Create ¶
func (m *MockVolumesService) Create(datacenterId string, input resources.Volume, params resources.QueryParams) (*resources.Volume, *resources.Response, error)
Create mocks base method.
func (*MockVolumesService) Delete ¶
func (m *MockVolumesService) Delete(datacenterId, volumeId string, params resources.QueryParams) (*resources.Response, error)
Delete mocks base method.
func (*MockVolumesService) EXPECT ¶
func (m *MockVolumesService) EXPECT() *MockVolumesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumesService) Get ¶
func (m *MockVolumesService) Get(datacenterId, volumeId string, params resources.QueryParams) (*resources.Volume, *resources.Response, error)
Get mocks base method.
func (*MockVolumesService) List ¶
func (m *MockVolumesService) List(datacenterId string, params resources.ListQueryParams) (resources.Volumes, *resources.Response, error)
List mocks base method.
func (*MockVolumesService) Update ¶
func (m *MockVolumesService) Update(datacenterId, volumeId string, input resources.VolumeProperties, params resources.QueryParams) (*resources.Volume, *resources.Response, error)
Update mocks base method.
type MockVolumesServiceMockRecorder ¶
type MockVolumesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumesServiceMockRecorder is the mock recorder for MockVolumesService.
func (*MockVolumesServiceMockRecorder) Create ¶
func (mr *MockVolumesServiceMockRecorder) Create(datacenterId, input, params interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockVolumesServiceMockRecorder) Delete ¶
func (mr *MockVolumesServiceMockRecorder) Delete(datacenterId, volumeId, params interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockVolumesServiceMockRecorder) Get ¶
func (mr *MockVolumesServiceMockRecorder) Get(datacenterId, volumeId, params interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockVolumesServiceMockRecorder) List ¶
func (mr *MockVolumesServiceMockRecorder) List(datacenterId, params interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockVolumesServiceMockRecorder) Update ¶
func (mr *MockVolumesServiceMockRecorder) Update(datacenterId, volumeId, input, params interface{}) *gomock.Call
Update indicates an expected call of Update.
Source Files ¶
- ApplicationloadbalancerService.go
- BackupunitService.go
- ContractService.go
- DatacenterService.go
- FirewallruleService.go
- FlowlogService.go
- GroupService.go
- ImageService.go
- IpblockService.go
- K8sService.go
- LabelService.go
- LanService.go
- LoadbalancerService.go
- LocationService.go
- NatgatewayService.go
- NetworkloadbalancerService.go
- NicService.go
- PccService.go
- Query_paramsService.go
- RequestService.go
- S3keyService.go
- ServerService.go
- SnapshotService.go
- TargetgroupService.go
- TemplateService.go
- UserService.go
- VolumeService.go