Documentation
¶
Index ¶
- type FilesystemServiceClient
- func (_m *FilesystemServiceClient) Create(_a0 context.Context, _a1 *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)
- func (_m *FilesystemServiceClient) Delete(_a0 context.Context, _a1 *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)
- func (_m *FilesystemServiceClient) Update(_a0 context.Context, _a1 *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)
- type FilesystemServiceHandler
- func (_m *FilesystemServiceHandler) Create(_a0 context.Context, _a1 *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)
- func (_m *FilesystemServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)
- func (_m *FilesystemServiceHandler) Update(_a0 context.Context, _a1 *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)
- type IPServiceClient
- type IPServiceHandler
- type ImageServiceClient
- func (_m *ImageServiceClient) Create(_a0 context.Context, _a1 *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)
- func (_m *ImageServiceClient) Delete(_a0 context.Context, _a1 *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)
- func (_m *ImageServiceClient) Update(_a0 context.Context, _a1 *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)
- func (_m *ImageServiceClient) Usage(_a0 context.Context, _a1 *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)
- type ImageServiceHandler
- func (_m *ImageServiceHandler) Create(_a0 context.Context, _a1 *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)
- func (_m *ImageServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)
- func (_m *ImageServiceHandler) Update(_a0 context.Context, _a1 *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)
- func (_m *ImageServiceHandler) Usage(_a0 context.Context, _a1 *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)
- type MachineServiceClient
- type MachineServiceHandler
- type NetworkServiceClient
- func (_m *NetworkServiceClient) Create(_a0 context.Context, _a1 *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)
- func (_m *NetworkServiceClient) Delete(_a0 context.Context, _a1 *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)
- func (_m *NetworkServiceClient) Get(_a0 context.Context, _a1 *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)
- func (_m *NetworkServiceClient) List(_a0 context.Context, _a1 *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)
- func (_m *NetworkServiceClient) Update(_a0 context.Context, _a1 *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)
- type NetworkServiceHandler
- func (_m *NetworkServiceHandler) Create(_a0 context.Context, _a1 *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)
- func (_m *NetworkServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)
- func (_m *NetworkServiceHandler) Get(_a0 context.Context, _a1 *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)
- func (_m *NetworkServiceHandler) List(_a0 context.Context, _a1 *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)
- func (_m *NetworkServiceHandler) Update(_a0 context.Context, _a1 *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)
- type PartitionServiceClient
- func (_m *PartitionServiceClient) Capacity(_a0 context.Context, _a1 *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)
- func (_m *PartitionServiceClient) Create(_a0 context.Context, _a1 *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)
- func (_m *PartitionServiceClient) Delete(_a0 context.Context, _a1 *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)
- func (_m *PartitionServiceClient) Update(_a0 context.Context, _a1 *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)
- type PartitionServiceHandler
- func (_m *PartitionServiceHandler) Capacity(_a0 context.Context, _a1 *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)
- func (_m *PartitionServiceHandler) Create(_a0 context.Context, _a1 *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)
- func (_m *PartitionServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)
- func (_m *PartitionServiceHandler) Update(_a0 context.Context, _a1 *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)
- type SizeServiceClient
- func (_m *SizeServiceClient) Create(_a0 context.Context, _a1 *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)
- func (_m *SizeServiceClient) Delete(_a0 context.Context, _a1 *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)
- func (_m *SizeServiceClient) Update(_a0 context.Context, _a1 *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)
- type SizeServiceHandler
- func (_m *SizeServiceHandler) Create(_a0 context.Context, _a1 *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)
- func (_m *SizeServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)
- func (_m *SizeServiceHandler) Update(_a0 context.Context, _a1 *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)
- type SwitchServiceClient
- func (_m *SwitchServiceClient) Delete(_a0 context.Context, _a1 *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)
- func (_m *SwitchServiceClient) Get(_a0 context.Context, _a1 *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)
- func (_m *SwitchServiceClient) List(_a0 context.Context, _a1 *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)
- func (_m *SwitchServiceClient) Migrate(_a0 context.Context, _a1 *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)
- func (_m *SwitchServiceClient) Port(_a0 context.Context, _a1 *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)
- func (_m *SwitchServiceClient) Update(_a0 context.Context, _a1 *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)
- type SwitchServiceHandler
- func (_m *SwitchServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)
- func (_m *SwitchServiceHandler) Get(_a0 context.Context, _a1 *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)
- func (_m *SwitchServiceHandler) List(_a0 context.Context, _a1 *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)
- func (_m *SwitchServiceHandler) Migrate(_a0 context.Context, _a1 *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)
- func (_m *SwitchServiceHandler) Port(_a0 context.Context, _a1 *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)
- func (_m *SwitchServiceHandler) Update(_a0 context.Context, _a1 *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)
- type TenantServiceClient
- type TenantServiceHandler
- type TokenServiceClient
- func (_m *TokenServiceClient) Create(_a0 context.Context, _a1 *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)
- func (_m *TokenServiceClient) List(_a0 context.Context, _a1 *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)
- func (_m *TokenServiceClient) Revoke(_a0 context.Context, _a1 *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)
- type TokenServiceHandler
- func (_m *TokenServiceHandler) Create(_a0 context.Context, _a1 *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)
- func (_m *TokenServiceHandler) List(_a0 context.Context, _a1 *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)
- func (_m *TokenServiceHandler) Revoke(_a0 context.Context, _a1 *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)
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 (_m *FilesystemServiceClient) Create(_a0 context.Context, _a1 *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*FilesystemServiceClient) Delete ¶
func (_m *FilesystemServiceClient) Delete(_a0 context.Context, _a1 *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*FilesystemServiceClient) Update ¶
func (_m *FilesystemServiceClient) Update(_a0 context.Context, _a1 *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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 (_m *FilesystemServiceHandler) Create(_a0 context.Context, _a1 *adminv2.FilesystemServiceCreateRequest) (*adminv2.FilesystemServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*FilesystemServiceHandler) Delete ¶
func (_m *FilesystemServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.FilesystemServiceDeleteRequest) (*adminv2.FilesystemServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*FilesystemServiceHandler) Update ¶
func (_m *FilesystemServiceHandler) Update(_a0 context.Context, _a1 *adminv2.FilesystemServiceUpdateRequest) (*adminv2.FilesystemServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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) List ¶
func (_m *IPServiceClient) List(_a0 context.Context, _a1 *adminv2.IPServiceListRequest) (*adminv2.IPServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
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) List ¶
func (_m *IPServiceHandler) List(_a0 context.Context, _a1 *adminv2.IPServiceListRequest) (*adminv2.IPServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
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 (_m *ImageServiceClient) Create(_a0 context.Context, _a1 *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*ImageServiceClient) Delete ¶
func (_m *ImageServiceClient) Delete(_a0 context.Context, _a1 *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*ImageServiceClient) Update ¶
func (_m *ImageServiceClient) Update(_a0 context.Context, _a1 *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
func (*ImageServiceClient) Usage ¶
func (_m *ImageServiceClient) Usage(_a0 context.Context, _a1 *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
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 (_m *ImageServiceHandler) Create(_a0 context.Context, _a1 *adminv2.ImageServiceCreateRequest) (*adminv2.ImageServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*ImageServiceHandler) Delete ¶
func (_m *ImageServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.ImageServiceDeleteRequest) (*adminv2.ImageServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*ImageServiceHandler) Update ¶
func (_m *ImageServiceHandler) Update(_a0 context.Context, _a1 *adminv2.ImageServiceUpdateRequest) (*adminv2.ImageServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
func (*ImageServiceHandler) Usage ¶
func (_m *ImageServiceHandler) Usage(_a0 context.Context, _a1 *adminv2.ImageServiceUsageRequest) (*adminv2.ImageServiceUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
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) Get ¶ added in v0.0.12
func (_m *MachineServiceClient) Get(_a0 context.Context, _a1 *adminv2.MachineServiceGetRequest) (*adminv2.MachineServiceGetResponse, error)
Get provides a mock function with given fields: _a0, _a1
func (*MachineServiceClient) List ¶ added in v0.0.12
func (_m *MachineServiceClient) List(_a0 context.Context, _a1 *adminv2.MachineServiceListRequest) (*adminv2.MachineServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
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) Get ¶ added in v0.0.12
func (_m *MachineServiceHandler) Get(_a0 context.Context, _a1 *adminv2.MachineServiceGetRequest) (*adminv2.MachineServiceGetResponse, error)
Get provides a mock function with given fields: _a0, _a1
func (*MachineServiceHandler) List ¶ added in v0.0.12
func (_m *MachineServiceHandler) List(_a0 context.Context, _a1 *adminv2.MachineServiceListRequest) (*adminv2.MachineServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
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 (_m *NetworkServiceClient) Create(_a0 context.Context, _a1 *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*NetworkServiceClient) Delete ¶
func (_m *NetworkServiceClient) Delete(_a0 context.Context, _a1 *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*NetworkServiceClient) Get ¶
func (_m *NetworkServiceClient) Get(_a0 context.Context, _a1 *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)
Get provides a mock function with given fields: _a0, _a1
func (*NetworkServiceClient) List ¶
func (_m *NetworkServiceClient) List(_a0 context.Context, _a1 *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
func (*NetworkServiceClient) Update ¶
func (_m *NetworkServiceClient) Update(_a0 context.Context, _a1 *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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 (_m *NetworkServiceHandler) Create(_a0 context.Context, _a1 *adminv2.NetworkServiceCreateRequest) (*adminv2.NetworkServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*NetworkServiceHandler) Delete ¶
func (_m *NetworkServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.NetworkServiceDeleteRequest) (*adminv2.NetworkServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*NetworkServiceHandler) Get ¶
func (_m *NetworkServiceHandler) Get(_a0 context.Context, _a1 *adminv2.NetworkServiceGetRequest) (*adminv2.NetworkServiceGetResponse, error)
Get provides a mock function with given fields: _a0, _a1
func (*NetworkServiceHandler) List ¶
func (_m *NetworkServiceHandler) List(_a0 context.Context, _a1 *adminv2.NetworkServiceListRequest) (*adminv2.NetworkServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
func (*NetworkServiceHandler) Update ¶
func (_m *NetworkServiceHandler) Update(_a0 context.Context, _a1 *adminv2.NetworkServiceUpdateRequest) (*adminv2.NetworkServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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 (_m *PartitionServiceClient) Capacity(_a0 context.Context, _a1 *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)
Capacity provides a mock function with given fields: _a0, _a1
func (*PartitionServiceClient) Create ¶
func (_m *PartitionServiceClient) Create(_a0 context.Context, _a1 *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*PartitionServiceClient) Delete ¶
func (_m *PartitionServiceClient) Delete(_a0 context.Context, _a1 *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*PartitionServiceClient) Update ¶
func (_m *PartitionServiceClient) Update(_a0 context.Context, _a1 *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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 (_m *PartitionServiceHandler) Capacity(_a0 context.Context, _a1 *adminv2.PartitionServiceCapacityRequest) (*adminv2.PartitionServiceCapacityResponse, error)
Capacity provides a mock function with given fields: _a0, _a1
func (*PartitionServiceHandler) Create ¶
func (_m *PartitionServiceHandler) Create(_a0 context.Context, _a1 *adminv2.PartitionServiceCreateRequest) (*adminv2.PartitionServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*PartitionServiceHandler) Delete ¶
func (_m *PartitionServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.PartitionServiceDeleteRequest) (*adminv2.PartitionServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*PartitionServiceHandler) Update ¶
func (_m *PartitionServiceHandler) Update(_a0 context.Context, _a1 *adminv2.PartitionServiceUpdateRequest) (*adminv2.PartitionServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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 (_m *SizeServiceClient) Create(_a0 context.Context, _a1 *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*SizeServiceClient) Delete ¶ added in v0.0.2
func (_m *SizeServiceClient) Delete(_a0 context.Context, _a1 *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*SizeServiceClient) Update ¶ added in v0.0.2
func (_m *SizeServiceClient) Update(_a0 context.Context, _a1 *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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 (_m *SizeServiceHandler) Create(_a0 context.Context, _a1 *adminv2.SizeServiceCreateRequest) (*adminv2.SizeServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*SizeServiceHandler) Delete ¶ added in v0.0.2
func (_m *SizeServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.SizeServiceDeleteRequest) (*adminv2.SizeServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*SizeServiceHandler) Update ¶ added in v0.0.2
func (_m *SizeServiceHandler) Update(_a0 context.Context, _a1 *adminv2.SizeServiceUpdateRequest) (*adminv2.SizeServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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 (_m *SwitchServiceClient) Delete(_a0 context.Context, _a1 *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*SwitchServiceClient) Get ¶ added in v0.0.23
func (_m *SwitchServiceClient) Get(_a0 context.Context, _a1 *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)
Get provides a mock function with given fields: _a0, _a1
func (*SwitchServiceClient) List ¶ added in v0.0.23
func (_m *SwitchServiceClient) List(_a0 context.Context, _a1 *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
func (*SwitchServiceClient) Migrate ¶ added in v0.0.23
func (_m *SwitchServiceClient) Migrate(_a0 context.Context, _a1 *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)
Migrate provides a mock function with given fields: _a0, _a1
func (*SwitchServiceClient) Port ¶ added in v0.0.23
func (_m *SwitchServiceClient) Port(_a0 context.Context, _a1 *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)
Port provides a mock function with given fields: _a0, _a1
func (*SwitchServiceClient) Update ¶ added in v0.0.23
func (_m *SwitchServiceClient) Update(_a0 context.Context, _a1 *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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 (_m *SwitchServiceHandler) Delete(_a0 context.Context, _a1 *adminv2.SwitchServiceDeleteRequest) (*adminv2.SwitchServiceDeleteResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*SwitchServiceHandler) Get ¶ added in v0.0.23
func (_m *SwitchServiceHandler) Get(_a0 context.Context, _a1 *adminv2.SwitchServiceGetRequest) (*adminv2.SwitchServiceGetResponse, error)
Get provides a mock function with given fields: _a0, _a1
func (*SwitchServiceHandler) List ¶ added in v0.0.23
func (_m *SwitchServiceHandler) List(_a0 context.Context, _a1 *adminv2.SwitchServiceListRequest) (*adminv2.SwitchServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
func (*SwitchServiceHandler) Migrate ¶ added in v0.0.23
func (_m *SwitchServiceHandler) Migrate(_a0 context.Context, _a1 *adminv2.SwitchServiceMigrateRequest) (*adminv2.SwitchServiceMigrateResponse, error)
Migrate provides a mock function with given fields: _a0, _a1
func (*SwitchServiceHandler) Port ¶ added in v0.0.23
func (_m *SwitchServiceHandler) Port(_a0 context.Context, _a1 *adminv2.SwitchServicePortRequest) (*adminv2.SwitchServicePortResponse, error)
Port provides a mock function with given fields: _a0, _a1
func (*SwitchServiceHandler) Update ¶ added in v0.0.23
func (_m *SwitchServiceHandler) Update(_a0 context.Context, _a1 *adminv2.SwitchServiceUpdateRequest) (*adminv2.SwitchServiceUpdateResponse, error)
Update provides a mock function with given fields: _a0, _a1
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 (_m *TenantServiceClient) Create(_a0 context.Context, _a1 *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*TenantServiceClient) List ¶
func (_m *TenantServiceClient) List(_a0 context.Context, _a1 *adminv2.TenantServiceListRequest) (*adminv2.TenantServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
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 (_m *TenantServiceHandler) Create(_a0 context.Context, _a1 *adminv2.TenantServiceCreateRequest) (*adminv2.TenantServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*TenantServiceHandler) List ¶
func (_m *TenantServiceHandler) List(_a0 context.Context, _a1 *adminv2.TenantServiceListRequest) (*adminv2.TenantServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
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 (_m *TokenServiceClient) Create(_a0 context.Context, _a1 *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*TokenServiceClient) List ¶
func (_m *TokenServiceClient) List(_a0 context.Context, _a1 *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
func (*TokenServiceClient) Revoke ¶
func (_m *TokenServiceClient) Revoke(_a0 context.Context, _a1 *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)
Revoke provides a mock function with given fields: _a0, _a1
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 (_m *TokenServiceHandler) Create(_a0 context.Context, _a1 *adminv2.TokenServiceCreateRequest) (*adminv2.TokenServiceCreateResponse, error)
Create provides a mock function with given fields: _a0, _a1
func (*TokenServiceHandler) List ¶
func (_m *TokenServiceHandler) List(_a0 context.Context, _a1 *adminv2.TokenServiceListRequest) (*adminv2.TokenServiceListResponse, error)
List provides a mock function with given fields: _a0, _a1
func (*TokenServiceHandler) Revoke ¶
func (_m *TokenServiceHandler) Revoke(_a0 context.Context, _a1 *adminv2.TokenServiceRevokeRequest) (*adminv2.TokenServiceRevokeResponse, error)
Revoke provides a mock function with given fields: _a0, _a1
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
- SizeServiceClient.go
- SizeServiceHandler.go
- SwitchServiceClient.go
- SwitchServiceHandler.go
- TenantServiceClient.go
- TenantServiceHandler.go
- TokenServiceClient.go
- TokenServiceHandler.go