Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) ListFirmwares(params *clientfirmware.ListFirmwaresParams, ...) (*clientfirmware.ListFirmwaresOK, error)
- func (_m *ClientService) RemoveFirmware(params *clientfirmware.RemoveFirmwareParams, ...) (*clientfirmware.RemoveFirmwareOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) UploadFirmware(params *clientfirmware.UploadFirmwareParams, ...) (*clientfirmware.UploadFirmwareOK, 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) ListFirmwares ¶
func (_m *ClientService) ListFirmwares(params *clientfirmware.ListFirmwaresParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientfirmware.ClientOption) (*clientfirmware.ListFirmwaresOK, error)
ListFirmwares provides a mock function with given fields: params, authInfo, opts
func (*ClientService) RemoveFirmware ¶
func (_m *ClientService) RemoveFirmware(params *clientfirmware.RemoveFirmwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientfirmware.ClientOption) (*clientfirmware.RemoveFirmwareOK, error)
RemoveFirmware 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) UploadFirmware ¶
func (_m *ClientService) UploadFirmware(params *clientfirmware.UploadFirmwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientfirmware.ClientOption) (*clientfirmware.UploadFirmwareOK, error)
UploadFirmware provides a mock function with given fields: params, authInfo, opts