Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) AllocateMachine(params *clientmachine.AllocateMachineParams, ...) (*clientmachine.AllocateMachineOK, error)
- func (_m *ClientService) ChassisIdentifyLEDOff(params *clientmachine.ChassisIdentifyLEDOffParams, ...) (*clientmachine.ChassisIdentifyLEDOffOK, error)
- func (_m *ClientService) ChassisIdentifyLEDOn(params *clientmachine.ChassisIdentifyLEDOnParams, ...) (*clientmachine.ChassisIdentifyLEDOnOK, error)
- func (_m *ClientService) DeleteMachine(params *clientmachine.DeleteMachineParams, ...) (*clientmachine.DeleteMachineOK, error)
- func (_m *ClientService) FindIPMIMachine(params *clientmachine.FindIPMIMachineParams, ...) (*clientmachine.FindIPMIMachineOK, error)
- func (_m *ClientService) FindIPMIMachines(params *clientmachine.FindIPMIMachinesParams, ...) (*clientmachine.FindIPMIMachinesOK, error)
- func (_m *ClientService) FindMachine(params *clientmachine.FindMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.FindMachineOK, error)
- func (_m *ClientService) FindMachines(params *clientmachine.FindMachinesParams, ...) (*clientmachine.FindMachinesOK, error)
- func (_m *ClientService) FreeMachine(params *clientmachine.FreeMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.FreeMachineOK, error)
- func (_m *ClientService) GetMachineConsolePassword(params *clientmachine.GetMachineConsolePasswordParams, ...) (*clientmachine.GetMachineConsolePasswordOK, error)
- func (_m *ClientService) IpmiReport(params *clientmachine.IpmiReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.IpmiReportOK, error)
- func (_m *ClientService) Issues(params *clientmachine.IssuesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.IssuesOK, error)
- func (_m *ClientService) ListIssues(params *clientmachine.ListIssuesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.ListIssuesOK, error)
- func (_m *ClientService) ListMachines(params *clientmachine.ListMachinesParams, ...) (*clientmachine.ListMachinesOK, error)
- func (_m *ClientService) MachineBios(params *clientmachine.MachineBiosParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.MachineBiosOK, error)
- func (_m *ClientService) MachineCycle(params *clientmachine.MachineCycleParams, ...) (*clientmachine.MachineCycleOK, error)
- func (_m *ClientService) MachineDisk(params *clientmachine.MachineDiskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.MachineDiskOK, error)
- func (_m *ClientService) MachineOff(params *clientmachine.MachineOffParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.MachineOffOK, error)
- func (_m *ClientService) MachineOn(params *clientmachine.MachineOnParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.MachineOnOK, error)
- func (_m *ClientService) MachinePxe(params *clientmachine.MachinePxeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientmachine.MachinePxeOK, error)
- func (_m *ClientService) MachineReset(params *clientmachine.MachineResetParams, ...) (*clientmachine.MachineResetOK, error)
- func (_m *ClientService) ReinstallMachine(params *clientmachine.ReinstallMachineParams, ...) (*clientmachine.ReinstallMachineOK, error)
- func (_m *ClientService) SetMachineState(params *clientmachine.SetMachineStateParams, ...) (*clientmachine.SetMachineStateOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) UpdateFirmware(params *clientmachine.UpdateFirmwareParams, ...) (*clientmachine.UpdateFirmwareOK, error)
- func (_m *ClientService) UpdateMachine(params *clientmachine.UpdateMachineParams, ...) (*clientmachine.UpdateMachineOK, 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) AllocateMachine ¶
func (_m *ClientService) AllocateMachine(params *clientmachine.AllocateMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.AllocateMachineOK, error)
AllocateMachine provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ChassisIdentifyLEDOff ¶
func (_m *ClientService) ChassisIdentifyLEDOff(params *clientmachine.ChassisIdentifyLEDOffParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.ChassisIdentifyLEDOffOK, error)
ChassisIdentifyLEDOff provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ChassisIdentifyLEDOn ¶
func (_m *ClientService) ChassisIdentifyLEDOn(params *clientmachine.ChassisIdentifyLEDOnParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.ChassisIdentifyLEDOnOK, error)
ChassisIdentifyLEDOn provides a mock function with given fields: params, authInfo, opts
func (*ClientService) DeleteMachine ¶
func (_m *ClientService) DeleteMachine(params *clientmachine.DeleteMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.DeleteMachineOK, error)
DeleteMachine provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindIPMIMachine ¶
func (_m *ClientService) FindIPMIMachine(params *clientmachine.FindIPMIMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.FindIPMIMachineOK, error)
FindIPMIMachine provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindIPMIMachines ¶
func (_m *ClientService) FindIPMIMachines(params *clientmachine.FindIPMIMachinesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.FindIPMIMachinesOK, error)
FindIPMIMachines provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindMachine ¶
func (_m *ClientService) FindMachine(params *clientmachine.FindMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.FindMachineOK, error)
FindMachine provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindMachines ¶
func (_m *ClientService) FindMachines(params *clientmachine.FindMachinesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.FindMachinesOK, error)
FindMachines provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FreeMachine ¶
func (_m *ClientService) FreeMachine(params *clientmachine.FreeMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.FreeMachineOK, error)
FreeMachine provides a mock function with given fields: params, authInfo, opts
func (*ClientService) GetMachineConsolePassword ¶
func (_m *ClientService) GetMachineConsolePassword(params *clientmachine.GetMachineConsolePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.GetMachineConsolePasswordOK, error)
GetMachineConsolePassword provides a mock function with given fields: params, authInfo, opts
func (*ClientService) IpmiReport ¶
func (_m *ClientService) IpmiReport(params *clientmachine.IpmiReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.IpmiReportOK, error)
IpmiReport provides a mock function with given fields: params, authInfo, opts
func (*ClientService) Issues ¶ added in v0.24.2
func (_m *ClientService) Issues(params *clientmachine.IssuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.IssuesOK, error)
Issues provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListIssues ¶ added in v0.24.2
func (_m *ClientService) ListIssues(params *clientmachine.ListIssuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.ListIssuesOK, error)
ListIssues provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListMachines ¶
func (_m *ClientService) ListMachines(params *clientmachine.ListMachinesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.ListMachinesOK, error)
ListMachines provides a mock function with given fields: params, authInfo, opts
func (*ClientService) MachineBios ¶
func (_m *ClientService) MachineBios(params *clientmachine.MachineBiosParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.MachineBiosOK, error)
MachineBios provides a mock function with given fields: params, authInfo, opts
func (*ClientService) MachineCycle ¶
func (_m *ClientService) MachineCycle(params *clientmachine.MachineCycleParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.MachineCycleOK, error)
MachineCycle provides a mock function with given fields: params, authInfo, opts
func (*ClientService) MachineDisk ¶
func (_m *ClientService) MachineDisk(params *clientmachine.MachineDiskParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.MachineDiskOK, error)
MachineDisk provides a mock function with given fields: params, authInfo, opts
func (*ClientService) MachineOff ¶
func (_m *ClientService) MachineOff(params *clientmachine.MachineOffParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.MachineOffOK, error)
MachineOff provides a mock function with given fields: params, authInfo, opts
func (*ClientService) MachineOn ¶
func (_m *ClientService) MachineOn(params *clientmachine.MachineOnParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.MachineOnOK, error)
MachineOn provides a mock function with given fields: params, authInfo, opts
func (*ClientService) MachinePxe ¶
func (_m *ClientService) MachinePxe(params *clientmachine.MachinePxeParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.MachinePxeOK, error)
MachinePxe provides a mock function with given fields: params, authInfo, opts
func (*ClientService) MachineReset ¶
func (_m *ClientService) MachineReset(params *clientmachine.MachineResetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.MachineResetOK, error)
MachineReset provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ReinstallMachine ¶
func (_m *ClientService) ReinstallMachine(params *clientmachine.ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.ReinstallMachineOK, error)
ReinstallMachine provides a mock function with given fields: params, authInfo, opts
func (*ClientService) SetMachineState ¶
func (_m *ClientService) SetMachineState(params *clientmachine.SetMachineStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.SetMachineStateOK, error)
SetMachineState 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) UpdateFirmware ¶
func (_m *ClientService) UpdateFirmware(params *clientmachine.UpdateFirmwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.UpdateFirmwareOK, error)
UpdateFirmware provides a mock function with given fields: params, authInfo, opts
func (*ClientService) UpdateMachine ¶ added in v0.18.1
func (_m *ClientService) UpdateMachine(params *clientmachine.UpdateMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientmachine.ClientOption) (*clientmachine.UpdateMachineOK, error)
UpdateMachine provides a mock function with given fields: params, authInfo, opts