Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) CreatePartition(params *clientpartition.CreatePartitionParams, ...) (*clientpartition.CreatePartitionCreated, error)
- func (_m *ClientService) DeletePartition(params *clientpartition.DeletePartitionParams, ...) (*clientpartition.DeletePartitionOK, error)
- func (_m *ClientService) FindPartition(params *clientpartition.FindPartitionParams, ...) (*clientpartition.FindPartitionOK, error)
- func (_m *ClientService) ListPartitions(params *clientpartition.ListPartitionsParams, ...) (*clientpartition.ListPartitionsOK, error)
- func (_m *ClientService) PartitionCapacity(params *clientpartition.PartitionCapacityParams, ...) (*clientpartition.PartitionCapacityOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) UpdatePartition(params *clientpartition.UpdatePartitionParams, ...) (*clientpartition.UpdatePartitionOK, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
ClientOption is an autogenerated mock type for the ClientOption type
func NewClientOption ¶ added in v0.18.1
func NewClientOption(t interface { mock.TestingT Cleanup(func()) }) *ClientOption
NewClientOption creates a new instance of ClientOption. 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 (*ClientOption) Execute ¶
func (_m *ClientOption) Execute(_a0 *runtime.ClientOperation)
Execute provides a mock function with given fields: _a0
type ClientService ¶
ClientService is an autogenerated mock type for the ClientService type
func NewClientService ¶ added in v0.18.1
func NewClientService(t interface { mock.TestingT Cleanup(func()) }) *ClientService
NewClientService creates a new instance of ClientService. 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 (*ClientService) CreatePartition ¶
func (_m *ClientService) CreatePartition(params *clientpartition.CreatePartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientpartition.ClientOption) (*clientpartition.CreatePartitionCreated, error)
CreatePartition provides a mock function with given fields: params, authInfo, opts
func (*ClientService) DeletePartition ¶
func (_m *ClientService) DeletePartition(params *clientpartition.DeletePartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientpartition.ClientOption) (*clientpartition.DeletePartitionOK, error)
DeletePartition provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindPartition ¶
func (_m *ClientService) FindPartition(params *clientpartition.FindPartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientpartition.ClientOption) (*clientpartition.FindPartitionOK, error)
FindPartition provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListPartitions ¶
func (_m *ClientService) ListPartitions(params *clientpartition.ListPartitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientpartition.ClientOption) (*clientpartition.ListPartitionsOK, error)
ListPartitions provides a mock function with given fields: params, authInfo, opts
func (*ClientService) PartitionCapacity ¶
func (_m *ClientService) PartitionCapacity(params *clientpartition.PartitionCapacityParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientpartition.ClientOption) (*clientpartition.PartitionCapacityOK, error)
PartitionCapacity provides a mock function with given fields: params, authInfo, opts
func (*ClientService) SetTransport ¶
func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport
func (*ClientService) UpdatePartition ¶
func (_m *ClientService) UpdatePartition(params *clientpartition.UpdatePartitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientpartition.ClientOption) (*clientpartition.UpdatePartitionOK, error)
UpdatePartition provides a mock function with given fields: params, authInfo, opts