Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) CreateSize(params *clientsize.CreateSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientsize.CreateSizeCreated, error)
- func (_m *ClientService) DeleteSize(params *clientsize.DeleteSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientsize.DeleteSizeOK, error)
- func (_m *ClientService) FindSize(params *clientsize.FindSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientsize.FindSizeOK, error)
- func (_m *ClientService) FromHardware(params *clientsize.FromHardwareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientsize.FromHardwareOK, error)
- func (_m *ClientService) ListSizes(params *clientsize.ListSizesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientsize.ListSizesOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) Suggest(params *clientsize.SuggestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientsize.SuggestOK, error)
- func (_m *ClientService) UpdateSize(params *clientsize.UpdateSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientsize.UpdateSizeOK, 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) CreateSize ¶
func (_m *ClientService) CreateSize(params *clientsize.CreateSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientsize.ClientOption) (*clientsize.CreateSizeCreated, error)
CreateSize provides a mock function with given fields: params, authInfo, opts
func (*ClientService) DeleteSize ¶
func (_m *ClientService) DeleteSize(params *clientsize.DeleteSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientsize.ClientOption) (*clientsize.DeleteSizeOK, error)
DeleteSize provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindSize ¶
func (_m *ClientService) FindSize(params *clientsize.FindSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientsize.ClientOption) (*clientsize.FindSizeOK, error)
FindSize provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FromHardware ¶
func (_m *ClientService) FromHardware(params *clientsize.FromHardwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientsize.ClientOption) (*clientsize.FromHardwareOK, error)
FromHardware provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListSizes ¶
func (_m *ClientService) ListSizes(params *clientsize.ListSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientsize.ClientOption) (*clientsize.ListSizesOK, error)
ListSizes 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) Suggest ¶ added in v0.24.3
func (_m *ClientService) Suggest(params *clientsize.SuggestParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientsize.ClientOption) (*clientsize.SuggestOK, error)
Suggest provides a mock function with given fields: params, authInfo, opts
func (*ClientService) UpdateSize ¶
func (_m *ClientService) UpdateSize(params *clientsize.UpdateSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientsize.ClientOption) (*clientsize.UpdateSizeOK, error)
UpdateSize provides a mock function with given fields: params, authInfo, opts