Documentation
¶
Index ¶
- type FilesystemServiceClient
- func (_mock *FilesystemServiceClient) Create(context1 context.Context, ...) (*adminv2.FilesystemServiceCreateResponse, error)
- func (_mock *FilesystemServiceClient) Delete(context1 context.Context, ...) (*adminv2.FilesystemServiceDeleteResponse, error)
- func (_m *FilesystemServiceClient) EXPECT() *FilesystemServiceClient_Expecter
- func (_mock *FilesystemServiceClient) Update(context1 context.Context, ...) (*adminv2.FilesystemServiceUpdateResponse, error)
- type FilesystemServiceClient_Create_Call
- func (_c *FilesystemServiceClient_Create_Call) Return(filesystemServiceCreateResponse *adminv2.FilesystemServiceCreateResponse, ...) *FilesystemServiceClient_Create_Call
- func (_c *FilesystemServiceClient_Create_Call) Run(run func(context1 context.Context, ...)) *FilesystemServiceClient_Create_Call
- func (_c *FilesystemServiceClient_Create_Call) RunAndReturn(...) *FilesystemServiceClient_Create_Call
- type FilesystemServiceClient_Delete_Call
- func (_c *FilesystemServiceClient_Delete_Call) Return(filesystemServiceDeleteResponse *adminv2.FilesystemServiceDeleteResponse, ...) *FilesystemServiceClient_Delete_Call
- func (_c *FilesystemServiceClient_Delete_Call) Run(run func(context1 context.Context, ...)) *FilesystemServiceClient_Delete_Call
- func (_c *FilesystemServiceClient_Delete_Call) RunAndReturn(...) *FilesystemServiceClient_Delete_Call
- type FilesystemServiceClient_Expecter
- func (_e *FilesystemServiceClient_Expecter) Create(context1 interface{}, filesystemServiceCreateRequest interface{}) *FilesystemServiceClient_Create_Call
- func (_e *FilesystemServiceClient_Expecter) Delete(context1 interface{}, filesystemServiceDeleteRequest interface{}) *FilesystemServiceClient_Delete_Call
- func (_e *FilesystemServiceClient_Expecter) Update(context1 interface{}, filesystemServiceUpdateRequest interface{}) *FilesystemServiceClient_Update_Call
- type FilesystemServiceClient_Update_Call
- func (_c *FilesystemServiceClient_Update_Call) Return(filesystemServiceUpdateResponse *adminv2.FilesystemServiceUpdateResponse, ...) *FilesystemServiceClient_Update_Call
- func (_c *FilesystemServiceClient_Update_Call) Run(run func(context1 context.Context, ...)) *FilesystemServiceClient_Update_Call
- func (_c *FilesystemServiceClient_Update_Call) RunAndReturn(...) *FilesystemServiceClient_Update_Call
- type FilesystemServiceHandler
- func (_mock *FilesystemServiceHandler) Create(context1 context.Context, ...) (*adminv2.FilesystemServiceCreateResponse, error)
- func (_mock *FilesystemServiceHandler) Delete(context1 context.Context, ...) (*adminv2.FilesystemServiceDeleteResponse, error)
- func (_m *FilesystemServiceHandler) EXPECT() *FilesystemServiceHandler_Expecter
- func (_mock *FilesystemServiceHandler) Update(context1 context.Context, ...) (*adminv2.FilesystemServiceUpdateResponse, error)
- type FilesystemServiceHandler_Create_Call
- func (_c *FilesystemServiceHandler_Create_Call) Return(filesystemServiceCreateResponse *adminv2.FilesystemServiceCreateResponse, ...) *FilesystemServiceHandler_Create_Call
- func (_c *FilesystemServiceHandler_Create_Call) Run(run func(context1 context.Context, ...)) *FilesystemServiceHandler_Create_Call
- func (_c *FilesystemServiceHandler_Create_Call) RunAndReturn(...) *FilesystemServiceHandler_Create_Call
- type FilesystemServiceHandler_Delete_Call
- func (_c *FilesystemServiceHandler_Delete_Call) Return(filesystemServiceDeleteResponse *adminv2.FilesystemServiceDeleteResponse, ...) *FilesystemServiceHandler_Delete_Call
- func (_c *FilesystemServiceHandler_Delete_Call) Run(run func(context1 context.Context, ...)) *FilesystemServiceHandler_Delete_Call
- func (_c *FilesystemServiceHandler_Delete_Call) RunAndReturn(...) *FilesystemServiceHandler_Delete_Call
- type FilesystemServiceHandler_Expecter
- func (_e *FilesystemServiceHandler_Expecter) Create(context1 interface{}, filesystemServiceCreateRequest interface{}) *FilesystemServiceHandler_Create_Call
- func (_e *FilesystemServiceHandler_Expecter) Delete(context1 interface{}, filesystemServiceDeleteRequest interface{}) *FilesystemServiceHandler_Delete_Call
- func (_e *FilesystemServiceHandler_Expecter) Update(context1 interface{}, filesystemServiceUpdateRequest interface{}) *FilesystemServiceHandler_Update_Call
- type FilesystemServiceHandler_Update_Call
- func (_c *FilesystemServiceHandler_Update_Call) Return(filesystemServiceUpdateResponse *adminv2.FilesystemServiceUpdateResponse, ...) *FilesystemServiceHandler_Update_Call
- func (_c *FilesystemServiceHandler_Update_Call) Run(run func(context1 context.Context, ...)) *FilesystemServiceHandler_Update_Call
- func (_c *FilesystemServiceHandler_Update_Call) RunAndReturn(...) *FilesystemServiceHandler_Update_Call
- type IPServiceClient
- type IPServiceClient_Expecter
- type IPServiceClient_List_Call
- type IPServiceHandler
- type IPServiceHandler_Expecter
- type IPServiceHandler_List_Call
- type ImageServiceClient
- func (_mock *ImageServiceClient) Create(context1 context.Context, ...) (*adminv2.ImageServiceCreateResponse, error)
- func (_mock *ImageServiceClient) Delete(context1 context.Context, ...) (*adminv2.ImageServiceDeleteResponse, error)
- func (_m *ImageServiceClient) EXPECT() *ImageServiceClient_Expecter
- func (_mock *ImageServiceClient) Update(context1 context.Context, ...) (*adminv2.ImageServiceUpdateResponse, error)
- func (_mock *ImageServiceClient) Usage(context1 context.Context, ...) (*adminv2.ImageServiceUsageResponse, error)
- type ImageServiceClient_Create_Call
- func (_c *ImageServiceClient_Create_Call) Return(imageServiceCreateResponse *adminv2.ImageServiceCreateResponse, err error) *ImageServiceClient_Create_Call
- func (_c *ImageServiceClient_Create_Call) Run(run func(context1 context.Context, ...)) *ImageServiceClient_Create_Call
- func (_c *ImageServiceClient_Create_Call) RunAndReturn(...) *ImageServiceClient_Create_Call
- type ImageServiceClient_Delete_Call
- func (_c *ImageServiceClient_Delete_Call) Return(imageServiceDeleteResponse *adminv2.ImageServiceDeleteResponse, err error) *ImageServiceClient_Delete_Call
- func (_c *ImageServiceClient_Delete_Call) Run(run func(context1 context.Context, ...)) *ImageServiceClient_Delete_Call
- func (_c *ImageServiceClient_Delete_Call) RunAndReturn(...) *ImageServiceClient_Delete_Call
- type ImageServiceClient_Expecter
- func (_e *ImageServiceClient_Expecter) Create(context1 interface{}, imageServiceCreateRequest interface{}) *ImageServiceClient_Create_Call
- func (_e *ImageServiceClient_Expecter) Delete(context1 interface{}, imageServiceDeleteRequest interface{}) *ImageServiceClient_Delete_Call
- func (_e *ImageServiceClient_Expecter) Update(context1 interface{}, imageServiceUpdateRequest interface{}) *ImageServiceClient_Update_Call
- func (_e *ImageServiceClient_Expecter) Usage(context1 interface{}, imageServiceUsageRequest interface{}) *ImageServiceClient_Usage_Call
- type ImageServiceClient_Update_Call
- func (_c *ImageServiceClient_Update_Call) Return(imageServiceUpdateResponse *adminv2.ImageServiceUpdateResponse, err error) *ImageServiceClient_Update_Call
- func (_c *ImageServiceClient_Update_Call) Run(run func(context1 context.Context, ...)) *ImageServiceClient_Update_Call
- func (_c *ImageServiceClient_Update_Call) RunAndReturn(...) *ImageServiceClient_Update_Call
- type ImageServiceClient_Usage_Call
- func (_c *ImageServiceClient_Usage_Call) Return(imageServiceUsageResponse *adminv2.ImageServiceUsageResponse, err error) *ImageServiceClient_Usage_Call
- func (_c *ImageServiceClient_Usage_Call) Run(run func(context1 context.Context, ...)) *ImageServiceClient_Usage_Call
- func (_c *ImageServiceClient_Usage_Call) RunAndReturn(...) *ImageServiceClient_Usage_Call
- type ImageServiceHandler
- func (_mock *ImageServiceHandler) Create(context1 context.Context, ...) (*adminv2.ImageServiceCreateResponse, error)
- func (_mock *ImageServiceHandler) Delete(context1 context.Context, ...) (*adminv2.ImageServiceDeleteResponse, error)
- func (_m *ImageServiceHandler) EXPECT() *ImageServiceHandler_Expecter
- func (_mock *ImageServiceHandler) Update(context1 context.Context, ...) (*adminv2.ImageServiceUpdateResponse, error)
- func (_mock *ImageServiceHandler) Usage(context1 context.Context, ...) (*adminv2.ImageServiceUsageResponse, error)
- type ImageServiceHandler_Create_Call
- func (_c *ImageServiceHandler_Create_Call) Return(imageServiceCreateResponse *adminv2.ImageServiceCreateResponse, err error) *ImageServiceHandler_Create_Call
- func (_c *ImageServiceHandler_Create_Call) Run(run func(context1 context.Context, ...)) *ImageServiceHandler_Create_Call
- func (_c *ImageServiceHandler_Create_Call) RunAndReturn(...) *ImageServiceHandler_Create_Call
- type ImageServiceHandler_Delete_Call
- func (_c *ImageServiceHandler_Delete_Call) Return(imageServiceDeleteResponse *adminv2.ImageServiceDeleteResponse, err error) *ImageServiceHandler_Delete_Call
- func (_c *ImageServiceHandler_Delete_Call) Run(run func(context1 context.Context, ...)) *ImageServiceHandler_Delete_Call
- func (_c *ImageServiceHandler_Delete_Call) RunAndReturn(...) *ImageServiceHandler_Delete_Call
- type ImageServiceHandler_Expecter
- func (_e *ImageServiceHandler_Expecter) Create(context1 interface{}, imageServiceCreateRequest interface{}) *ImageServiceHandler_Create_Call
- func (_e *ImageServiceHandler_Expecter) Delete(context1 interface{}, imageServiceDeleteRequest interface{}) *ImageServiceHandler_Delete_Call
- func (_e *ImageServiceHandler_Expecter) Update(context1 interface{}, imageServiceUpdateRequest interface{}) *ImageServiceHandler_Update_Call
- func (_e *ImageServiceHandler_Expecter) Usage(context1 interface{}, imageServiceUsageRequest interface{}) *ImageServiceHandler_Usage_Call
- type ImageServiceHandler_Update_Call
- func (_c *ImageServiceHandler_Update_Call) Return(imageServiceUpdateResponse *adminv2.ImageServiceUpdateResponse, err error) *ImageServiceHandler_Update_Call
- func (_c *ImageServiceHandler_Update_Call) Run(run func(context1 context.Context, ...)) *ImageServiceHandler_Update_Call
- func (_c *ImageServiceHandler_Update_Call) RunAndReturn(...) *ImageServiceHandler_Update_Call
- type ImageServiceHandler_Usage_Call
- func (_c *ImageServiceHandler_Usage_Call) Return(imageServiceUsageResponse *adminv2.ImageServiceUsageResponse, err error) *ImageServiceHandler_Usage_Call
- func (_c *ImageServiceHandler_Usage_Call) Run(run func(context1 context.Context, ...)) *ImageServiceHandler_Usage_Call
- func (_c *ImageServiceHandler_Usage_Call) RunAndReturn(...) *ImageServiceHandler_Usage_Call
- type MachineServiceClient
- func (_m *MachineServiceClient) EXPECT() *MachineServiceClient_Expecter
- func (_mock *MachineServiceClient) Get(context1 context.Context, ...) (*adminv2.MachineServiceGetResponse, error)
- func (_mock *MachineServiceClient) List(context1 context.Context, ...) (*adminv2.MachineServiceListResponse, error)
- type MachineServiceClient_Expecter
- type MachineServiceClient_Get_Call
- func (_c *MachineServiceClient_Get_Call) Return(machineServiceGetResponse *adminv2.MachineServiceGetResponse, err error) *MachineServiceClient_Get_Call
- func (_c *MachineServiceClient_Get_Call) Run(run func(context1 context.Context, ...)) *MachineServiceClient_Get_Call
- func (_c *MachineServiceClient_Get_Call) RunAndReturn(...) *MachineServiceClient_Get_Call
- type MachineServiceClient_List_Call
- func (_c *MachineServiceClient_List_Call) Return(machineServiceListResponse *adminv2.MachineServiceListResponse, err error) *MachineServiceClient_List_Call
- func (_c *MachineServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *MachineServiceClient_List_Call
- func (_c *MachineServiceClient_List_Call) RunAndReturn(...) *MachineServiceClient_List_Call
- type MachineServiceHandler
- func (_m *MachineServiceHandler) EXPECT() *MachineServiceHandler_Expecter
- func (_mock *MachineServiceHandler) Get(context1 context.Context, ...) (*adminv2.MachineServiceGetResponse, error)
- func (_mock *MachineServiceHandler) List(context1 context.Context, ...) (*adminv2.MachineServiceListResponse, error)
- type MachineServiceHandler_Expecter
- type MachineServiceHandler_Get_Call
- func (_c *MachineServiceHandler_Get_Call) Return(machineServiceGetResponse *adminv2.MachineServiceGetResponse, err error) *MachineServiceHandler_Get_Call
- func (_c *MachineServiceHandler_Get_Call) Run(run func(context1 context.Context, ...)) *MachineServiceHandler_Get_Call
- func (_c *MachineServiceHandler_Get_Call) RunAndReturn(...) *MachineServiceHandler_Get_Call
- type MachineServiceHandler_List_Call
- func (_c *MachineServiceHandler_List_Call) Return(machineServiceListResponse *adminv2.MachineServiceListResponse, err error) *MachineServiceHandler_List_Call
- func (_c *MachineServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *MachineServiceHandler_List_Call
- func (_c *MachineServiceHandler_List_Call) RunAndReturn(...) *MachineServiceHandler_List_Call
- type NetworkServiceClient
- func (_mock *NetworkServiceClient) Create(context1 context.Context, ...) (*adminv2.NetworkServiceCreateResponse, error)
- func (_mock *NetworkServiceClient) Delete(context1 context.Context, ...) (*adminv2.NetworkServiceDeleteResponse, error)
- func (_m *NetworkServiceClient) EXPECT() *NetworkServiceClient_Expecter
- func (_mock *NetworkServiceClient) Get(context1 context.Context, ...) (*adminv2.NetworkServiceGetResponse, error)
- func (_mock *NetworkServiceClient) List(context1 context.Context, ...) (*adminv2.NetworkServiceListResponse, error)
- func (_mock *NetworkServiceClient) Update(context1 context.Context, ...) (*adminv2.NetworkServiceUpdateResponse, error)
- type NetworkServiceClient_Create_Call
- func (_c *NetworkServiceClient_Create_Call) Return(networkServiceCreateResponse *adminv2.NetworkServiceCreateResponse, err error) *NetworkServiceClient_Create_Call
- func (_c *NetworkServiceClient_Create_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceClient_Create_Call
- func (_c *NetworkServiceClient_Create_Call) RunAndReturn(...) *NetworkServiceClient_Create_Call
- type NetworkServiceClient_Delete_Call
- func (_c *NetworkServiceClient_Delete_Call) Return(networkServiceDeleteResponse *adminv2.NetworkServiceDeleteResponse, err error) *NetworkServiceClient_Delete_Call
- func (_c *NetworkServiceClient_Delete_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceClient_Delete_Call
- func (_c *NetworkServiceClient_Delete_Call) RunAndReturn(...) *NetworkServiceClient_Delete_Call
- type NetworkServiceClient_Expecter
- func (_e *NetworkServiceClient_Expecter) Create(context1 interface{}, networkServiceCreateRequest interface{}) *NetworkServiceClient_Create_Call
- func (_e *NetworkServiceClient_Expecter) Delete(context1 interface{}, networkServiceDeleteRequest interface{}) *NetworkServiceClient_Delete_Call
- func (_e *NetworkServiceClient_Expecter) Get(context1 interface{}, networkServiceGetRequest interface{}) *NetworkServiceClient_Get_Call
- func (_e *NetworkServiceClient_Expecter) List(context1 interface{}, networkServiceListRequest interface{}) *NetworkServiceClient_List_Call
- func (_e *NetworkServiceClient_Expecter) Update(context1 interface{}, networkServiceUpdateRequest interface{}) *NetworkServiceClient_Update_Call
- type NetworkServiceClient_Get_Call
- func (_c *NetworkServiceClient_Get_Call) Return(networkServiceGetResponse *adminv2.NetworkServiceGetResponse, err error) *NetworkServiceClient_Get_Call
- func (_c *NetworkServiceClient_Get_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceClient_Get_Call
- func (_c *NetworkServiceClient_Get_Call) RunAndReturn(...) *NetworkServiceClient_Get_Call
- type NetworkServiceClient_List_Call
- func (_c *NetworkServiceClient_List_Call) Return(networkServiceListResponse *adminv2.NetworkServiceListResponse, err error) *NetworkServiceClient_List_Call
- func (_c *NetworkServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceClient_List_Call
- func (_c *NetworkServiceClient_List_Call) RunAndReturn(...) *NetworkServiceClient_List_Call
- type NetworkServiceClient_Update_Call
- func (_c *NetworkServiceClient_Update_Call) Return(networkServiceUpdateResponse *adminv2.NetworkServiceUpdateResponse, err error) *NetworkServiceClient_Update_Call
- func (_c *NetworkServiceClient_Update_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceClient_Update_Call
- func (_c *NetworkServiceClient_Update_Call) RunAndReturn(...) *NetworkServiceClient_Update_Call
- type NetworkServiceHandler
- func (_mock *NetworkServiceHandler) Create(context1 context.Context, ...) (*adminv2.NetworkServiceCreateResponse, error)
- func (_mock *NetworkServiceHandler) Delete(context1 context.Context, ...) (*adminv2.NetworkServiceDeleteResponse, error)
- func (_m *NetworkServiceHandler) EXPECT() *NetworkServiceHandler_Expecter
- func (_mock *NetworkServiceHandler) Get(context1 context.Context, ...) (*adminv2.NetworkServiceGetResponse, error)
- func (_mock *NetworkServiceHandler) List(context1 context.Context, ...) (*adminv2.NetworkServiceListResponse, error)
- func (_mock *NetworkServiceHandler) Update(context1 context.Context, ...) (*adminv2.NetworkServiceUpdateResponse, error)
- type NetworkServiceHandler_Create_Call
- func (_c *NetworkServiceHandler_Create_Call) Return(networkServiceCreateResponse *adminv2.NetworkServiceCreateResponse, err error) *NetworkServiceHandler_Create_Call
- func (_c *NetworkServiceHandler_Create_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceHandler_Create_Call
- func (_c *NetworkServiceHandler_Create_Call) RunAndReturn(...) *NetworkServiceHandler_Create_Call
- type NetworkServiceHandler_Delete_Call
- func (_c *NetworkServiceHandler_Delete_Call) Return(networkServiceDeleteResponse *adminv2.NetworkServiceDeleteResponse, err error) *NetworkServiceHandler_Delete_Call
- func (_c *NetworkServiceHandler_Delete_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceHandler_Delete_Call
- func (_c *NetworkServiceHandler_Delete_Call) RunAndReturn(...) *NetworkServiceHandler_Delete_Call
- type NetworkServiceHandler_Expecter
- func (_e *NetworkServiceHandler_Expecter) Create(context1 interface{}, networkServiceCreateRequest interface{}) *NetworkServiceHandler_Create_Call
- func (_e *NetworkServiceHandler_Expecter) Delete(context1 interface{}, networkServiceDeleteRequest interface{}) *NetworkServiceHandler_Delete_Call
- func (_e *NetworkServiceHandler_Expecter) Get(context1 interface{}, networkServiceGetRequest interface{}) *NetworkServiceHandler_Get_Call
- func (_e *NetworkServiceHandler_Expecter) List(context1 interface{}, networkServiceListRequest interface{}) *NetworkServiceHandler_List_Call
- func (_e *NetworkServiceHandler_Expecter) Update(context1 interface{}, networkServiceUpdateRequest interface{}) *NetworkServiceHandler_Update_Call
- type NetworkServiceHandler_Get_Call
- func (_c *NetworkServiceHandler_Get_Call) Return(networkServiceGetResponse *adminv2.NetworkServiceGetResponse, err error) *NetworkServiceHandler_Get_Call
- func (_c *NetworkServiceHandler_Get_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceHandler_Get_Call
- func (_c *NetworkServiceHandler_Get_Call) RunAndReturn(...) *NetworkServiceHandler_Get_Call
- type NetworkServiceHandler_List_Call
- func (_c *NetworkServiceHandler_List_Call) Return(networkServiceListResponse *adminv2.NetworkServiceListResponse, err error) *NetworkServiceHandler_List_Call
- func (_c *NetworkServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceHandler_List_Call
- func (_c *NetworkServiceHandler_List_Call) RunAndReturn(...) *NetworkServiceHandler_List_Call
- type NetworkServiceHandler_Update_Call
- func (_c *NetworkServiceHandler_Update_Call) Return(networkServiceUpdateResponse *adminv2.NetworkServiceUpdateResponse, err error) *NetworkServiceHandler_Update_Call
- func (_c *NetworkServiceHandler_Update_Call) Run(run func(context1 context.Context, ...)) *NetworkServiceHandler_Update_Call
- func (_c *NetworkServiceHandler_Update_Call) RunAndReturn(...) *NetworkServiceHandler_Update_Call
- type PartitionServiceClient
- func (_mock *PartitionServiceClient) Capacity(context1 context.Context, ...) (*adminv2.PartitionServiceCapacityResponse, error)
- func (_mock *PartitionServiceClient) Create(context1 context.Context, ...) (*adminv2.PartitionServiceCreateResponse, error)
- func (_mock *PartitionServiceClient) Delete(context1 context.Context, ...) (*adminv2.PartitionServiceDeleteResponse, error)
- func (_m *PartitionServiceClient) EXPECT() *PartitionServiceClient_Expecter
- func (_mock *PartitionServiceClient) Update(context1 context.Context, ...) (*adminv2.PartitionServiceUpdateResponse, error)
- type PartitionServiceClient_Capacity_Call
- func (_c *PartitionServiceClient_Capacity_Call) Return(partitionServiceCapacityResponse *adminv2.PartitionServiceCapacityResponse, ...) *PartitionServiceClient_Capacity_Call
- func (_c *PartitionServiceClient_Capacity_Call) Run(run func(context1 context.Context, ...)) *PartitionServiceClient_Capacity_Call
- func (_c *PartitionServiceClient_Capacity_Call) RunAndReturn(...) *PartitionServiceClient_Capacity_Call
- type PartitionServiceClient_Create_Call
- func (_c *PartitionServiceClient_Create_Call) Return(partitionServiceCreateResponse *adminv2.PartitionServiceCreateResponse, ...) *PartitionServiceClient_Create_Call
- func (_c *PartitionServiceClient_Create_Call) Run(run func(context1 context.Context, ...)) *PartitionServiceClient_Create_Call
- func (_c *PartitionServiceClient_Create_Call) RunAndReturn(...) *PartitionServiceClient_Create_Call
- type PartitionServiceClient_Delete_Call
- func (_c *PartitionServiceClient_Delete_Call) Return(partitionServiceDeleteResponse *adminv2.PartitionServiceDeleteResponse, ...) *PartitionServiceClient_Delete_Call
- func (_c *PartitionServiceClient_Delete_Call) Run(run func(context1 context.Context, ...)) *PartitionServiceClient_Delete_Call
- func (_c *PartitionServiceClient_Delete_Call) RunAndReturn(...) *PartitionServiceClient_Delete_Call
- type PartitionServiceClient_Expecter
- func (_e *PartitionServiceClient_Expecter) Capacity(context1 interface{}, partitionServiceCapacityRequest interface{}) *PartitionServiceClient_Capacity_Call
- func (_e *PartitionServiceClient_Expecter) Create(context1 interface{}, partitionServiceCreateRequest interface{}) *PartitionServiceClient_Create_Call
- func (_e *PartitionServiceClient_Expecter) Delete(context1 interface{}, partitionServiceDeleteRequest interface{}) *PartitionServiceClient_Delete_Call
- func (_e *PartitionServiceClient_Expecter) Update(context1 interface{}, partitionServiceUpdateRequest interface{}) *PartitionServiceClient_Update_Call
- type PartitionServiceClient_Update_Call
- func (_c *PartitionServiceClient_Update_Call) Return(partitionServiceUpdateResponse *adminv2.PartitionServiceUpdateResponse, ...) *PartitionServiceClient_Update_Call
- func (_c *PartitionServiceClient_Update_Call) Run(run func(context1 context.Context, ...)) *PartitionServiceClient_Update_Call
- func (_c *PartitionServiceClient_Update_Call) RunAndReturn(...) *PartitionServiceClient_Update_Call
- type PartitionServiceHandler
- func (_mock *PartitionServiceHandler) Capacity(context1 context.Context, ...) (*adminv2.PartitionServiceCapacityResponse, error)
- func (_mock *PartitionServiceHandler) Create(context1 context.Context, ...) (*adminv2.PartitionServiceCreateResponse, error)
- func (_mock *PartitionServiceHandler) Delete(context1 context.Context, ...) (*adminv2.PartitionServiceDeleteResponse, error)
- func (_m *PartitionServiceHandler) EXPECT() *PartitionServiceHandler_Expecter
- func (_mock *PartitionServiceHandler) Update(context1 context.Context, ...) (*adminv2.PartitionServiceUpdateResponse, error)
- type PartitionServiceHandler_Capacity_Call
- func (_c *PartitionServiceHandler_Capacity_Call) Return(partitionServiceCapacityResponse *adminv2.PartitionServiceCapacityResponse, ...) *PartitionServiceHandler_Capacity_Call
- func (_c *PartitionServiceHandler_Capacity_Call) Run(run func(context1 context.Context, ...)) *PartitionServiceHandler_Capacity_Call
- func (_c *PartitionServiceHandler_Capacity_Call) RunAndReturn(...) *PartitionServiceHandler_Capacity_Call
- type PartitionServiceHandler_Create_Call
- func (_c *PartitionServiceHandler_Create_Call) Return(partitionServiceCreateResponse *adminv2.PartitionServiceCreateResponse, ...) *PartitionServiceHandler_Create_Call
- func (_c *PartitionServiceHandler_Create_Call) Run(run func(context1 context.Context, ...)) *PartitionServiceHandler_Create_Call
- func (_c *PartitionServiceHandler_Create_Call) RunAndReturn(...) *PartitionServiceHandler_Create_Call
- type PartitionServiceHandler_Delete_Call
- func (_c *PartitionServiceHandler_Delete_Call) Return(partitionServiceDeleteResponse *adminv2.PartitionServiceDeleteResponse, ...) *PartitionServiceHandler_Delete_Call
- func (_c *PartitionServiceHandler_Delete_Call) Run(run func(context1 context.Context, ...)) *PartitionServiceHandler_Delete_Call
- func (_c *PartitionServiceHandler_Delete_Call) RunAndReturn(...) *PartitionServiceHandler_Delete_Call
- type PartitionServiceHandler_Expecter
- func (_e *PartitionServiceHandler_Expecter) Capacity(context1 interface{}, partitionServiceCapacityRequest interface{}) *PartitionServiceHandler_Capacity_Call
- func (_e *PartitionServiceHandler_Expecter) Create(context1 interface{}, partitionServiceCreateRequest interface{}) *PartitionServiceHandler_Create_Call
- func (_e *PartitionServiceHandler_Expecter) Delete(context1 interface{}, partitionServiceDeleteRequest interface{}) *PartitionServiceHandler_Delete_Call
- func (_e *PartitionServiceHandler_Expecter) Update(context1 interface{}, partitionServiceUpdateRequest interface{}) *PartitionServiceHandler_Update_Call
- type PartitionServiceHandler_Update_Call
- func (_c *PartitionServiceHandler_Update_Call) Return(partitionServiceUpdateResponse *adminv2.PartitionServiceUpdateResponse, ...) *PartitionServiceHandler_Update_Call
- func (_c *PartitionServiceHandler_Update_Call) Run(run func(context1 context.Context, ...)) *PartitionServiceHandler_Update_Call
- func (_c *PartitionServiceHandler_Update_Call) RunAndReturn(...) *PartitionServiceHandler_Update_Call
- type ProjectServiceClient
- type ProjectServiceClient_Expecter
- type ProjectServiceClient_List_Call
- func (_c *ProjectServiceClient_List_Call) Return(projectServiceListResponse *adminv2.ProjectServiceListResponse, err error) *ProjectServiceClient_List_Call
- func (_c *ProjectServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *ProjectServiceClient_List_Call
- func (_c *ProjectServiceClient_List_Call) RunAndReturn(...) *ProjectServiceClient_List_Call
- type ProjectServiceHandler
- type ProjectServiceHandler_Expecter
- type ProjectServiceHandler_List_Call
- func (_c *ProjectServiceHandler_List_Call) Return(projectServiceListResponse *adminv2.ProjectServiceListResponse, err error) *ProjectServiceHandler_List_Call
- func (_c *ProjectServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *ProjectServiceHandler_List_Call
- func (_c *ProjectServiceHandler_List_Call) RunAndReturn(...) *ProjectServiceHandler_List_Call
- type SizeServiceClient
- func (_mock *SizeServiceClient) Create(context1 context.Context, ...) (*adminv2.SizeServiceCreateResponse, error)
- func (_mock *SizeServiceClient) Delete(context1 context.Context, ...) (*adminv2.SizeServiceDeleteResponse, error)
- func (_m *SizeServiceClient) EXPECT() *SizeServiceClient_Expecter
- func (_mock *SizeServiceClient) Update(context1 context.Context, ...) (*adminv2.SizeServiceUpdateResponse, error)
- type SizeServiceClient_Create_Call
- func (_c *SizeServiceClient_Create_Call) Return(sizeServiceCreateResponse *adminv2.SizeServiceCreateResponse, err error) *SizeServiceClient_Create_Call
- func (_c *SizeServiceClient_Create_Call) Run(run func(context1 context.Context, ...)) *SizeServiceClient_Create_Call
- func (_c *SizeServiceClient_Create_Call) RunAndReturn(...) *SizeServiceClient_Create_Call
- type SizeServiceClient_Delete_Call
- func (_c *SizeServiceClient_Delete_Call) Return(sizeServiceDeleteResponse *adminv2.SizeServiceDeleteResponse, err error) *SizeServiceClient_Delete_Call
- func (_c *SizeServiceClient_Delete_Call) Run(run func(context1 context.Context, ...)) *SizeServiceClient_Delete_Call
- func (_c *SizeServiceClient_Delete_Call) RunAndReturn(...) *SizeServiceClient_Delete_Call
- type SizeServiceClient_Expecter
- func (_e *SizeServiceClient_Expecter) Create(context1 interface{}, sizeServiceCreateRequest interface{}) *SizeServiceClient_Create_Call
- func (_e *SizeServiceClient_Expecter) Delete(context1 interface{}, sizeServiceDeleteRequest interface{}) *SizeServiceClient_Delete_Call
- func (_e *SizeServiceClient_Expecter) Update(context1 interface{}, sizeServiceUpdateRequest interface{}) *SizeServiceClient_Update_Call
- type SizeServiceClient_Update_Call
- func (_c *SizeServiceClient_Update_Call) Return(sizeServiceUpdateResponse *adminv2.SizeServiceUpdateResponse, err error) *SizeServiceClient_Update_Call
- func (_c *SizeServiceClient_Update_Call) Run(run func(context1 context.Context, ...)) *SizeServiceClient_Update_Call
- func (_c *SizeServiceClient_Update_Call) RunAndReturn(...) *SizeServiceClient_Update_Call
- type SizeServiceHandler
- func (_mock *SizeServiceHandler) Create(context1 context.Context, ...) (*adminv2.SizeServiceCreateResponse, error)
- func (_mock *SizeServiceHandler) Delete(context1 context.Context, ...) (*adminv2.SizeServiceDeleteResponse, error)
- func (_m *SizeServiceHandler) EXPECT() *SizeServiceHandler_Expecter
- func (_mock *SizeServiceHandler) Update(context1 context.Context, ...) (*adminv2.SizeServiceUpdateResponse, error)
- type SizeServiceHandler_Create_Call
- func (_c *SizeServiceHandler_Create_Call) Return(sizeServiceCreateResponse *adminv2.SizeServiceCreateResponse, err error) *SizeServiceHandler_Create_Call
- func (_c *SizeServiceHandler_Create_Call) Run(run func(context1 context.Context, ...)) *SizeServiceHandler_Create_Call
- func (_c *SizeServiceHandler_Create_Call) RunAndReturn(...) *SizeServiceHandler_Create_Call
- type SizeServiceHandler_Delete_Call
- func (_c *SizeServiceHandler_Delete_Call) Return(sizeServiceDeleteResponse *adminv2.SizeServiceDeleteResponse, err error) *SizeServiceHandler_Delete_Call
- func (_c *SizeServiceHandler_Delete_Call) Run(run func(context1 context.Context, ...)) *SizeServiceHandler_Delete_Call
- func (_c *SizeServiceHandler_Delete_Call) RunAndReturn(...) *SizeServiceHandler_Delete_Call
- type SizeServiceHandler_Expecter
- func (_e *SizeServiceHandler_Expecter) Create(context1 interface{}, sizeServiceCreateRequest interface{}) *SizeServiceHandler_Create_Call
- func (_e *SizeServiceHandler_Expecter) Delete(context1 interface{}, sizeServiceDeleteRequest interface{}) *SizeServiceHandler_Delete_Call
- func (_e *SizeServiceHandler_Expecter) Update(context1 interface{}, sizeServiceUpdateRequest interface{}) *SizeServiceHandler_Update_Call
- type SizeServiceHandler_Update_Call
- func (_c *SizeServiceHandler_Update_Call) Return(sizeServiceUpdateResponse *adminv2.SizeServiceUpdateResponse, err error) *SizeServiceHandler_Update_Call
- func (_c *SizeServiceHandler_Update_Call) Run(run func(context1 context.Context, ...)) *SizeServiceHandler_Update_Call
- func (_c *SizeServiceHandler_Update_Call) RunAndReturn(...) *SizeServiceHandler_Update_Call
- type SwitchServiceClient
- func (_mock *SwitchServiceClient) Delete(context1 context.Context, ...) (*adminv2.SwitchServiceDeleteResponse, error)
- func (_m *SwitchServiceClient) EXPECT() *SwitchServiceClient_Expecter
- func (_mock *SwitchServiceClient) Get(context1 context.Context, ...) (*adminv2.SwitchServiceGetResponse, error)
- func (_mock *SwitchServiceClient) List(context1 context.Context, ...) (*adminv2.SwitchServiceListResponse, error)
- func (_mock *SwitchServiceClient) Migrate(context1 context.Context, ...) (*adminv2.SwitchServiceMigrateResponse, error)
- func (_mock *SwitchServiceClient) Port(context1 context.Context, ...) (*adminv2.SwitchServicePortResponse, error)
- func (_mock *SwitchServiceClient) Update(context1 context.Context, ...) (*adminv2.SwitchServiceUpdateResponse, error)
- type SwitchServiceClient_Delete_Call
- func (_c *SwitchServiceClient_Delete_Call) Return(switchServiceDeleteResponse *adminv2.SwitchServiceDeleteResponse, err error) *SwitchServiceClient_Delete_Call
- func (_c *SwitchServiceClient_Delete_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceClient_Delete_Call
- func (_c *SwitchServiceClient_Delete_Call) RunAndReturn(...) *SwitchServiceClient_Delete_Call
- type SwitchServiceClient_Expecter
- func (_e *SwitchServiceClient_Expecter) Delete(context1 interface{}, switchServiceDeleteRequest interface{}) *SwitchServiceClient_Delete_Call
- func (_e *SwitchServiceClient_Expecter) Get(context1 interface{}, switchServiceGetRequest interface{}) *SwitchServiceClient_Get_Call
- func (_e *SwitchServiceClient_Expecter) List(context1 interface{}, switchServiceListRequest interface{}) *SwitchServiceClient_List_Call
- func (_e *SwitchServiceClient_Expecter) Migrate(context1 interface{}, switchServiceMigrateRequest interface{}) *SwitchServiceClient_Migrate_Call
- func (_e *SwitchServiceClient_Expecter) Port(context1 interface{}, switchServicePortRequest interface{}) *SwitchServiceClient_Port_Call
- func (_e *SwitchServiceClient_Expecter) Update(context1 interface{}, switchServiceUpdateRequest interface{}) *SwitchServiceClient_Update_Call
- type SwitchServiceClient_Get_Call
- func (_c *SwitchServiceClient_Get_Call) Return(switchServiceGetResponse *adminv2.SwitchServiceGetResponse, err error) *SwitchServiceClient_Get_Call
- func (_c *SwitchServiceClient_Get_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceClient_Get_Call
- func (_c *SwitchServiceClient_Get_Call) RunAndReturn(...) *SwitchServiceClient_Get_Call
- type SwitchServiceClient_List_Call
- func (_c *SwitchServiceClient_List_Call) Return(switchServiceListResponse *adminv2.SwitchServiceListResponse, err error) *SwitchServiceClient_List_Call
- func (_c *SwitchServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceClient_List_Call
- func (_c *SwitchServiceClient_List_Call) RunAndReturn(...) *SwitchServiceClient_List_Call
- type SwitchServiceClient_Migrate_Call
- func (_c *SwitchServiceClient_Migrate_Call) Return(switchServiceMigrateResponse *adminv2.SwitchServiceMigrateResponse, err error) *SwitchServiceClient_Migrate_Call
- func (_c *SwitchServiceClient_Migrate_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceClient_Migrate_Call
- func (_c *SwitchServiceClient_Migrate_Call) RunAndReturn(...) *SwitchServiceClient_Migrate_Call
- type SwitchServiceClient_Port_Call
- func (_c *SwitchServiceClient_Port_Call) Return(switchServicePortResponse *adminv2.SwitchServicePortResponse, err error) *SwitchServiceClient_Port_Call
- func (_c *SwitchServiceClient_Port_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceClient_Port_Call
- func (_c *SwitchServiceClient_Port_Call) RunAndReturn(...) *SwitchServiceClient_Port_Call
- type SwitchServiceClient_Update_Call
- func (_c *SwitchServiceClient_Update_Call) Return(switchServiceUpdateResponse *adminv2.SwitchServiceUpdateResponse, err error) *SwitchServiceClient_Update_Call
- func (_c *SwitchServiceClient_Update_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceClient_Update_Call
- func (_c *SwitchServiceClient_Update_Call) RunAndReturn(...) *SwitchServiceClient_Update_Call
- type SwitchServiceHandler
- func (_mock *SwitchServiceHandler) Delete(context1 context.Context, ...) (*adminv2.SwitchServiceDeleteResponse, error)
- func (_m *SwitchServiceHandler) EXPECT() *SwitchServiceHandler_Expecter
- func (_mock *SwitchServiceHandler) Get(context1 context.Context, ...) (*adminv2.SwitchServiceGetResponse, error)
- func (_mock *SwitchServiceHandler) List(context1 context.Context, ...) (*adminv2.SwitchServiceListResponse, error)
- func (_mock *SwitchServiceHandler) Migrate(context1 context.Context, ...) (*adminv2.SwitchServiceMigrateResponse, error)
- func (_mock *SwitchServiceHandler) Port(context1 context.Context, ...) (*adminv2.SwitchServicePortResponse, error)
- func (_mock *SwitchServiceHandler) Update(context1 context.Context, ...) (*adminv2.SwitchServiceUpdateResponse, error)
- type SwitchServiceHandler_Delete_Call
- func (_c *SwitchServiceHandler_Delete_Call) Return(switchServiceDeleteResponse *adminv2.SwitchServiceDeleteResponse, err error) *SwitchServiceHandler_Delete_Call
- func (_c *SwitchServiceHandler_Delete_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceHandler_Delete_Call
- func (_c *SwitchServiceHandler_Delete_Call) RunAndReturn(...) *SwitchServiceHandler_Delete_Call
- type SwitchServiceHandler_Expecter
- func (_e *SwitchServiceHandler_Expecter) Delete(context1 interface{}, switchServiceDeleteRequest interface{}) *SwitchServiceHandler_Delete_Call
- func (_e *SwitchServiceHandler_Expecter) Get(context1 interface{}, switchServiceGetRequest interface{}) *SwitchServiceHandler_Get_Call
- func (_e *SwitchServiceHandler_Expecter) List(context1 interface{}, switchServiceListRequest interface{}) *SwitchServiceHandler_List_Call
- func (_e *SwitchServiceHandler_Expecter) Migrate(context1 interface{}, switchServiceMigrateRequest interface{}) *SwitchServiceHandler_Migrate_Call
- func (_e *SwitchServiceHandler_Expecter) Port(context1 interface{}, switchServicePortRequest interface{}) *SwitchServiceHandler_Port_Call
- func (_e *SwitchServiceHandler_Expecter) Update(context1 interface{}, switchServiceUpdateRequest interface{}) *SwitchServiceHandler_Update_Call
- type SwitchServiceHandler_Get_Call
- func (_c *SwitchServiceHandler_Get_Call) Return(switchServiceGetResponse *adminv2.SwitchServiceGetResponse, err error) *SwitchServiceHandler_Get_Call
- func (_c *SwitchServiceHandler_Get_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceHandler_Get_Call
- func (_c *SwitchServiceHandler_Get_Call) RunAndReturn(...) *SwitchServiceHandler_Get_Call
- type SwitchServiceHandler_List_Call
- func (_c *SwitchServiceHandler_List_Call) Return(switchServiceListResponse *adminv2.SwitchServiceListResponse, err error) *SwitchServiceHandler_List_Call
- func (_c *SwitchServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceHandler_List_Call
- func (_c *SwitchServiceHandler_List_Call) RunAndReturn(...) *SwitchServiceHandler_List_Call
- type SwitchServiceHandler_Migrate_Call
- func (_c *SwitchServiceHandler_Migrate_Call) Return(switchServiceMigrateResponse *adminv2.SwitchServiceMigrateResponse, err error) *SwitchServiceHandler_Migrate_Call
- func (_c *SwitchServiceHandler_Migrate_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceHandler_Migrate_Call
- func (_c *SwitchServiceHandler_Migrate_Call) RunAndReturn(...) *SwitchServiceHandler_Migrate_Call
- type SwitchServiceHandler_Port_Call
- func (_c *SwitchServiceHandler_Port_Call) Return(switchServicePortResponse *adminv2.SwitchServicePortResponse, err error) *SwitchServiceHandler_Port_Call
- func (_c *SwitchServiceHandler_Port_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceHandler_Port_Call
- func (_c *SwitchServiceHandler_Port_Call) RunAndReturn(...) *SwitchServiceHandler_Port_Call
- type SwitchServiceHandler_Update_Call
- func (_c *SwitchServiceHandler_Update_Call) Return(switchServiceUpdateResponse *adminv2.SwitchServiceUpdateResponse, err error) *SwitchServiceHandler_Update_Call
- func (_c *SwitchServiceHandler_Update_Call) Run(run func(context1 context.Context, ...)) *SwitchServiceHandler_Update_Call
- func (_c *SwitchServiceHandler_Update_Call) RunAndReturn(...) *SwitchServiceHandler_Update_Call
- type TenantServiceClient
- func (_mock *TenantServiceClient) Create(context1 context.Context, ...) (*adminv2.TenantServiceCreateResponse, error)
- func (_m *TenantServiceClient) EXPECT() *TenantServiceClient_Expecter
- func (_mock *TenantServiceClient) List(context1 context.Context, ...) (*adminv2.TenantServiceListResponse, error)
- type TenantServiceClient_Create_Call
- func (_c *TenantServiceClient_Create_Call) Return(tenantServiceCreateResponse *adminv2.TenantServiceCreateResponse, err error) *TenantServiceClient_Create_Call
- func (_c *TenantServiceClient_Create_Call) Run(run func(context1 context.Context, ...)) *TenantServiceClient_Create_Call
- func (_c *TenantServiceClient_Create_Call) RunAndReturn(...) *TenantServiceClient_Create_Call
- type TenantServiceClient_Expecter
- type TenantServiceClient_List_Call
- func (_c *TenantServiceClient_List_Call) Return(tenantServiceListResponse *adminv2.TenantServiceListResponse, err error) *TenantServiceClient_List_Call
- func (_c *TenantServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *TenantServiceClient_List_Call
- func (_c *TenantServiceClient_List_Call) RunAndReturn(...) *TenantServiceClient_List_Call
- type TenantServiceHandler
- func (_mock *TenantServiceHandler) Create(context1 context.Context, ...) (*adminv2.TenantServiceCreateResponse, error)
- func (_m *TenantServiceHandler) EXPECT() *TenantServiceHandler_Expecter
- func (_mock *TenantServiceHandler) List(context1 context.Context, ...) (*adminv2.TenantServiceListResponse, error)
- type TenantServiceHandler_Create_Call
- func (_c *TenantServiceHandler_Create_Call) Return(tenantServiceCreateResponse *adminv2.TenantServiceCreateResponse, err error) *TenantServiceHandler_Create_Call
- func (_c *TenantServiceHandler_Create_Call) Run(run func(context1 context.Context, ...)) *TenantServiceHandler_Create_Call
- func (_c *TenantServiceHandler_Create_Call) RunAndReturn(...) *TenantServiceHandler_Create_Call
- type TenantServiceHandler_Expecter
- type TenantServiceHandler_List_Call
- func (_c *TenantServiceHandler_List_Call) Return(tenantServiceListResponse *adminv2.TenantServiceListResponse, err error) *TenantServiceHandler_List_Call
- func (_c *TenantServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *TenantServiceHandler_List_Call
- func (_c *TenantServiceHandler_List_Call) RunAndReturn(...) *TenantServiceHandler_List_Call
- type TokenServiceClient
- func (_mock *TokenServiceClient) Create(context1 context.Context, ...) (*adminv2.TokenServiceCreateResponse, error)
- func (_m *TokenServiceClient) EXPECT() *TokenServiceClient_Expecter
- func (_mock *TokenServiceClient) List(context1 context.Context, ...) (*adminv2.TokenServiceListResponse, error)
- func (_mock *TokenServiceClient) Revoke(context1 context.Context, ...) (*adminv2.TokenServiceRevokeResponse, error)
- type TokenServiceClient_Create_Call
- func (_c *TokenServiceClient_Create_Call) Return(tokenServiceCreateResponse *adminv2.TokenServiceCreateResponse, err error) *TokenServiceClient_Create_Call
- func (_c *TokenServiceClient_Create_Call) Run(run func(context1 context.Context, ...)) *TokenServiceClient_Create_Call
- func (_c *TokenServiceClient_Create_Call) RunAndReturn(...) *TokenServiceClient_Create_Call
- type TokenServiceClient_Expecter
- func (_e *TokenServiceClient_Expecter) Create(context1 interface{}, tokenServiceCreateRequest interface{}) *TokenServiceClient_Create_Call
- func (_e *TokenServiceClient_Expecter) List(context1 interface{}, tokenServiceListRequest interface{}) *TokenServiceClient_List_Call
- func (_e *TokenServiceClient_Expecter) Revoke(context1 interface{}, tokenServiceRevokeRequest interface{}) *TokenServiceClient_Revoke_Call
- type TokenServiceClient_List_Call
- func (_c *TokenServiceClient_List_Call) Return(tokenServiceListResponse *adminv2.TokenServiceListResponse, err error) *TokenServiceClient_List_Call
- func (_c *TokenServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *TokenServiceClient_List_Call
- func (_c *TokenServiceClient_List_Call) RunAndReturn(...) *TokenServiceClient_List_Call
- type TokenServiceClient_Revoke_Call
- func (_c *TokenServiceClient_Revoke_Call) Return(tokenServiceRevokeResponse *adminv2.TokenServiceRevokeResponse, err error) *TokenServiceClient_Revoke_Call
- func (_c *TokenServiceClient_Revoke_Call) Run(run func(context1 context.Context, ...)) *TokenServiceClient_Revoke_Call
- func (_c *TokenServiceClient_Revoke_Call) RunAndReturn(...) *TokenServiceClient_Revoke_Call
- type TokenServiceHandler
- func (_mock *TokenServiceHandler) Create(context1 context.Context, ...) (*adminv2.TokenServiceCreateResponse, error)
- func (_m *TokenServiceHandler) EXPECT() *TokenServiceHandler_Expecter
- func (_mock *TokenServiceHandler) List(context1 context.Context, ...) (*adminv2.TokenServiceListResponse, error)
- func (_mock *TokenServiceHandler) Revoke(context1 context.Context, ...) (*adminv2.TokenServiceRevokeResponse, error)
- type TokenServiceHandler_Create_Call
- func (_c *TokenServiceHandler_Create_Call) Return(tokenServiceCreateResponse *adminv2.TokenServiceCreateResponse, err error) *TokenServiceHandler_Create_Call
- func (_c *TokenServiceHandler_Create_Call) Run(run func(context1 context.Context, ...)) *TokenServiceHandler_Create_Call
- func (_c *TokenServiceHandler_Create_Call) RunAndReturn(...) *TokenServiceHandler_Create_Call
- type TokenServiceHandler_Expecter
- func (_e *TokenServiceHandler_Expecter) Create(context1 interface{}, tokenServiceCreateRequest interface{}) *TokenServiceHandler_Create_Call
- func (_e *TokenServiceHandler_Expecter) List(context1 interface{}, tokenServiceListRequest interface{}) *TokenServiceHandler_List_Call
- func (_e *TokenServiceHandler_Expecter) Revoke(context1 interface{}, tokenServiceRevokeRequest interface{}) *TokenServiceHandler_Revoke_Call
- type TokenServiceHandler_List_Call
- func (_c *TokenServiceHandler_List_Call) Return(tokenServiceListResponse *adminv2.TokenServiceListResponse, err error) *TokenServiceHandler_List_Call
- func (_c *TokenServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *TokenServiceHandler_List_Call
- func (_c *TokenServiceHandler_List_Call) RunAndReturn(...) *TokenServiceHandler_List_Call
- type TokenServiceHandler_Revoke_Call
- func (_c *TokenServiceHandler_Revoke_Call) Return(tokenServiceRevokeResponse *adminv2.TokenServiceRevokeResponse, err error) *TokenServiceHandler_Revoke_Call
- func (_c *TokenServiceHandler_Revoke_Call) Run(run func(context1 context.Context, ...)) *TokenServiceHandler_Revoke_Call
- func (_c *TokenServiceHandler_Revoke_Call) RunAndReturn(...) *TokenServiceHandler_Revoke_Call
- type VPNServiceClient
- type VPNServiceClient_AuthKey_Call
- func (_c *VPNServiceClient_AuthKey_Call) Return(vPNServiceAuthKeyResponse *adminv2.VPNServiceAuthKeyResponse, err error) *VPNServiceClient_AuthKey_Call
- func (_c *VPNServiceClient_AuthKey_Call) Run(run func(context1 context.Context, ...)) *VPNServiceClient_AuthKey_Call
- func (_c *VPNServiceClient_AuthKey_Call) RunAndReturn(...) *VPNServiceClient_AuthKey_Call
- type VPNServiceClient_Expecter
- type VPNServiceClient_ListNodes_Call
- func (_c *VPNServiceClient_ListNodes_Call) Return(vPNServiceListNodesResponse *adminv2.VPNServiceListNodesResponse, err error) *VPNServiceClient_ListNodes_Call
- func (_c *VPNServiceClient_ListNodes_Call) Run(run func(context1 context.Context, ...)) *VPNServiceClient_ListNodes_Call
- func (_c *VPNServiceClient_ListNodes_Call) RunAndReturn(...) *VPNServiceClient_ListNodes_Call
- type VPNServiceHandler
- type VPNServiceHandler_AuthKey_Call
- func (_c *VPNServiceHandler_AuthKey_Call) Return(vPNServiceAuthKeyResponse *adminv2.VPNServiceAuthKeyResponse, err error) *VPNServiceHandler_AuthKey_Call
- func (_c *VPNServiceHandler_AuthKey_Call) Run(run func(context1 context.Context, ...)) *VPNServiceHandler_AuthKey_Call
- func (_c *VPNServiceHandler_AuthKey_Call) RunAndReturn(...) *VPNServiceHandler_AuthKey_Call
- type VPNServiceHandler_Expecter
- type VPNServiceHandler_ListNodes_Call
- func (_c *VPNServiceHandler_ListNodes_Call) Return(vPNServiceListNodesResponse *adminv2.VPNServiceListNodesResponse, err error) *VPNServiceHandler_ListNodes_Call
- func (_c *VPNServiceHandler_ListNodes_Call) Run(run func(context1 context.Context, ...)) *VPNServiceHandler_ListNodes_Call
- func (_c *VPNServiceHandler_ListNodes_Call) RunAndReturn(...) *VPNServiceHandler_ListNodes_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesystemServiceClient ¶
FilesystemServiceClient is an autogenerated mock type for the FilesystemServiceClient type
func NewFilesystemServiceClient ¶
func NewFilesystemServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *FilesystemServiceClient
NewFilesystemServiceClient creates a new instance of FilesystemServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FilesystemServiceClient) Create ¶
func (_mock *FilesystemServiceClient) Create(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)
Create provides a mock function for the type FilesystemServiceClient
func (*FilesystemServiceClient) Delete ¶
func (_mock *FilesystemServiceClient) Delete(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)
Delete provides a mock function for the type FilesystemServiceClient
func (*FilesystemServiceClient) EXPECT ¶ added in v0.0.34
func (_m *FilesystemServiceClient) EXPECT() *FilesystemServiceClient_Expecter
func (*FilesystemServiceClient) Update ¶
func (_mock *FilesystemServiceClient) Update(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)
Update provides a mock function for the type FilesystemServiceClient
type FilesystemServiceClient_Create_Call ¶ added in v0.0.34
FilesystemServiceClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*FilesystemServiceClient_Create_Call) Return ¶ added in v0.0.34
func (_c *FilesystemServiceClient_Create_Call) Return(filesystemServiceCreateResponse *adminv2.FilesystemServiceCreateResponse, err error) *FilesystemServiceClient_Create_Call
func (*FilesystemServiceClient_Create_Call) Run ¶ added in v0.0.34
func (_c *FilesystemServiceClient_Create_Call) Run(run func(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest)) *FilesystemServiceClient_Create_Call
func (*FilesystemServiceClient_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *FilesystemServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)) *FilesystemServiceClient_Create_Call
type FilesystemServiceClient_Delete_Call ¶ added in v0.0.34
FilesystemServiceClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*FilesystemServiceClient_Delete_Call) Return ¶ added in v0.0.34
func (_c *FilesystemServiceClient_Delete_Call) Return(filesystemServiceDeleteResponse *adminv2.FilesystemServiceDeleteResponse, err error) *FilesystemServiceClient_Delete_Call
func (*FilesystemServiceClient_Delete_Call) Run ¶ added in v0.0.34
func (_c *FilesystemServiceClient_Delete_Call) Run(run func(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest)) *FilesystemServiceClient_Delete_Call
func (*FilesystemServiceClient_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *FilesystemServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)) *FilesystemServiceClient_Delete_Call
type FilesystemServiceClient_Expecter ¶ added in v0.0.34
type FilesystemServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*FilesystemServiceClient_Expecter) Create ¶ added in v0.0.34
func (_e *FilesystemServiceClient_Expecter) Create(context1 interface{}, filesystemServiceCreateRequest interface{}) *FilesystemServiceClient_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest
func (*FilesystemServiceClient_Expecter) Delete ¶ added in v0.0.34
func (_e *FilesystemServiceClient_Expecter) Delete(context1 interface{}, filesystemServiceDeleteRequest interface{}) *FilesystemServiceClient_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest
func (*FilesystemServiceClient_Expecter) Update ¶ added in v0.0.34
func (_e *FilesystemServiceClient_Expecter) Update(context1 interface{}, filesystemServiceUpdateRequest interface{}) *FilesystemServiceClient_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest
type FilesystemServiceClient_Update_Call ¶ added in v0.0.34
FilesystemServiceClient_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*FilesystemServiceClient_Update_Call) Return ¶ added in v0.0.34
func (_c *FilesystemServiceClient_Update_Call) Return(filesystemServiceUpdateResponse *adminv2.FilesystemServiceUpdateResponse, err error) *FilesystemServiceClient_Update_Call
func (*FilesystemServiceClient_Update_Call) Run ¶ added in v0.0.34
func (_c *FilesystemServiceClient_Update_Call) Run(run func(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest)) *FilesystemServiceClient_Update_Call
func (*FilesystemServiceClient_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *FilesystemServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)) *FilesystemServiceClient_Update_Call
type FilesystemServiceHandler ¶
FilesystemServiceHandler is an autogenerated mock type for the FilesystemServiceHandler type
func NewFilesystemServiceHandler ¶
func NewFilesystemServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *FilesystemServiceHandler
NewFilesystemServiceHandler creates a new instance of FilesystemServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FilesystemServiceHandler) Create ¶
func (_mock *FilesystemServiceHandler) Create(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)
Create provides a mock function for the type FilesystemServiceHandler
func (*FilesystemServiceHandler) Delete ¶
func (_mock *FilesystemServiceHandler) Delete(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)
Delete provides a mock function for the type FilesystemServiceHandler
func (*FilesystemServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *FilesystemServiceHandler) EXPECT() *FilesystemServiceHandler_Expecter
func (*FilesystemServiceHandler) Update ¶
func (_mock *FilesystemServiceHandler) Update(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)
Update provides a mock function for the type FilesystemServiceHandler
type FilesystemServiceHandler_Create_Call ¶ added in v0.0.34
FilesystemServiceHandler_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*FilesystemServiceHandler_Create_Call) Return ¶ added in v0.0.34
func (_c *FilesystemServiceHandler_Create_Call) Return(filesystemServiceCreateResponse *adminv2.FilesystemServiceCreateResponse, err error) *FilesystemServiceHandler_Create_Call
func (*FilesystemServiceHandler_Create_Call) Run ¶ added in v0.0.34
func (_c *FilesystemServiceHandler_Create_Call) Run(run func(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest)) *FilesystemServiceHandler_Create_Call
func (*FilesystemServiceHandler_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *FilesystemServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)) *FilesystemServiceHandler_Create_Call
type FilesystemServiceHandler_Delete_Call ¶ added in v0.0.34
FilesystemServiceHandler_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*FilesystemServiceHandler_Delete_Call) Return ¶ added in v0.0.34
func (_c *FilesystemServiceHandler_Delete_Call) Return(filesystemServiceDeleteResponse *adminv2.FilesystemServiceDeleteResponse, err error) *FilesystemServiceHandler_Delete_Call
func (*FilesystemServiceHandler_Delete_Call) Run ¶ added in v0.0.34
func (_c *FilesystemServiceHandler_Delete_Call) Run(run func(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest)) *FilesystemServiceHandler_Delete_Call
func (*FilesystemServiceHandler_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *FilesystemServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)) *FilesystemServiceHandler_Delete_Call
type FilesystemServiceHandler_Expecter ¶ added in v0.0.34
type FilesystemServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*FilesystemServiceHandler_Expecter) Create ¶ added in v0.0.34
func (_e *FilesystemServiceHandler_Expecter) Create(context1 interface{}, filesystemServiceCreateRequest interface{}) *FilesystemServiceHandler_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- filesystemServiceCreateRequest *adminv2.FilesystemServiceCreateRequest
func (*FilesystemServiceHandler_Expecter) Delete ¶ added in v0.0.34
func (_e *FilesystemServiceHandler_Expecter) Delete(context1 interface{}, filesystemServiceDeleteRequest interface{}) *FilesystemServiceHandler_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- filesystemServiceDeleteRequest *adminv2.FilesystemServiceDeleteRequest
func (*FilesystemServiceHandler_Expecter) Update ¶ added in v0.0.34
func (_e *FilesystemServiceHandler_Expecter) Update(context1 interface{}, filesystemServiceUpdateRequest interface{}) *FilesystemServiceHandler_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest
type FilesystemServiceHandler_Update_Call ¶ added in v0.0.34
FilesystemServiceHandler_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*FilesystemServiceHandler_Update_Call) Return ¶ added in v0.0.34
func (_c *FilesystemServiceHandler_Update_Call) Return(filesystemServiceUpdateResponse *adminv2.FilesystemServiceUpdateResponse, err error) *FilesystemServiceHandler_Update_Call
func (*FilesystemServiceHandler_Update_Call) Run ¶ added in v0.0.34
func (_c *FilesystemServiceHandler_Update_Call) Run(run func(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest)) *FilesystemServiceHandler_Update_Call
func (*FilesystemServiceHandler_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *FilesystemServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, filesystemServiceUpdateRequest *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)) *FilesystemServiceHandler_Update_Call
type IPServiceClient ¶
IPServiceClient is an autogenerated mock type for the IPServiceClient type
func NewIPServiceClient ¶
func NewIPServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *IPServiceClient
NewIPServiceClient creates a new instance of IPServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IPServiceClient) EXPECT ¶ added in v0.0.34
func (_m *IPServiceClient) EXPECT() *IPServiceClient_Expecter
type IPServiceClient_Expecter ¶ added in v0.0.34
type IPServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*IPServiceClient_Expecter) List ¶ added in v0.0.34
func (_e *IPServiceClient_Expecter) List(context1 interface{}, iPServiceListRequest interface{}) *IPServiceClient_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- iPServiceListRequest *adminv2.IPServiceListRequest
type IPServiceClient_List_Call ¶ added in v0.0.34
IPServiceClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*IPServiceClient_List_Call) Return ¶ added in v0.0.34
func (_c *IPServiceClient_List_Call) Return(iPServiceListResponse *adminv2.IPServiceListResponse, err error) *IPServiceClient_List_Call
func (*IPServiceClient_List_Call) Run ¶ added in v0.0.34
func (_c *IPServiceClient_List_Call) Run(run func(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest)) *IPServiceClient_List_Call
func (*IPServiceClient_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *IPServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest) (*adminv2.IPServiceListResponse, error)) *IPServiceClient_List_Call
type IPServiceHandler ¶
IPServiceHandler is an autogenerated mock type for the IPServiceHandler type
func NewIPServiceHandler ¶
func NewIPServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *IPServiceHandler
NewIPServiceHandler creates a new instance of IPServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IPServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *IPServiceHandler) EXPECT() *IPServiceHandler_Expecter
type IPServiceHandler_Expecter ¶ added in v0.0.34
type IPServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*IPServiceHandler_Expecter) List ¶ added in v0.0.34
func (_e *IPServiceHandler_Expecter) List(context1 interface{}, iPServiceListRequest interface{}) *IPServiceHandler_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- iPServiceListRequest *adminv2.IPServiceListRequest
type IPServiceHandler_List_Call ¶ added in v0.0.34
IPServiceHandler_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*IPServiceHandler_List_Call) Return ¶ added in v0.0.34
func (_c *IPServiceHandler_List_Call) Return(iPServiceListResponse *adminv2.IPServiceListResponse, err error) *IPServiceHandler_List_Call
func (*IPServiceHandler_List_Call) Run ¶ added in v0.0.34
func (_c *IPServiceHandler_List_Call) Run(run func(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest)) *IPServiceHandler_List_Call
func (*IPServiceHandler_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *IPServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, iPServiceListRequest *adminv2.IPServiceListRequest) (*adminv2.IPServiceListResponse, error)) *IPServiceHandler_List_Call
type ImageServiceClient ¶
ImageServiceClient is an autogenerated mock type for the ImageServiceClient type
func NewImageServiceClient ¶
func NewImageServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *ImageServiceClient
NewImageServiceClient creates a new instance of ImageServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ImageServiceClient) Create ¶
func (_mock *ImageServiceClient) Create(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)
Create provides a mock function for the type ImageServiceClient
func (*ImageServiceClient) Delete ¶
func (_mock *ImageServiceClient) Delete(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)
Delete provides a mock function for the type ImageServiceClient
func (*ImageServiceClient) EXPECT ¶ added in v0.0.34
func (_m *ImageServiceClient) EXPECT() *ImageServiceClient_Expecter
type ImageServiceClient_Create_Call ¶ added in v0.0.34
ImageServiceClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*ImageServiceClient_Create_Call) Return ¶ added in v0.0.34
func (_c *ImageServiceClient_Create_Call) Return(imageServiceCreateResponse *adminv2.ImageServiceCreateResponse, err error) *ImageServiceClient_Create_Call
func (*ImageServiceClient_Create_Call) Run ¶ added in v0.0.34
func (_c *ImageServiceClient_Create_Call) Run(run func(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest)) *ImageServiceClient_Create_Call
func (*ImageServiceClient_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *ImageServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)) *ImageServiceClient_Create_Call
type ImageServiceClient_Delete_Call ¶ added in v0.0.34
ImageServiceClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*ImageServiceClient_Delete_Call) Return ¶ added in v0.0.34
func (_c *ImageServiceClient_Delete_Call) Return(imageServiceDeleteResponse *adminv2.ImageServiceDeleteResponse, err error) *ImageServiceClient_Delete_Call
func (*ImageServiceClient_Delete_Call) Run ¶ added in v0.0.34
func (_c *ImageServiceClient_Delete_Call) Run(run func(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest)) *ImageServiceClient_Delete_Call
func (*ImageServiceClient_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *ImageServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)) *ImageServiceClient_Delete_Call
type ImageServiceClient_Expecter ¶ added in v0.0.34
type ImageServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*ImageServiceClient_Expecter) Create ¶ added in v0.0.34
func (_e *ImageServiceClient_Expecter) Create(context1 interface{}, imageServiceCreateRequest interface{}) *ImageServiceClient_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- imageServiceCreateRequest *adminv2.ImageServiceCreateRequest
func (*ImageServiceClient_Expecter) Delete ¶ added in v0.0.34
func (_e *ImageServiceClient_Expecter) Delete(context1 interface{}, imageServiceDeleteRequest interface{}) *ImageServiceClient_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest
func (*ImageServiceClient_Expecter) Update ¶ added in v0.0.34
func (_e *ImageServiceClient_Expecter) Update(context1 interface{}, imageServiceUpdateRequest interface{}) *ImageServiceClient_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest
func (*ImageServiceClient_Expecter) Usage ¶ added in v0.0.34
func (_e *ImageServiceClient_Expecter) Usage(context1 interface{}, imageServiceUsageRequest interface{}) *ImageServiceClient_Usage_Call
Usage is a helper method to define mock.On call
- context1 context.Context
- imageServiceUsageRequest *adminv2.ImageServiceUsageRequest
type ImageServiceClient_Update_Call ¶ added in v0.0.34
ImageServiceClient_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*ImageServiceClient_Update_Call) Return ¶ added in v0.0.34
func (_c *ImageServiceClient_Update_Call) Return(imageServiceUpdateResponse *adminv2.ImageServiceUpdateResponse, err error) *ImageServiceClient_Update_Call
func (*ImageServiceClient_Update_Call) Run ¶ added in v0.0.34
func (_c *ImageServiceClient_Update_Call) Run(run func(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest)) *ImageServiceClient_Update_Call
func (*ImageServiceClient_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *ImageServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)) *ImageServiceClient_Update_Call
type ImageServiceClient_Usage_Call ¶ added in v0.0.34
ImageServiceClient_Usage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Usage'
func (*ImageServiceClient_Usage_Call) Return ¶ added in v0.0.34
func (_c *ImageServiceClient_Usage_Call) Return(imageServiceUsageResponse *adminv2.ImageServiceUsageResponse, err error) *ImageServiceClient_Usage_Call
func (*ImageServiceClient_Usage_Call) Run ¶ added in v0.0.34
func (_c *ImageServiceClient_Usage_Call) Run(run func(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest)) *ImageServiceClient_Usage_Call
func (*ImageServiceClient_Usage_Call) RunAndReturn ¶ added in v0.0.34
func (_c *ImageServiceClient_Usage_Call) RunAndReturn(run func(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)) *ImageServiceClient_Usage_Call
type ImageServiceHandler ¶
ImageServiceHandler is an autogenerated mock type for the ImageServiceHandler type
func NewImageServiceHandler ¶
func NewImageServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *ImageServiceHandler
NewImageServiceHandler creates a new instance of ImageServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ImageServiceHandler) Create ¶
func (_mock *ImageServiceHandler) Create(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)
Create provides a mock function for the type ImageServiceHandler
func (*ImageServiceHandler) Delete ¶
func (_mock *ImageServiceHandler) Delete(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)
Delete provides a mock function for the type ImageServiceHandler
func (*ImageServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *ImageServiceHandler) EXPECT() *ImageServiceHandler_Expecter
type ImageServiceHandler_Create_Call ¶ added in v0.0.34
ImageServiceHandler_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*ImageServiceHandler_Create_Call) Return ¶ added in v0.0.34
func (_c *ImageServiceHandler_Create_Call) Return(imageServiceCreateResponse *adminv2.ImageServiceCreateResponse, err error) *ImageServiceHandler_Create_Call
func (*ImageServiceHandler_Create_Call) Run ¶ added in v0.0.34
func (_c *ImageServiceHandler_Create_Call) Run(run func(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest)) *ImageServiceHandler_Create_Call
func (*ImageServiceHandler_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *ImageServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, imageServiceCreateRequest *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)) *ImageServiceHandler_Create_Call
type ImageServiceHandler_Delete_Call ¶ added in v0.0.34
ImageServiceHandler_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*ImageServiceHandler_Delete_Call) Return ¶ added in v0.0.34
func (_c *ImageServiceHandler_Delete_Call) Return(imageServiceDeleteResponse *adminv2.ImageServiceDeleteResponse, err error) *ImageServiceHandler_Delete_Call
func (*ImageServiceHandler_Delete_Call) Run ¶ added in v0.0.34
func (_c *ImageServiceHandler_Delete_Call) Run(run func(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest)) *ImageServiceHandler_Delete_Call
func (*ImageServiceHandler_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *ImageServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)) *ImageServiceHandler_Delete_Call
type ImageServiceHandler_Expecter ¶ added in v0.0.34
type ImageServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*ImageServiceHandler_Expecter) Create ¶ added in v0.0.34
func (_e *ImageServiceHandler_Expecter) Create(context1 interface{}, imageServiceCreateRequest interface{}) *ImageServiceHandler_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- imageServiceCreateRequest *adminv2.ImageServiceCreateRequest
func (*ImageServiceHandler_Expecter) Delete ¶ added in v0.0.34
func (_e *ImageServiceHandler_Expecter) Delete(context1 interface{}, imageServiceDeleteRequest interface{}) *ImageServiceHandler_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- imageServiceDeleteRequest *adminv2.ImageServiceDeleteRequest
func (*ImageServiceHandler_Expecter) Update ¶ added in v0.0.34
func (_e *ImageServiceHandler_Expecter) Update(context1 interface{}, imageServiceUpdateRequest interface{}) *ImageServiceHandler_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest
func (*ImageServiceHandler_Expecter) Usage ¶ added in v0.0.34
func (_e *ImageServiceHandler_Expecter) Usage(context1 interface{}, imageServiceUsageRequest interface{}) *ImageServiceHandler_Usage_Call
Usage is a helper method to define mock.On call
- context1 context.Context
- imageServiceUsageRequest *adminv2.ImageServiceUsageRequest
type ImageServiceHandler_Update_Call ¶ added in v0.0.34
ImageServiceHandler_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*ImageServiceHandler_Update_Call) Return ¶ added in v0.0.34
func (_c *ImageServiceHandler_Update_Call) Return(imageServiceUpdateResponse *adminv2.ImageServiceUpdateResponse, err error) *ImageServiceHandler_Update_Call
func (*ImageServiceHandler_Update_Call) Run ¶ added in v0.0.34
func (_c *ImageServiceHandler_Update_Call) Run(run func(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest)) *ImageServiceHandler_Update_Call
func (*ImageServiceHandler_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *ImageServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, imageServiceUpdateRequest *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)) *ImageServiceHandler_Update_Call
type ImageServiceHandler_Usage_Call ¶ added in v0.0.34
ImageServiceHandler_Usage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Usage'
func (*ImageServiceHandler_Usage_Call) Return ¶ added in v0.0.34
func (_c *ImageServiceHandler_Usage_Call) Return(imageServiceUsageResponse *adminv2.ImageServiceUsageResponse, err error) *ImageServiceHandler_Usage_Call
func (*ImageServiceHandler_Usage_Call) Run ¶ added in v0.0.34
func (_c *ImageServiceHandler_Usage_Call) Run(run func(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest)) *ImageServiceHandler_Usage_Call
func (*ImageServiceHandler_Usage_Call) RunAndReturn ¶ added in v0.0.34
func (_c *ImageServiceHandler_Usage_Call) RunAndReturn(run func(context1 context.Context, imageServiceUsageRequest *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)) *ImageServiceHandler_Usage_Call
type MachineServiceClient ¶ added in v0.0.12
MachineServiceClient is an autogenerated mock type for the MachineServiceClient type
func NewMachineServiceClient ¶ added in v0.0.12
func NewMachineServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *MachineServiceClient
NewMachineServiceClient creates a new instance of MachineServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MachineServiceClient) EXPECT ¶ added in v0.0.34
func (_m *MachineServiceClient) EXPECT() *MachineServiceClient_Expecter
type MachineServiceClient_Expecter ¶ added in v0.0.34
type MachineServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MachineServiceClient_Expecter) Get ¶ added in v0.0.34
func (_e *MachineServiceClient_Expecter) Get(context1 interface{}, machineServiceGetRequest interface{}) *MachineServiceClient_Get_Call
Get is a helper method to define mock.On call
- context1 context.Context
- machineServiceGetRequest *adminv2.MachineServiceGetRequest
func (*MachineServiceClient_Expecter) List ¶ added in v0.0.34
func (_e *MachineServiceClient_Expecter) List(context1 interface{}, machineServiceListRequest interface{}) *MachineServiceClient_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- machineServiceListRequest *adminv2.MachineServiceListRequest
type MachineServiceClient_Get_Call ¶ added in v0.0.34
MachineServiceClient_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MachineServiceClient_Get_Call) Return ¶ added in v0.0.34
func (_c *MachineServiceClient_Get_Call) Return(machineServiceGetResponse *adminv2.MachineServiceGetResponse, err error) *MachineServiceClient_Get_Call
func (*MachineServiceClient_Get_Call) Run ¶ added in v0.0.34
func (_c *MachineServiceClient_Get_Call) Run(run func(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest)) *MachineServiceClient_Get_Call
func (*MachineServiceClient_Get_Call) RunAndReturn ¶ added in v0.0.34
func (_c *MachineServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest) (*adminv2.MachineServiceGetResponse, error)) *MachineServiceClient_Get_Call
type MachineServiceClient_List_Call ¶ added in v0.0.34
MachineServiceClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MachineServiceClient_List_Call) Return ¶ added in v0.0.34
func (_c *MachineServiceClient_List_Call) Return(machineServiceListResponse *adminv2.MachineServiceListResponse, err error) *MachineServiceClient_List_Call
func (*MachineServiceClient_List_Call) Run ¶ added in v0.0.34
func (_c *MachineServiceClient_List_Call) Run(run func(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest)) *MachineServiceClient_List_Call
func (*MachineServiceClient_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *MachineServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest) (*adminv2.MachineServiceListResponse, error)) *MachineServiceClient_List_Call
type MachineServiceHandler ¶ added in v0.0.12
MachineServiceHandler is an autogenerated mock type for the MachineServiceHandler type
func NewMachineServiceHandler ¶ added in v0.0.12
func NewMachineServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MachineServiceHandler
NewMachineServiceHandler creates a new instance of MachineServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MachineServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *MachineServiceHandler) EXPECT() *MachineServiceHandler_Expecter
type MachineServiceHandler_Expecter ¶ added in v0.0.34
type MachineServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MachineServiceHandler_Expecter) Get ¶ added in v0.0.34
func (_e *MachineServiceHandler_Expecter) Get(context1 interface{}, machineServiceGetRequest interface{}) *MachineServiceHandler_Get_Call
Get is a helper method to define mock.On call
- context1 context.Context
- machineServiceGetRequest *adminv2.MachineServiceGetRequest
func (*MachineServiceHandler_Expecter) List ¶ added in v0.0.34
func (_e *MachineServiceHandler_Expecter) List(context1 interface{}, machineServiceListRequest interface{}) *MachineServiceHandler_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- machineServiceListRequest *adminv2.MachineServiceListRequest
type MachineServiceHandler_Get_Call ¶ added in v0.0.34
MachineServiceHandler_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MachineServiceHandler_Get_Call) Return ¶ added in v0.0.34
func (_c *MachineServiceHandler_Get_Call) Return(machineServiceGetResponse *adminv2.MachineServiceGetResponse, err error) *MachineServiceHandler_Get_Call
func (*MachineServiceHandler_Get_Call) Run ¶ added in v0.0.34
func (_c *MachineServiceHandler_Get_Call) Run(run func(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest)) *MachineServiceHandler_Get_Call
func (*MachineServiceHandler_Get_Call) RunAndReturn ¶ added in v0.0.34
func (_c *MachineServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, machineServiceGetRequest *adminv2.MachineServiceGetRequest) (*adminv2.MachineServiceGetResponse, error)) *MachineServiceHandler_Get_Call
type MachineServiceHandler_List_Call ¶ added in v0.0.34
MachineServiceHandler_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MachineServiceHandler_List_Call) Return ¶ added in v0.0.34
func (_c *MachineServiceHandler_List_Call) Return(machineServiceListResponse *adminv2.MachineServiceListResponse, err error) *MachineServiceHandler_List_Call
func (*MachineServiceHandler_List_Call) Run ¶ added in v0.0.34
func (_c *MachineServiceHandler_List_Call) Run(run func(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest)) *MachineServiceHandler_List_Call
func (*MachineServiceHandler_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *MachineServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, machineServiceListRequest *adminv2.MachineServiceListRequest) (*adminv2.MachineServiceListResponse, error)) *MachineServiceHandler_List_Call
type NetworkServiceClient ¶
NetworkServiceClient is an autogenerated mock type for the NetworkServiceClient type
func NewNetworkServiceClient ¶
func NewNetworkServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *NetworkServiceClient
NewNetworkServiceClient creates a new instance of NetworkServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NetworkServiceClient) Create ¶
func (_mock *NetworkServiceClient) Create(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)
Create provides a mock function for the type NetworkServiceClient
func (*NetworkServiceClient) Delete ¶
func (_mock *NetworkServiceClient) Delete(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)
Delete provides a mock function for the type NetworkServiceClient
func (*NetworkServiceClient) EXPECT ¶ added in v0.0.34
func (_m *NetworkServiceClient) EXPECT() *NetworkServiceClient_Expecter
func (*NetworkServiceClient) Get ¶
func (_mock *NetworkServiceClient) Get(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)
Get provides a mock function for the type NetworkServiceClient
type NetworkServiceClient_Create_Call ¶ added in v0.0.34
NetworkServiceClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*NetworkServiceClient_Create_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceClient_Create_Call) Return(networkServiceCreateResponse *adminv2.NetworkServiceCreateResponse, err error) *NetworkServiceClient_Create_Call
func (*NetworkServiceClient_Create_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceClient_Create_Call) Run(run func(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest)) *NetworkServiceClient_Create_Call
func (*NetworkServiceClient_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)) *NetworkServiceClient_Create_Call
type NetworkServiceClient_Delete_Call ¶ added in v0.0.34
NetworkServiceClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*NetworkServiceClient_Delete_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceClient_Delete_Call) Return(networkServiceDeleteResponse *adminv2.NetworkServiceDeleteResponse, err error) *NetworkServiceClient_Delete_Call
func (*NetworkServiceClient_Delete_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceClient_Delete_Call) Run(run func(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest)) *NetworkServiceClient_Delete_Call
func (*NetworkServiceClient_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)) *NetworkServiceClient_Delete_Call
type NetworkServiceClient_Expecter ¶ added in v0.0.34
type NetworkServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*NetworkServiceClient_Expecter) Create ¶ added in v0.0.34
func (_e *NetworkServiceClient_Expecter) Create(context1 interface{}, networkServiceCreateRequest interface{}) *NetworkServiceClient_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest
func (*NetworkServiceClient_Expecter) Delete ¶ added in v0.0.34
func (_e *NetworkServiceClient_Expecter) Delete(context1 interface{}, networkServiceDeleteRequest interface{}) *NetworkServiceClient_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest
func (*NetworkServiceClient_Expecter) Get ¶ added in v0.0.34
func (_e *NetworkServiceClient_Expecter) Get(context1 interface{}, networkServiceGetRequest interface{}) *NetworkServiceClient_Get_Call
Get is a helper method to define mock.On call
- context1 context.Context
- networkServiceGetRequest *adminv2.NetworkServiceGetRequest
func (*NetworkServiceClient_Expecter) List ¶ added in v0.0.34
func (_e *NetworkServiceClient_Expecter) List(context1 interface{}, networkServiceListRequest interface{}) *NetworkServiceClient_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- networkServiceListRequest *adminv2.NetworkServiceListRequest
func (*NetworkServiceClient_Expecter) Update ¶ added in v0.0.34
func (_e *NetworkServiceClient_Expecter) Update(context1 interface{}, networkServiceUpdateRequest interface{}) *NetworkServiceClient_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest
type NetworkServiceClient_Get_Call ¶ added in v0.0.34
NetworkServiceClient_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*NetworkServiceClient_Get_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceClient_Get_Call) Return(networkServiceGetResponse *adminv2.NetworkServiceGetResponse, err error) *NetworkServiceClient_Get_Call
func (*NetworkServiceClient_Get_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceClient_Get_Call) Run(run func(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest)) *NetworkServiceClient_Get_Call
func (*NetworkServiceClient_Get_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)) *NetworkServiceClient_Get_Call
type NetworkServiceClient_List_Call ¶ added in v0.0.34
NetworkServiceClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*NetworkServiceClient_List_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceClient_List_Call) Return(networkServiceListResponse *adminv2.NetworkServiceListResponse, err error) *NetworkServiceClient_List_Call
func (*NetworkServiceClient_List_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceClient_List_Call) Run(run func(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest)) *NetworkServiceClient_List_Call
func (*NetworkServiceClient_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)) *NetworkServiceClient_List_Call
type NetworkServiceClient_Update_Call ¶ added in v0.0.34
NetworkServiceClient_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*NetworkServiceClient_Update_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceClient_Update_Call) Return(networkServiceUpdateResponse *adminv2.NetworkServiceUpdateResponse, err error) *NetworkServiceClient_Update_Call
func (*NetworkServiceClient_Update_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceClient_Update_Call) Run(run func(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest)) *NetworkServiceClient_Update_Call
func (*NetworkServiceClient_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)) *NetworkServiceClient_Update_Call
type NetworkServiceHandler ¶
NetworkServiceHandler is an autogenerated mock type for the NetworkServiceHandler type
func NewNetworkServiceHandler ¶
func NewNetworkServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *NetworkServiceHandler
NewNetworkServiceHandler creates a new instance of NetworkServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NetworkServiceHandler) Create ¶
func (_mock *NetworkServiceHandler) Create(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)
Create provides a mock function for the type NetworkServiceHandler
func (*NetworkServiceHandler) Delete ¶
func (_mock *NetworkServiceHandler) Delete(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)
Delete provides a mock function for the type NetworkServiceHandler
func (*NetworkServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *NetworkServiceHandler) EXPECT() *NetworkServiceHandler_Expecter
func (*NetworkServiceHandler) Get ¶
func (_mock *NetworkServiceHandler) Get(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)
Get provides a mock function for the type NetworkServiceHandler
type NetworkServiceHandler_Create_Call ¶ added in v0.0.34
NetworkServiceHandler_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*NetworkServiceHandler_Create_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Create_Call) Return(networkServiceCreateResponse *adminv2.NetworkServiceCreateResponse, err error) *NetworkServiceHandler_Create_Call
func (*NetworkServiceHandler_Create_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Create_Call) Run(run func(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest)) *NetworkServiceHandler_Create_Call
func (*NetworkServiceHandler_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)) *NetworkServiceHandler_Create_Call
type NetworkServiceHandler_Delete_Call ¶ added in v0.0.34
NetworkServiceHandler_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*NetworkServiceHandler_Delete_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Delete_Call) Return(networkServiceDeleteResponse *adminv2.NetworkServiceDeleteResponse, err error) *NetworkServiceHandler_Delete_Call
func (*NetworkServiceHandler_Delete_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Delete_Call) Run(run func(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest)) *NetworkServiceHandler_Delete_Call
func (*NetworkServiceHandler_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)) *NetworkServiceHandler_Delete_Call
type NetworkServiceHandler_Expecter ¶ added in v0.0.34
type NetworkServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*NetworkServiceHandler_Expecter) Create ¶ added in v0.0.34
func (_e *NetworkServiceHandler_Expecter) Create(context1 interface{}, networkServiceCreateRequest interface{}) *NetworkServiceHandler_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- networkServiceCreateRequest *adminv2.NetworkServiceCreateRequest
func (*NetworkServiceHandler_Expecter) Delete ¶ added in v0.0.34
func (_e *NetworkServiceHandler_Expecter) Delete(context1 interface{}, networkServiceDeleteRequest interface{}) *NetworkServiceHandler_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- networkServiceDeleteRequest *adminv2.NetworkServiceDeleteRequest
func (*NetworkServiceHandler_Expecter) Get ¶ added in v0.0.34
func (_e *NetworkServiceHandler_Expecter) Get(context1 interface{}, networkServiceGetRequest interface{}) *NetworkServiceHandler_Get_Call
Get is a helper method to define mock.On call
- context1 context.Context
- networkServiceGetRequest *adminv2.NetworkServiceGetRequest
func (*NetworkServiceHandler_Expecter) List ¶ added in v0.0.34
func (_e *NetworkServiceHandler_Expecter) List(context1 interface{}, networkServiceListRequest interface{}) *NetworkServiceHandler_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- networkServiceListRequest *adminv2.NetworkServiceListRequest
func (*NetworkServiceHandler_Expecter) Update ¶ added in v0.0.34
func (_e *NetworkServiceHandler_Expecter) Update(context1 interface{}, networkServiceUpdateRequest interface{}) *NetworkServiceHandler_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest
type NetworkServiceHandler_Get_Call ¶ added in v0.0.34
NetworkServiceHandler_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*NetworkServiceHandler_Get_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Get_Call) Return(networkServiceGetResponse *adminv2.NetworkServiceGetResponse, err error) *NetworkServiceHandler_Get_Call
func (*NetworkServiceHandler_Get_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Get_Call) Run(run func(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest)) *NetworkServiceHandler_Get_Call
func (*NetworkServiceHandler_Get_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, networkServiceGetRequest *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)) *NetworkServiceHandler_Get_Call
type NetworkServiceHandler_List_Call ¶ added in v0.0.34
NetworkServiceHandler_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*NetworkServiceHandler_List_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceHandler_List_Call) Return(networkServiceListResponse *adminv2.NetworkServiceListResponse, err error) *NetworkServiceHandler_List_Call
func (*NetworkServiceHandler_List_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceHandler_List_Call) Run(run func(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest)) *NetworkServiceHandler_List_Call
func (*NetworkServiceHandler_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, networkServiceListRequest *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)) *NetworkServiceHandler_List_Call
type NetworkServiceHandler_Update_Call ¶ added in v0.0.34
NetworkServiceHandler_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*NetworkServiceHandler_Update_Call) Return ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Update_Call) Return(networkServiceUpdateResponse *adminv2.NetworkServiceUpdateResponse, err error) *NetworkServiceHandler_Update_Call
func (*NetworkServiceHandler_Update_Call) Run ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Update_Call) Run(run func(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest)) *NetworkServiceHandler_Update_Call
func (*NetworkServiceHandler_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *NetworkServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, networkServiceUpdateRequest *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)) *NetworkServiceHandler_Update_Call
type PartitionServiceClient ¶
PartitionServiceClient is an autogenerated mock type for the PartitionServiceClient type
func NewPartitionServiceClient ¶
func NewPartitionServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *PartitionServiceClient
NewPartitionServiceClient creates a new instance of PartitionServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PartitionServiceClient) Capacity ¶
func (_mock *PartitionServiceClient) Capacity(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)
Capacity provides a mock function for the type PartitionServiceClient
func (*PartitionServiceClient) Create ¶
func (_mock *PartitionServiceClient) Create(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)
Create provides a mock function for the type PartitionServiceClient
func (*PartitionServiceClient) Delete ¶
func (_mock *PartitionServiceClient) Delete(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)
Delete provides a mock function for the type PartitionServiceClient
func (*PartitionServiceClient) EXPECT ¶ added in v0.0.34
func (_m *PartitionServiceClient) EXPECT() *PartitionServiceClient_Expecter
type PartitionServiceClient_Capacity_Call ¶ added in v0.0.34
PartitionServiceClient_Capacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Capacity'
func (*PartitionServiceClient_Capacity_Call) Return ¶ added in v0.0.34
func (_c *PartitionServiceClient_Capacity_Call) Return(partitionServiceCapacityResponse *adminv2.PartitionServiceCapacityResponse, err error) *PartitionServiceClient_Capacity_Call
func (*PartitionServiceClient_Capacity_Call) Run ¶ added in v0.0.34
func (_c *PartitionServiceClient_Capacity_Call) Run(run func(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest)) *PartitionServiceClient_Capacity_Call
func (*PartitionServiceClient_Capacity_Call) RunAndReturn ¶ added in v0.0.34
func (_c *PartitionServiceClient_Capacity_Call) RunAndReturn(run func(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)) *PartitionServiceClient_Capacity_Call
type PartitionServiceClient_Create_Call ¶ added in v0.0.34
PartitionServiceClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*PartitionServiceClient_Create_Call) Return ¶ added in v0.0.34
func (_c *PartitionServiceClient_Create_Call) Return(partitionServiceCreateResponse *adminv2.PartitionServiceCreateResponse, err error) *PartitionServiceClient_Create_Call
func (*PartitionServiceClient_Create_Call) Run ¶ added in v0.0.34
func (_c *PartitionServiceClient_Create_Call) Run(run func(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest)) *PartitionServiceClient_Create_Call
func (*PartitionServiceClient_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *PartitionServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)) *PartitionServiceClient_Create_Call
type PartitionServiceClient_Delete_Call ¶ added in v0.0.34
PartitionServiceClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*PartitionServiceClient_Delete_Call) Return ¶ added in v0.0.34
func (_c *PartitionServiceClient_Delete_Call) Return(partitionServiceDeleteResponse *adminv2.PartitionServiceDeleteResponse, err error) *PartitionServiceClient_Delete_Call
func (*PartitionServiceClient_Delete_Call) Run ¶ added in v0.0.34
func (_c *PartitionServiceClient_Delete_Call) Run(run func(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest)) *PartitionServiceClient_Delete_Call
func (*PartitionServiceClient_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *PartitionServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)) *PartitionServiceClient_Delete_Call
type PartitionServiceClient_Expecter ¶ added in v0.0.34
type PartitionServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*PartitionServiceClient_Expecter) Capacity ¶ added in v0.0.34
func (_e *PartitionServiceClient_Expecter) Capacity(context1 interface{}, partitionServiceCapacityRequest interface{}) *PartitionServiceClient_Capacity_Call
Capacity is a helper method to define mock.On call
- context1 context.Context
- partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest
func (*PartitionServiceClient_Expecter) Create ¶ added in v0.0.34
func (_e *PartitionServiceClient_Expecter) Create(context1 interface{}, partitionServiceCreateRequest interface{}) *PartitionServiceClient_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest
func (*PartitionServiceClient_Expecter) Delete ¶ added in v0.0.34
func (_e *PartitionServiceClient_Expecter) Delete(context1 interface{}, partitionServiceDeleteRequest interface{}) *PartitionServiceClient_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest
func (*PartitionServiceClient_Expecter) Update ¶ added in v0.0.34
func (_e *PartitionServiceClient_Expecter) Update(context1 interface{}, partitionServiceUpdateRequest interface{}) *PartitionServiceClient_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest
type PartitionServiceClient_Update_Call ¶ added in v0.0.34
PartitionServiceClient_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*PartitionServiceClient_Update_Call) Return ¶ added in v0.0.34
func (_c *PartitionServiceClient_Update_Call) Return(partitionServiceUpdateResponse *adminv2.PartitionServiceUpdateResponse, err error) *PartitionServiceClient_Update_Call
func (*PartitionServiceClient_Update_Call) Run ¶ added in v0.0.34
func (_c *PartitionServiceClient_Update_Call) Run(run func(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest)) *PartitionServiceClient_Update_Call
func (*PartitionServiceClient_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *PartitionServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)) *PartitionServiceClient_Update_Call
type PartitionServiceHandler ¶
PartitionServiceHandler is an autogenerated mock type for the PartitionServiceHandler type
func NewPartitionServiceHandler ¶
func NewPartitionServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *PartitionServiceHandler
NewPartitionServiceHandler creates a new instance of PartitionServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PartitionServiceHandler) Capacity ¶
func (_mock *PartitionServiceHandler) Capacity(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)
Capacity provides a mock function for the type PartitionServiceHandler
func (*PartitionServiceHandler) Create ¶
func (_mock *PartitionServiceHandler) Create(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)
Create provides a mock function for the type PartitionServiceHandler
func (*PartitionServiceHandler) Delete ¶
func (_mock *PartitionServiceHandler) Delete(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)
Delete provides a mock function for the type PartitionServiceHandler
func (*PartitionServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *PartitionServiceHandler) EXPECT() *PartitionServiceHandler_Expecter
type PartitionServiceHandler_Capacity_Call ¶ added in v0.0.34
PartitionServiceHandler_Capacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Capacity'
func (*PartitionServiceHandler_Capacity_Call) Return ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Capacity_Call) Return(partitionServiceCapacityResponse *adminv2.PartitionServiceCapacityResponse, err error) *PartitionServiceHandler_Capacity_Call
func (*PartitionServiceHandler_Capacity_Call) Run ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Capacity_Call) Run(run func(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest)) *PartitionServiceHandler_Capacity_Call
func (*PartitionServiceHandler_Capacity_Call) RunAndReturn ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Capacity_Call) RunAndReturn(run func(context1 context.Context, partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)) *PartitionServiceHandler_Capacity_Call
type PartitionServiceHandler_Create_Call ¶ added in v0.0.34
PartitionServiceHandler_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*PartitionServiceHandler_Create_Call) Return ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Create_Call) Return(partitionServiceCreateResponse *adminv2.PartitionServiceCreateResponse, err error) *PartitionServiceHandler_Create_Call
func (*PartitionServiceHandler_Create_Call) Run ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Create_Call) Run(run func(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest)) *PartitionServiceHandler_Create_Call
func (*PartitionServiceHandler_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)) *PartitionServiceHandler_Create_Call
type PartitionServiceHandler_Delete_Call ¶ added in v0.0.34
PartitionServiceHandler_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*PartitionServiceHandler_Delete_Call) Return ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Delete_Call) Return(partitionServiceDeleteResponse *adminv2.PartitionServiceDeleteResponse, err error) *PartitionServiceHandler_Delete_Call
func (*PartitionServiceHandler_Delete_Call) Run ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Delete_Call) Run(run func(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest)) *PartitionServiceHandler_Delete_Call
func (*PartitionServiceHandler_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)) *PartitionServiceHandler_Delete_Call
type PartitionServiceHandler_Expecter ¶ added in v0.0.34
type PartitionServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*PartitionServiceHandler_Expecter) Capacity ¶ added in v0.0.34
func (_e *PartitionServiceHandler_Expecter) Capacity(context1 interface{}, partitionServiceCapacityRequest interface{}) *PartitionServiceHandler_Capacity_Call
Capacity is a helper method to define mock.On call
- context1 context.Context
- partitionServiceCapacityRequest *adminv2.PartitionServiceCapacityRequest
func (*PartitionServiceHandler_Expecter) Create ¶ added in v0.0.34
func (_e *PartitionServiceHandler_Expecter) Create(context1 interface{}, partitionServiceCreateRequest interface{}) *PartitionServiceHandler_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- partitionServiceCreateRequest *adminv2.PartitionServiceCreateRequest
func (*PartitionServiceHandler_Expecter) Delete ¶ added in v0.0.34
func (_e *PartitionServiceHandler_Expecter) Delete(context1 interface{}, partitionServiceDeleteRequest interface{}) *PartitionServiceHandler_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- partitionServiceDeleteRequest *adminv2.PartitionServiceDeleteRequest
func (*PartitionServiceHandler_Expecter) Update ¶ added in v0.0.34
func (_e *PartitionServiceHandler_Expecter) Update(context1 interface{}, partitionServiceUpdateRequest interface{}) *PartitionServiceHandler_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest
type PartitionServiceHandler_Update_Call ¶ added in v0.0.34
PartitionServiceHandler_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*PartitionServiceHandler_Update_Call) Return ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Update_Call) Return(partitionServiceUpdateResponse *adminv2.PartitionServiceUpdateResponse, err error) *PartitionServiceHandler_Update_Call
func (*PartitionServiceHandler_Update_Call) Run ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Update_Call) Run(run func(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest)) *PartitionServiceHandler_Update_Call
func (*PartitionServiceHandler_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *PartitionServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, partitionServiceUpdateRequest *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)) *PartitionServiceHandler_Update_Call
type ProjectServiceClient ¶ added in v0.0.35
ProjectServiceClient is an autogenerated mock type for the ProjectServiceClient type
func NewProjectServiceClient ¶ added in v0.0.35
func NewProjectServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *ProjectServiceClient
NewProjectServiceClient creates a new instance of ProjectServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProjectServiceClient) EXPECT ¶ added in v0.0.35
func (_m *ProjectServiceClient) EXPECT() *ProjectServiceClient_Expecter
type ProjectServiceClient_Expecter ¶ added in v0.0.35
type ProjectServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*ProjectServiceClient_Expecter) List ¶ added in v0.0.35
func (_e *ProjectServiceClient_Expecter) List(context1 interface{}, projectServiceListRequest interface{}) *ProjectServiceClient_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- projectServiceListRequest *adminv2.ProjectServiceListRequest
type ProjectServiceClient_List_Call ¶ added in v0.0.35
ProjectServiceClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*ProjectServiceClient_List_Call) Return ¶ added in v0.0.35
func (_c *ProjectServiceClient_List_Call) Return(projectServiceListResponse *adminv2.ProjectServiceListResponse, err error) *ProjectServiceClient_List_Call
func (*ProjectServiceClient_List_Call) Run ¶ added in v0.0.35
func (_c *ProjectServiceClient_List_Call) Run(run func(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest)) *ProjectServiceClient_List_Call
func (*ProjectServiceClient_List_Call) RunAndReturn ¶ added in v0.0.35
func (_c *ProjectServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest) (*adminv2.ProjectServiceListResponse, error)) *ProjectServiceClient_List_Call
type ProjectServiceHandler ¶ added in v0.0.35
ProjectServiceHandler is an autogenerated mock type for the ProjectServiceHandler type
func NewProjectServiceHandler ¶ added in v0.0.35
func NewProjectServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *ProjectServiceHandler
NewProjectServiceHandler creates a new instance of ProjectServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProjectServiceHandler) EXPECT ¶ added in v0.0.35
func (_m *ProjectServiceHandler) EXPECT() *ProjectServiceHandler_Expecter
type ProjectServiceHandler_Expecter ¶ added in v0.0.35
type ProjectServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*ProjectServiceHandler_Expecter) List ¶ added in v0.0.35
func (_e *ProjectServiceHandler_Expecter) List(context1 interface{}, projectServiceListRequest interface{}) *ProjectServiceHandler_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- projectServiceListRequest *adminv2.ProjectServiceListRequest
type ProjectServiceHandler_List_Call ¶ added in v0.0.35
ProjectServiceHandler_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*ProjectServiceHandler_List_Call) Return ¶ added in v0.0.35
func (_c *ProjectServiceHandler_List_Call) Return(projectServiceListResponse *adminv2.ProjectServiceListResponse, err error) *ProjectServiceHandler_List_Call
func (*ProjectServiceHandler_List_Call) Run ¶ added in v0.0.35
func (_c *ProjectServiceHandler_List_Call) Run(run func(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest)) *ProjectServiceHandler_List_Call
func (*ProjectServiceHandler_List_Call) RunAndReturn ¶ added in v0.0.35
func (_c *ProjectServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, projectServiceListRequest *adminv2.ProjectServiceListRequest) (*adminv2.ProjectServiceListResponse, error)) *ProjectServiceHandler_List_Call
type SizeServiceClient ¶ added in v0.0.2
SizeServiceClient is an autogenerated mock type for the SizeServiceClient type
func NewSizeServiceClient ¶ added in v0.0.2
func NewSizeServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *SizeServiceClient
NewSizeServiceClient creates a new instance of SizeServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SizeServiceClient) Create ¶ added in v0.0.2
func (_mock *SizeServiceClient) Create(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)
Create provides a mock function for the type SizeServiceClient
func (*SizeServiceClient) Delete ¶ added in v0.0.2
func (_mock *SizeServiceClient) Delete(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)
Delete provides a mock function for the type SizeServiceClient
func (*SizeServiceClient) EXPECT ¶ added in v0.0.34
func (_m *SizeServiceClient) EXPECT() *SizeServiceClient_Expecter
type SizeServiceClient_Create_Call ¶ added in v0.0.34
SizeServiceClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*SizeServiceClient_Create_Call) Return ¶ added in v0.0.34
func (_c *SizeServiceClient_Create_Call) Return(sizeServiceCreateResponse *adminv2.SizeServiceCreateResponse, err error) *SizeServiceClient_Create_Call
func (*SizeServiceClient_Create_Call) Run ¶ added in v0.0.34
func (_c *SizeServiceClient_Create_Call) Run(run func(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest)) *SizeServiceClient_Create_Call
func (*SizeServiceClient_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SizeServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)) *SizeServiceClient_Create_Call
type SizeServiceClient_Delete_Call ¶ added in v0.0.34
SizeServiceClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*SizeServiceClient_Delete_Call) Return ¶ added in v0.0.34
func (_c *SizeServiceClient_Delete_Call) Return(sizeServiceDeleteResponse *adminv2.SizeServiceDeleteResponse, err error) *SizeServiceClient_Delete_Call
func (*SizeServiceClient_Delete_Call) Run ¶ added in v0.0.34
func (_c *SizeServiceClient_Delete_Call) Run(run func(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest)) *SizeServiceClient_Delete_Call
func (*SizeServiceClient_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SizeServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)) *SizeServiceClient_Delete_Call
type SizeServiceClient_Expecter ¶ added in v0.0.34
type SizeServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*SizeServiceClient_Expecter) Create ¶ added in v0.0.34
func (_e *SizeServiceClient_Expecter) Create(context1 interface{}, sizeServiceCreateRequest interface{}) *SizeServiceClient_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest
func (*SizeServiceClient_Expecter) Delete ¶ added in v0.0.34
func (_e *SizeServiceClient_Expecter) Delete(context1 interface{}, sizeServiceDeleteRequest interface{}) *SizeServiceClient_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest
func (*SizeServiceClient_Expecter) Update ¶ added in v0.0.34
func (_e *SizeServiceClient_Expecter) Update(context1 interface{}, sizeServiceUpdateRequest interface{}) *SizeServiceClient_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest
type SizeServiceClient_Update_Call ¶ added in v0.0.34
SizeServiceClient_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*SizeServiceClient_Update_Call) Return ¶ added in v0.0.34
func (_c *SizeServiceClient_Update_Call) Return(sizeServiceUpdateResponse *adminv2.SizeServiceUpdateResponse, err error) *SizeServiceClient_Update_Call
func (*SizeServiceClient_Update_Call) Run ¶ added in v0.0.34
func (_c *SizeServiceClient_Update_Call) Run(run func(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest)) *SizeServiceClient_Update_Call
func (*SizeServiceClient_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SizeServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)) *SizeServiceClient_Update_Call
type SizeServiceHandler ¶ added in v0.0.2
SizeServiceHandler is an autogenerated mock type for the SizeServiceHandler type
func NewSizeServiceHandler ¶ added in v0.0.2
func NewSizeServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *SizeServiceHandler
NewSizeServiceHandler creates a new instance of SizeServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SizeServiceHandler) Create ¶ added in v0.0.2
func (_mock *SizeServiceHandler) Create(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)
Create provides a mock function for the type SizeServiceHandler
func (*SizeServiceHandler) Delete ¶ added in v0.0.2
func (_mock *SizeServiceHandler) Delete(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)
Delete provides a mock function for the type SizeServiceHandler
func (*SizeServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *SizeServiceHandler) EXPECT() *SizeServiceHandler_Expecter
type SizeServiceHandler_Create_Call ¶ added in v0.0.34
SizeServiceHandler_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*SizeServiceHandler_Create_Call) Return ¶ added in v0.0.34
func (_c *SizeServiceHandler_Create_Call) Return(sizeServiceCreateResponse *adminv2.SizeServiceCreateResponse, err error) *SizeServiceHandler_Create_Call
func (*SizeServiceHandler_Create_Call) Run ¶ added in v0.0.34
func (_c *SizeServiceHandler_Create_Call) Run(run func(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest)) *SizeServiceHandler_Create_Call
func (*SizeServiceHandler_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SizeServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)) *SizeServiceHandler_Create_Call
type SizeServiceHandler_Delete_Call ¶ added in v0.0.34
SizeServiceHandler_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*SizeServiceHandler_Delete_Call) Return ¶ added in v0.0.34
func (_c *SizeServiceHandler_Delete_Call) Return(sizeServiceDeleteResponse *adminv2.SizeServiceDeleteResponse, err error) *SizeServiceHandler_Delete_Call
func (*SizeServiceHandler_Delete_Call) Run ¶ added in v0.0.34
func (_c *SizeServiceHandler_Delete_Call) Run(run func(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest)) *SizeServiceHandler_Delete_Call
func (*SizeServiceHandler_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SizeServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)) *SizeServiceHandler_Delete_Call
type SizeServiceHandler_Expecter ¶ added in v0.0.34
type SizeServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*SizeServiceHandler_Expecter) Create ¶ added in v0.0.34
func (_e *SizeServiceHandler_Expecter) Create(context1 interface{}, sizeServiceCreateRequest interface{}) *SizeServiceHandler_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- sizeServiceCreateRequest *adminv2.SizeServiceCreateRequest
func (*SizeServiceHandler_Expecter) Delete ¶ added in v0.0.34
func (_e *SizeServiceHandler_Expecter) Delete(context1 interface{}, sizeServiceDeleteRequest interface{}) *SizeServiceHandler_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- sizeServiceDeleteRequest *adminv2.SizeServiceDeleteRequest
func (*SizeServiceHandler_Expecter) Update ¶ added in v0.0.34
func (_e *SizeServiceHandler_Expecter) Update(context1 interface{}, sizeServiceUpdateRequest interface{}) *SizeServiceHandler_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest
type SizeServiceHandler_Update_Call ¶ added in v0.0.34
SizeServiceHandler_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*SizeServiceHandler_Update_Call) Return ¶ added in v0.0.34
func (_c *SizeServiceHandler_Update_Call) Return(sizeServiceUpdateResponse *adminv2.SizeServiceUpdateResponse, err error) *SizeServiceHandler_Update_Call
func (*SizeServiceHandler_Update_Call) Run ¶ added in v0.0.34
func (_c *SizeServiceHandler_Update_Call) Run(run func(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest)) *SizeServiceHandler_Update_Call
func (*SizeServiceHandler_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SizeServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, sizeServiceUpdateRequest *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)) *SizeServiceHandler_Update_Call
type SwitchServiceClient ¶ added in v0.0.23
SwitchServiceClient is an autogenerated mock type for the SwitchServiceClient type
func NewSwitchServiceClient ¶ added in v0.0.23
func NewSwitchServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *SwitchServiceClient
NewSwitchServiceClient creates a new instance of SwitchServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SwitchServiceClient) Delete ¶ added in v0.0.23
func (_mock *SwitchServiceClient) Delete(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)
Delete provides a mock function for the type SwitchServiceClient
func (*SwitchServiceClient) EXPECT ¶ added in v0.0.34
func (_m *SwitchServiceClient) EXPECT() *SwitchServiceClient_Expecter
func (*SwitchServiceClient) Get ¶ added in v0.0.23
func (_mock *SwitchServiceClient) Get(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)
Get provides a mock function for the type SwitchServiceClient
func (*SwitchServiceClient) List ¶ added in v0.0.23
func (_mock *SwitchServiceClient) List(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)
List provides a mock function for the type SwitchServiceClient
func (*SwitchServiceClient) Migrate ¶ added in v0.0.23
func (_mock *SwitchServiceClient) Migrate(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)
Migrate provides a mock function for the type SwitchServiceClient
type SwitchServiceClient_Delete_Call ¶ added in v0.0.34
SwitchServiceClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*SwitchServiceClient_Delete_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceClient_Delete_Call) Return(switchServiceDeleteResponse *adminv2.SwitchServiceDeleteResponse, err error) *SwitchServiceClient_Delete_Call
func (*SwitchServiceClient_Delete_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceClient_Delete_Call) Run(run func(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest)) *SwitchServiceClient_Delete_Call
func (*SwitchServiceClient_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)) *SwitchServiceClient_Delete_Call
type SwitchServiceClient_Expecter ¶ added in v0.0.34
type SwitchServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*SwitchServiceClient_Expecter) Delete ¶ added in v0.0.34
func (_e *SwitchServiceClient_Expecter) Delete(context1 interface{}, switchServiceDeleteRequest interface{}) *SwitchServiceClient_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest
func (*SwitchServiceClient_Expecter) Get ¶ added in v0.0.34
func (_e *SwitchServiceClient_Expecter) Get(context1 interface{}, switchServiceGetRequest interface{}) *SwitchServiceClient_Get_Call
Get is a helper method to define mock.On call
- context1 context.Context
- switchServiceGetRequest *adminv2.SwitchServiceGetRequest
func (*SwitchServiceClient_Expecter) List ¶ added in v0.0.34
func (_e *SwitchServiceClient_Expecter) List(context1 interface{}, switchServiceListRequest interface{}) *SwitchServiceClient_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- switchServiceListRequest *adminv2.SwitchServiceListRequest
func (*SwitchServiceClient_Expecter) Migrate ¶ added in v0.0.34
func (_e *SwitchServiceClient_Expecter) Migrate(context1 interface{}, switchServiceMigrateRequest interface{}) *SwitchServiceClient_Migrate_Call
Migrate is a helper method to define mock.On call
- context1 context.Context
- switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest
func (*SwitchServiceClient_Expecter) Port ¶ added in v0.0.34
func (_e *SwitchServiceClient_Expecter) Port(context1 interface{}, switchServicePortRequest interface{}) *SwitchServiceClient_Port_Call
Port is a helper method to define mock.On call
- context1 context.Context
- switchServicePortRequest *adminv2.SwitchServicePortRequest
func (*SwitchServiceClient_Expecter) Update ¶ added in v0.0.34
func (_e *SwitchServiceClient_Expecter) Update(context1 interface{}, switchServiceUpdateRequest interface{}) *SwitchServiceClient_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest
type SwitchServiceClient_Get_Call ¶ added in v0.0.34
SwitchServiceClient_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*SwitchServiceClient_Get_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceClient_Get_Call) Return(switchServiceGetResponse *adminv2.SwitchServiceGetResponse, err error) *SwitchServiceClient_Get_Call
func (*SwitchServiceClient_Get_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceClient_Get_Call) Run(run func(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest)) *SwitchServiceClient_Get_Call
func (*SwitchServiceClient_Get_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)) *SwitchServiceClient_Get_Call
type SwitchServiceClient_List_Call ¶ added in v0.0.34
SwitchServiceClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*SwitchServiceClient_List_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceClient_List_Call) Return(switchServiceListResponse *adminv2.SwitchServiceListResponse, err error) *SwitchServiceClient_List_Call
func (*SwitchServiceClient_List_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceClient_List_Call) Run(run func(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest)) *SwitchServiceClient_List_Call
func (*SwitchServiceClient_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)) *SwitchServiceClient_List_Call
type SwitchServiceClient_Migrate_Call ¶ added in v0.0.34
SwitchServiceClient_Migrate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Migrate'
func (*SwitchServiceClient_Migrate_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceClient_Migrate_Call) Return(switchServiceMigrateResponse *adminv2.SwitchServiceMigrateResponse, err error) *SwitchServiceClient_Migrate_Call
func (*SwitchServiceClient_Migrate_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceClient_Migrate_Call) Run(run func(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest)) *SwitchServiceClient_Migrate_Call
func (*SwitchServiceClient_Migrate_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceClient_Migrate_Call) RunAndReturn(run func(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)) *SwitchServiceClient_Migrate_Call
type SwitchServiceClient_Port_Call ¶ added in v0.0.34
SwitchServiceClient_Port_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Port'
func (*SwitchServiceClient_Port_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceClient_Port_Call) Return(switchServicePortResponse *adminv2.SwitchServicePortResponse, err error) *SwitchServiceClient_Port_Call
func (*SwitchServiceClient_Port_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceClient_Port_Call) Run(run func(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest)) *SwitchServiceClient_Port_Call
func (*SwitchServiceClient_Port_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceClient_Port_Call) RunAndReturn(run func(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)) *SwitchServiceClient_Port_Call
type SwitchServiceClient_Update_Call ¶ added in v0.0.34
SwitchServiceClient_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*SwitchServiceClient_Update_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceClient_Update_Call) Return(switchServiceUpdateResponse *adminv2.SwitchServiceUpdateResponse, err error) *SwitchServiceClient_Update_Call
func (*SwitchServiceClient_Update_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceClient_Update_Call) Run(run func(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest)) *SwitchServiceClient_Update_Call
func (*SwitchServiceClient_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)) *SwitchServiceClient_Update_Call
type SwitchServiceHandler ¶ added in v0.0.23
SwitchServiceHandler is an autogenerated mock type for the SwitchServiceHandler type
func NewSwitchServiceHandler ¶ added in v0.0.23
func NewSwitchServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *SwitchServiceHandler
NewSwitchServiceHandler creates a new instance of SwitchServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SwitchServiceHandler) Delete ¶ added in v0.0.23
func (_mock *SwitchServiceHandler) Delete(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)
Delete provides a mock function for the type SwitchServiceHandler
func (*SwitchServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *SwitchServiceHandler) EXPECT() *SwitchServiceHandler_Expecter
func (*SwitchServiceHandler) Get ¶ added in v0.0.23
func (_mock *SwitchServiceHandler) Get(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)
Get provides a mock function for the type SwitchServiceHandler
func (*SwitchServiceHandler) List ¶ added in v0.0.23
func (_mock *SwitchServiceHandler) List(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)
List provides a mock function for the type SwitchServiceHandler
func (*SwitchServiceHandler) Migrate ¶ added in v0.0.23
func (_mock *SwitchServiceHandler) Migrate(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)
Migrate provides a mock function for the type SwitchServiceHandler
type SwitchServiceHandler_Delete_Call ¶ added in v0.0.34
SwitchServiceHandler_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*SwitchServiceHandler_Delete_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Delete_Call) Return(switchServiceDeleteResponse *adminv2.SwitchServiceDeleteResponse, err error) *SwitchServiceHandler_Delete_Call
func (*SwitchServiceHandler_Delete_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Delete_Call) Run(run func(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest)) *SwitchServiceHandler_Delete_Call
func (*SwitchServiceHandler_Delete_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)) *SwitchServiceHandler_Delete_Call
type SwitchServiceHandler_Expecter ¶ added in v0.0.34
type SwitchServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*SwitchServiceHandler_Expecter) Delete ¶ added in v0.0.34
func (_e *SwitchServiceHandler_Expecter) Delete(context1 interface{}, switchServiceDeleteRequest interface{}) *SwitchServiceHandler_Delete_Call
Delete is a helper method to define mock.On call
- context1 context.Context
- switchServiceDeleteRequest *adminv2.SwitchServiceDeleteRequest
func (*SwitchServiceHandler_Expecter) Get ¶ added in v0.0.34
func (_e *SwitchServiceHandler_Expecter) Get(context1 interface{}, switchServiceGetRequest interface{}) *SwitchServiceHandler_Get_Call
Get is a helper method to define mock.On call
- context1 context.Context
- switchServiceGetRequest *adminv2.SwitchServiceGetRequest
func (*SwitchServiceHandler_Expecter) List ¶ added in v0.0.34
func (_e *SwitchServiceHandler_Expecter) List(context1 interface{}, switchServiceListRequest interface{}) *SwitchServiceHandler_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- switchServiceListRequest *adminv2.SwitchServiceListRequest
func (*SwitchServiceHandler_Expecter) Migrate ¶ added in v0.0.34
func (_e *SwitchServiceHandler_Expecter) Migrate(context1 interface{}, switchServiceMigrateRequest interface{}) *SwitchServiceHandler_Migrate_Call
Migrate is a helper method to define mock.On call
- context1 context.Context
- switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest
func (*SwitchServiceHandler_Expecter) Port ¶ added in v0.0.34
func (_e *SwitchServiceHandler_Expecter) Port(context1 interface{}, switchServicePortRequest interface{}) *SwitchServiceHandler_Port_Call
Port is a helper method to define mock.On call
- context1 context.Context
- switchServicePortRequest *adminv2.SwitchServicePortRequest
func (*SwitchServiceHandler_Expecter) Update ¶ added in v0.0.34
func (_e *SwitchServiceHandler_Expecter) Update(context1 interface{}, switchServiceUpdateRequest interface{}) *SwitchServiceHandler_Update_Call
Update is a helper method to define mock.On call
- context1 context.Context
- switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest
type SwitchServiceHandler_Get_Call ¶ added in v0.0.34
SwitchServiceHandler_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*SwitchServiceHandler_Get_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Get_Call) Return(switchServiceGetResponse *adminv2.SwitchServiceGetResponse, err error) *SwitchServiceHandler_Get_Call
func (*SwitchServiceHandler_Get_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Get_Call) Run(run func(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest)) *SwitchServiceHandler_Get_Call
func (*SwitchServiceHandler_Get_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, switchServiceGetRequest *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)) *SwitchServiceHandler_Get_Call
type SwitchServiceHandler_List_Call ¶ added in v0.0.34
SwitchServiceHandler_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*SwitchServiceHandler_List_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceHandler_List_Call) Return(switchServiceListResponse *adminv2.SwitchServiceListResponse, err error) *SwitchServiceHandler_List_Call
func (*SwitchServiceHandler_List_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceHandler_List_Call) Run(run func(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest)) *SwitchServiceHandler_List_Call
func (*SwitchServiceHandler_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, switchServiceListRequest *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)) *SwitchServiceHandler_List_Call
type SwitchServiceHandler_Migrate_Call ¶ added in v0.0.34
SwitchServiceHandler_Migrate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Migrate'
func (*SwitchServiceHandler_Migrate_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Migrate_Call) Return(switchServiceMigrateResponse *adminv2.SwitchServiceMigrateResponse, err error) *SwitchServiceHandler_Migrate_Call
func (*SwitchServiceHandler_Migrate_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Migrate_Call) Run(run func(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest)) *SwitchServiceHandler_Migrate_Call
func (*SwitchServiceHandler_Migrate_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Migrate_Call) RunAndReturn(run func(context1 context.Context, switchServiceMigrateRequest *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)) *SwitchServiceHandler_Migrate_Call
type SwitchServiceHandler_Port_Call ¶ added in v0.0.34
SwitchServiceHandler_Port_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Port'
func (*SwitchServiceHandler_Port_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Port_Call) Return(switchServicePortResponse *adminv2.SwitchServicePortResponse, err error) *SwitchServiceHandler_Port_Call
func (*SwitchServiceHandler_Port_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Port_Call) Run(run func(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest)) *SwitchServiceHandler_Port_Call
func (*SwitchServiceHandler_Port_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Port_Call) RunAndReturn(run func(context1 context.Context, switchServicePortRequest *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)) *SwitchServiceHandler_Port_Call
type SwitchServiceHandler_Update_Call ¶ added in v0.0.34
SwitchServiceHandler_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*SwitchServiceHandler_Update_Call) Return ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Update_Call) Return(switchServiceUpdateResponse *adminv2.SwitchServiceUpdateResponse, err error) *SwitchServiceHandler_Update_Call
func (*SwitchServiceHandler_Update_Call) Run ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Update_Call) Run(run func(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest)) *SwitchServiceHandler_Update_Call
func (*SwitchServiceHandler_Update_Call) RunAndReturn ¶ added in v0.0.34
func (_c *SwitchServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, switchServiceUpdateRequest *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)) *SwitchServiceHandler_Update_Call
type TenantServiceClient ¶
TenantServiceClient is an autogenerated mock type for the TenantServiceClient type
func NewTenantServiceClient ¶
func NewTenantServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *TenantServiceClient
NewTenantServiceClient creates a new instance of TenantServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TenantServiceClient) Create ¶
func (_mock *TenantServiceClient) Create(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)
Create provides a mock function for the type TenantServiceClient
func (*TenantServiceClient) EXPECT ¶ added in v0.0.34
func (_m *TenantServiceClient) EXPECT() *TenantServiceClient_Expecter
type TenantServiceClient_Create_Call ¶ added in v0.0.34
TenantServiceClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*TenantServiceClient_Create_Call) Return ¶ added in v0.0.34
func (_c *TenantServiceClient_Create_Call) Return(tenantServiceCreateResponse *adminv2.TenantServiceCreateResponse, err error) *TenantServiceClient_Create_Call
func (*TenantServiceClient_Create_Call) Run ¶ added in v0.0.34
func (_c *TenantServiceClient_Create_Call) Run(run func(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest)) *TenantServiceClient_Create_Call
func (*TenantServiceClient_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TenantServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)) *TenantServiceClient_Create_Call
type TenantServiceClient_Expecter ¶ added in v0.0.34
type TenantServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*TenantServiceClient_Expecter) Create ¶ added in v0.0.34
func (_e *TenantServiceClient_Expecter) Create(context1 interface{}, tenantServiceCreateRequest interface{}) *TenantServiceClient_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest
func (*TenantServiceClient_Expecter) List ¶ added in v0.0.34
func (_e *TenantServiceClient_Expecter) List(context1 interface{}, tenantServiceListRequest interface{}) *TenantServiceClient_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- tenantServiceListRequest *adminv2.TenantServiceListRequest
type TenantServiceClient_List_Call ¶ added in v0.0.34
TenantServiceClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*TenantServiceClient_List_Call) Return ¶ added in v0.0.34
func (_c *TenantServiceClient_List_Call) Return(tenantServiceListResponse *adminv2.TenantServiceListResponse, err error) *TenantServiceClient_List_Call
func (*TenantServiceClient_List_Call) Run ¶ added in v0.0.34
func (_c *TenantServiceClient_List_Call) Run(run func(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest)) *TenantServiceClient_List_Call
func (*TenantServiceClient_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TenantServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest) (*adminv2.TenantServiceListResponse, error)) *TenantServiceClient_List_Call
type TenantServiceHandler ¶
TenantServiceHandler is an autogenerated mock type for the TenantServiceHandler type
func NewTenantServiceHandler ¶
func NewTenantServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *TenantServiceHandler
NewTenantServiceHandler creates a new instance of TenantServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TenantServiceHandler) Create ¶
func (_mock *TenantServiceHandler) Create(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)
Create provides a mock function for the type TenantServiceHandler
func (*TenantServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *TenantServiceHandler) EXPECT() *TenantServiceHandler_Expecter
type TenantServiceHandler_Create_Call ¶ added in v0.0.34
TenantServiceHandler_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*TenantServiceHandler_Create_Call) Return ¶ added in v0.0.34
func (_c *TenantServiceHandler_Create_Call) Return(tenantServiceCreateResponse *adminv2.TenantServiceCreateResponse, err error) *TenantServiceHandler_Create_Call
func (*TenantServiceHandler_Create_Call) Run ¶ added in v0.0.34
func (_c *TenantServiceHandler_Create_Call) Run(run func(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest)) *TenantServiceHandler_Create_Call
func (*TenantServiceHandler_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TenantServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)) *TenantServiceHandler_Create_Call
type TenantServiceHandler_Expecter ¶ added in v0.0.34
type TenantServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*TenantServiceHandler_Expecter) Create ¶ added in v0.0.34
func (_e *TenantServiceHandler_Expecter) Create(context1 interface{}, tenantServiceCreateRequest interface{}) *TenantServiceHandler_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- tenantServiceCreateRequest *adminv2.TenantServiceCreateRequest
func (*TenantServiceHandler_Expecter) List ¶ added in v0.0.34
func (_e *TenantServiceHandler_Expecter) List(context1 interface{}, tenantServiceListRequest interface{}) *TenantServiceHandler_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- tenantServiceListRequest *adminv2.TenantServiceListRequest
type TenantServiceHandler_List_Call ¶ added in v0.0.34
TenantServiceHandler_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*TenantServiceHandler_List_Call) Return ¶ added in v0.0.34
func (_c *TenantServiceHandler_List_Call) Return(tenantServiceListResponse *adminv2.TenantServiceListResponse, err error) *TenantServiceHandler_List_Call
func (*TenantServiceHandler_List_Call) Run ¶ added in v0.0.34
func (_c *TenantServiceHandler_List_Call) Run(run func(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest)) *TenantServiceHandler_List_Call
func (*TenantServiceHandler_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TenantServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, tenantServiceListRequest *adminv2.TenantServiceListRequest) (*adminv2.TenantServiceListResponse, error)) *TenantServiceHandler_List_Call
type TokenServiceClient ¶
TokenServiceClient is an autogenerated mock type for the TokenServiceClient type
func NewTokenServiceClient ¶
func NewTokenServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *TokenServiceClient
NewTokenServiceClient creates a new instance of TokenServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TokenServiceClient) Create ¶ added in v0.0.32
func (_mock *TokenServiceClient) Create(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)
Create provides a mock function for the type TokenServiceClient
func (*TokenServiceClient) EXPECT ¶ added in v0.0.34
func (_m *TokenServiceClient) EXPECT() *TokenServiceClient_Expecter
type TokenServiceClient_Create_Call ¶ added in v0.0.34
TokenServiceClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*TokenServiceClient_Create_Call) Return ¶ added in v0.0.34
func (_c *TokenServiceClient_Create_Call) Return(tokenServiceCreateResponse *adminv2.TokenServiceCreateResponse, err error) *TokenServiceClient_Create_Call
func (*TokenServiceClient_Create_Call) Run ¶ added in v0.0.34
func (_c *TokenServiceClient_Create_Call) Run(run func(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest)) *TokenServiceClient_Create_Call
func (*TokenServiceClient_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TokenServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)) *TokenServiceClient_Create_Call
type TokenServiceClient_Expecter ¶ added in v0.0.34
type TokenServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*TokenServiceClient_Expecter) Create ¶ added in v0.0.34
func (_e *TokenServiceClient_Expecter) Create(context1 interface{}, tokenServiceCreateRequest interface{}) *TokenServiceClient_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest
func (*TokenServiceClient_Expecter) List ¶ added in v0.0.34
func (_e *TokenServiceClient_Expecter) List(context1 interface{}, tokenServiceListRequest interface{}) *TokenServiceClient_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- tokenServiceListRequest *adminv2.TokenServiceListRequest
func (*TokenServiceClient_Expecter) Revoke ¶ added in v0.0.34
func (_e *TokenServiceClient_Expecter) Revoke(context1 interface{}, tokenServiceRevokeRequest interface{}) *TokenServiceClient_Revoke_Call
Revoke is a helper method to define mock.On call
- context1 context.Context
- tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest
type TokenServiceClient_List_Call ¶ added in v0.0.34
TokenServiceClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*TokenServiceClient_List_Call) Return ¶ added in v0.0.34
func (_c *TokenServiceClient_List_Call) Return(tokenServiceListResponse *adminv2.TokenServiceListResponse, err error) *TokenServiceClient_List_Call
func (*TokenServiceClient_List_Call) Run ¶ added in v0.0.34
func (_c *TokenServiceClient_List_Call) Run(run func(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest)) *TokenServiceClient_List_Call
func (*TokenServiceClient_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TokenServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)) *TokenServiceClient_List_Call
type TokenServiceClient_Revoke_Call ¶ added in v0.0.34
TokenServiceClient_Revoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Revoke'
func (*TokenServiceClient_Revoke_Call) Return ¶ added in v0.0.34
func (_c *TokenServiceClient_Revoke_Call) Return(tokenServiceRevokeResponse *adminv2.TokenServiceRevokeResponse, err error) *TokenServiceClient_Revoke_Call
func (*TokenServiceClient_Revoke_Call) Run ¶ added in v0.0.34
func (_c *TokenServiceClient_Revoke_Call) Run(run func(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest)) *TokenServiceClient_Revoke_Call
func (*TokenServiceClient_Revoke_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TokenServiceClient_Revoke_Call) RunAndReturn(run func(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)) *TokenServiceClient_Revoke_Call
type TokenServiceHandler ¶
TokenServiceHandler is an autogenerated mock type for the TokenServiceHandler type
func NewTokenServiceHandler ¶
func NewTokenServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *TokenServiceHandler
NewTokenServiceHandler creates a new instance of TokenServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TokenServiceHandler) Create ¶ added in v0.0.32
func (_mock *TokenServiceHandler) Create(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)
Create provides a mock function for the type TokenServiceHandler
func (*TokenServiceHandler) EXPECT ¶ added in v0.0.34
func (_m *TokenServiceHandler) EXPECT() *TokenServiceHandler_Expecter
type TokenServiceHandler_Create_Call ¶ added in v0.0.34
TokenServiceHandler_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*TokenServiceHandler_Create_Call) Return ¶ added in v0.0.34
func (_c *TokenServiceHandler_Create_Call) Return(tokenServiceCreateResponse *adminv2.TokenServiceCreateResponse, err error) *TokenServiceHandler_Create_Call
func (*TokenServiceHandler_Create_Call) Run ¶ added in v0.0.34
func (_c *TokenServiceHandler_Create_Call) Run(run func(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest)) *TokenServiceHandler_Create_Call
func (*TokenServiceHandler_Create_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TokenServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)) *TokenServiceHandler_Create_Call
type TokenServiceHandler_Expecter ¶ added in v0.0.34
type TokenServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*TokenServiceHandler_Expecter) Create ¶ added in v0.0.34
func (_e *TokenServiceHandler_Expecter) Create(context1 interface{}, tokenServiceCreateRequest interface{}) *TokenServiceHandler_Create_Call
Create is a helper method to define mock.On call
- context1 context.Context
- tokenServiceCreateRequest *adminv2.TokenServiceCreateRequest
func (*TokenServiceHandler_Expecter) List ¶ added in v0.0.34
func (_e *TokenServiceHandler_Expecter) List(context1 interface{}, tokenServiceListRequest interface{}) *TokenServiceHandler_List_Call
List is a helper method to define mock.On call
- context1 context.Context
- tokenServiceListRequest *adminv2.TokenServiceListRequest
func (*TokenServiceHandler_Expecter) Revoke ¶ added in v0.0.34
func (_e *TokenServiceHandler_Expecter) Revoke(context1 interface{}, tokenServiceRevokeRequest interface{}) *TokenServiceHandler_Revoke_Call
Revoke is a helper method to define mock.On call
- context1 context.Context
- tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest
type TokenServiceHandler_List_Call ¶ added in v0.0.34
TokenServiceHandler_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*TokenServiceHandler_List_Call) Return ¶ added in v0.0.34
func (_c *TokenServiceHandler_List_Call) Return(tokenServiceListResponse *adminv2.TokenServiceListResponse, err error) *TokenServiceHandler_List_Call
func (*TokenServiceHandler_List_Call) Run ¶ added in v0.0.34
func (_c *TokenServiceHandler_List_Call) Run(run func(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest)) *TokenServiceHandler_List_Call
func (*TokenServiceHandler_List_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TokenServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, tokenServiceListRequest *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)) *TokenServiceHandler_List_Call
type TokenServiceHandler_Revoke_Call ¶ added in v0.0.34
TokenServiceHandler_Revoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Revoke'
func (*TokenServiceHandler_Revoke_Call) Return ¶ added in v0.0.34
func (_c *TokenServiceHandler_Revoke_Call) Return(tokenServiceRevokeResponse *adminv2.TokenServiceRevokeResponse, err error) *TokenServiceHandler_Revoke_Call
func (*TokenServiceHandler_Revoke_Call) Run ¶ added in v0.0.34
func (_c *TokenServiceHandler_Revoke_Call) Run(run func(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest)) *TokenServiceHandler_Revoke_Call
func (*TokenServiceHandler_Revoke_Call) RunAndReturn ¶ added in v0.0.34
func (_c *TokenServiceHandler_Revoke_Call) RunAndReturn(run func(context1 context.Context, tokenServiceRevokeRequest *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)) *TokenServiceHandler_Revoke_Call
type VPNServiceClient ¶ added in v0.0.37
VPNServiceClient is an autogenerated mock type for the VPNServiceClient type
func NewVPNServiceClient ¶ added in v0.0.37
func NewVPNServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *VPNServiceClient
NewVPNServiceClient creates a new instance of VPNServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VPNServiceClient) AuthKey ¶ added in v0.0.37
func (_mock *VPNServiceClient) AuthKey(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest) (*adminv2.VPNServiceAuthKeyResponse, error)
AuthKey provides a mock function for the type VPNServiceClient
func (*VPNServiceClient) EXPECT ¶ added in v0.0.37
func (_m *VPNServiceClient) EXPECT() *VPNServiceClient_Expecter
type VPNServiceClient_AuthKey_Call ¶ added in v0.0.37
VPNServiceClient_AuthKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthKey'
func (*VPNServiceClient_AuthKey_Call) Return ¶ added in v0.0.37
func (_c *VPNServiceClient_AuthKey_Call) Return(vPNServiceAuthKeyResponse *adminv2.VPNServiceAuthKeyResponse, err error) *VPNServiceClient_AuthKey_Call
func (*VPNServiceClient_AuthKey_Call) Run ¶ added in v0.0.37
func (_c *VPNServiceClient_AuthKey_Call) Run(run func(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest)) *VPNServiceClient_AuthKey_Call
func (*VPNServiceClient_AuthKey_Call) RunAndReturn ¶ added in v0.0.37
func (_c *VPNServiceClient_AuthKey_Call) RunAndReturn(run func(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest) (*adminv2.VPNServiceAuthKeyResponse, error)) *VPNServiceClient_AuthKey_Call
type VPNServiceClient_Expecter ¶ added in v0.0.37
type VPNServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*VPNServiceClient_Expecter) AuthKey ¶ added in v0.0.37
func (_e *VPNServiceClient_Expecter) AuthKey(context1 interface{}, vPNServiceAuthKeyRequest interface{}) *VPNServiceClient_AuthKey_Call
AuthKey is a helper method to define mock.On call
- context1 context.Context
- vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest
func (*VPNServiceClient_Expecter) ListNodes ¶ added in v0.0.37
func (_e *VPNServiceClient_Expecter) ListNodes(context1 interface{}, vPNServiceListNodesRequest interface{}) *VPNServiceClient_ListNodes_Call
ListNodes is a helper method to define mock.On call
- context1 context.Context
- vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest
type VPNServiceClient_ListNodes_Call ¶ added in v0.0.37
VPNServiceClient_ListNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodes'
func (*VPNServiceClient_ListNodes_Call) Return ¶ added in v0.0.37
func (_c *VPNServiceClient_ListNodes_Call) Return(vPNServiceListNodesResponse *adminv2.VPNServiceListNodesResponse, err error) *VPNServiceClient_ListNodes_Call
func (*VPNServiceClient_ListNodes_Call) Run ¶ added in v0.0.37
func (_c *VPNServiceClient_ListNodes_Call) Run(run func(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest)) *VPNServiceClient_ListNodes_Call
func (*VPNServiceClient_ListNodes_Call) RunAndReturn ¶ added in v0.0.37
func (_c *VPNServiceClient_ListNodes_Call) RunAndReturn(run func(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest) (*adminv2.VPNServiceListNodesResponse, error)) *VPNServiceClient_ListNodes_Call
type VPNServiceHandler ¶ added in v0.0.37
VPNServiceHandler is an autogenerated mock type for the VPNServiceHandler type
func NewVPNServiceHandler ¶ added in v0.0.37
func NewVPNServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *VPNServiceHandler
NewVPNServiceHandler creates a new instance of VPNServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VPNServiceHandler) AuthKey ¶ added in v0.0.37
func (_mock *VPNServiceHandler) AuthKey(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest) (*adminv2.VPNServiceAuthKeyResponse, error)
AuthKey provides a mock function for the type VPNServiceHandler
func (*VPNServiceHandler) EXPECT ¶ added in v0.0.37
func (_m *VPNServiceHandler) EXPECT() *VPNServiceHandler_Expecter
type VPNServiceHandler_AuthKey_Call ¶ added in v0.0.37
VPNServiceHandler_AuthKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthKey'
func (*VPNServiceHandler_AuthKey_Call) Return ¶ added in v0.0.37
func (_c *VPNServiceHandler_AuthKey_Call) Return(vPNServiceAuthKeyResponse *adminv2.VPNServiceAuthKeyResponse, err error) *VPNServiceHandler_AuthKey_Call
func (*VPNServiceHandler_AuthKey_Call) Run ¶ added in v0.0.37
func (_c *VPNServiceHandler_AuthKey_Call) Run(run func(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest)) *VPNServiceHandler_AuthKey_Call
func (*VPNServiceHandler_AuthKey_Call) RunAndReturn ¶ added in v0.0.37
func (_c *VPNServiceHandler_AuthKey_Call) RunAndReturn(run func(context1 context.Context, vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest) (*adminv2.VPNServiceAuthKeyResponse, error)) *VPNServiceHandler_AuthKey_Call
type VPNServiceHandler_Expecter ¶ added in v0.0.37
type VPNServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*VPNServiceHandler_Expecter) AuthKey ¶ added in v0.0.37
func (_e *VPNServiceHandler_Expecter) AuthKey(context1 interface{}, vPNServiceAuthKeyRequest interface{}) *VPNServiceHandler_AuthKey_Call
AuthKey is a helper method to define mock.On call
- context1 context.Context
- vPNServiceAuthKeyRequest *adminv2.VPNServiceAuthKeyRequest
func (*VPNServiceHandler_Expecter) ListNodes ¶ added in v0.0.37
func (_e *VPNServiceHandler_Expecter) ListNodes(context1 interface{}, vPNServiceListNodesRequest interface{}) *VPNServiceHandler_ListNodes_Call
ListNodes is a helper method to define mock.On call
- context1 context.Context
- vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest
type VPNServiceHandler_ListNodes_Call ¶ added in v0.0.37
VPNServiceHandler_ListNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodes'
func (*VPNServiceHandler_ListNodes_Call) Return ¶ added in v0.0.37
func (_c *VPNServiceHandler_ListNodes_Call) Return(vPNServiceListNodesResponse *adminv2.VPNServiceListNodesResponse, err error) *VPNServiceHandler_ListNodes_Call
func (*VPNServiceHandler_ListNodes_Call) Run ¶ added in v0.0.37
func (_c *VPNServiceHandler_ListNodes_Call) Run(run func(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest)) *VPNServiceHandler_ListNodes_Call
func (*VPNServiceHandler_ListNodes_Call) RunAndReturn ¶ added in v0.0.37
func (_c *VPNServiceHandler_ListNodes_Call) RunAndReturn(run func(context1 context.Context, vPNServiceListNodesRequest *adminv2.VPNServiceListNodesRequest) (*adminv2.VPNServiceListNodesResponse, error)) *VPNServiceHandler_ListNodes_Call
Source Files
¶
- FilesystemServiceClient.go
- FilesystemServiceHandler.go
- IPServiceClient.go
- IPServiceHandler.go
- ImageServiceClient.go
- ImageServiceHandler.go
- MachineServiceClient.go
- MachineServiceHandler.go
- NetworkServiceClient.go
- NetworkServiceHandler.go
- PartitionServiceClient.go
- PartitionServiceHandler.go
- ProjectServiceClient.go
- ProjectServiceHandler.go
- SizeServiceClient.go
- SizeServiceHandler.go
- SwitchServiceClient.go
- SwitchServiceHandler.go
- TenantServiceClient.go
- TenantServiceHandler.go
- TokenServiceClient.go
- TokenServiceHandler.go
- VPNServiceClient.go
- VPNServiceHandler.go