Documentation ¶
Index ¶
- type AbortReinstallMachineDefault
- func (o *AbortReinstallMachineDefault) Code() int
- func (o *AbortReinstallMachineDefault) Error() string
- func (o *AbortReinstallMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *AbortReinstallMachineDefault) IsClientError() bool
- func (o *AbortReinstallMachineDefault) IsCode(code int) bool
- func (o *AbortReinstallMachineDefault) IsRedirect() bool
- func (o *AbortReinstallMachineDefault) IsServerError() bool
- func (o *AbortReinstallMachineDefault) IsSuccess() bool
- func (o *AbortReinstallMachineDefault) String() string
- type AbortReinstallMachineOK
- func (o *AbortReinstallMachineOK) Error() string
- func (o *AbortReinstallMachineOK) GetPayload() *models.V1BootInfo
- func (o *AbortReinstallMachineOK) IsClientError() bool
- func (o *AbortReinstallMachineOK) IsCode(code int) bool
- func (o *AbortReinstallMachineOK) IsRedirect() bool
- func (o *AbortReinstallMachineOK) IsServerError() bool
- func (o *AbortReinstallMachineOK) IsSuccess() bool
- func (o *AbortReinstallMachineOK) String() string
- type AbortReinstallMachineParams
- func NewAbortReinstallMachineParams() *AbortReinstallMachineParams
- func NewAbortReinstallMachineParamsWithContext(ctx context.Context) *AbortReinstallMachineParams
- func NewAbortReinstallMachineParamsWithHTTPClient(client *http.Client) *AbortReinstallMachineParams
- func NewAbortReinstallMachineParamsWithTimeout(timeout time.Duration) *AbortReinstallMachineParams
- func (o *AbortReinstallMachineParams) SetBody(body *models.V1MachineAbortReinstallRequest)
- func (o *AbortReinstallMachineParams) SetContext(ctx context.Context)
- func (o *AbortReinstallMachineParams) SetDefaults()
- func (o *AbortReinstallMachineParams) SetHTTPClient(client *http.Client)
- func (o *AbortReinstallMachineParams) SetID(id string)
- func (o *AbortReinstallMachineParams) SetTimeout(timeout time.Duration)
- func (o *AbortReinstallMachineParams) WithBody(body *models.V1MachineAbortReinstallRequest) *AbortReinstallMachineParams
- func (o *AbortReinstallMachineParams) WithContext(ctx context.Context) *AbortReinstallMachineParams
- func (o *AbortReinstallMachineParams) WithDefaults() *AbortReinstallMachineParams
- func (o *AbortReinstallMachineParams) WithHTTPClient(client *http.Client) *AbortReinstallMachineParams
- func (o *AbortReinstallMachineParams) WithID(id string) *AbortReinstallMachineParams
- func (o *AbortReinstallMachineParams) WithTimeout(timeout time.Duration) *AbortReinstallMachineParams
- func (o *AbortReinstallMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AbortReinstallMachineReader
- type AddProvisioningEventDefault
- func (o *AddProvisioningEventDefault) Code() int
- func (o *AddProvisioningEventDefault) Error() string
- func (o *AddProvisioningEventDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *AddProvisioningEventDefault) IsClientError() bool
- func (o *AddProvisioningEventDefault) IsCode(code int) bool
- func (o *AddProvisioningEventDefault) IsRedirect() bool
- func (o *AddProvisioningEventDefault) IsServerError() bool
- func (o *AddProvisioningEventDefault) IsSuccess() bool
- func (o *AddProvisioningEventDefault) String() string
- type AddProvisioningEventOK
- func (o *AddProvisioningEventOK) Error() string
- func (o *AddProvisioningEventOK) GetPayload() *models.V1MachineRecentProvisioningEvents
- func (o *AddProvisioningEventOK) IsClientError() bool
- func (o *AddProvisioningEventOK) IsCode(code int) bool
- func (o *AddProvisioningEventOK) IsRedirect() bool
- func (o *AddProvisioningEventOK) IsServerError() bool
- func (o *AddProvisioningEventOK) IsSuccess() bool
- func (o *AddProvisioningEventOK) String() string
- type AddProvisioningEventParams
- func NewAddProvisioningEventParams() *AddProvisioningEventParams
- func NewAddProvisioningEventParamsWithContext(ctx context.Context) *AddProvisioningEventParams
- func NewAddProvisioningEventParamsWithHTTPClient(client *http.Client) *AddProvisioningEventParams
- func NewAddProvisioningEventParamsWithTimeout(timeout time.Duration) *AddProvisioningEventParams
- func (o *AddProvisioningEventParams) SetBody(body *models.V1MachineProvisioningEvent)
- func (o *AddProvisioningEventParams) SetContext(ctx context.Context)
- func (o *AddProvisioningEventParams) SetDefaults()
- func (o *AddProvisioningEventParams) SetHTTPClient(client *http.Client)
- func (o *AddProvisioningEventParams) SetID(id string)
- func (o *AddProvisioningEventParams) SetTimeout(timeout time.Duration)
- func (o *AddProvisioningEventParams) WithBody(body *models.V1MachineProvisioningEvent) *AddProvisioningEventParams
- func (o *AddProvisioningEventParams) WithContext(ctx context.Context) *AddProvisioningEventParams
- func (o *AddProvisioningEventParams) WithDefaults() *AddProvisioningEventParams
- func (o *AddProvisioningEventParams) WithHTTPClient(client *http.Client) *AddProvisioningEventParams
- func (o *AddProvisioningEventParams) WithID(id string) *AddProvisioningEventParams
- func (o *AddProvisioningEventParams) WithTimeout(timeout time.Duration) *AddProvisioningEventParams
- func (o *AddProvisioningEventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProvisioningEventReader
- type AddProvisioningEventsDefault
- func (o *AddProvisioningEventsDefault) Code() int
- func (o *AddProvisioningEventsDefault) Error() string
- func (o *AddProvisioningEventsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *AddProvisioningEventsDefault) IsClientError() bool
- func (o *AddProvisioningEventsDefault) IsCode(code int) bool
- func (o *AddProvisioningEventsDefault) IsRedirect() bool
- func (o *AddProvisioningEventsDefault) IsServerError() bool
- func (o *AddProvisioningEventsDefault) IsSuccess() bool
- func (o *AddProvisioningEventsDefault) String() string
- type AddProvisioningEventsOK
- func (o *AddProvisioningEventsOK) Error() string
- func (o *AddProvisioningEventsOK) GetPayload() *models.V1MachineRecentProvisioningEventsResponse
- func (o *AddProvisioningEventsOK) IsClientError() bool
- func (o *AddProvisioningEventsOK) IsCode(code int) bool
- func (o *AddProvisioningEventsOK) IsRedirect() bool
- func (o *AddProvisioningEventsOK) IsServerError() bool
- func (o *AddProvisioningEventsOK) IsSuccess() bool
- func (o *AddProvisioningEventsOK) String() string
- type AddProvisioningEventsParams
- func NewAddProvisioningEventsParams() *AddProvisioningEventsParams
- func NewAddProvisioningEventsParamsWithContext(ctx context.Context) *AddProvisioningEventsParams
- func NewAddProvisioningEventsParamsWithHTTPClient(client *http.Client) *AddProvisioningEventsParams
- func NewAddProvisioningEventsParamsWithTimeout(timeout time.Duration) *AddProvisioningEventsParams
- func (o *AddProvisioningEventsParams) SetBody(body models.V1MachineProvisioningEvents)
- func (o *AddProvisioningEventsParams) SetContext(ctx context.Context)
- func (o *AddProvisioningEventsParams) SetDefaults()
- func (o *AddProvisioningEventsParams) SetHTTPClient(client *http.Client)
- func (o *AddProvisioningEventsParams) SetTimeout(timeout time.Duration)
- func (o *AddProvisioningEventsParams) WithBody(body models.V1MachineProvisioningEvents) *AddProvisioningEventsParams
- func (o *AddProvisioningEventsParams) WithContext(ctx context.Context) *AddProvisioningEventsParams
- func (o *AddProvisioningEventsParams) WithDefaults() *AddProvisioningEventsParams
- func (o *AddProvisioningEventsParams) WithHTTPClient(client *http.Client) *AddProvisioningEventsParams
- func (o *AddProvisioningEventsParams) WithTimeout(timeout time.Duration) *AddProvisioningEventsParams
- func (o *AddProvisioningEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProvisioningEventsReader
- type AllocateMachineDefault
- func (o *AllocateMachineDefault) Code() int
- func (o *AllocateMachineDefault) Error() string
- func (o *AllocateMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *AllocateMachineDefault) IsClientError() bool
- func (o *AllocateMachineDefault) IsCode(code int) bool
- func (o *AllocateMachineDefault) IsRedirect() bool
- func (o *AllocateMachineDefault) IsServerError() bool
- func (o *AllocateMachineDefault) IsSuccess() bool
- func (o *AllocateMachineDefault) String() string
- type AllocateMachineOK
- func (o *AllocateMachineOK) Error() string
- func (o *AllocateMachineOK) GetPayload() *models.V1MachineResponse
- func (o *AllocateMachineOK) IsClientError() bool
- func (o *AllocateMachineOK) IsCode(code int) bool
- func (o *AllocateMachineOK) IsRedirect() bool
- func (o *AllocateMachineOK) IsServerError() bool
- func (o *AllocateMachineOK) IsSuccess() bool
- func (o *AllocateMachineOK) String() string
- type AllocateMachineParams
- func NewAllocateMachineParams() *AllocateMachineParams
- func NewAllocateMachineParamsWithContext(ctx context.Context) *AllocateMachineParams
- func NewAllocateMachineParamsWithHTTPClient(client *http.Client) *AllocateMachineParams
- func NewAllocateMachineParamsWithTimeout(timeout time.Duration) *AllocateMachineParams
- func (o *AllocateMachineParams) SetBody(body *models.V1MachineAllocateRequest)
- func (o *AllocateMachineParams) SetContext(ctx context.Context)
- func (o *AllocateMachineParams) SetDefaults()
- func (o *AllocateMachineParams) SetHTTPClient(client *http.Client)
- func (o *AllocateMachineParams) SetTimeout(timeout time.Duration)
- func (o *AllocateMachineParams) WithBody(body *models.V1MachineAllocateRequest) *AllocateMachineParams
- func (o *AllocateMachineParams) WithContext(ctx context.Context) *AllocateMachineParams
- func (o *AllocateMachineParams) WithDefaults() *AllocateMachineParams
- func (o *AllocateMachineParams) WithHTTPClient(client *http.Client) *AllocateMachineParams
- func (o *AllocateMachineParams) WithTimeout(timeout time.Duration) *AllocateMachineParams
- func (o *AllocateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllocateMachineReader
- type ChassisIdentifyLEDOffDefault
- func (o *ChassisIdentifyLEDOffDefault) Code() int
- func (o *ChassisIdentifyLEDOffDefault) Error() string
- func (o *ChassisIdentifyLEDOffDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ChassisIdentifyLEDOffDefault) IsClientError() bool
- func (o *ChassisIdentifyLEDOffDefault) IsCode(code int) bool
- func (o *ChassisIdentifyLEDOffDefault) IsRedirect() bool
- func (o *ChassisIdentifyLEDOffDefault) IsServerError() bool
- func (o *ChassisIdentifyLEDOffDefault) IsSuccess() bool
- func (o *ChassisIdentifyLEDOffDefault) String() string
- type ChassisIdentifyLEDOffOK
- func (o *ChassisIdentifyLEDOffOK) Error() string
- func (o *ChassisIdentifyLEDOffOK) GetPayload() *models.V1MachineResponse
- func (o *ChassisIdentifyLEDOffOK) IsClientError() bool
- func (o *ChassisIdentifyLEDOffOK) IsCode(code int) bool
- func (o *ChassisIdentifyLEDOffOK) IsRedirect() bool
- func (o *ChassisIdentifyLEDOffOK) IsServerError() bool
- func (o *ChassisIdentifyLEDOffOK) IsSuccess() bool
- func (o *ChassisIdentifyLEDOffOK) String() string
- type ChassisIdentifyLEDOffParams
- func NewChassisIdentifyLEDOffParams() *ChassisIdentifyLEDOffParams
- func NewChassisIdentifyLEDOffParamsWithContext(ctx context.Context) *ChassisIdentifyLEDOffParams
- func NewChassisIdentifyLEDOffParamsWithHTTPClient(client *http.Client) *ChassisIdentifyLEDOffParams
- func NewChassisIdentifyLEDOffParamsWithTimeout(timeout time.Duration) *ChassisIdentifyLEDOffParams
- func (o *ChassisIdentifyLEDOffParams) SetBody(body models.V1EmptyBody)
- func (o *ChassisIdentifyLEDOffParams) SetContext(ctx context.Context)
- func (o *ChassisIdentifyLEDOffParams) SetDefaults()
- func (o *ChassisIdentifyLEDOffParams) SetDescription(description *string)
- func (o *ChassisIdentifyLEDOffParams) SetHTTPClient(client *http.Client)
- func (o *ChassisIdentifyLEDOffParams) SetID(id string)
- func (o *ChassisIdentifyLEDOffParams) SetTimeout(timeout time.Duration)
- func (o *ChassisIdentifyLEDOffParams) WithBody(body models.V1EmptyBody) *ChassisIdentifyLEDOffParams
- func (o *ChassisIdentifyLEDOffParams) WithContext(ctx context.Context) *ChassisIdentifyLEDOffParams
- func (o *ChassisIdentifyLEDOffParams) WithDefaults() *ChassisIdentifyLEDOffParams
- func (o *ChassisIdentifyLEDOffParams) WithDescription(description *string) *ChassisIdentifyLEDOffParams
- func (o *ChassisIdentifyLEDOffParams) WithHTTPClient(client *http.Client) *ChassisIdentifyLEDOffParams
- func (o *ChassisIdentifyLEDOffParams) WithID(id string) *ChassisIdentifyLEDOffParams
- func (o *ChassisIdentifyLEDOffParams) WithTimeout(timeout time.Duration) *ChassisIdentifyLEDOffParams
- func (o *ChassisIdentifyLEDOffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChassisIdentifyLEDOffReader
- type ChassisIdentifyLEDOnDefault
- func (o *ChassisIdentifyLEDOnDefault) Code() int
- func (o *ChassisIdentifyLEDOnDefault) Error() string
- func (o *ChassisIdentifyLEDOnDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ChassisIdentifyLEDOnDefault) IsClientError() bool
- func (o *ChassisIdentifyLEDOnDefault) IsCode(code int) bool
- func (o *ChassisIdentifyLEDOnDefault) IsRedirect() bool
- func (o *ChassisIdentifyLEDOnDefault) IsServerError() bool
- func (o *ChassisIdentifyLEDOnDefault) IsSuccess() bool
- func (o *ChassisIdentifyLEDOnDefault) String() string
- type ChassisIdentifyLEDOnOK
- func (o *ChassisIdentifyLEDOnOK) Error() string
- func (o *ChassisIdentifyLEDOnOK) GetPayload() *models.V1MachineResponse
- func (o *ChassisIdentifyLEDOnOK) IsClientError() bool
- func (o *ChassisIdentifyLEDOnOK) IsCode(code int) bool
- func (o *ChassisIdentifyLEDOnOK) IsRedirect() bool
- func (o *ChassisIdentifyLEDOnOK) IsServerError() bool
- func (o *ChassisIdentifyLEDOnOK) IsSuccess() bool
- func (o *ChassisIdentifyLEDOnOK) String() string
- type ChassisIdentifyLEDOnParams
- func NewChassisIdentifyLEDOnParams() *ChassisIdentifyLEDOnParams
- func NewChassisIdentifyLEDOnParamsWithContext(ctx context.Context) *ChassisIdentifyLEDOnParams
- func NewChassisIdentifyLEDOnParamsWithHTTPClient(client *http.Client) *ChassisIdentifyLEDOnParams
- func NewChassisIdentifyLEDOnParamsWithTimeout(timeout time.Duration) *ChassisIdentifyLEDOnParams
- func (o *ChassisIdentifyLEDOnParams) SetBody(body models.V1EmptyBody)
- func (o *ChassisIdentifyLEDOnParams) SetContext(ctx context.Context)
- func (o *ChassisIdentifyLEDOnParams) SetDefaults()
- func (o *ChassisIdentifyLEDOnParams) SetDescription(description *string)
- func (o *ChassisIdentifyLEDOnParams) SetHTTPClient(client *http.Client)
- func (o *ChassisIdentifyLEDOnParams) SetID(id string)
- func (o *ChassisIdentifyLEDOnParams) SetTimeout(timeout time.Duration)
- func (o *ChassisIdentifyLEDOnParams) WithBody(body models.V1EmptyBody) *ChassisIdentifyLEDOnParams
- func (o *ChassisIdentifyLEDOnParams) WithContext(ctx context.Context) *ChassisIdentifyLEDOnParams
- func (o *ChassisIdentifyLEDOnParams) WithDefaults() *ChassisIdentifyLEDOnParams
- func (o *ChassisIdentifyLEDOnParams) WithDescription(description *string) *ChassisIdentifyLEDOnParams
- func (o *ChassisIdentifyLEDOnParams) WithHTTPClient(client *http.Client) *ChassisIdentifyLEDOnParams
- func (o *ChassisIdentifyLEDOnParams) WithID(id string) *ChassisIdentifyLEDOnParams
- func (o *ChassisIdentifyLEDOnParams) WithTimeout(timeout time.Duration) *ChassisIdentifyLEDOnParams
- func (o *ChassisIdentifyLEDOnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChassisIdentifyLEDOnReader
- type Client
- func (a *Client) AbortReinstallMachine(params *AbortReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AbortReinstallMachineOK, error)
- func (a *Client) AddProvisioningEvent(params *AddProvisioningEventParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddProvisioningEventOK, error)
- func (a *Client) AddProvisioningEvents(params *AddProvisioningEventsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddProvisioningEventsOK, error)
- func (a *Client) AllocateMachine(params *AllocateMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AllocateMachineOK, error)
- func (a *Client) ChassisIdentifyLEDOff(params *ChassisIdentifyLEDOffParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ChassisIdentifyLEDOffOK, error)
- func (a *Client) ChassisIdentifyLEDOn(params *ChassisIdentifyLEDOnParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ChassisIdentifyLEDOnOK, error)
- func (a *Client) DeleteMachine(params *DeleteMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMachineOK, error)
- func (a *Client) FinalizeAllocation(params *FinalizeAllocationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FinalizeAllocationOK, error)
- func (a *Client) FindIPMIMachine(params *FindIPMIMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindIPMIMachineOK, error)
- func (a *Client) FindIPMIMachines(params *FindIPMIMachinesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindIPMIMachinesOK, error)
- func (a *Client) FindMachine(params *FindMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindMachineOK, error)
- func (a *Client) FindMachines(params *FindMachinesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindMachinesOK, error)
- func (a *Client) FreeMachine(params *FreeMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FreeMachineOK, error)
- func (a *Client) GetMachineConsolePassword(params *GetMachineConsolePasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMachineConsolePasswordOK, error)
- func (a *Client) GetProvisioningEventContainer(params *GetProvisioningEventContainerParams, ...) (*GetProvisioningEventContainerOK, error)
- func (a *Client) IpmiReport(params *IpmiReportParams, authInfo runtime.ClientAuthInfoWriter, ...) (*IpmiReportOK, error)
- func (a *Client) ListMachines(params *ListMachinesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListMachinesOK, error)
- func (a *Client) MachineBios(params *MachineBiosParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MachineBiosOK, error)
- func (a *Client) MachineCycle(params *MachineCycleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MachineCycleOK, error)
- func (a *Client) MachineDisk(params *MachineDiskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MachineDiskOK, error)
- func (a *Client) MachineOff(params *MachineOffParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MachineOffOK, error)
- func (a *Client) MachineOn(params *MachineOnParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MachineOnOK, error)
- func (a *Client) MachinePxe(params *MachinePxeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MachinePxeOK, error)
- func (a *Client) MachineReset(params *MachineResetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MachineResetOK, error)
- func (a *Client) RegisterMachine(params *RegisterMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RegisterMachineOK, *RegisterMachineCreated, error)
- func (a *Client) ReinstallMachine(params *ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReinstallMachineOK, error)
- func (a *Client) SetChassisIdentifyLEDState(params *SetChassisIdentifyLEDStateParams, ...) (*SetChassisIdentifyLEDStateOK, error)
- func (a *Client) SetMachineState(params *SetMachineStateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetMachineStateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFirmware(params *UpdateFirmwareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateFirmwareOK, error)
- func (a *Client) UpdateMachine(params *UpdateMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateMachineOK, error)
- type ClientOption
- type ClientService
- type DeleteMachineDefault
- func (o *DeleteMachineDefault) Code() int
- func (o *DeleteMachineDefault) Error() string
- func (o *DeleteMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteMachineDefault) IsClientError() bool
- func (o *DeleteMachineDefault) IsCode(code int) bool
- func (o *DeleteMachineDefault) IsRedirect() bool
- func (o *DeleteMachineDefault) IsServerError() bool
- func (o *DeleteMachineDefault) IsSuccess() bool
- func (o *DeleteMachineDefault) String() string
- type DeleteMachineOK
- func (o *DeleteMachineOK) Error() string
- func (o *DeleteMachineOK) GetPayload() *models.V1MachineResponse
- func (o *DeleteMachineOK) IsClientError() bool
- func (o *DeleteMachineOK) IsCode(code int) bool
- func (o *DeleteMachineOK) IsRedirect() bool
- func (o *DeleteMachineOK) IsServerError() bool
- func (o *DeleteMachineOK) IsSuccess() bool
- func (o *DeleteMachineOK) String() string
- type DeleteMachineParams
- func (o *DeleteMachineParams) SetContext(ctx context.Context)
- func (o *DeleteMachineParams) SetDefaults()
- func (o *DeleteMachineParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMachineParams) SetID(id string)
- func (o *DeleteMachineParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMachineParams) WithContext(ctx context.Context) *DeleteMachineParams
- func (o *DeleteMachineParams) WithDefaults() *DeleteMachineParams
- func (o *DeleteMachineParams) WithHTTPClient(client *http.Client) *DeleteMachineParams
- func (o *DeleteMachineParams) WithID(id string) *DeleteMachineParams
- func (o *DeleteMachineParams) WithTimeout(timeout time.Duration) *DeleteMachineParams
- func (o *DeleteMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMachineReader
- type FinalizeAllocationDefault
- func (o *FinalizeAllocationDefault) Code() int
- func (o *FinalizeAllocationDefault) Error() string
- func (o *FinalizeAllocationDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FinalizeAllocationDefault) IsClientError() bool
- func (o *FinalizeAllocationDefault) IsCode(code int) bool
- func (o *FinalizeAllocationDefault) IsRedirect() bool
- func (o *FinalizeAllocationDefault) IsServerError() bool
- func (o *FinalizeAllocationDefault) IsSuccess() bool
- func (o *FinalizeAllocationDefault) String() string
- type FinalizeAllocationOK
- func (o *FinalizeAllocationOK) Error() string
- func (o *FinalizeAllocationOK) GetPayload() *models.V1MachineResponse
- func (o *FinalizeAllocationOK) IsClientError() bool
- func (o *FinalizeAllocationOK) IsCode(code int) bool
- func (o *FinalizeAllocationOK) IsRedirect() bool
- func (o *FinalizeAllocationOK) IsServerError() bool
- func (o *FinalizeAllocationOK) IsSuccess() bool
- func (o *FinalizeAllocationOK) String() string
- type FinalizeAllocationParams
- func NewFinalizeAllocationParams() *FinalizeAllocationParams
- func NewFinalizeAllocationParamsWithContext(ctx context.Context) *FinalizeAllocationParams
- func NewFinalizeAllocationParamsWithHTTPClient(client *http.Client) *FinalizeAllocationParams
- func NewFinalizeAllocationParamsWithTimeout(timeout time.Duration) *FinalizeAllocationParams
- func (o *FinalizeAllocationParams) SetBody(body *models.V1MachineFinalizeAllocationRequest)
- func (o *FinalizeAllocationParams) SetContext(ctx context.Context)
- func (o *FinalizeAllocationParams) SetDefaults()
- func (o *FinalizeAllocationParams) SetHTTPClient(client *http.Client)
- func (o *FinalizeAllocationParams) SetID(id string)
- func (o *FinalizeAllocationParams) SetTimeout(timeout time.Duration)
- func (o *FinalizeAllocationParams) WithBody(body *models.V1MachineFinalizeAllocationRequest) *FinalizeAllocationParams
- func (o *FinalizeAllocationParams) WithContext(ctx context.Context) *FinalizeAllocationParams
- func (o *FinalizeAllocationParams) WithDefaults() *FinalizeAllocationParams
- func (o *FinalizeAllocationParams) WithHTTPClient(client *http.Client) *FinalizeAllocationParams
- func (o *FinalizeAllocationParams) WithID(id string) *FinalizeAllocationParams
- func (o *FinalizeAllocationParams) WithTimeout(timeout time.Duration) *FinalizeAllocationParams
- func (o *FinalizeAllocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FinalizeAllocationReader
- type FindIPMIMachineDefault
- func (o *FindIPMIMachineDefault) Code() int
- func (o *FindIPMIMachineDefault) Error() string
- func (o *FindIPMIMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindIPMIMachineDefault) IsClientError() bool
- func (o *FindIPMIMachineDefault) IsCode(code int) bool
- func (o *FindIPMIMachineDefault) IsRedirect() bool
- func (o *FindIPMIMachineDefault) IsServerError() bool
- func (o *FindIPMIMachineDefault) IsSuccess() bool
- func (o *FindIPMIMachineDefault) String() string
- type FindIPMIMachineOK
- func (o *FindIPMIMachineOK) Error() string
- func (o *FindIPMIMachineOK) GetPayload() *models.V1MachineIPMIResponse
- func (o *FindIPMIMachineOK) IsClientError() bool
- func (o *FindIPMIMachineOK) IsCode(code int) bool
- func (o *FindIPMIMachineOK) IsRedirect() bool
- func (o *FindIPMIMachineOK) IsServerError() bool
- func (o *FindIPMIMachineOK) IsSuccess() bool
- func (o *FindIPMIMachineOK) String() string
- type FindIPMIMachineParams
- func NewFindIPMIMachineParams() *FindIPMIMachineParams
- func NewFindIPMIMachineParamsWithContext(ctx context.Context) *FindIPMIMachineParams
- func NewFindIPMIMachineParamsWithHTTPClient(client *http.Client) *FindIPMIMachineParams
- func NewFindIPMIMachineParamsWithTimeout(timeout time.Duration) *FindIPMIMachineParams
- func (o *FindIPMIMachineParams) SetContext(ctx context.Context)
- func (o *FindIPMIMachineParams) SetDefaults()
- func (o *FindIPMIMachineParams) SetHTTPClient(client *http.Client)
- func (o *FindIPMIMachineParams) SetID(id string)
- func (o *FindIPMIMachineParams) SetTimeout(timeout time.Duration)
- func (o *FindIPMIMachineParams) WithContext(ctx context.Context) *FindIPMIMachineParams
- func (o *FindIPMIMachineParams) WithDefaults() *FindIPMIMachineParams
- func (o *FindIPMIMachineParams) WithHTTPClient(client *http.Client) *FindIPMIMachineParams
- func (o *FindIPMIMachineParams) WithID(id string) *FindIPMIMachineParams
- func (o *FindIPMIMachineParams) WithTimeout(timeout time.Duration) *FindIPMIMachineParams
- func (o *FindIPMIMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindIPMIMachineReader
- type FindIPMIMachinesDefault
- func (o *FindIPMIMachinesDefault) Code() int
- func (o *FindIPMIMachinesDefault) Error() string
- func (o *FindIPMIMachinesDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindIPMIMachinesDefault) IsClientError() bool
- func (o *FindIPMIMachinesDefault) IsCode(code int) bool
- func (o *FindIPMIMachinesDefault) IsRedirect() bool
- func (o *FindIPMIMachinesDefault) IsServerError() bool
- func (o *FindIPMIMachinesDefault) IsSuccess() bool
- func (o *FindIPMIMachinesDefault) String() string
- type FindIPMIMachinesOK
- func (o *FindIPMIMachinesOK) Error() string
- func (o *FindIPMIMachinesOK) GetPayload() []*models.V1MachineIPMIResponse
- func (o *FindIPMIMachinesOK) IsClientError() bool
- func (o *FindIPMIMachinesOK) IsCode(code int) bool
- func (o *FindIPMIMachinesOK) IsRedirect() bool
- func (o *FindIPMIMachinesOK) IsServerError() bool
- func (o *FindIPMIMachinesOK) IsSuccess() bool
- func (o *FindIPMIMachinesOK) String() string
- type FindIPMIMachinesParams
- func NewFindIPMIMachinesParams() *FindIPMIMachinesParams
- func NewFindIPMIMachinesParamsWithContext(ctx context.Context) *FindIPMIMachinesParams
- func NewFindIPMIMachinesParamsWithHTTPClient(client *http.Client) *FindIPMIMachinesParams
- func NewFindIPMIMachinesParamsWithTimeout(timeout time.Duration) *FindIPMIMachinesParams
- func (o *FindIPMIMachinesParams) SetBody(body *models.V1MachineFindRequest)
- func (o *FindIPMIMachinesParams) SetContext(ctx context.Context)
- func (o *FindIPMIMachinesParams) SetDefaults()
- func (o *FindIPMIMachinesParams) SetHTTPClient(client *http.Client)
- func (o *FindIPMIMachinesParams) SetTimeout(timeout time.Duration)
- func (o *FindIPMIMachinesParams) WithBody(body *models.V1MachineFindRequest) *FindIPMIMachinesParams
- func (o *FindIPMIMachinesParams) WithContext(ctx context.Context) *FindIPMIMachinesParams
- func (o *FindIPMIMachinesParams) WithDefaults() *FindIPMIMachinesParams
- func (o *FindIPMIMachinesParams) WithHTTPClient(client *http.Client) *FindIPMIMachinesParams
- func (o *FindIPMIMachinesParams) WithTimeout(timeout time.Duration) *FindIPMIMachinesParams
- func (o *FindIPMIMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindIPMIMachinesReader
- type FindMachineDefault
- func (o *FindMachineDefault) Code() int
- func (o *FindMachineDefault) Error() string
- func (o *FindMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindMachineDefault) IsClientError() bool
- func (o *FindMachineDefault) IsCode(code int) bool
- func (o *FindMachineDefault) IsRedirect() bool
- func (o *FindMachineDefault) IsServerError() bool
- func (o *FindMachineDefault) IsSuccess() bool
- func (o *FindMachineDefault) String() string
- type FindMachineOK
- func (o *FindMachineOK) Error() string
- func (o *FindMachineOK) GetPayload() *models.V1MachineResponse
- func (o *FindMachineOK) IsClientError() bool
- func (o *FindMachineOK) IsCode(code int) bool
- func (o *FindMachineOK) IsRedirect() bool
- func (o *FindMachineOK) IsServerError() bool
- func (o *FindMachineOK) IsSuccess() bool
- func (o *FindMachineOK) String() string
- type FindMachineParams
- func (o *FindMachineParams) SetContext(ctx context.Context)
- func (o *FindMachineParams) SetDefaults()
- func (o *FindMachineParams) SetHTTPClient(client *http.Client)
- func (o *FindMachineParams) SetID(id string)
- func (o *FindMachineParams) SetTimeout(timeout time.Duration)
- func (o *FindMachineParams) WithContext(ctx context.Context) *FindMachineParams
- func (o *FindMachineParams) WithDefaults() *FindMachineParams
- func (o *FindMachineParams) WithHTTPClient(client *http.Client) *FindMachineParams
- func (o *FindMachineParams) WithID(id string) *FindMachineParams
- func (o *FindMachineParams) WithTimeout(timeout time.Duration) *FindMachineParams
- func (o *FindMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindMachineReader
- type FindMachinesDefault
- func (o *FindMachinesDefault) Code() int
- func (o *FindMachinesDefault) Error() string
- func (o *FindMachinesDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindMachinesDefault) IsClientError() bool
- func (o *FindMachinesDefault) IsCode(code int) bool
- func (o *FindMachinesDefault) IsRedirect() bool
- func (o *FindMachinesDefault) IsServerError() bool
- func (o *FindMachinesDefault) IsSuccess() bool
- func (o *FindMachinesDefault) String() string
- type FindMachinesOK
- func (o *FindMachinesOK) Error() string
- func (o *FindMachinesOK) GetPayload() []*models.V1MachineResponse
- func (o *FindMachinesOK) IsClientError() bool
- func (o *FindMachinesOK) IsCode(code int) bool
- func (o *FindMachinesOK) IsRedirect() bool
- func (o *FindMachinesOK) IsServerError() bool
- func (o *FindMachinesOK) IsSuccess() bool
- func (o *FindMachinesOK) String() string
- type FindMachinesParams
- func (o *FindMachinesParams) SetBody(body *models.V1MachineFindRequest)
- func (o *FindMachinesParams) SetContext(ctx context.Context)
- func (o *FindMachinesParams) SetDefaults()
- func (o *FindMachinesParams) SetHTTPClient(client *http.Client)
- func (o *FindMachinesParams) SetTimeout(timeout time.Duration)
- func (o *FindMachinesParams) WithBody(body *models.V1MachineFindRequest) *FindMachinesParams
- func (o *FindMachinesParams) WithContext(ctx context.Context) *FindMachinesParams
- func (o *FindMachinesParams) WithDefaults() *FindMachinesParams
- func (o *FindMachinesParams) WithHTTPClient(client *http.Client) *FindMachinesParams
- func (o *FindMachinesParams) WithTimeout(timeout time.Duration) *FindMachinesParams
- func (o *FindMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindMachinesReader
- type FreeMachineDefault
- func (o *FreeMachineDefault) Code() int
- func (o *FreeMachineDefault) Error() string
- func (o *FreeMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FreeMachineDefault) IsClientError() bool
- func (o *FreeMachineDefault) IsCode(code int) bool
- func (o *FreeMachineDefault) IsRedirect() bool
- func (o *FreeMachineDefault) IsServerError() bool
- func (o *FreeMachineDefault) IsSuccess() bool
- func (o *FreeMachineDefault) String() string
- type FreeMachineOK
- func (o *FreeMachineOK) Error() string
- func (o *FreeMachineOK) GetPayload() *models.V1MachineResponse
- func (o *FreeMachineOK) IsClientError() bool
- func (o *FreeMachineOK) IsCode(code int) bool
- func (o *FreeMachineOK) IsRedirect() bool
- func (o *FreeMachineOK) IsServerError() bool
- func (o *FreeMachineOK) IsSuccess() bool
- func (o *FreeMachineOK) String() string
- type FreeMachineParams
- func (o *FreeMachineParams) SetContext(ctx context.Context)
- func (o *FreeMachineParams) SetDefaults()
- func (o *FreeMachineParams) SetHTTPClient(client *http.Client)
- func (o *FreeMachineParams) SetID(id string)
- func (o *FreeMachineParams) SetTimeout(timeout time.Duration)
- func (o *FreeMachineParams) WithContext(ctx context.Context) *FreeMachineParams
- func (o *FreeMachineParams) WithDefaults() *FreeMachineParams
- func (o *FreeMachineParams) WithHTTPClient(client *http.Client) *FreeMachineParams
- func (o *FreeMachineParams) WithID(id string) *FreeMachineParams
- func (o *FreeMachineParams) WithTimeout(timeout time.Duration) *FreeMachineParams
- func (o *FreeMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FreeMachineReader
- type GetMachineConsolePasswordDefault
- func (o *GetMachineConsolePasswordDefault) Code() int
- func (o *GetMachineConsolePasswordDefault) Error() string
- func (o *GetMachineConsolePasswordDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetMachineConsolePasswordDefault) IsClientError() bool
- func (o *GetMachineConsolePasswordDefault) IsCode(code int) bool
- func (o *GetMachineConsolePasswordDefault) IsRedirect() bool
- func (o *GetMachineConsolePasswordDefault) IsServerError() bool
- func (o *GetMachineConsolePasswordDefault) IsSuccess() bool
- func (o *GetMachineConsolePasswordDefault) String() string
- type GetMachineConsolePasswordOK
- func (o *GetMachineConsolePasswordOK) Error() string
- func (o *GetMachineConsolePasswordOK) GetPayload() *models.V1MachineConsolePasswordResponse
- func (o *GetMachineConsolePasswordOK) IsClientError() bool
- func (o *GetMachineConsolePasswordOK) IsCode(code int) bool
- func (o *GetMachineConsolePasswordOK) IsRedirect() bool
- func (o *GetMachineConsolePasswordOK) IsServerError() bool
- func (o *GetMachineConsolePasswordOK) IsSuccess() bool
- func (o *GetMachineConsolePasswordOK) String() string
- type GetMachineConsolePasswordParams
- func NewGetMachineConsolePasswordParams() *GetMachineConsolePasswordParams
- func NewGetMachineConsolePasswordParamsWithContext(ctx context.Context) *GetMachineConsolePasswordParams
- func NewGetMachineConsolePasswordParamsWithHTTPClient(client *http.Client) *GetMachineConsolePasswordParams
- func NewGetMachineConsolePasswordParamsWithTimeout(timeout time.Duration) *GetMachineConsolePasswordParams
- func (o *GetMachineConsolePasswordParams) SetBody(body *models.V1MachineConsolePasswordRequest)
- func (o *GetMachineConsolePasswordParams) SetContext(ctx context.Context)
- func (o *GetMachineConsolePasswordParams) SetDefaults()
- func (o *GetMachineConsolePasswordParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineConsolePasswordParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineConsolePasswordParams) WithBody(body *models.V1MachineConsolePasswordRequest) *GetMachineConsolePasswordParams
- func (o *GetMachineConsolePasswordParams) WithContext(ctx context.Context) *GetMachineConsolePasswordParams
- func (o *GetMachineConsolePasswordParams) WithDefaults() *GetMachineConsolePasswordParams
- func (o *GetMachineConsolePasswordParams) WithHTTPClient(client *http.Client) *GetMachineConsolePasswordParams
- func (o *GetMachineConsolePasswordParams) WithTimeout(timeout time.Duration) *GetMachineConsolePasswordParams
- func (o *GetMachineConsolePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineConsolePasswordReader
- type GetProvisioningEventContainerDefault
- func (o *GetProvisioningEventContainerDefault) Code() int
- func (o *GetProvisioningEventContainerDefault) Error() string
- func (o *GetProvisioningEventContainerDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetProvisioningEventContainerDefault) IsClientError() bool
- func (o *GetProvisioningEventContainerDefault) IsCode(code int) bool
- func (o *GetProvisioningEventContainerDefault) IsRedirect() bool
- func (o *GetProvisioningEventContainerDefault) IsServerError() bool
- func (o *GetProvisioningEventContainerDefault) IsSuccess() bool
- func (o *GetProvisioningEventContainerDefault) String() string
- type GetProvisioningEventContainerOK
- func (o *GetProvisioningEventContainerOK) Error() string
- func (o *GetProvisioningEventContainerOK) GetPayload() *models.V1MachineRecentProvisioningEvents
- func (o *GetProvisioningEventContainerOK) IsClientError() bool
- func (o *GetProvisioningEventContainerOK) IsCode(code int) bool
- func (o *GetProvisioningEventContainerOK) IsRedirect() bool
- func (o *GetProvisioningEventContainerOK) IsServerError() bool
- func (o *GetProvisioningEventContainerOK) IsSuccess() bool
- func (o *GetProvisioningEventContainerOK) String() string
- type GetProvisioningEventContainerParams
- func NewGetProvisioningEventContainerParams() *GetProvisioningEventContainerParams
- func NewGetProvisioningEventContainerParamsWithContext(ctx context.Context) *GetProvisioningEventContainerParams
- func NewGetProvisioningEventContainerParamsWithHTTPClient(client *http.Client) *GetProvisioningEventContainerParams
- func NewGetProvisioningEventContainerParamsWithTimeout(timeout time.Duration) *GetProvisioningEventContainerParams
- func (o *GetProvisioningEventContainerParams) SetContext(ctx context.Context)
- func (o *GetProvisioningEventContainerParams) SetDefaults()
- func (o *GetProvisioningEventContainerParams) SetHTTPClient(client *http.Client)
- func (o *GetProvisioningEventContainerParams) SetID(id string)
- func (o *GetProvisioningEventContainerParams) SetTimeout(timeout time.Duration)
- func (o *GetProvisioningEventContainerParams) WithContext(ctx context.Context) *GetProvisioningEventContainerParams
- func (o *GetProvisioningEventContainerParams) WithDefaults() *GetProvisioningEventContainerParams
- func (o *GetProvisioningEventContainerParams) WithHTTPClient(client *http.Client) *GetProvisioningEventContainerParams
- func (o *GetProvisioningEventContainerParams) WithID(id string) *GetProvisioningEventContainerParams
- func (o *GetProvisioningEventContainerParams) WithTimeout(timeout time.Duration) *GetProvisioningEventContainerParams
- func (o *GetProvisioningEventContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProvisioningEventContainerReader
- type IpmiReportDefault
- func (o *IpmiReportDefault) Code() int
- func (o *IpmiReportDefault) Error() string
- func (o *IpmiReportDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *IpmiReportDefault) IsClientError() bool
- func (o *IpmiReportDefault) IsCode(code int) bool
- func (o *IpmiReportDefault) IsRedirect() bool
- func (o *IpmiReportDefault) IsServerError() bool
- func (o *IpmiReportDefault) IsSuccess() bool
- func (o *IpmiReportDefault) String() string
- type IpmiReportOK
- func (o *IpmiReportOK) Error() string
- func (o *IpmiReportOK) GetPayload() *models.V1MachineIpmiReportResponse
- func (o *IpmiReportOK) IsClientError() bool
- func (o *IpmiReportOK) IsCode(code int) bool
- func (o *IpmiReportOK) IsRedirect() bool
- func (o *IpmiReportOK) IsServerError() bool
- func (o *IpmiReportOK) IsSuccess() bool
- func (o *IpmiReportOK) String() string
- type IpmiReportParams
- func (o *IpmiReportParams) SetBody(body *models.V1MachineIpmiReports)
- func (o *IpmiReportParams) SetContext(ctx context.Context)
- func (o *IpmiReportParams) SetDefaults()
- func (o *IpmiReportParams) SetHTTPClient(client *http.Client)
- func (o *IpmiReportParams) SetTimeout(timeout time.Duration)
- func (o *IpmiReportParams) WithBody(body *models.V1MachineIpmiReports) *IpmiReportParams
- func (o *IpmiReportParams) WithContext(ctx context.Context) *IpmiReportParams
- func (o *IpmiReportParams) WithDefaults() *IpmiReportParams
- func (o *IpmiReportParams) WithHTTPClient(client *http.Client) *IpmiReportParams
- func (o *IpmiReportParams) WithTimeout(timeout time.Duration) *IpmiReportParams
- func (o *IpmiReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IpmiReportReader
- type ListMachinesDefault
- func (o *ListMachinesDefault) Code() int
- func (o *ListMachinesDefault) Error() string
- func (o *ListMachinesDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListMachinesDefault) IsClientError() bool
- func (o *ListMachinesDefault) IsCode(code int) bool
- func (o *ListMachinesDefault) IsRedirect() bool
- func (o *ListMachinesDefault) IsServerError() bool
- func (o *ListMachinesDefault) IsSuccess() bool
- func (o *ListMachinesDefault) String() string
- type ListMachinesOK
- func (o *ListMachinesOK) Error() string
- func (o *ListMachinesOK) GetPayload() []*models.V1MachineResponse
- func (o *ListMachinesOK) IsClientError() bool
- func (o *ListMachinesOK) IsCode(code int) bool
- func (o *ListMachinesOK) IsRedirect() bool
- func (o *ListMachinesOK) IsServerError() bool
- func (o *ListMachinesOK) IsSuccess() bool
- func (o *ListMachinesOK) String() string
- type ListMachinesParams
- func (o *ListMachinesParams) SetContext(ctx context.Context)
- func (o *ListMachinesParams) SetDefaults()
- func (o *ListMachinesParams) SetHTTPClient(client *http.Client)
- func (o *ListMachinesParams) SetTimeout(timeout time.Duration)
- func (o *ListMachinesParams) WithContext(ctx context.Context) *ListMachinesParams
- func (o *ListMachinesParams) WithDefaults() *ListMachinesParams
- func (o *ListMachinesParams) WithHTTPClient(client *http.Client) *ListMachinesParams
- func (o *ListMachinesParams) WithTimeout(timeout time.Duration) *ListMachinesParams
- func (o *ListMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMachinesReader
- type MachineBiosDefault
- func (o *MachineBiosDefault) Code() int
- func (o *MachineBiosDefault) Error() string
- func (o *MachineBiosDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *MachineBiosDefault) IsClientError() bool
- func (o *MachineBiosDefault) IsCode(code int) bool
- func (o *MachineBiosDefault) IsRedirect() bool
- func (o *MachineBiosDefault) IsServerError() bool
- func (o *MachineBiosDefault) IsSuccess() bool
- func (o *MachineBiosDefault) String() string
- type MachineBiosOK
- func (o *MachineBiosOK) Error() string
- func (o *MachineBiosOK) GetPayload() *models.V1MachineResponse
- func (o *MachineBiosOK) IsClientError() bool
- func (o *MachineBiosOK) IsCode(code int) bool
- func (o *MachineBiosOK) IsRedirect() bool
- func (o *MachineBiosOK) IsServerError() bool
- func (o *MachineBiosOK) IsSuccess() bool
- func (o *MachineBiosOK) String() string
- type MachineBiosParams
- func (o *MachineBiosParams) SetBody(body models.V1EmptyBody)
- func (o *MachineBiosParams) SetContext(ctx context.Context)
- func (o *MachineBiosParams) SetDefaults()
- func (o *MachineBiosParams) SetHTTPClient(client *http.Client)
- func (o *MachineBiosParams) SetID(id string)
- func (o *MachineBiosParams) SetTimeout(timeout time.Duration)
- func (o *MachineBiosParams) WithBody(body models.V1EmptyBody) *MachineBiosParams
- func (o *MachineBiosParams) WithContext(ctx context.Context) *MachineBiosParams
- func (o *MachineBiosParams) WithDefaults() *MachineBiosParams
- func (o *MachineBiosParams) WithHTTPClient(client *http.Client) *MachineBiosParams
- func (o *MachineBiosParams) WithID(id string) *MachineBiosParams
- func (o *MachineBiosParams) WithTimeout(timeout time.Duration) *MachineBiosParams
- func (o *MachineBiosParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MachineBiosReader
- type MachineCycleDefault
- func (o *MachineCycleDefault) Code() int
- func (o *MachineCycleDefault) Error() string
- func (o *MachineCycleDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *MachineCycleDefault) IsClientError() bool
- func (o *MachineCycleDefault) IsCode(code int) bool
- func (o *MachineCycleDefault) IsRedirect() bool
- func (o *MachineCycleDefault) IsServerError() bool
- func (o *MachineCycleDefault) IsSuccess() bool
- func (o *MachineCycleDefault) String() string
- type MachineCycleOK
- func (o *MachineCycleOK) Error() string
- func (o *MachineCycleOK) GetPayload() *models.V1MachineResponse
- func (o *MachineCycleOK) IsClientError() bool
- func (o *MachineCycleOK) IsCode(code int) bool
- func (o *MachineCycleOK) IsRedirect() bool
- func (o *MachineCycleOK) IsServerError() bool
- func (o *MachineCycleOK) IsSuccess() bool
- func (o *MachineCycleOK) String() string
- type MachineCycleParams
- func (o *MachineCycleParams) SetBody(body models.V1EmptyBody)
- func (o *MachineCycleParams) SetContext(ctx context.Context)
- func (o *MachineCycleParams) SetDefaults()
- func (o *MachineCycleParams) SetHTTPClient(client *http.Client)
- func (o *MachineCycleParams) SetID(id string)
- func (o *MachineCycleParams) SetTimeout(timeout time.Duration)
- func (o *MachineCycleParams) WithBody(body models.V1EmptyBody) *MachineCycleParams
- func (o *MachineCycleParams) WithContext(ctx context.Context) *MachineCycleParams
- func (o *MachineCycleParams) WithDefaults() *MachineCycleParams
- func (o *MachineCycleParams) WithHTTPClient(client *http.Client) *MachineCycleParams
- func (o *MachineCycleParams) WithID(id string) *MachineCycleParams
- func (o *MachineCycleParams) WithTimeout(timeout time.Duration) *MachineCycleParams
- func (o *MachineCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MachineCycleReader
- type MachineDiskDefault
- func (o *MachineDiskDefault) Code() int
- func (o *MachineDiskDefault) Error() string
- func (o *MachineDiskDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *MachineDiskDefault) IsClientError() bool
- func (o *MachineDiskDefault) IsCode(code int) bool
- func (o *MachineDiskDefault) IsRedirect() bool
- func (o *MachineDiskDefault) IsServerError() bool
- func (o *MachineDiskDefault) IsSuccess() bool
- func (o *MachineDiskDefault) String() string
- type MachineDiskOK
- func (o *MachineDiskOK) Error() string
- func (o *MachineDiskOK) GetPayload() *models.V1MachineResponse
- func (o *MachineDiskOK) IsClientError() bool
- func (o *MachineDiskOK) IsCode(code int) bool
- func (o *MachineDiskOK) IsRedirect() bool
- func (o *MachineDiskOK) IsServerError() bool
- func (o *MachineDiskOK) IsSuccess() bool
- func (o *MachineDiskOK) String() string
- type MachineDiskParams
- func (o *MachineDiskParams) SetBody(body models.V1EmptyBody)
- func (o *MachineDiskParams) SetContext(ctx context.Context)
- func (o *MachineDiskParams) SetDefaults()
- func (o *MachineDiskParams) SetHTTPClient(client *http.Client)
- func (o *MachineDiskParams) SetID(id string)
- func (o *MachineDiskParams) SetTimeout(timeout time.Duration)
- func (o *MachineDiskParams) WithBody(body models.V1EmptyBody) *MachineDiskParams
- func (o *MachineDiskParams) WithContext(ctx context.Context) *MachineDiskParams
- func (o *MachineDiskParams) WithDefaults() *MachineDiskParams
- func (o *MachineDiskParams) WithHTTPClient(client *http.Client) *MachineDiskParams
- func (o *MachineDiskParams) WithID(id string) *MachineDiskParams
- func (o *MachineDiskParams) WithTimeout(timeout time.Duration) *MachineDiskParams
- func (o *MachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MachineDiskReader
- type MachineOffDefault
- func (o *MachineOffDefault) Code() int
- func (o *MachineOffDefault) Error() string
- func (o *MachineOffDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *MachineOffDefault) IsClientError() bool
- func (o *MachineOffDefault) IsCode(code int) bool
- func (o *MachineOffDefault) IsRedirect() bool
- func (o *MachineOffDefault) IsServerError() bool
- func (o *MachineOffDefault) IsSuccess() bool
- func (o *MachineOffDefault) String() string
- type MachineOffOK
- func (o *MachineOffOK) Error() string
- func (o *MachineOffOK) GetPayload() *models.V1MachineResponse
- func (o *MachineOffOK) IsClientError() bool
- func (o *MachineOffOK) IsCode(code int) bool
- func (o *MachineOffOK) IsRedirect() bool
- func (o *MachineOffOK) IsServerError() bool
- func (o *MachineOffOK) IsSuccess() bool
- func (o *MachineOffOK) String() string
- type MachineOffParams
- func (o *MachineOffParams) SetBody(body models.V1EmptyBody)
- func (o *MachineOffParams) SetContext(ctx context.Context)
- func (o *MachineOffParams) SetDefaults()
- func (o *MachineOffParams) SetHTTPClient(client *http.Client)
- func (o *MachineOffParams) SetID(id string)
- func (o *MachineOffParams) SetTimeout(timeout time.Duration)
- func (o *MachineOffParams) WithBody(body models.V1EmptyBody) *MachineOffParams
- func (o *MachineOffParams) WithContext(ctx context.Context) *MachineOffParams
- func (o *MachineOffParams) WithDefaults() *MachineOffParams
- func (o *MachineOffParams) WithHTTPClient(client *http.Client) *MachineOffParams
- func (o *MachineOffParams) WithID(id string) *MachineOffParams
- func (o *MachineOffParams) WithTimeout(timeout time.Duration) *MachineOffParams
- func (o *MachineOffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MachineOffReader
- type MachineOnDefault
- func (o *MachineOnDefault) Code() int
- func (o *MachineOnDefault) Error() string
- func (o *MachineOnDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *MachineOnDefault) IsClientError() bool
- func (o *MachineOnDefault) IsCode(code int) bool
- func (o *MachineOnDefault) IsRedirect() bool
- func (o *MachineOnDefault) IsServerError() bool
- func (o *MachineOnDefault) IsSuccess() bool
- func (o *MachineOnDefault) String() string
- type MachineOnOK
- func (o *MachineOnOK) Error() string
- func (o *MachineOnOK) GetPayload() *models.V1MachineResponse
- func (o *MachineOnOK) IsClientError() bool
- func (o *MachineOnOK) IsCode(code int) bool
- func (o *MachineOnOK) IsRedirect() bool
- func (o *MachineOnOK) IsServerError() bool
- func (o *MachineOnOK) IsSuccess() bool
- func (o *MachineOnOK) String() string
- type MachineOnParams
- func (o *MachineOnParams) SetBody(body models.V1EmptyBody)
- func (o *MachineOnParams) SetContext(ctx context.Context)
- func (o *MachineOnParams) SetDefaults()
- func (o *MachineOnParams) SetHTTPClient(client *http.Client)
- func (o *MachineOnParams) SetID(id string)
- func (o *MachineOnParams) SetTimeout(timeout time.Duration)
- func (o *MachineOnParams) WithBody(body models.V1EmptyBody) *MachineOnParams
- func (o *MachineOnParams) WithContext(ctx context.Context) *MachineOnParams
- func (o *MachineOnParams) WithDefaults() *MachineOnParams
- func (o *MachineOnParams) WithHTTPClient(client *http.Client) *MachineOnParams
- func (o *MachineOnParams) WithID(id string) *MachineOnParams
- func (o *MachineOnParams) WithTimeout(timeout time.Duration) *MachineOnParams
- func (o *MachineOnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MachineOnReader
- type MachinePxeDefault
- func (o *MachinePxeDefault) Code() int
- func (o *MachinePxeDefault) Error() string
- func (o *MachinePxeDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *MachinePxeDefault) IsClientError() bool
- func (o *MachinePxeDefault) IsCode(code int) bool
- func (o *MachinePxeDefault) IsRedirect() bool
- func (o *MachinePxeDefault) IsServerError() bool
- func (o *MachinePxeDefault) IsSuccess() bool
- func (o *MachinePxeDefault) String() string
- type MachinePxeOK
- func (o *MachinePxeOK) Error() string
- func (o *MachinePxeOK) GetPayload() *models.V1MachineResponse
- func (o *MachinePxeOK) IsClientError() bool
- func (o *MachinePxeOK) IsCode(code int) bool
- func (o *MachinePxeOK) IsRedirect() bool
- func (o *MachinePxeOK) IsServerError() bool
- func (o *MachinePxeOK) IsSuccess() bool
- func (o *MachinePxeOK) String() string
- type MachinePxeParams
- func (o *MachinePxeParams) SetBody(body models.V1EmptyBody)
- func (o *MachinePxeParams) SetContext(ctx context.Context)
- func (o *MachinePxeParams) SetDefaults()
- func (o *MachinePxeParams) SetHTTPClient(client *http.Client)
- func (o *MachinePxeParams) SetID(id string)
- func (o *MachinePxeParams) SetTimeout(timeout time.Duration)
- func (o *MachinePxeParams) WithBody(body models.V1EmptyBody) *MachinePxeParams
- func (o *MachinePxeParams) WithContext(ctx context.Context) *MachinePxeParams
- func (o *MachinePxeParams) WithDefaults() *MachinePxeParams
- func (o *MachinePxeParams) WithHTTPClient(client *http.Client) *MachinePxeParams
- func (o *MachinePxeParams) WithID(id string) *MachinePxeParams
- func (o *MachinePxeParams) WithTimeout(timeout time.Duration) *MachinePxeParams
- func (o *MachinePxeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MachinePxeReader
- type MachineResetDefault
- func (o *MachineResetDefault) Code() int
- func (o *MachineResetDefault) Error() string
- func (o *MachineResetDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *MachineResetDefault) IsClientError() bool
- func (o *MachineResetDefault) IsCode(code int) bool
- func (o *MachineResetDefault) IsRedirect() bool
- func (o *MachineResetDefault) IsServerError() bool
- func (o *MachineResetDefault) IsSuccess() bool
- func (o *MachineResetDefault) String() string
- type MachineResetOK
- func (o *MachineResetOK) Error() string
- func (o *MachineResetOK) GetPayload() *models.V1MachineResponse
- func (o *MachineResetOK) IsClientError() bool
- func (o *MachineResetOK) IsCode(code int) bool
- func (o *MachineResetOK) IsRedirect() bool
- func (o *MachineResetOK) IsServerError() bool
- func (o *MachineResetOK) IsSuccess() bool
- func (o *MachineResetOK) String() string
- type MachineResetParams
- func (o *MachineResetParams) SetBody(body models.V1EmptyBody)
- func (o *MachineResetParams) SetContext(ctx context.Context)
- func (o *MachineResetParams) SetDefaults()
- func (o *MachineResetParams) SetHTTPClient(client *http.Client)
- func (o *MachineResetParams) SetID(id string)
- func (o *MachineResetParams) SetTimeout(timeout time.Duration)
- func (o *MachineResetParams) WithBody(body models.V1EmptyBody) *MachineResetParams
- func (o *MachineResetParams) WithContext(ctx context.Context) *MachineResetParams
- func (o *MachineResetParams) WithDefaults() *MachineResetParams
- func (o *MachineResetParams) WithHTTPClient(client *http.Client) *MachineResetParams
- func (o *MachineResetParams) WithID(id string) *MachineResetParams
- func (o *MachineResetParams) WithTimeout(timeout time.Duration) *MachineResetParams
- func (o *MachineResetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MachineResetReader
- type RegisterMachineCreated
- func (o *RegisterMachineCreated) Error() string
- func (o *RegisterMachineCreated) GetPayload() *models.V1MachineResponse
- func (o *RegisterMachineCreated) IsClientError() bool
- func (o *RegisterMachineCreated) IsCode(code int) bool
- func (o *RegisterMachineCreated) IsRedirect() bool
- func (o *RegisterMachineCreated) IsServerError() bool
- func (o *RegisterMachineCreated) IsSuccess() bool
- func (o *RegisterMachineCreated) String() string
- type RegisterMachineDefault
- func (o *RegisterMachineDefault) Code() int
- func (o *RegisterMachineDefault) Error() string
- func (o *RegisterMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *RegisterMachineDefault) IsClientError() bool
- func (o *RegisterMachineDefault) IsCode(code int) bool
- func (o *RegisterMachineDefault) IsRedirect() bool
- func (o *RegisterMachineDefault) IsServerError() bool
- func (o *RegisterMachineDefault) IsSuccess() bool
- func (o *RegisterMachineDefault) String() string
- type RegisterMachineOK
- func (o *RegisterMachineOK) Error() string
- func (o *RegisterMachineOK) GetPayload() *models.V1MachineResponse
- func (o *RegisterMachineOK) IsClientError() bool
- func (o *RegisterMachineOK) IsCode(code int) bool
- func (o *RegisterMachineOK) IsRedirect() bool
- func (o *RegisterMachineOK) IsServerError() bool
- func (o *RegisterMachineOK) IsSuccess() bool
- func (o *RegisterMachineOK) String() string
- type RegisterMachineParams
- func NewRegisterMachineParams() *RegisterMachineParams
- func NewRegisterMachineParamsWithContext(ctx context.Context) *RegisterMachineParams
- func NewRegisterMachineParamsWithHTTPClient(client *http.Client) *RegisterMachineParams
- func NewRegisterMachineParamsWithTimeout(timeout time.Duration) *RegisterMachineParams
- func (o *RegisterMachineParams) SetBody(body *models.V1MachineRegisterRequest)
- func (o *RegisterMachineParams) SetContext(ctx context.Context)
- func (o *RegisterMachineParams) SetDefaults()
- func (o *RegisterMachineParams) SetHTTPClient(client *http.Client)
- func (o *RegisterMachineParams) SetTimeout(timeout time.Duration)
- func (o *RegisterMachineParams) WithBody(body *models.V1MachineRegisterRequest) *RegisterMachineParams
- func (o *RegisterMachineParams) WithContext(ctx context.Context) *RegisterMachineParams
- func (o *RegisterMachineParams) WithDefaults() *RegisterMachineParams
- func (o *RegisterMachineParams) WithHTTPClient(client *http.Client) *RegisterMachineParams
- func (o *RegisterMachineParams) WithTimeout(timeout time.Duration) *RegisterMachineParams
- func (o *RegisterMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterMachineReader
- type ReinstallMachineBadRequest
- func (o *ReinstallMachineBadRequest) Error() string
- func (o *ReinstallMachineBadRequest) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ReinstallMachineBadRequest) IsClientError() bool
- func (o *ReinstallMachineBadRequest) IsCode(code int) bool
- func (o *ReinstallMachineBadRequest) IsRedirect() bool
- func (o *ReinstallMachineBadRequest) IsServerError() bool
- func (o *ReinstallMachineBadRequest) IsSuccess() bool
- func (o *ReinstallMachineBadRequest) String() string
- type ReinstallMachineDefault
- func (o *ReinstallMachineDefault) Code() int
- func (o *ReinstallMachineDefault) Error() string
- func (o *ReinstallMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ReinstallMachineDefault) IsClientError() bool
- func (o *ReinstallMachineDefault) IsCode(code int) bool
- func (o *ReinstallMachineDefault) IsRedirect() bool
- func (o *ReinstallMachineDefault) IsServerError() bool
- func (o *ReinstallMachineDefault) IsSuccess() bool
- func (o *ReinstallMachineDefault) String() string
- type ReinstallMachineOK
- func (o *ReinstallMachineOK) Error() string
- func (o *ReinstallMachineOK) GetPayload() *models.V1MachineResponse
- func (o *ReinstallMachineOK) IsClientError() bool
- func (o *ReinstallMachineOK) IsCode(code int) bool
- func (o *ReinstallMachineOK) IsRedirect() bool
- func (o *ReinstallMachineOK) IsServerError() bool
- func (o *ReinstallMachineOK) IsSuccess() bool
- func (o *ReinstallMachineOK) String() string
- type ReinstallMachineParams
- func NewReinstallMachineParams() *ReinstallMachineParams
- func NewReinstallMachineParamsWithContext(ctx context.Context) *ReinstallMachineParams
- func NewReinstallMachineParamsWithHTTPClient(client *http.Client) *ReinstallMachineParams
- func NewReinstallMachineParamsWithTimeout(timeout time.Duration) *ReinstallMachineParams
- func (o *ReinstallMachineParams) SetBody(body *models.V1MachineReinstallRequest)
- func (o *ReinstallMachineParams) SetContext(ctx context.Context)
- func (o *ReinstallMachineParams) SetDefaults()
- func (o *ReinstallMachineParams) SetHTTPClient(client *http.Client)
- func (o *ReinstallMachineParams) SetID(id string)
- func (o *ReinstallMachineParams) SetTimeout(timeout time.Duration)
- func (o *ReinstallMachineParams) WithBody(body *models.V1MachineReinstallRequest) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithContext(ctx context.Context) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithDefaults() *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithHTTPClient(client *http.Client) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithID(id string) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithTimeout(timeout time.Duration) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReinstallMachineReader
- type SetChassisIdentifyLEDStateDefault
- func (o *SetChassisIdentifyLEDStateDefault) Code() int
- func (o *SetChassisIdentifyLEDStateDefault) Error() string
- func (o *SetChassisIdentifyLEDStateDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *SetChassisIdentifyLEDStateDefault) IsClientError() bool
- func (o *SetChassisIdentifyLEDStateDefault) IsCode(code int) bool
- func (o *SetChassisIdentifyLEDStateDefault) IsRedirect() bool
- func (o *SetChassisIdentifyLEDStateDefault) IsServerError() bool
- func (o *SetChassisIdentifyLEDStateDefault) IsSuccess() bool
- func (o *SetChassisIdentifyLEDStateDefault) String() string
- type SetChassisIdentifyLEDStateOK
- func (o *SetChassisIdentifyLEDStateOK) Error() string
- func (o *SetChassisIdentifyLEDStateOK) GetPayload() *models.V1MachineResponse
- func (o *SetChassisIdentifyLEDStateOK) IsClientError() bool
- func (o *SetChassisIdentifyLEDStateOK) IsCode(code int) bool
- func (o *SetChassisIdentifyLEDStateOK) IsRedirect() bool
- func (o *SetChassisIdentifyLEDStateOK) IsServerError() bool
- func (o *SetChassisIdentifyLEDStateOK) IsSuccess() bool
- func (o *SetChassisIdentifyLEDStateOK) String() string
- type SetChassisIdentifyLEDStateParams
- func NewSetChassisIdentifyLEDStateParams() *SetChassisIdentifyLEDStateParams
- func NewSetChassisIdentifyLEDStateParamsWithContext(ctx context.Context) *SetChassisIdentifyLEDStateParams
- func NewSetChassisIdentifyLEDStateParamsWithHTTPClient(client *http.Client) *SetChassisIdentifyLEDStateParams
- func NewSetChassisIdentifyLEDStateParamsWithTimeout(timeout time.Duration) *SetChassisIdentifyLEDStateParams
- func (o *SetChassisIdentifyLEDStateParams) SetBody(body *models.V1ChassisIdentifyLEDState)
- func (o *SetChassisIdentifyLEDStateParams) SetContext(ctx context.Context)
- func (o *SetChassisIdentifyLEDStateParams) SetDefaults()
- func (o *SetChassisIdentifyLEDStateParams) SetHTTPClient(client *http.Client)
- func (o *SetChassisIdentifyLEDStateParams) SetID(id string)
- func (o *SetChassisIdentifyLEDStateParams) SetTimeout(timeout time.Duration)
- func (o *SetChassisIdentifyLEDStateParams) WithBody(body *models.V1ChassisIdentifyLEDState) *SetChassisIdentifyLEDStateParams
- func (o *SetChassisIdentifyLEDStateParams) WithContext(ctx context.Context) *SetChassisIdentifyLEDStateParams
- func (o *SetChassisIdentifyLEDStateParams) WithDefaults() *SetChassisIdentifyLEDStateParams
- func (o *SetChassisIdentifyLEDStateParams) WithHTTPClient(client *http.Client) *SetChassisIdentifyLEDStateParams
- func (o *SetChassisIdentifyLEDStateParams) WithID(id string) *SetChassisIdentifyLEDStateParams
- func (o *SetChassisIdentifyLEDStateParams) WithTimeout(timeout time.Duration) *SetChassisIdentifyLEDStateParams
- func (o *SetChassisIdentifyLEDStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetChassisIdentifyLEDStateReader
- type SetMachineStateDefault
- func (o *SetMachineStateDefault) Code() int
- func (o *SetMachineStateDefault) Error() string
- func (o *SetMachineStateDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *SetMachineStateDefault) IsClientError() bool
- func (o *SetMachineStateDefault) IsCode(code int) bool
- func (o *SetMachineStateDefault) IsRedirect() bool
- func (o *SetMachineStateDefault) IsServerError() bool
- func (o *SetMachineStateDefault) IsSuccess() bool
- func (o *SetMachineStateDefault) String() string
- type SetMachineStateOK
- func (o *SetMachineStateOK) Error() string
- func (o *SetMachineStateOK) GetPayload() *models.V1MachineResponse
- func (o *SetMachineStateOK) IsClientError() bool
- func (o *SetMachineStateOK) IsCode(code int) bool
- func (o *SetMachineStateOK) IsRedirect() bool
- func (o *SetMachineStateOK) IsServerError() bool
- func (o *SetMachineStateOK) IsSuccess() bool
- func (o *SetMachineStateOK) String() string
- type SetMachineStateParams
- func NewSetMachineStateParams() *SetMachineStateParams
- func NewSetMachineStateParamsWithContext(ctx context.Context) *SetMachineStateParams
- func NewSetMachineStateParamsWithHTTPClient(client *http.Client) *SetMachineStateParams
- func NewSetMachineStateParamsWithTimeout(timeout time.Duration) *SetMachineStateParams
- func (o *SetMachineStateParams) SetBody(body *models.V1MachineState)
- func (o *SetMachineStateParams) SetContext(ctx context.Context)
- func (o *SetMachineStateParams) SetDefaults()
- func (o *SetMachineStateParams) SetHTTPClient(client *http.Client)
- func (o *SetMachineStateParams) SetID(id string)
- func (o *SetMachineStateParams) SetTimeout(timeout time.Duration)
- func (o *SetMachineStateParams) WithBody(body *models.V1MachineState) *SetMachineStateParams
- func (o *SetMachineStateParams) WithContext(ctx context.Context) *SetMachineStateParams
- func (o *SetMachineStateParams) WithDefaults() *SetMachineStateParams
- func (o *SetMachineStateParams) WithHTTPClient(client *http.Client) *SetMachineStateParams
- func (o *SetMachineStateParams) WithID(id string) *SetMachineStateParams
- func (o *SetMachineStateParams) WithTimeout(timeout time.Duration) *SetMachineStateParams
- func (o *SetMachineStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetMachineStateReader
- type UpdateFirmwareDefault
- func (o *UpdateFirmwareDefault) Code() int
- func (o *UpdateFirmwareDefault) Error() string
- func (o *UpdateFirmwareDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateFirmwareDefault) IsClientError() bool
- func (o *UpdateFirmwareDefault) IsCode(code int) bool
- func (o *UpdateFirmwareDefault) IsRedirect() bool
- func (o *UpdateFirmwareDefault) IsServerError() bool
- func (o *UpdateFirmwareDefault) IsSuccess() bool
- func (o *UpdateFirmwareDefault) String() string
- type UpdateFirmwareOK
- func (o *UpdateFirmwareOK) Error() string
- func (o *UpdateFirmwareOK) GetPayload() *models.V1MachineResponse
- func (o *UpdateFirmwareOK) IsClientError() bool
- func (o *UpdateFirmwareOK) IsCode(code int) bool
- func (o *UpdateFirmwareOK) IsRedirect() bool
- func (o *UpdateFirmwareOK) IsServerError() bool
- func (o *UpdateFirmwareOK) IsSuccess() bool
- func (o *UpdateFirmwareOK) String() string
- type UpdateFirmwareParams
- func NewUpdateFirmwareParams() *UpdateFirmwareParams
- func NewUpdateFirmwareParamsWithContext(ctx context.Context) *UpdateFirmwareParams
- func NewUpdateFirmwareParamsWithHTTPClient(client *http.Client) *UpdateFirmwareParams
- func NewUpdateFirmwareParamsWithTimeout(timeout time.Duration) *UpdateFirmwareParams
- func (o *UpdateFirmwareParams) SetBody(body *models.V1MachineUpdateFirmwareRequest)
- func (o *UpdateFirmwareParams) SetContext(ctx context.Context)
- func (o *UpdateFirmwareParams) SetDefaults()
- func (o *UpdateFirmwareParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFirmwareParams) SetID(id string)
- func (o *UpdateFirmwareParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFirmwareParams) WithBody(body *models.V1MachineUpdateFirmwareRequest) *UpdateFirmwareParams
- func (o *UpdateFirmwareParams) WithContext(ctx context.Context) *UpdateFirmwareParams
- func (o *UpdateFirmwareParams) WithDefaults() *UpdateFirmwareParams
- func (o *UpdateFirmwareParams) WithHTTPClient(client *http.Client) *UpdateFirmwareParams
- func (o *UpdateFirmwareParams) WithID(id string) *UpdateFirmwareParams
- func (o *UpdateFirmwareParams) WithTimeout(timeout time.Duration) *UpdateFirmwareParams
- func (o *UpdateFirmwareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFirmwareReader
- type UpdateMachineConflict
- func (o *UpdateMachineConflict) Error() string
- func (o *UpdateMachineConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateMachineConflict) IsClientError() bool
- func (o *UpdateMachineConflict) IsCode(code int) bool
- func (o *UpdateMachineConflict) IsRedirect() bool
- func (o *UpdateMachineConflict) IsServerError() bool
- func (o *UpdateMachineConflict) IsSuccess() bool
- func (o *UpdateMachineConflict) String() string
- type UpdateMachineDefault
- func (o *UpdateMachineDefault) Code() int
- func (o *UpdateMachineDefault) Error() string
- func (o *UpdateMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateMachineDefault) IsClientError() bool
- func (o *UpdateMachineDefault) IsCode(code int) bool
- func (o *UpdateMachineDefault) IsRedirect() bool
- func (o *UpdateMachineDefault) IsServerError() bool
- func (o *UpdateMachineDefault) IsSuccess() bool
- func (o *UpdateMachineDefault) String() string
- type UpdateMachineOK
- func (o *UpdateMachineOK) Error() string
- func (o *UpdateMachineOK) GetPayload() *models.V1MachineResponse
- func (o *UpdateMachineOK) IsClientError() bool
- func (o *UpdateMachineOK) IsCode(code int) bool
- func (o *UpdateMachineOK) IsRedirect() bool
- func (o *UpdateMachineOK) IsServerError() bool
- func (o *UpdateMachineOK) IsSuccess() bool
- func (o *UpdateMachineOK) String() string
- type UpdateMachineParams
- func (o *UpdateMachineParams) SetBody(body *models.V1MachineUpdateRequest)
- func (o *UpdateMachineParams) SetContext(ctx context.Context)
- func (o *UpdateMachineParams) SetDefaults()
- func (o *UpdateMachineParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMachineParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMachineParams) WithBody(body *models.V1MachineUpdateRequest) *UpdateMachineParams
- func (o *UpdateMachineParams) WithContext(ctx context.Context) *UpdateMachineParams
- func (o *UpdateMachineParams) WithDefaults() *UpdateMachineParams
- func (o *UpdateMachineParams) WithHTTPClient(client *http.Client) *UpdateMachineParams
- func (o *UpdateMachineParams) WithTimeout(timeout time.Duration) *UpdateMachineParams
- func (o *UpdateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMachineReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortReinstallMachineDefault ¶ added in v0.4.0
type AbortReinstallMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
AbortReinstallMachineDefault describes a response with status code -1, with default header values.
Error
func NewAbortReinstallMachineDefault ¶ added in v0.4.0
func NewAbortReinstallMachineDefault(code int) *AbortReinstallMachineDefault
NewAbortReinstallMachineDefault creates a AbortReinstallMachineDefault with default headers values
func (*AbortReinstallMachineDefault) Code ¶ added in v0.4.0
func (o *AbortReinstallMachineDefault) Code() int
Code gets the status code for the abort reinstall machine default response
func (*AbortReinstallMachineDefault) Error ¶ added in v0.4.0
func (o *AbortReinstallMachineDefault) Error() string
func (*AbortReinstallMachineDefault) GetPayload ¶ added in v0.11.0
func (o *AbortReinstallMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*AbortReinstallMachineDefault) IsClientError ¶ added in v0.19.3
func (o *AbortReinstallMachineDefault) IsClientError() bool
IsClientError returns true when this abort reinstall machine default response has a 4xx status code
func (*AbortReinstallMachineDefault) IsCode ¶ added in v0.19.3
func (o *AbortReinstallMachineDefault) IsCode(code int) bool
IsCode returns true when this abort reinstall machine default response a status code equal to that given
func (*AbortReinstallMachineDefault) IsRedirect ¶ added in v0.19.3
func (o *AbortReinstallMachineDefault) IsRedirect() bool
IsRedirect returns true when this abort reinstall machine default response has a 3xx status code
func (*AbortReinstallMachineDefault) IsServerError ¶ added in v0.19.3
func (o *AbortReinstallMachineDefault) IsServerError() bool
IsServerError returns true when this abort reinstall machine default response has a 5xx status code
func (*AbortReinstallMachineDefault) IsSuccess ¶ added in v0.19.3
func (o *AbortReinstallMachineDefault) IsSuccess() bool
IsSuccess returns true when this abort reinstall machine default response has a 2xx status code
func (*AbortReinstallMachineDefault) String ¶ added in v0.19.3
func (o *AbortReinstallMachineDefault) String() string
type AbortReinstallMachineOK ¶ added in v0.4.0
type AbortReinstallMachineOK struct {
Payload *models.V1BootInfo
}
AbortReinstallMachineOK describes a response with status code 200, with default header values.
OK
func NewAbortReinstallMachineOK ¶ added in v0.4.0
func NewAbortReinstallMachineOK() *AbortReinstallMachineOK
NewAbortReinstallMachineOK creates a AbortReinstallMachineOK with default headers values
func (*AbortReinstallMachineOK) Error ¶ added in v0.4.0
func (o *AbortReinstallMachineOK) Error() string
func (*AbortReinstallMachineOK) GetPayload ¶ added in v0.11.0
func (o *AbortReinstallMachineOK) GetPayload() *models.V1BootInfo
func (*AbortReinstallMachineOK) IsClientError ¶ added in v0.19.3
func (o *AbortReinstallMachineOK) IsClientError() bool
IsClientError returns true when this abort reinstall machine o k response has a 4xx status code
func (*AbortReinstallMachineOK) IsCode ¶ added in v0.19.3
func (o *AbortReinstallMachineOK) IsCode(code int) bool
IsCode returns true when this abort reinstall machine o k response a status code equal to that given
func (*AbortReinstallMachineOK) IsRedirect ¶ added in v0.19.3
func (o *AbortReinstallMachineOK) IsRedirect() bool
IsRedirect returns true when this abort reinstall machine o k response has a 3xx status code
func (*AbortReinstallMachineOK) IsServerError ¶ added in v0.19.3
func (o *AbortReinstallMachineOK) IsServerError() bool
IsServerError returns true when this abort reinstall machine o k response has a 5xx status code
func (*AbortReinstallMachineOK) IsSuccess ¶ added in v0.19.3
func (o *AbortReinstallMachineOK) IsSuccess() bool
IsSuccess returns true when this abort reinstall machine o k response has a 2xx status code
func (*AbortReinstallMachineOK) String ¶ added in v0.19.3
func (o *AbortReinstallMachineOK) String() string
type AbortReinstallMachineParams ¶ added in v0.4.0
type AbortReinstallMachineParams struct { // Body. Body *models.V1MachineAbortReinstallRequest /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AbortReinstallMachineParams contains all the parameters to send to the API endpoint
for the abort reinstall machine operation. Typically these are written to a http.Request.
func NewAbortReinstallMachineParams ¶ added in v0.4.0
func NewAbortReinstallMachineParams() *AbortReinstallMachineParams
NewAbortReinstallMachineParams creates a new AbortReinstallMachineParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAbortReinstallMachineParamsWithContext ¶ added in v0.4.0
func NewAbortReinstallMachineParamsWithContext(ctx context.Context) *AbortReinstallMachineParams
NewAbortReinstallMachineParamsWithContext creates a new AbortReinstallMachineParams object with the ability to set a context for a request.
func NewAbortReinstallMachineParamsWithHTTPClient ¶ added in v0.4.0
func NewAbortReinstallMachineParamsWithHTTPClient(client *http.Client) *AbortReinstallMachineParams
NewAbortReinstallMachineParamsWithHTTPClient creates a new AbortReinstallMachineParams object with the ability to set a custom HTTPClient for a request.
func NewAbortReinstallMachineParamsWithTimeout ¶ added in v0.4.0
func NewAbortReinstallMachineParamsWithTimeout(timeout time.Duration) *AbortReinstallMachineParams
NewAbortReinstallMachineParamsWithTimeout creates a new AbortReinstallMachineParams object with the ability to set a timeout on a request.
func (*AbortReinstallMachineParams) SetBody ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) SetBody(body *models.V1MachineAbortReinstallRequest)
SetBody adds the body to the abort reinstall machine params
func (*AbortReinstallMachineParams) SetContext ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the abort reinstall machine params
func (*AbortReinstallMachineParams) SetDefaults ¶ added in v0.12.1
func (o *AbortReinstallMachineParams) SetDefaults()
SetDefaults hydrates default values in the abort reinstall machine params (not the query body).
All values with no default are reset to their zero value.
func (*AbortReinstallMachineParams) SetHTTPClient ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the abort reinstall machine params
func (*AbortReinstallMachineParams) SetID ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) SetID(id string)
SetID adds the id to the abort reinstall machine params
func (*AbortReinstallMachineParams) SetTimeout ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the abort reinstall machine params
func (*AbortReinstallMachineParams) WithBody ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) WithBody(body *models.V1MachineAbortReinstallRequest) *AbortReinstallMachineParams
WithBody adds the body to the abort reinstall machine params
func (*AbortReinstallMachineParams) WithContext ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) WithContext(ctx context.Context) *AbortReinstallMachineParams
WithContext adds the context to the abort reinstall machine params
func (*AbortReinstallMachineParams) WithDefaults ¶ added in v0.12.1
func (o *AbortReinstallMachineParams) WithDefaults() *AbortReinstallMachineParams
WithDefaults hydrates default values in the abort reinstall machine params (not the query body).
All values with no default are reset to their zero value.
func (*AbortReinstallMachineParams) WithHTTPClient ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) WithHTTPClient(client *http.Client) *AbortReinstallMachineParams
WithHTTPClient adds the HTTPClient to the abort reinstall machine params
func (*AbortReinstallMachineParams) WithID ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) WithID(id string) *AbortReinstallMachineParams
WithID adds the id to the abort reinstall machine params
func (*AbortReinstallMachineParams) WithTimeout ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) WithTimeout(timeout time.Duration) *AbortReinstallMachineParams
WithTimeout adds the timeout to the abort reinstall machine params
func (*AbortReinstallMachineParams) WriteToRequest ¶ added in v0.4.0
func (o *AbortReinstallMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AbortReinstallMachineReader ¶ added in v0.4.0
type AbortReinstallMachineReader struct {
// contains filtered or unexported fields
}
AbortReinstallMachineReader is a Reader for the AbortReinstallMachine structure.
func (*AbortReinstallMachineReader) ReadResponse ¶ added in v0.4.0
func (o *AbortReinstallMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddProvisioningEventDefault ¶
type AddProvisioningEventDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
AddProvisioningEventDefault describes a response with status code -1, with default header values.
Error
func NewAddProvisioningEventDefault ¶
func NewAddProvisioningEventDefault(code int) *AddProvisioningEventDefault
NewAddProvisioningEventDefault creates a AddProvisioningEventDefault with default headers values
func (*AddProvisioningEventDefault) Code ¶
func (o *AddProvisioningEventDefault) Code() int
Code gets the status code for the add provisioning event default response
func (*AddProvisioningEventDefault) Error ¶
func (o *AddProvisioningEventDefault) Error() string
func (*AddProvisioningEventDefault) GetPayload ¶ added in v0.11.0
func (o *AddProvisioningEventDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*AddProvisioningEventDefault) IsClientError ¶ added in v0.19.3
func (o *AddProvisioningEventDefault) IsClientError() bool
IsClientError returns true when this add provisioning event default response has a 4xx status code
func (*AddProvisioningEventDefault) IsCode ¶ added in v0.19.3
func (o *AddProvisioningEventDefault) IsCode(code int) bool
IsCode returns true when this add provisioning event default response a status code equal to that given
func (*AddProvisioningEventDefault) IsRedirect ¶ added in v0.19.3
func (o *AddProvisioningEventDefault) IsRedirect() bool
IsRedirect returns true when this add provisioning event default response has a 3xx status code
func (*AddProvisioningEventDefault) IsServerError ¶ added in v0.19.3
func (o *AddProvisioningEventDefault) IsServerError() bool
IsServerError returns true when this add provisioning event default response has a 5xx status code
func (*AddProvisioningEventDefault) IsSuccess ¶ added in v0.19.3
func (o *AddProvisioningEventDefault) IsSuccess() bool
IsSuccess returns true when this add provisioning event default response has a 2xx status code
func (*AddProvisioningEventDefault) String ¶ added in v0.19.3
func (o *AddProvisioningEventDefault) String() string
type AddProvisioningEventOK ¶
type AddProvisioningEventOK struct {
Payload *models.V1MachineRecentProvisioningEvents
}
AddProvisioningEventOK describes a response with status code 200, with default header values.
OK
func NewAddProvisioningEventOK ¶
func NewAddProvisioningEventOK() *AddProvisioningEventOK
NewAddProvisioningEventOK creates a AddProvisioningEventOK with default headers values
func (*AddProvisioningEventOK) Error ¶
func (o *AddProvisioningEventOK) Error() string
func (*AddProvisioningEventOK) GetPayload ¶ added in v0.11.0
func (o *AddProvisioningEventOK) GetPayload() *models.V1MachineRecentProvisioningEvents
func (*AddProvisioningEventOK) IsClientError ¶ added in v0.19.3
func (o *AddProvisioningEventOK) IsClientError() bool
IsClientError returns true when this add provisioning event o k response has a 4xx status code
func (*AddProvisioningEventOK) IsCode ¶ added in v0.19.3
func (o *AddProvisioningEventOK) IsCode(code int) bool
IsCode returns true when this add provisioning event o k response a status code equal to that given
func (*AddProvisioningEventOK) IsRedirect ¶ added in v0.19.3
func (o *AddProvisioningEventOK) IsRedirect() bool
IsRedirect returns true when this add provisioning event o k response has a 3xx status code
func (*AddProvisioningEventOK) IsServerError ¶ added in v0.19.3
func (o *AddProvisioningEventOK) IsServerError() bool
IsServerError returns true when this add provisioning event o k response has a 5xx status code
func (*AddProvisioningEventOK) IsSuccess ¶ added in v0.19.3
func (o *AddProvisioningEventOK) IsSuccess() bool
IsSuccess returns true when this add provisioning event o k response has a 2xx status code
func (*AddProvisioningEventOK) String ¶ added in v0.19.3
func (o *AddProvisioningEventOK) String() string
type AddProvisioningEventParams ¶
type AddProvisioningEventParams struct { // Body. Body *models.V1MachineProvisioningEvent /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddProvisioningEventParams contains all the parameters to send to the API endpoint
for the add provisioning event operation. Typically these are written to a http.Request.
func NewAddProvisioningEventParams ¶
func NewAddProvisioningEventParams() *AddProvisioningEventParams
NewAddProvisioningEventParams creates a new AddProvisioningEventParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddProvisioningEventParamsWithContext ¶
func NewAddProvisioningEventParamsWithContext(ctx context.Context) *AddProvisioningEventParams
NewAddProvisioningEventParamsWithContext creates a new AddProvisioningEventParams object with the ability to set a context for a request.
func NewAddProvisioningEventParamsWithHTTPClient ¶
func NewAddProvisioningEventParamsWithHTTPClient(client *http.Client) *AddProvisioningEventParams
NewAddProvisioningEventParamsWithHTTPClient creates a new AddProvisioningEventParams object with the ability to set a custom HTTPClient for a request.
func NewAddProvisioningEventParamsWithTimeout ¶
func NewAddProvisioningEventParamsWithTimeout(timeout time.Duration) *AddProvisioningEventParams
NewAddProvisioningEventParamsWithTimeout creates a new AddProvisioningEventParams object with the ability to set a timeout on a request.
func (*AddProvisioningEventParams) SetBody ¶
func (o *AddProvisioningEventParams) SetBody(body *models.V1MachineProvisioningEvent)
SetBody adds the body to the add provisioning event params
func (*AddProvisioningEventParams) SetContext ¶
func (o *AddProvisioningEventParams) SetContext(ctx context.Context)
SetContext adds the context to the add provisioning event params
func (*AddProvisioningEventParams) SetDefaults ¶ added in v0.12.1
func (o *AddProvisioningEventParams) SetDefaults()
SetDefaults hydrates default values in the add provisioning event params (not the query body).
All values with no default are reset to their zero value.
func (*AddProvisioningEventParams) SetHTTPClient ¶
func (o *AddProvisioningEventParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add provisioning event params
func (*AddProvisioningEventParams) SetID ¶
func (o *AddProvisioningEventParams) SetID(id string)
SetID adds the id to the add provisioning event params
func (*AddProvisioningEventParams) SetTimeout ¶
func (o *AddProvisioningEventParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add provisioning event params
func (*AddProvisioningEventParams) WithBody ¶
func (o *AddProvisioningEventParams) WithBody(body *models.V1MachineProvisioningEvent) *AddProvisioningEventParams
WithBody adds the body to the add provisioning event params
func (*AddProvisioningEventParams) WithContext ¶
func (o *AddProvisioningEventParams) WithContext(ctx context.Context) *AddProvisioningEventParams
WithContext adds the context to the add provisioning event params
func (*AddProvisioningEventParams) WithDefaults ¶ added in v0.12.1
func (o *AddProvisioningEventParams) WithDefaults() *AddProvisioningEventParams
WithDefaults hydrates default values in the add provisioning event params (not the query body).
All values with no default are reset to their zero value.
func (*AddProvisioningEventParams) WithHTTPClient ¶
func (o *AddProvisioningEventParams) WithHTTPClient(client *http.Client) *AddProvisioningEventParams
WithHTTPClient adds the HTTPClient to the add provisioning event params
func (*AddProvisioningEventParams) WithID ¶
func (o *AddProvisioningEventParams) WithID(id string) *AddProvisioningEventParams
WithID adds the id to the add provisioning event params
func (*AddProvisioningEventParams) WithTimeout ¶
func (o *AddProvisioningEventParams) WithTimeout(timeout time.Duration) *AddProvisioningEventParams
WithTimeout adds the timeout to the add provisioning event params
func (*AddProvisioningEventParams) WriteToRequest ¶
func (o *AddProvisioningEventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddProvisioningEventReader ¶
type AddProvisioningEventReader struct {
// contains filtered or unexported fields
}
AddProvisioningEventReader is a Reader for the AddProvisioningEvent structure.
func (*AddProvisioningEventReader) ReadResponse ¶
func (o *AddProvisioningEventReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddProvisioningEventsDefault ¶ added in v0.16.6
type AddProvisioningEventsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
AddProvisioningEventsDefault describes a response with status code -1, with default header values.
Error
func NewAddProvisioningEventsDefault ¶ added in v0.16.6
func NewAddProvisioningEventsDefault(code int) *AddProvisioningEventsDefault
NewAddProvisioningEventsDefault creates a AddProvisioningEventsDefault with default headers values
func (*AddProvisioningEventsDefault) Code ¶ added in v0.16.6
func (o *AddProvisioningEventsDefault) Code() int
Code gets the status code for the add provisioning events default response
func (*AddProvisioningEventsDefault) Error ¶ added in v0.16.6
func (o *AddProvisioningEventsDefault) Error() string
func (*AddProvisioningEventsDefault) GetPayload ¶ added in v0.16.6
func (o *AddProvisioningEventsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*AddProvisioningEventsDefault) IsClientError ¶ added in v0.19.3
func (o *AddProvisioningEventsDefault) IsClientError() bool
IsClientError returns true when this add provisioning events default response has a 4xx status code
func (*AddProvisioningEventsDefault) IsCode ¶ added in v0.19.3
func (o *AddProvisioningEventsDefault) IsCode(code int) bool
IsCode returns true when this add provisioning events default response a status code equal to that given
func (*AddProvisioningEventsDefault) IsRedirect ¶ added in v0.19.3
func (o *AddProvisioningEventsDefault) IsRedirect() bool
IsRedirect returns true when this add provisioning events default response has a 3xx status code
func (*AddProvisioningEventsDefault) IsServerError ¶ added in v0.19.3
func (o *AddProvisioningEventsDefault) IsServerError() bool
IsServerError returns true when this add provisioning events default response has a 5xx status code
func (*AddProvisioningEventsDefault) IsSuccess ¶ added in v0.19.3
func (o *AddProvisioningEventsDefault) IsSuccess() bool
IsSuccess returns true when this add provisioning events default response has a 2xx status code
func (*AddProvisioningEventsDefault) String ¶ added in v0.19.3
func (o *AddProvisioningEventsDefault) String() string
type AddProvisioningEventsOK ¶ added in v0.16.6
type AddProvisioningEventsOK struct {
Payload *models.V1MachineRecentProvisioningEventsResponse
}
AddProvisioningEventsOK describes a response with status code 200, with default header values.
OK
func NewAddProvisioningEventsOK ¶ added in v0.16.6
func NewAddProvisioningEventsOK() *AddProvisioningEventsOK
NewAddProvisioningEventsOK creates a AddProvisioningEventsOK with default headers values
func (*AddProvisioningEventsOK) Error ¶ added in v0.16.6
func (o *AddProvisioningEventsOK) Error() string
func (*AddProvisioningEventsOK) GetPayload ¶ added in v0.16.6
func (o *AddProvisioningEventsOK) GetPayload() *models.V1MachineRecentProvisioningEventsResponse
func (*AddProvisioningEventsOK) IsClientError ¶ added in v0.19.3
func (o *AddProvisioningEventsOK) IsClientError() bool
IsClientError returns true when this add provisioning events o k response has a 4xx status code
func (*AddProvisioningEventsOK) IsCode ¶ added in v0.19.3
func (o *AddProvisioningEventsOK) IsCode(code int) bool
IsCode returns true when this add provisioning events o k response a status code equal to that given
func (*AddProvisioningEventsOK) IsRedirect ¶ added in v0.19.3
func (o *AddProvisioningEventsOK) IsRedirect() bool
IsRedirect returns true when this add provisioning events o k response has a 3xx status code
func (*AddProvisioningEventsOK) IsServerError ¶ added in v0.19.3
func (o *AddProvisioningEventsOK) IsServerError() bool
IsServerError returns true when this add provisioning events o k response has a 5xx status code
func (*AddProvisioningEventsOK) IsSuccess ¶ added in v0.19.3
func (o *AddProvisioningEventsOK) IsSuccess() bool
IsSuccess returns true when this add provisioning events o k response has a 2xx status code
func (*AddProvisioningEventsOK) String ¶ added in v0.19.3
func (o *AddProvisioningEventsOK) String() string
type AddProvisioningEventsParams ¶ added in v0.16.6
type AddProvisioningEventsParams struct { // Body. Body models.V1MachineProvisioningEvents Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddProvisioningEventsParams contains all the parameters to send to the API endpoint
for the add provisioning events operation. Typically these are written to a http.Request.
func NewAddProvisioningEventsParams ¶ added in v0.16.6
func NewAddProvisioningEventsParams() *AddProvisioningEventsParams
NewAddProvisioningEventsParams creates a new AddProvisioningEventsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddProvisioningEventsParamsWithContext ¶ added in v0.16.6
func NewAddProvisioningEventsParamsWithContext(ctx context.Context) *AddProvisioningEventsParams
NewAddProvisioningEventsParamsWithContext creates a new AddProvisioningEventsParams object with the ability to set a context for a request.
func NewAddProvisioningEventsParamsWithHTTPClient ¶ added in v0.16.6
func NewAddProvisioningEventsParamsWithHTTPClient(client *http.Client) *AddProvisioningEventsParams
NewAddProvisioningEventsParamsWithHTTPClient creates a new AddProvisioningEventsParams object with the ability to set a custom HTTPClient for a request.
func NewAddProvisioningEventsParamsWithTimeout ¶ added in v0.16.6
func NewAddProvisioningEventsParamsWithTimeout(timeout time.Duration) *AddProvisioningEventsParams
NewAddProvisioningEventsParamsWithTimeout creates a new AddProvisioningEventsParams object with the ability to set a timeout on a request.
func (*AddProvisioningEventsParams) SetBody ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) SetBody(body models.V1MachineProvisioningEvents)
SetBody adds the body to the add provisioning events params
func (*AddProvisioningEventsParams) SetContext ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the add provisioning events params
func (*AddProvisioningEventsParams) SetDefaults ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) SetDefaults()
SetDefaults hydrates default values in the add provisioning events params (not the query body).
All values with no default are reset to their zero value.
func (*AddProvisioningEventsParams) SetHTTPClient ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add provisioning events params
func (*AddProvisioningEventsParams) SetTimeout ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add provisioning events params
func (*AddProvisioningEventsParams) WithBody ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) WithBody(body models.V1MachineProvisioningEvents) *AddProvisioningEventsParams
WithBody adds the body to the add provisioning events params
func (*AddProvisioningEventsParams) WithContext ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) WithContext(ctx context.Context) *AddProvisioningEventsParams
WithContext adds the context to the add provisioning events params
func (*AddProvisioningEventsParams) WithDefaults ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) WithDefaults() *AddProvisioningEventsParams
WithDefaults hydrates default values in the add provisioning events params (not the query body).
All values with no default are reset to their zero value.
func (*AddProvisioningEventsParams) WithHTTPClient ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) WithHTTPClient(client *http.Client) *AddProvisioningEventsParams
WithHTTPClient adds the HTTPClient to the add provisioning events params
func (*AddProvisioningEventsParams) WithTimeout ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) WithTimeout(timeout time.Duration) *AddProvisioningEventsParams
WithTimeout adds the timeout to the add provisioning events params
func (*AddProvisioningEventsParams) WriteToRequest ¶ added in v0.16.6
func (o *AddProvisioningEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddProvisioningEventsReader ¶ added in v0.16.6
type AddProvisioningEventsReader struct {
// contains filtered or unexported fields
}
AddProvisioningEventsReader is a Reader for the AddProvisioningEvents structure.
func (*AddProvisioningEventsReader) ReadResponse ¶ added in v0.16.6
func (o *AddProvisioningEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllocateMachineDefault ¶
type AllocateMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
AllocateMachineDefault describes a response with status code -1, with default header values.
Error
func NewAllocateMachineDefault ¶
func NewAllocateMachineDefault(code int) *AllocateMachineDefault
NewAllocateMachineDefault creates a AllocateMachineDefault with default headers values
func (*AllocateMachineDefault) Code ¶
func (o *AllocateMachineDefault) Code() int
Code gets the status code for the allocate machine default response
func (*AllocateMachineDefault) Error ¶
func (o *AllocateMachineDefault) Error() string
func (*AllocateMachineDefault) GetPayload ¶ added in v0.11.0
func (o *AllocateMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*AllocateMachineDefault) IsClientError ¶ added in v0.19.3
func (o *AllocateMachineDefault) IsClientError() bool
IsClientError returns true when this allocate machine default response has a 4xx status code
func (*AllocateMachineDefault) IsCode ¶ added in v0.19.3
func (o *AllocateMachineDefault) IsCode(code int) bool
IsCode returns true when this allocate machine default response a status code equal to that given
func (*AllocateMachineDefault) IsRedirect ¶ added in v0.19.3
func (o *AllocateMachineDefault) IsRedirect() bool
IsRedirect returns true when this allocate machine default response has a 3xx status code
func (*AllocateMachineDefault) IsServerError ¶ added in v0.19.3
func (o *AllocateMachineDefault) IsServerError() bool
IsServerError returns true when this allocate machine default response has a 5xx status code
func (*AllocateMachineDefault) IsSuccess ¶ added in v0.19.3
func (o *AllocateMachineDefault) IsSuccess() bool
IsSuccess returns true when this allocate machine default response has a 2xx status code
func (*AllocateMachineDefault) String ¶ added in v0.19.3
func (o *AllocateMachineDefault) String() string
type AllocateMachineOK ¶
type AllocateMachineOK struct {
Payload *models.V1MachineResponse
}
AllocateMachineOK describes a response with status code 200, with default header values.
OK
func NewAllocateMachineOK ¶
func NewAllocateMachineOK() *AllocateMachineOK
NewAllocateMachineOK creates a AllocateMachineOK with default headers values
func (*AllocateMachineOK) Error ¶
func (o *AllocateMachineOK) Error() string
func (*AllocateMachineOK) GetPayload ¶ added in v0.11.0
func (o *AllocateMachineOK) GetPayload() *models.V1MachineResponse
func (*AllocateMachineOK) IsClientError ¶ added in v0.19.3
func (o *AllocateMachineOK) IsClientError() bool
IsClientError returns true when this allocate machine o k response has a 4xx status code
func (*AllocateMachineOK) IsCode ¶ added in v0.19.3
func (o *AllocateMachineOK) IsCode(code int) bool
IsCode returns true when this allocate machine o k response a status code equal to that given
func (*AllocateMachineOK) IsRedirect ¶ added in v0.19.3
func (o *AllocateMachineOK) IsRedirect() bool
IsRedirect returns true when this allocate machine o k response has a 3xx status code
func (*AllocateMachineOK) IsServerError ¶ added in v0.19.3
func (o *AllocateMachineOK) IsServerError() bool
IsServerError returns true when this allocate machine o k response has a 5xx status code
func (*AllocateMachineOK) IsSuccess ¶ added in v0.19.3
func (o *AllocateMachineOK) IsSuccess() bool
IsSuccess returns true when this allocate machine o k response has a 2xx status code
func (*AllocateMachineOK) String ¶ added in v0.19.3
func (o *AllocateMachineOK) String() string
type AllocateMachineParams ¶
type AllocateMachineParams struct { // Body. Body *models.V1MachineAllocateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllocateMachineParams contains all the parameters to send to the API endpoint
for the allocate machine operation. Typically these are written to a http.Request.
func NewAllocateMachineParams ¶
func NewAllocateMachineParams() *AllocateMachineParams
NewAllocateMachineParams creates a new AllocateMachineParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAllocateMachineParamsWithContext ¶
func NewAllocateMachineParamsWithContext(ctx context.Context) *AllocateMachineParams
NewAllocateMachineParamsWithContext creates a new AllocateMachineParams object with the ability to set a context for a request.
func NewAllocateMachineParamsWithHTTPClient ¶
func NewAllocateMachineParamsWithHTTPClient(client *http.Client) *AllocateMachineParams
NewAllocateMachineParamsWithHTTPClient creates a new AllocateMachineParams object with the ability to set a custom HTTPClient for a request.
func NewAllocateMachineParamsWithTimeout ¶
func NewAllocateMachineParamsWithTimeout(timeout time.Duration) *AllocateMachineParams
NewAllocateMachineParamsWithTimeout creates a new AllocateMachineParams object with the ability to set a timeout on a request.
func (*AllocateMachineParams) SetBody ¶
func (o *AllocateMachineParams) SetBody(body *models.V1MachineAllocateRequest)
SetBody adds the body to the allocate machine params
func (*AllocateMachineParams) SetContext ¶
func (o *AllocateMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the allocate machine params
func (*AllocateMachineParams) SetDefaults ¶ added in v0.12.1
func (o *AllocateMachineParams) SetDefaults()
SetDefaults hydrates default values in the allocate machine params (not the query body).
All values with no default are reset to their zero value.
func (*AllocateMachineParams) SetHTTPClient ¶
func (o *AllocateMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allocate machine params
func (*AllocateMachineParams) SetTimeout ¶
func (o *AllocateMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allocate machine params
func (*AllocateMachineParams) WithBody ¶
func (o *AllocateMachineParams) WithBody(body *models.V1MachineAllocateRequest) *AllocateMachineParams
WithBody adds the body to the allocate machine params
func (*AllocateMachineParams) WithContext ¶
func (o *AllocateMachineParams) WithContext(ctx context.Context) *AllocateMachineParams
WithContext adds the context to the allocate machine params
func (*AllocateMachineParams) WithDefaults ¶ added in v0.12.1
func (o *AllocateMachineParams) WithDefaults() *AllocateMachineParams
WithDefaults hydrates default values in the allocate machine params (not the query body).
All values with no default are reset to their zero value.
func (*AllocateMachineParams) WithHTTPClient ¶
func (o *AllocateMachineParams) WithHTTPClient(client *http.Client) *AllocateMachineParams
WithHTTPClient adds the HTTPClient to the allocate machine params
func (*AllocateMachineParams) WithTimeout ¶
func (o *AllocateMachineParams) WithTimeout(timeout time.Duration) *AllocateMachineParams
WithTimeout adds the timeout to the allocate machine params
func (*AllocateMachineParams) WriteToRequest ¶
func (o *AllocateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllocateMachineReader ¶
type AllocateMachineReader struct {
// contains filtered or unexported fields
}
AllocateMachineReader is a Reader for the AllocateMachine structure.
func (*AllocateMachineReader) ReadResponse ¶
func (o *AllocateMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChassisIdentifyLEDOffDefault ¶
type ChassisIdentifyLEDOffDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ChassisIdentifyLEDOffDefault describes a response with status code -1, with default header values.
Error
func NewChassisIdentifyLEDOffDefault ¶
func NewChassisIdentifyLEDOffDefault(code int) *ChassisIdentifyLEDOffDefault
NewChassisIdentifyLEDOffDefault creates a ChassisIdentifyLEDOffDefault with default headers values
func (*ChassisIdentifyLEDOffDefault) Code ¶
func (o *ChassisIdentifyLEDOffDefault) Code() int
Code gets the status code for the chassis identify l e d off default response
func (*ChassisIdentifyLEDOffDefault) Error ¶
func (o *ChassisIdentifyLEDOffDefault) Error() string
func (*ChassisIdentifyLEDOffDefault) GetPayload ¶ added in v0.11.0
func (o *ChassisIdentifyLEDOffDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ChassisIdentifyLEDOffDefault) IsClientError ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffDefault) IsClientError() bool
IsClientError returns true when this chassis identify l e d off default response has a 4xx status code
func (*ChassisIdentifyLEDOffDefault) IsCode ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffDefault) IsCode(code int) bool
IsCode returns true when this chassis identify l e d off default response a status code equal to that given
func (*ChassisIdentifyLEDOffDefault) IsRedirect ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffDefault) IsRedirect() bool
IsRedirect returns true when this chassis identify l e d off default response has a 3xx status code
func (*ChassisIdentifyLEDOffDefault) IsServerError ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffDefault) IsServerError() bool
IsServerError returns true when this chassis identify l e d off default response has a 5xx status code
func (*ChassisIdentifyLEDOffDefault) IsSuccess ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffDefault) IsSuccess() bool
IsSuccess returns true when this chassis identify l e d off default response has a 2xx status code
func (*ChassisIdentifyLEDOffDefault) String ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffDefault) String() string
type ChassisIdentifyLEDOffOK ¶
type ChassisIdentifyLEDOffOK struct {
Payload *models.V1MachineResponse
}
ChassisIdentifyLEDOffOK describes a response with status code 200, with default header values.
OK
func NewChassisIdentifyLEDOffOK ¶
func NewChassisIdentifyLEDOffOK() *ChassisIdentifyLEDOffOK
NewChassisIdentifyLEDOffOK creates a ChassisIdentifyLEDOffOK with default headers values
func (*ChassisIdentifyLEDOffOK) Error ¶
func (o *ChassisIdentifyLEDOffOK) Error() string
func (*ChassisIdentifyLEDOffOK) GetPayload ¶ added in v0.11.0
func (o *ChassisIdentifyLEDOffOK) GetPayload() *models.V1MachineResponse
func (*ChassisIdentifyLEDOffOK) IsClientError ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffOK) IsClientError() bool
IsClientError returns true when this chassis identify l e d off o k response has a 4xx status code
func (*ChassisIdentifyLEDOffOK) IsCode ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffOK) IsCode(code int) bool
IsCode returns true when this chassis identify l e d off o k response a status code equal to that given
func (*ChassisIdentifyLEDOffOK) IsRedirect ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffOK) IsRedirect() bool
IsRedirect returns true when this chassis identify l e d off o k response has a 3xx status code
func (*ChassisIdentifyLEDOffOK) IsServerError ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffOK) IsServerError() bool
IsServerError returns true when this chassis identify l e d off o k response has a 5xx status code
func (*ChassisIdentifyLEDOffOK) IsSuccess ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffOK) IsSuccess() bool
IsSuccess returns true when this chassis identify l e d off o k response has a 2xx status code
func (*ChassisIdentifyLEDOffOK) String ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOffOK) String() string
type ChassisIdentifyLEDOffParams ¶
type ChassisIdentifyLEDOffParams struct { // Body. Body models.V1EmptyBody /* Description. reason why the chassis identify LED has been turned off */ Description *string /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChassisIdentifyLEDOffParams contains all the parameters to send to the API endpoint
for the chassis identify l e d off operation. Typically these are written to a http.Request.
func NewChassisIdentifyLEDOffParams ¶
func NewChassisIdentifyLEDOffParams() *ChassisIdentifyLEDOffParams
NewChassisIdentifyLEDOffParams creates a new ChassisIdentifyLEDOffParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChassisIdentifyLEDOffParamsWithContext ¶
func NewChassisIdentifyLEDOffParamsWithContext(ctx context.Context) *ChassisIdentifyLEDOffParams
NewChassisIdentifyLEDOffParamsWithContext creates a new ChassisIdentifyLEDOffParams object with the ability to set a context for a request.
func NewChassisIdentifyLEDOffParamsWithHTTPClient ¶
func NewChassisIdentifyLEDOffParamsWithHTTPClient(client *http.Client) *ChassisIdentifyLEDOffParams
NewChassisIdentifyLEDOffParamsWithHTTPClient creates a new ChassisIdentifyLEDOffParams object with the ability to set a custom HTTPClient for a request.
func NewChassisIdentifyLEDOffParamsWithTimeout ¶
func NewChassisIdentifyLEDOffParamsWithTimeout(timeout time.Duration) *ChassisIdentifyLEDOffParams
NewChassisIdentifyLEDOffParamsWithTimeout creates a new ChassisIdentifyLEDOffParams object with the ability to set a timeout on a request.
func (*ChassisIdentifyLEDOffParams) SetBody ¶
func (o *ChassisIdentifyLEDOffParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) SetContext ¶
func (o *ChassisIdentifyLEDOffParams) SetContext(ctx context.Context)
SetContext adds the context to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) SetDefaults ¶ added in v0.12.1
func (o *ChassisIdentifyLEDOffParams) SetDefaults()
SetDefaults hydrates default values in the chassis identify l e d off params (not the query body).
All values with no default are reset to their zero value.
func (*ChassisIdentifyLEDOffParams) SetDescription ¶
func (o *ChassisIdentifyLEDOffParams) SetDescription(description *string)
SetDescription adds the description to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) SetHTTPClient ¶
func (o *ChassisIdentifyLEDOffParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) SetID ¶
func (o *ChassisIdentifyLEDOffParams) SetID(id string)
SetID adds the id to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) SetTimeout ¶
func (o *ChassisIdentifyLEDOffParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) WithBody ¶
func (o *ChassisIdentifyLEDOffParams) WithBody(body models.V1EmptyBody) *ChassisIdentifyLEDOffParams
WithBody adds the body to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) WithContext ¶
func (o *ChassisIdentifyLEDOffParams) WithContext(ctx context.Context) *ChassisIdentifyLEDOffParams
WithContext adds the context to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) WithDefaults ¶ added in v0.12.1
func (o *ChassisIdentifyLEDOffParams) WithDefaults() *ChassisIdentifyLEDOffParams
WithDefaults hydrates default values in the chassis identify l e d off params (not the query body).
All values with no default are reset to their zero value.
func (*ChassisIdentifyLEDOffParams) WithDescription ¶
func (o *ChassisIdentifyLEDOffParams) WithDescription(description *string) *ChassisIdentifyLEDOffParams
WithDescription adds the description to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) WithHTTPClient ¶
func (o *ChassisIdentifyLEDOffParams) WithHTTPClient(client *http.Client) *ChassisIdentifyLEDOffParams
WithHTTPClient adds the HTTPClient to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) WithID ¶
func (o *ChassisIdentifyLEDOffParams) WithID(id string) *ChassisIdentifyLEDOffParams
WithID adds the id to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) WithTimeout ¶
func (o *ChassisIdentifyLEDOffParams) WithTimeout(timeout time.Duration) *ChassisIdentifyLEDOffParams
WithTimeout adds the timeout to the chassis identify l e d off params
func (*ChassisIdentifyLEDOffParams) WriteToRequest ¶
func (o *ChassisIdentifyLEDOffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChassisIdentifyLEDOffReader ¶
type ChassisIdentifyLEDOffReader struct {
// contains filtered or unexported fields
}
ChassisIdentifyLEDOffReader is a Reader for the ChassisIdentifyLEDOff structure.
func (*ChassisIdentifyLEDOffReader) ReadResponse ¶
func (o *ChassisIdentifyLEDOffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChassisIdentifyLEDOnDefault ¶
type ChassisIdentifyLEDOnDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ChassisIdentifyLEDOnDefault describes a response with status code -1, with default header values.
Error
func NewChassisIdentifyLEDOnDefault ¶
func NewChassisIdentifyLEDOnDefault(code int) *ChassisIdentifyLEDOnDefault
NewChassisIdentifyLEDOnDefault creates a ChassisIdentifyLEDOnDefault with default headers values
func (*ChassisIdentifyLEDOnDefault) Code ¶
func (o *ChassisIdentifyLEDOnDefault) Code() int
Code gets the status code for the chassis identify l e d on default response
func (*ChassisIdentifyLEDOnDefault) Error ¶
func (o *ChassisIdentifyLEDOnDefault) Error() string
func (*ChassisIdentifyLEDOnDefault) GetPayload ¶ added in v0.11.0
func (o *ChassisIdentifyLEDOnDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ChassisIdentifyLEDOnDefault) IsClientError ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnDefault) IsClientError() bool
IsClientError returns true when this chassis identify l e d on default response has a 4xx status code
func (*ChassisIdentifyLEDOnDefault) IsCode ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnDefault) IsCode(code int) bool
IsCode returns true when this chassis identify l e d on default response a status code equal to that given
func (*ChassisIdentifyLEDOnDefault) IsRedirect ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnDefault) IsRedirect() bool
IsRedirect returns true when this chassis identify l e d on default response has a 3xx status code
func (*ChassisIdentifyLEDOnDefault) IsServerError ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnDefault) IsServerError() bool
IsServerError returns true when this chassis identify l e d on default response has a 5xx status code
func (*ChassisIdentifyLEDOnDefault) IsSuccess ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnDefault) IsSuccess() bool
IsSuccess returns true when this chassis identify l e d on default response has a 2xx status code
func (*ChassisIdentifyLEDOnDefault) String ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnDefault) String() string
type ChassisIdentifyLEDOnOK ¶
type ChassisIdentifyLEDOnOK struct {
Payload *models.V1MachineResponse
}
ChassisIdentifyLEDOnOK describes a response with status code 200, with default header values.
OK
func NewChassisIdentifyLEDOnOK ¶
func NewChassisIdentifyLEDOnOK() *ChassisIdentifyLEDOnOK
NewChassisIdentifyLEDOnOK creates a ChassisIdentifyLEDOnOK with default headers values
func (*ChassisIdentifyLEDOnOK) Error ¶
func (o *ChassisIdentifyLEDOnOK) Error() string
func (*ChassisIdentifyLEDOnOK) GetPayload ¶ added in v0.11.0
func (o *ChassisIdentifyLEDOnOK) GetPayload() *models.V1MachineResponse
func (*ChassisIdentifyLEDOnOK) IsClientError ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnOK) IsClientError() bool
IsClientError returns true when this chassis identify l e d on o k response has a 4xx status code
func (*ChassisIdentifyLEDOnOK) IsCode ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnOK) IsCode(code int) bool
IsCode returns true when this chassis identify l e d on o k response a status code equal to that given
func (*ChassisIdentifyLEDOnOK) IsRedirect ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnOK) IsRedirect() bool
IsRedirect returns true when this chassis identify l e d on o k response has a 3xx status code
func (*ChassisIdentifyLEDOnOK) IsServerError ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnOK) IsServerError() bool
IsServerError returns true when this chassis identify l e d on o k response has a 5xx status code
func (*ChassisIdentifyLEDOnOK) IsSuccess ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnOK) IsSuccess() bool
IsSuccess returns true when this chassis identify l e d on o k response has a 2xx status code
func (*ChassisIdentifyLEDOnOK) String ¶ added in v0.19.3
func (o *ChassisIdentifyLEDOnOK) String() string
type ChassisIdentifyLEDOnParams ¶
type ChassisIdentifyLEDOnParams struct { // Body. Body models.V1EmptyBody /* Description. identifier of the machine */ Description *string /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChassisIdentifyLEDOnParams contains all the parameters to send to the API endpoint
for the chassis identify l e d on operation. Typically these are written to a http.Request.
func NewChassisIdentifyLEDOnParams ¶
func NewChassisIdentifyLEDOnParams() *ChassisIdentifyLEDOnParams
NewChassisIdentifyLEDOnParams creates a new ChassisIdentifyLEDOnParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChassisIdentifyLEDOnParamsWithContext ¶
func NewChassisIdentifyLEDOnParamsWithContext(ctx context.Context) *ChassisIdentifyLEDOnParams
NewChassisIdentifyLEDOnParamsWithContext creates a new ChassisIdentifyLEDOnParams object with the ability to set a context for a request.
func NewChassisIdentifyLEDOnParamsWithHTTPClient ¶
func NewChassisIdentifyLEDOnParamsWithHTTPClient(client *http.Client) *ChassisIdentifyLEDOnParams
NewChassisIdentifyLEDOnParamsWithHTTPClient creates a new ChassisIdentifyLEDOnParams object with the ability to set a custom HTTPClient for a request.
func NewChassisIdentifyLEDOnParamsWithTimeout ¶
func NewChassisIdentifyLEDOnParamsWithTimeout(timeout time.Duration) *ChassisIdentifyLEDOnParams
NewChassisIdentifyLEDOnParamsWithTimeout creates a new ChassisIdentifyLEDOnParams object with the ability to set a timeout on a request.
func (*ChassisIdentifyLEDOnParams) SetBody ¶
func (o *ChassisIdentifyLEDOnParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) SetContext ¶
func (o *ChassisIdentifyLEDOnParams) SetContext(ctx context.Context)
SetContext adds the context to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) SetDefaults ¶ added in v0.12.1
func (o *ChassisIdentifyLEDOnParams) SetDefaults()
SetDefaults hydrates default values in the chassis identify l e d on params (not the query body).
All values with no default are reset to their zero value.
func (*ChassisIdentifyLEDOnParams) SetDescription ¶
func (o *ChassisIdentifyLEDOnParams) SetDescription(description *string)
SetDescription adds the description to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) SetHTTPClient ¶
func (o *ChassisIdentifyLEDOnParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) SetID ¶
func (o *ChassisIdentifyLEDOnParams) SetID(id string)
SetID adds the id to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) SetTimeout ¶
func (o *ChassisIdentifyLEDOnParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) WithBody ¶
func (o *ChassisIdentifyLEDOnParams) WithBody(body models.V1EmptyBody) *ChassisIdentifyLEDOnParams
WithBody adds the body to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) WithContext ¶
func (o *ChassisIdentifyLEDOnParams) WithContext(ctx context.Context) *ChassisIdentifyLEDOnParams
WithContext adds the context to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) WithDefaults ¶ added in v0.12.1
func (o *ChassisIdentifyLEDOnParams) WithDefaults() *ChassisIdentifyLEDOnParams
WithDefaults hydrates default values in the chassis identify l e d on params (not the query body).
All values with no default are reset to their zero value.
func (*ChassisIdentifyLEDOnParams) WithDescription ¶
func (o *ChassisIdentifyLEDOnParams) WithDescription(description *string) *ChassisIdentifyLEDOnParams
WithDescription adds the description to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) WithHTTPClient ¶
func (o *ChassisIdentifyLEDOnParams) WithHTTPClient(client *http.Client) *ChassisIdentifyLEDOnParams
WithHTTPClient adds the HTTPClient to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) WithID ¶
func (o *ChassisIdentifyLEDOnParams) WithID(id string) *ChassisIdentifyLEDOnParams
WithID adds the id to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) WithTimeout ¶
func (o *ChassisIdentifyLEDOnParams) WithTimeout(timeout time.Duration) *ChassisIdentifyLEDOnParams
WithTimeout adds the timeout to the chassis identify l e d on params
func (*ChassisIdentifyLEDOnParams) WriteToRequest ¶
func (o *ChassisIdentifyLEDOnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChassisIdentifyLEDOnReader ¶
type ChassisIdentifyLEDOnReader struct {
// contains filtered or unexported fields
}
ChassisIdentifyLEDOnReader is a Reader for the ChassisIdentifyLEDOn structure.
func (*ChassisIdentifyLEDOnReader) ReadResponse ¶
func (o *ChassisIdentifyLEDOnReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for machine API
func (*Client) AbortReinstallMachine ¶ added in v0.4.0
func (a *Client) AbortReinstallMachine(params *AbortReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AbortReinstallMachineOK, error)
AbortReinstallMachine aborts reinstall this machine
func (*Client) AddProvisioningEvent ¶
func (a *Client) AddProvisioningEvent(params *AddProvisioningEventParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProvisioningEventOK, error)
AddProvisioningEvent adds a machine provisioning event
func (*Client) AddProvisioningEvents ¶ added in v0.16.6
func (a *Client) AddProvisioningEvents(params *AddProvisioningEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProvisioningEventsOK, error)
AddProvisioningEvents adds machine provisioning events
func (*Client) AllocateMachine ¶
func (a *Client) AllocateMachine(params *AllocateMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateMachineOK, error)
AllocateMachine allocates a machine
func (*Client) ChassisIdentifyLEDOff ¶
func (a *Client) ChassisIdentifyLEDOff(params *ChassisIdentifyLEDOffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChassisIdentifyLEDOffOK, error)
ChassisIdentifyLEDOff sends a power off to the chassis identify l e d
func (*Client) ChassisIdentifyLEDOn ¶
func (a *Client) ChassisIdentifyLEDOn(params *ChassisIdentifyLEDOnParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChassisIdentifyLEDOnOK, error)
ChassisIdentifyLEDOn sends a power on to the chassis identify l e d
func (*Client) DeleteMachine ¶ added in v0.11.5
func (a *Client) DeleteMachine(params *DeleteMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMachineOK, error)
DeleteMachine deletes a machine from the database
func (*Client) FinalizeAllocation ¶
func (a *Client) FinalizeAllocation(params *FinalizeAllocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FinalizeAllocationOK, error)
FinalizeAllocation finalizes the allocation of the machine by reconfiguring the switch sent on successful image installation
func (*Client) FindIPMIMachine ¶
func (a *Client) FindIPMIMachine(params *FindIPMIMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindIPMIMachineOK, error)
FindIPMIMachine returns a machine including the ipmi connection data
func (*Client) FindIPMIMachines ¶
func (a *Client) FindIPMIMachines(params *FindIPMIMachinesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindIPMIMachinesOK, error)
FindIPMIMachines returns machines including the ipmi connection data
func (*Client) FindMachine ¶
func (a *Client) FindMachine(params *FindMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindMachineOK, error)
FindMachine gets machine by id
func (*Client) FindMachines ¶
func (a *Client) FindMachines(params *FindMachinesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindMachinesOK, error)
FindMachines finds machines by multiple criteria
func (*Client) FreeMachine ¶
func (a *Client) FreeMachine(params *FreeMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FreeMachineOK, error)
FreeMachine frees a machine
func (*Client) GetMachineConsolePassword ¶ added in v0.14.3
func (a *Client) GetMachineConsolePassword(params *GetMachineConsolePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMachineConsolePasswordOK, error)
GetMachineConsolePassword gets consolepassword for machine by id
func (*Client) GetProvisioningEventContainer ¶
func (a *Client) GetProvisioningEventContainer(params *GetProvisioningEventContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProvisioningEventContainerOK, error)
GetProvisioningEventContainer gets the current machine provisioning event container
func (*Client) IpmiReport ¶ added in v0.11.0
func (a *Client) IpmiReport(params *IpmiReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpmiReportOK, error)
IpmiReport reports IP m i ip addresses leased by a management server for machines
func (*Client) ListMachines ¶
func (a *Client) ListMachines(params *ListMachinesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMachinesOK, error)
ListMachines gets all known machines
func (*Client) MachineBios ¶
func (a *Client) MachineBios(params *MachineBiosParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineBiosOK, error)
MachineBios boots machine into b i o s
func (*Client) MachineCycle ¶ added in v0.15.2
func (a *Client) MachineCycle(params *MachineCycleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineCycleOK, error)
MachineCycle sends a power cycle to the machine
func (*Client) MachineDisk ¶ added in v0.11.2
func (a *Client) MachineDisk(params *MachineDiskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineDiskOK, error)
MachineDisk boots machine from disk
func (*Client) MachineOff ¶
func (a *Client) MachineOff(params *MachineOffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineOffOK, error)
MachineOff sends a power off to the machine
func (*Client) MachineOn ¶
func (a *Client) MachineOn(params *MachineOnParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineOnOK, error)
MachineOn sends a power on to the machine
func (*Client) MachinePxe ¶ added in v0.11.2
func (a *Client) MachinePxe(params *MachinePxeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachinePxeOK, error)
MachinePxe boots machine from p x e
func (*Client) MachineReset ¶
func (a *Client) MachineReset(params *MachineResetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineResetOK, error)
MachineReset sends a reset to the machine
func (*Client) RegisterMachine ¶
func (a *Client) RegisterMachine(params *RegisterMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegisterMachineOK, *RegisterMachineCreated, error)
RegisterMachine registers a machine
func (*Client) ReinstallMachine ¶ added in v0.4.0
func (a *Client) ReinstallMachine(params *ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReinstallMachineOK, error)
ReinstallMachine reinstalls this machine
func (*Client) SetChassisIdentifyLEDState ¶
func (a *Client) SetChassisIdentifyLEDState(params *SetChassisIdentifyLEDStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetChassisIdentifyLEDStateOK, error)
SetChassisIdentifyLEDState sets the state of a chassis identify l e d
func (*Client) SetMachineState ¶
func (a *Client) SetMachineState(params *SetMachineStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetMachineStateOK, error)
SetMachineState sets the state of a machine
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateFirmware ¶ added in v0.13.1
func (a *Client) UpdateFirmware(params *UpdateFirmwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFirmwareOK, error)
UpdateFirmware sends a firmware command to the machine
func (*Client) UpdateMachine ¶ added in v0.17.0
func (a *Client) UpdateMachine(params *UpdateMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMachineOK, error)
UpdateMachine updates a machine if the machine was changed since this one was read a conflict is returned
type ClientOption ¶ added in v0.13.1
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.11.0
type ClientService interface { AbortReinstallMachine(params *AbortReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AbortReinstallMachineOK, error) AddProvisioningEvent(params *AddProvisioningEventParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProvisioningEventOK, error) AddProvisioningEvents(params *AddProvisioningEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProvisioningEventsOK, error) AllocateMachine(params *AllocateMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateMachineOK, error) ChassisIdentifyLEDOff(params *ChassisIdentifyLEDOffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChassisIdentifyLEDOffOK, error) ChassisIdentifyLEDOn(params *ChassisIdentifyLEDOnParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChassisIdentifyLEDOnOK, error) DeleteMachine(params *DeleteMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMachineOK, error) FinalizeAllocation(params *FinalizeAllocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FinalizeAllocationOK, error) FindIPMIMachine(params *FindIPMIMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindIPMIMachineOK, error) FindIPMIMachines(params *FindIPMIMachinesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindIPMIMachinesOK, error) FindMachine(params *FindMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindMachineOK, error) FindMachines(params *FindMachinesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindMachinesOK, error) FreeMachine(params *FreeMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FreeMachineOK, error) GetMachineConsolePassword(params *GetMachineConsolePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMachineConsolePasswordOK, error) GetProvisioningEventContainer(params *GetProvisioningEventContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProvisioningEventContainerOK, error) IpmiReport(params *IpmiReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IpmiReportOK, error) ListMachines(params *ListMachinesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMachinesOK, error) MachineBios(params *MachineBiosParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineBiosOK, error) MachineCycle(params *MachineCycleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineCycleOK, error) MachineDisk(params *MachineDiskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineDiskOK, error) MachineOff(params *MachineOffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineOffOK, error) MachineOn(params *MachineOnParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineOnOK, error) MachinePxe(params *MachinePxeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachinePxeOK, error) MachineReset(params *MachineResetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineResetOK, error) RegisterMachine(params *RegisterMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegisterMachineOK, *RegisterMachineCreated, error) ReinstallMachine(params *ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReinstallMachineOK, error) SetChassisIdentifyLEDState(params *SetChassisIdentifyLEDStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetChassisIdentifyLEDStateOK, error) SetMachineState(params *SetMachineStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetMachineStateOK, error) UpdateFirmware(params *UpdateFirmwareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFirmwareOK, error) UpdateMachine(params *UpdateMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMachineOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new machine API client.
type DeleteMachineDefault ¶ added in v0.11.5
type DeleteMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteMachineDefault describes a response with status code -1, with default header values.
Error
func NewDeleteMachineDefault ¶ added in v0.11.5
func NewDeleteMachineDefault(code int) *DeleteMachineDefault
NewDeleteMachineDefault creates a DeleteMachineDefault with default headers values
func (*DeleteMachineDefault) Code ¶ added in v0.11.5
func (o *DeleteMachineDefault) Code() int
Code gets the status code for the delete machine default response
func (*DeleteMachineDefault) Error ¶ added in v0.11.5
func (o *DeleteMachineDefault) Error() string
func (*DeleteMachineDefault) GetPayload ¶ added in v0.11.5
func (o *DeleteMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteMachineDefault) IsClientError ¶ added in v0.19.3
func (o *DeleteMachineDefault) IsClientError() bool
IsClientError returns true when this delete machine default response has a 4xx status code
func (*DeleteMachineDefault) IsCode ¶ added in v0.19.3
func (o *DeleteMachineDefault) IsCode(code int) bool
IsCode returns true when this delete machine default response a status code equal to that given
func (*DeleteMachineDefault) IsRedirect ¶ added in v0.19.3
func (o *DeleteMachineDefault) IsRedirect() bool
IsRedirect returns true when this delete machine default response has a 3xx status code
func (*DeleteMachineDefault) IsServerError ¶ added in v0.19.3
func (o *DeleteMachineDefault) IsServerError() bool
IsServerError returns true when this delete machine default response has a 5xx status code
func (*DeleteMachineDefault) IsSuccess ¶ added in v0.19.3
func (o *DeleteMachineDefault) IsSuccess() bool
IsSuccess returns true when this delete machine default response has a 2xx status code
func (*DeleteMachineDefault) String ¶ added in v0.19.3
func (o *DeleteMachineDefault) String() string
type DeleteMachineOK ¶ added in v0.11.5
type DeleteMachineOK struct {
Payload *models.V1MachineResponse
}
DeleteMachineOK describes a response with status code 200, with default header values.
OK
func NewDeleteMachineOK ¶ added in v0.11.5
func NewDeleteMachineOK() *DeleteMachineOK
NewDeleteMachineOK creates a DeleteMachineOK with default headers values
func (*DeleteMachineOK) Error ¶ added in v0.11.5
func (o *DeleteMachineOK) Error() string
func (*DeleteMachineOK) GetPayload ¶ added in v0.11.5
func (o *DeleteMachineOK) GetPayload() *models.V1MachineResponse
func (*DeleteMachineOK) IsClientError ¶ added in v0.19.3
func (o *DeleteMachineOK) IsClientError() bool
IsClientError returns true when this delete machine o k response has a 4xx status code
func (*DeleteMachineOK) IsCode ¶ added in v0.19.3
func (o *DeleteMachineOK) IsCode(code int) bool
IsCode returns true when this delete machine o k response a status code equal to that given
func (*DeleteMachineOK) IsRedirect ¶ added in v0.19.3
func (o *DeleteMachineOK) IsRedirect() bool
IsRedirect returns true when this delete machine o k response has a 3xx status code
func (*DeleteMachineOK) IsServerError ¶ added in v0.19.3
func (o *DeleteMachineOK) IsServerError() bool
IsServerError returns true when this delete machine o k response has a 5xx status code
func (*DeleteMachineOK) IsSuccess ¶ added in v0.19.3
func (o *DeleteMachineOK) IsSuccess() bool
IsSuccess returns true when this delete machine o k response has a 2xx status code
func (*DeleteMachineOK) String ¶ added in v0.19.3
func (o *DeleteMachineOK) String() string
type DeleteMachineParams ¶ added in v0.11.5
type DeleteMachineParams struct { /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMachineParams contains all the parameters to send to the API endpoint
for the delete machine operation. Typically these are written to a http.Request.
func NewDeleteMachineParams ¶ added in v0.11.5
func NewDeleteMachineParams() *DeleteMachineParams
NewDeleteMachineParams creates a new DeleteMachineParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteMachineParamsWithContext ¶ added in v0.11.5
func NewDeleteMachineParamsWithContext(ctx context.Context) *DeleteMachineParams
NewDeleteMachineParamsWithContext creates a new DeleteMachineParams object with the ability to set a context for a request.
func NewDeleteMachineParamsWithHTTPClient ¶ added in v0.11.5
func NewDeleteMachineParamsWithHTTPClient(client *http.Client) *DeleteMachineParams
NewDeleteMachineParamsWithHTTPClient creates a new DeleteMachineParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMachineParamsWithTimeout ¶ added in v0.11.5
func NewDeleteMachineParamsWithTimeout(timeout time.Duration) *DeleteMachineParams
NewDeleteMachineParamsWithTimeout creates a new DeleteMachineParams object with the ability to set a timeout on a request.
func (*DeleteMachineParams) SetContext ¶ added in v0.11.5
func (o *DeleteMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the delete machine params
func (*DeleteMachineParams) SetDefaults ¶ added in v0.12.1
func (o *DeleteMachineParams) SetDefaults()
SetDefaults hydrates default values in the delete machine params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMachineParams) SetHTTPClient ¶ added in v0.11.5
func (o *DeleteMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete machine params
func (*DeleteMachineParams) SetID ¶ added in v0.11.5
func (o *DeleteMachineParams) SetID(id string)
SetID adds the id to the delete machine params
func (*DeleteMachineParams) SetTimeout ¶ added in v0.11.5
func (o *DeleteMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete machine params
func (*DeleteMachineParams) WithContext ¶ added in v0.11.5
func (o *DeleteMachineParams) WithContext(ctx context.Context) *DeleteMachineParams
WithContext adds the context to the delete machine params
func (*DeleteMachineParams) WithDefaults ¶ added in v0.12.1
func (o *DeleteMachineParams) WithDefaults() *DeleteMachineParams
WithDefaults hydrates default values in the delete machine params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMachineParams) WithHTTPClient ¶ added in v0.11.5
func (o *DeleteMachineParams) WithHTTPClient(client *http.Client) *DeleteMachineParams
WithHTTPClient adds the HTTPClient to the delete machine params
func (*DeleteMachineParams) WithID ¶ added in v0.11.5
func (o *DeleteMachineParams) WithID(id string) *DeleteMachineParams
WithID adds the id to the delete machine params
func (*DeleteMachineParams) WithTimeout ¶ added in v0.11.5
func (o *DeleteMachineParams) WithTimeout(timeout time.Duration) *DeleteMachineParams
WithTimeout adds the timeout to the delete machine params
func (*DeleteMachineParams) WriteToRequest ¶ added in v0.11.5
func (o *DeleteMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMachineReader ¶ added in v0.11.5
type DeleteMachineReader struct {
// contains filtered or unexported fields
}
DeleteMachineReader is a Reader for the DeleteMachine structure.
func (*DeleteMachineReader) ReadResponse ¶ added in v0.11.5
func (o *DeleteMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FinalizeAllocationDefault ¶
type FinalizeAllocationDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FinalizeAllocationDefault describes a response with status code -1, with default header values.
Error
func NewFinalizeAllocationDefault ¶
func NewFinalizeAllocationDefault(code int) *FinalizeAllocationDefault
NewFinalizeAllocationDefault creates a FinalizeAllocationDefault with default headers values
func (*FinalizeAllocationDefault) Code ¶
func (o *FinalizeAllocationDefault) Code() int
Code gets the status code for the finalize allocation default response
func (*FinalizeAllocationDefault) Error ¶
func (o *FinalizeAllocationDefault) Error() string
func (*FinalizeAllocationDefault) GetPayload ¶ added in v0.11.0
func (o *FinalizeAllocationDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FinalizeAllocationDefault) IsClientError ¶ added in v0.19.3
func (o *FinalizeAllocationDefault) IsClientError() bool
IsClientError returns true when this finalize allocation default response has a 4xx status code
func (*FinalizeAllocationDefault) IsCode ¶ added in v0.19.3
func (o *FinalizeAllocationDefault) IsCode(code int) bool
IsCode returns true when this finalize allocation default response a status code equal to that given
func (*FinalizeAllocationDefault) IsRedirect ¶ added in v0.19.3
func (o *FinalizeAllocationDefault) IsRedirect() bool
IsRedirect returns true when this finalize allocation default response has a 3xx status code
func (*FinalizeAllocationDefault) IsServerError ¶ added in v0.19.3
func (o *FinalizeAllocationDefault) IsServerError() bool
IsServerError returns true when this finalize allocation default response has a 5xx status code
func (*FinalizeAllocationDefault) IsSuccess ¶ added in v0.19.3
func (o *FinalizeAllocationDefault) IsSuccess() bool
IsSuccess returns true when this finalize allocation default response has a 2xx status code
func (*FinalizeAllocationDefault) String ¶ added in v0.19.3
func (o *FinalizeAllocationDefault) String() string
type FinalizeAllocationOK ¶
type FinalizeAllocationOK struct {
Payload *models.V1MachineResponse
}
FinalizeAllocationOK describes a response with status code 200, with default header values.
OK
func NewFinalizeAllocationOK ¶
func NewFinalizeAllocationOK() *FinalizeAllocationOK
NewFinalizeAllocationOK creates a FinalizeAllocationOK with default headers values
func (*FinalizeAllocationOK) Error ¶
func (o *FinalizeAllocationOK) Error() string
func (*FinalizeAllocationOK) GetPayload ¶ added in v0.11.0
func (o *FinalizeAllocationOK) GetPayload() *models.V1MachineResponse
func (*FinalizeAllocationOK) IsClientError ¶ added in v0.19.3
func (o *FinalizeAllocationOK) IsClientError() bool
IsClientError returns true when this finalize allocation o k response has a 4xx status code
func (*FinalizeAllocationOK) IsCode ¶ added in v0.19.3
func (o *FinalizeAllocationOK) IsCode(code int) bool
IsCode returns true when this finalize allocation o k response a status code equal to that given
func (*FinalizeAllocationOK) IsRedirect ¶ added in v0.19.3
func (o *FinalizeAllocationOK) IsRedirect() bool
IsRedirect returns true when this finalize allocation o k response has a 3xx status code
func (*FinalizeAllocationOK) IsServerError ¶ added in v0.19.3
func (o *FinalizeAllocationOK) IsServerError() bool
IsServerError returns true when this finalize allocation o k response has a 5xx status code
func (*FinalizeAllocationOK) IsSuccess ¶ added in v0.19.3
func (o *FinalizeAllocationOK) IsSuccess() bool
IsSuccess returns true when this finalize allocation o k response has a 2xx status code
func (*FinalizeAllocationOK) String ¶ added in v0.19.3
func (o *FinalizeAllocationOK) String() string
type FinalizeAllocationParams ¶
type FinalizeAllocationParams struct { // Body. Body *models.V1MachineFinalizeAllocationRequest /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FinalizeAllocationParams contains all the parameters to send to the API endpoint
for the finalize allocation operation. Typically these are written to a http.Request.
func NewFinalizeAllocationParams ¶
func NewFinalizeAllocationParams() *FinalizeAllocationParams
NewFinalizeAllocationParams creates a new FinalizeAllocationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFinalizeAllocationParamsWithContext ¶
func NewFinalizeAllocationParamsWithContext(ctx context.Context) *FinalizeAllocationParams
NewFinalizeAllocationParamsWithContext creates a new FinalizeAllocationParams object with the ability to set a context for a request.
func NewFinalizeAllocationParamsWithHTTPClient ¶
func NewFinalizeAllocationParamsWithHTTPClient(client *http.Client) *FinalizeAllocationParams
NewFinalizeAllocationParamsWithHTTPClient creates a new FinalizeAllocationParams object with the ability to set a custom HTTPClient for a request.
func NewFinalizeAllocationParamsWithTimeout ¶
func NewFinalizeAllocationParamsWithTimeout(timeout time.Duration) *FinalizeAllocationParams
NewFinalizeAllocationParamsWithTimeout creates a new FinalizeAllocationParams object with the ability to set a timeout on a request.
func (*FinalizeAllocationParams) SetBody ¶
func (o *FinalizeAllocationParams) SetBody(body *models.V1MachineFinalizeAllocationRequest)
SetBody adds the body to the finalize allocation params
func (*FinalizeAllocationParams) SetContext ¶
func (o *FinalizeAllocationParams) SetContext(ctx context.Context)
SetContext adds the context to the finalize allocation params
func (*FinalizeAllocationParams) SetDefaults ¶ added in v0.12.1
func (o *FinalizeAllocationParams) SetDefaults()
SetDefaults hydrates default values in the finalize allocation params (not the query body).
All values with no default are reset to their zero value.
func (*FinalizeAllocationParams) SetHTTPClient ¶
func (o *FinalizeAllocationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the finalize allocation params
func (*FinalizeAllocationParams) SetID ¶
func (o *FinalizeAllocationParams) SetID(id string)
SetID adds the id to the finalize allocation params
func (*FinalizeAllocationParams) SetTimeout ¶
func (o *FinalizeAllocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the finalize allocation params
func (*FinalizeAllocationParams) WithBody ¶
func (o *FinalizeAllocationParams) WithBody(body *models.V1MachineFinalizeAllocationRequest) *FinalizeAllocationParams
WithBody adds the body to the finalize allocation params
func (*FinalizeAllocationParams) WithContext ¶
func (o *FinalizeAllocationParams) WithContext(ctx context.Context) *FinalizeAllocationParams
WithContext adds the context to the finalize allocation params
func (*FinalizeAllocationParams) WithDefaults ¶ added in v0.12.1
func (o *FinalizeAllocationParams) WithDefaults() *FinalizeAllocationParams
WithDefaults hydrates default values in the finalize allocation params (not the query body).
All values with no default are reset to their zero value.
func (*FinalizeAllocationParams) WithHTTPClient ¶
func (o *FinalizeAllocationParams) WithHTTPClient(client *http.Client) *FinalizeAllocationParams
WithHTTPClient adds the HTTPClient to the finalize allocation params
func (*FinalizeAllocationParams) WithID ¶
func (o *FinalizeAllocationParams) WithID(id string) *FinalizeAllocationParams
WithID adds the id to the finalize allocation params
func (*FinalizeAllocationParams) WithTimeout ¶
func (o *FinalizeAllocationParams) WithTimeout(timeout time.Duration) *FinalizeAllocationParams
WithTimeout adds the timeout to the finalize allocation params
func (*FinalizeAllocationParams) WriteToRequest ¶
func (o *FinalizeAllocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FinalizeAllocationReader ¶
type FinalizeAllocationReader struct {
// contains filtered or unexported fields
}
FinalizeAllocationReader is a Reader for the FinalizeAllocation structure.
func (*FinalizeAllocationReader) ReadResponse ¶
func (o *FinalizeAllocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindIPMIMachineDefault ¶
type FindIPMIMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindIPMIMachineDefault describes a response with status code -1, with default header values.
Error
func NewFindIPMIMachineDefault ¶
func NewFindIPMIMachineDefault(code int) *FindIPMIMachineDefault
NewFindIPMIMachineDefault creates a FindIPMIMachineDefault with default headers values
func (*FindIPMIMachineDefault) Code ¶
func (o *FindIPMIMachineDefault) Code() int
Code gets the status code for the find IP m i machine default response
func (*FindIPMIMachineDefault) Error ¶
func (o *FindIPMIMachineDefault) Error() string
func (*FindIPMIMachineDefault) GetPayload ¶ added in v0.11.0
func (o *FindIPMIMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindIPMIMachineDefault) IsClientError ¶ added in v0.19.3
func (o *FindIPMIMachineDefault) IsClientError() bool
IsClientError returns true when this find IP m i machine default response has a 4xx status code
func (*FindIPMIMachineDefault) IsCode ¶ added in v0.19.3
func (o *FindIPMIMachineDefault) IsCode(code int) bool
IsCode returns true when this find IP m i machine default response a status code equal to that given
func (*FindIPMIMachineDefault) IsRedirect ¶ added in v0.19.3
func (o *FindIPMIMachineDefault) IsRedirect() bool
IsRedirect returns true when this find IP m i machine default response has a 3xx status code
func (*FindIPMIMachineDefault) IsServerError ¶ added in v0.19.3
func (o *FindIPMIMachineDefault) IsServerError() bool
IsServerError returns true when this find IP m i machine default response has a 5xx status code
func (*FindIPMIMachineDefault) IsSuccess ¶ added in v0.19.3
func (o *FindIPMIMachineDefault) IsSuccess() bool
IsSuccess returns true when this find IP m i machine default response has a 2xx status code
func (*FindIPMIMachineDefault) String ¶ added in v0.19.3
func (o *FindIPMIMachineDefault) String() string
type FindIPMIMachineOK ¶
type FindIPMIMachineOK struct {
Payload *models.V1MachineIPMIResponse
}
FindIPMIMachineOK describes a response with status code 200, with default header values.
OK
func NewFindIPMIMachineOK ¶
func NewFindIPMIMachineOK() *FindIPMIMachineOK
NewFindIPMIMachineOK creates a FindIPMIMachineOK with default headers values
func (*FindIPMIMachineOK) Error ¶
func (o *FindIPMIMachineOK) Error() string
func (*FindIPMIMachineOK) GetPayload ¶ added in v0.11.0
func (o *FindIPMIMachineOK) GetPayload() *models.V1MachineIPMIResponse
func (*FindIPMIMachineOK) IsClientError ¶ added in v0.19.3
func (o *FindIPMIMachineOK) IsClientError() bool
IsClientError returns true when this find Ip m i machine o k response has a 4xx status code
func (*FindIPMIMachineOK) IsCode ¶ added in v0.19.3
func (o *FindIPMIMachineOK) IsCode(code int) bool
IsCode returns true when this find Ip m i machine o k response a status code equal to that given
func (*FindIPMIMachineOK) IsRedirect ¶ added in v0.19.3
func (o *FindIPMIMachineOK) IsRedirect() bool
IsRedirect returns true when this find Ip m i machine o k response has a 3xx status code
func (*FindIPMIMachineOK) IsServerError ¶ added in v0.19.3
func (o *FindIPMIMachineOK) IsServerError() bool
IsServerError returns true when this find Ip m i machine o k response has a 5xx status code
func (*FindIPMIMachineOK) IsSuccess ¶ added in v0.19.3
func (o *FindIPMIMachineOK) IsSuccess() bool
IsSuccess returns true when this find Ip m i machine o k response has a 2xx status code
func (*FindIPMIMachineOK) String ¶ added in v0.19.3
func (o *FindIPMIMachineOK) String() string
type FindIPMIMachineParams ¶
type FindIPMIMachineParams struct { /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindIPMIMachineParams contains all the parameters to send to the API endpoint
for the find IP m i machine operation. Typically these are written to a http.Request.
func NewFindIPMIMachineParams ¶
func NewFindIPMIMachineParams() *FindIPMIMachineParams
NewFindIPMIMachineParams creates a new FindIPMIMachineParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindIPMIMachineParamsWithContext ¶
func NewFindIPMIMachineParamsWithContext(ctx context.Context) *FindIPMIMachineParams
NewFindIPMIMachineParamsWithContext creates a new FindIPMIMachineParams object with the ability to set a context for a request.
func NewFindIPMIMachineParamsWithHTTPClient ¶
func NewFindIPMIMachineParamsWithHTTPClient(client *http.Client) *FindIPMIMachineParams
NewFindIPMIMachineParamsWithHTTPClient creates a new FindIPMIMachineParams object with the ability to set a custom HTTPClient for a request.
func NewFindIPMIMachineParamsWithTimeout ¶
func NewFindIPMIMachineParamsWithTimeout(timeout time.Duration) *FindIPMIMachineParams
NewFindIPMIMachineParamsWithTimeout creates a new FindIPMIMachineParams object with the ability to set a timeout on a request.
func (*FindIPMIMachineParams) SetContext ¶
func (o *FindIPMIMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the find IP m i machine params
func (*FindIPMIMachineParams) SetDefaults ¶ added in v0.12.1
func (o *FindIPMIMachineParams) SetDefaults()
SetDefaults hydrates default values in the find IP m i machine params (not the query body).
All values with no default are reset to their zero value.
func (*FindIPMIMachineParams) SetHTTPClient ¶
func (o *FindIPMIMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find IP m i machine params
func (*FindIPMIMachineParams) SetID ¶
func (o *FindIPMIMachineParams) SetID(id string)
SetID adds the id to the find IP m i machine params
func (*FindIPMIMachineParams) SetTimeout ¶
func (o *FindIPMIMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find IP m i machine params
func (*FindIPMIMachineParams) WithContext ¶
func (o *FindIPMIMachineParams) WithContext(ctx context.Context) *FindIPMIMachineParams
WithContext adds the context to the find IP m i machine params
func (*FindIPMIMachineParams) WithDefaults ¶ added in v0.12.1
func (o *FindIPMIMachineParams) WithDefaults() *FindIPMIMachineParams
WithDefaults hydrates default values in the find IP m i machine params (not the query body).
All values with no default are reset to their zero value.
func (*FindIPMIMachineParams) WithHTTPClient ¶
func (o *FindIPMIMachineParams) WithHTTPClient(client *http.Client) *FindIPMIMachineParams
WithHTTPClient adds the HTTPClient to the find IP m i machine params
func (*FindIPMIMachineParams) WithID ¶
func (o *FindIPMIMachineParams) WithID(id string) *FindIPMIMachineParams
WithID adds the id to the find IP m i machine params
func (*FindIPMIMachineParams) WithTimeout ¶
func (o *FindIPMIMachineParams) WithTimeout(timeout time.Duration) *FindIPMIMachineParams
WithTimeout adds the timeout to the find IP m i machine params
func (*FindIPMIMachineParams) WriteToRequest ¶
func (o *FindIPMIMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindIPMIMachineReader ¶
type FindIPMIMachineReader struct {
// contains filtered or unexported fields
}
FindIPMIMachineReader is a Reader for the FindIPMIMachine structure.
func (*FindIPMIMachineReader) ReadResponse ¶
func (o *FindIPMIMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindIPMIMachinesDefault ¶
type FindIPMIMachinesDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindIPMIMachinesDefault describes a response with status code -1, with default header values.
Error
func NewFindIPMIMachinesDefault ¶
func NewFindIPMIMachinesDefault(code int) *FindIPMIMachinesDefault
NewFindIPMIMachinesDefault creates a FindIPMIMachinesDefault with default headers values
func (*FindIPMIMachinesDefault) Code ¶
func (o *FindIPMIMachinesDefault) Code() int
Code gets the status code for the find IP m i machines default response
func (*FindIPMIMachinesDefault) Error ¶
func (o *FindIPMIMachinesDefault) Error() string
func (*FindIPMIMachinesDefault) GetPayload ¶ added in v0.11.0
func (o *FindIPMIMachinesDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindIPMIMachinesDefault) IsClientError ¶ added in v0.19.3
func (o *FindIPMIMachinesDefault) IsClientError() bool
IsClientError returns true when this find IP m i machines default response has a 4xx status code
func (*FindIPMIMachinesDefault) IsCode ¶ added in v0.19.3
func (o *FindIPMIMachinesDefault) IsCode(code int) bool
IsCode returns true when this find IP m i machines default response a status code equal to that given
func (*FindIPMIMachinesDefault) IsRedirect ¶ added in v0.19.3
func (o *FindIPMIMachinesDefault) IsRedirect() bool
IsRedirect returns true when this find IP m i machines default response has a 3xx status code
func (*FindIPMIMachinesDefault) IsServerError ¶ added in v0.19.3
func (o *FindIPMIMachinesDefault) IsServerError() bool
IsServerError returns true when this find IP m i machines default response has a 5xx status code
func (*FindIPMIMachinesDefault) IsSuccess ¶ added in v0.19.3
func (o *FindIPMIMachinesDefault) IsSuccess() bool
IsSuccess returns true when this find IP m i machines default response has a 2xx status code
func (*FindIPMIMachinesDefault) String ¶ added in v0.19.3
func (o *FindIPMIMachinesDefault) String() string
type FindIPMIMachinesOK ¶
type FindIPMIMachinesOK struct {
Payload []*models.V1MachineIPMIResponse
}
FindIPMIMachinesOK describes a response with status code 200, with default header values.
OK
func NewFindIPMIMachinesOK ¶
func NewFindIPMIMachinesOK() *FindIPMIMachinesOK
NewFindIPMIMachinesOK creates a FindIPMIMachinesOK with default headers values
func (*FindIPMIMachinesOK) Error ¶
func (o *FindIPMIMachinesOK) Error() string
func (*FindIPMIMachinesOK) GetPayload ¶ added in v0.11.0
func (o *FindIPMIMachinesOK) GetPayload() []*models.V1MachineIPMIResponse
func (*FindIPMIMachinesOK) IsClientError ¶ added in v0.19.3
func (o *FindIPMIMachinesOK) IsClientError() bool
IsClientError returns true when this find Ip m i machines o k response has a 4xx status code
func (*FindIPMIMachinesOK) IsCode ¶ added in v0.19.3
func (o *FindIPMIMachinesOK) IsCode(code int) bool
IsCode returns true when this find Ip m i machines o k response a status code equal to that given
func (*FindIPMIMachinesOK) IsRedirect ¶ added in v0.19.3
func (o *FindIPMIMachinesOK) IsRedirect() bool
IsRedirect returns true when this find Ip m i machines o k response has a 3xx status code
func (*FindIPMIMachinesOK) IsServerError ¶ added in v0.19.3
func (o *FindIPMIMachinesOK) IsServerError() bool
IsServerError returns true when this find Ip m i machines o k response has a 5xx status code
func (*FindIPMIMachinesOK) IsSuccess ¶ added in v0.19.3
func (o *FindIPMIMachinesOK) IsSuccess() bool
IsSuccess returns true when this find Ip m i machines o k response has a 2xx status code
func (*FindIPMIMachinesOK) String ¶ added in v0.19.3
func (o *FindIPMIMachinesOK) String() string
type FindIPMIMachinesParams ¶
type FindIPMIMachinesParams struct { // Body. Body *models.V1MachineFindRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindIPMIMachinesParams contains all the parameters to send to the API endpoint
for the find IP m i machines operation. Typically these are written to a http.Request.
func NewFindIPMIMachinesParams ¶
func NewFindIPMIMachinesParams() *FindIPMIMachinesParams
NewFindIPMIMachinesParams creates a new FindIPMIMachinesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindIPMIMachinesParamsWithContext ¶
func NewFindIPMIMachinesParamsWithContext(ctx context.Context) *FindIPMIMachinesParams
NewFindIPMIMachinesParamsWithContext creates a new FindIPMIMachinesParams object with the ability to set a context for a request.
func NewFindIPMIMachinesParamsWithHTTPClient ¶
func NewFindIPMIMachinesParamsWithHTTPClient(client *http.Client) *FindIPMIMachinesParams
NewFindIPMIMachinesParamsWithHTTPClient creates a new FindIPMIMachinesParams object with the ability to set a custom HTTPClient for a request.
func NewFindIPMIMachinesParamsWithTimeout ¶
func NewFindIPMIMachinesParamsWithTimeout(timeout time.Duration) *FindIPMIMachinesParams
NewFindIPMIMachinesParamsWithTimeout creates a new FindIPMIMachinesParams object with the ability to set a timeout on a request.
func (*FindIPMIMachinesParams) SetBody ¶
func (o *FindIPMIMachinesParams) SetBody(body *models.V1MachineFindRequest)
SetBody adds the body to the find IP m i machines params
func (*FindIPMIMachinesParams) SetContext ¶
func (o *FindIPMIMachinesParams) SetContext(ctx context.Context)
SetContext adds the context to the find IP m i machines params
func (*FindIPMIMachinesParams) SetDefaults ¶ added in v0.12.1
func (o *FindIPMIMachinesParams) SetDefaults()
SetDefaults hydrates default values in the find IP m i machines params (not the query body).
All values with no default are reset to their zero value.
func (*FindIPMIMachinesParams) SetHTTPClient ¶
func (o *FindIPMIMachinesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find IP m i machines params
func (*FindIPMIMachinesParams) SetTimeout ¶
func (o *FindIPMIMachinesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find IP m i machines params
func (*FindIPMIMachinesParams) WithBody ¶
func (o *FindIPMIMachinesParams) WithBody(body *models.V1MachineFindRequest) *FindIPMIMachinesParams
WithBody adds the body to the find IP m i machines params
func (*FindIPMIMachinesParams) WithContext ¶
func (o *FindIPMIMachinesParams) WithContext(ctx context.Context) *FindIPMIMachinesParams
WithContext adds the context to the find IP m i machines params
func (*FindIPMIMachinesParams) WithDefaults ¶ added in v0.12.1
func (o *FindIPMIMachinesParams) WithDefaults() *FindIPMIMachinesParams
WithDefaults hydrates default values in the find IP m i machines params (not the query body).
All values with no default are reset to their zero value.
func (*FindIPMIMachinesParams) WithHTTPClient ¶
func (o *FindIPMIMachinesParams) WithHTTPClient(client *http.Client) *FindIPMIMachinesParams
WithHTTPClient adds the HTTPClient to the find IP m i machines params
func (*FindIPMIMachinesParams) WithTimeout ¶
func (o *FindIPMIMachinesParams) WithTimeout(timeout time.Duration) *FindIPMIMachinesParams
WithTimeout adds the timeout to the find IP m i machines params
func (*FindIPMIMachinesParams) WriteToRequest ¶
func (o *FindIPMIMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindIPMIMachinesReader ¶
type FindIPMIMachinesReader struct {
// contains filtered or unexported fields
}
FindIPMIMachinesReader is a Reader for the FindIPMIMachines structure.
func (*FindIPMIMachinesReader) ReadResponse ¶
func (o *FindIPMIMachinesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindMachineDefault ¶
type FindMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindMachineDefault describes a response with status code -1, with default header values.
Error
func NewFindMachineDefault ¶
func NewFindMachineDefault(code int) *FindMachineDefault
NewFindMachineDefault creates a FindMachineDefault with default headers values
func (*FindMachineDefault) Code ¶
func (o *FindMachineDefault) Code() int
Code gets the status code for the find machine default response
func (*FindMachineDefault) Error ¶
func (o *FindMachineDefault) Error() string
func (*FindMachineDefault) GetPayload ¶ added in v0.11.0
func (o *FindMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindMachineDefault) IsClientError ¶ added in v0.19.3
func (o *FindMachineDefault) IsClientError() bool
IsClientError returns true when this find machine default response has a 4xx status code
func (*FindMachineDefault) IsCode ¶ added in v0.19.3
func (o *FindMachineDefault) IsCode(code int) bool
IsCode returns true when this find machine default response a status code equal to that given
func (*FindMachineDefault) IsRedirect ¶ added in v0.19.3
func (o *FindMachineDefault) IsRedirect() bool
IsRedirect returns true when this find machine default response has a 3xx status code
func (*FindMachineDefault) IsServerError ¶ added in v0.19.3
func (o *FindMachineDefault) IsServerError() bool
IsServerError returns true when this find machine default response has a 5xx status code
func (*FindMachineDefault) IsSuccess ¶ added in v0.19.3
func (o *FindMachineDefault) IsSuccess() bool
IsSuccess returns true when this find machine default response has a 2xx status code
func (*FindMachineDefault) String ¶ added in v0.19.3
func (o *FindMachineDefault) String() string
type FindMachineOK ¶
type FindMachineOK struct {
Payload *models.V1MachineResponse
}
FindMachineOK describes a response with status code 200, with default header values.
OK
func NewFindMachineOK ¶
func NewFindMachineOK() *FindMachineOK
NewFindMachineOK creates a FindMachineOK with default headers values
func (*FindMachineOK) Error ¶
func (o *FindMachineOK) Error() string
func (*FindMachineOK) GetPayload ¶ added in v0.11.0
func (o *FindMachineOK) GetPayload() *models.V1MachineResponse
func (*FindMachineOK) IsClientError ¶ added in v0.19.3
func (o *FindMachineOK) IsClientError() bool
IsClientError returns true when this find machine o k response has a 4xx status code
func (*FindMachineOK) IsCode ¶ added in v0.19.3
func (o *FindMachineOK) IsCode(code int) bool
IsCode returns true when this find machine o k response a status code equal to that given
func (*FindMachineOK) IsRedirect ¶ added in v0.19.3
func (o *FindMachineOK) IsRedirect() bool
IsRedirect returns true when this find machine o k response has a 3xx status code
func (*FindMachineOK) IsServerError ¶ added in v0.19.3
func (o *FindMachineOK) IsServerError() bool
IsServerError returns true when this find machine o k response has a 5xx status code
func (*FindMachineOK) IsSuccess ¶ added in v0.19.3
func (o *FindMachineOK) IsSuccess() bool
IsSuccess returns true when this find machine o k response has a 2xx status code
func (*FindMachineOK) String ¶ added in v0.19.3
func (o *FindMachineOK) String() string
type FindMachineParams ¶
type FindMachineParams struct { /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindMachineParams contains all the parameters to send to the API endpoint
for the find machine operation. Typically these are written to a http.Request.
func NewFindMachineParams ¶
func NewFindMachineParams() *FindMachineParams
NewFindMachineParams creates a new FindMachineParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindMachineParamsWithContext ¶
func NewFindMachineParamsWithContext(ctx context.Context) *FindMachineParams
NewFindMachineParamsWithContext creates a new FindMachineParams object with the ability to set a context for a request.
func NewFindMachineParamsWithHTTPClient ¶
func NewFindMachineParamsWithHTTPClient(client *http.Client) *FindMachineParams
NewFindMachineParamsWithHTTPClient creates a new FindMachineParams object with the ability to set a custom HTTPClient for a request.
func NewFindMachineParamsWithTimeout ¶
func NewFindMachineParamsWithTimeout(timeout time.Duration) *FindMachineParams
NewFindMachineParamsWithTimeout creates a new FindMachineParams object with the ability to set a timeout on a request.
func (*FindMachineParams) SetContext ¶
func (o *FindMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the find machine params
func (*FindMachineParams) SetDefaults ¶ added in v0.12.1
func (o *FindMachineParams) SetDefaults()
SetDefaults hydrates default values in the find machine params (not the query body).
All values with no default are reset to their zero value.
func (*FindMachineParams) SetHTTPClient ¶
func (o *FindMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find machine params
func (*FindMachineParams) SetID ¶
func (o *FindMachineParams) SetID(id string)
SetID adds the id to the find machine params
func (*FindMachineParams) SetTimeout ¶
func (o *FindMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find machine params
func (*FindMachineParams) WithContext ¶
func (o *FindMachineParams) WithContext(ctx context.Context) *FindMachineParams
WithContext adds the context to the find machine params
func (*FindMachineParams) WithDefaults ¶ added in v0.12.1
func (o *FindMachineParams) WithDefaults() *FindMachineParams
WithDefaults hydrates default values in the find machine params (not the query body).
All values with no default are reset to their zero value.
func (*FindMachineParams) WithHTTPClient ¶
func (o *FindMachineParams) WithHTTPClient(client *http.Client) *FindMachineParams
WithHTTPClient adds the HTTPClient to the find machine params
func (*FindMachineParams) WithID ¶
func (o *FindMachineParams) WithID(id string) *FindMachineParams
WithID adds the id to the find machine params
func (*FindMachineParams) WithTimeout ¶
func (o *FindMachineParams) WithTimeout(timeout time.Duration) *FindMachineParams
WithTimeout adds the timeout to the find machine params
func (*FindMachineParams) WriteToRequest ¶
func (o *FindMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindMachineReader ¶
type FindMachineReader struct {
// contains filtered or unexported fields
}
FindMachineReader is a Reader for the FindMachine structure.
func (*FindMachineReader) ReadResponse ¶
func (o *FindMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindMachinesDefault ¶
type FindMachinesDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindMachinesDefault describes a response with status code -1, with default header values.
Error
func NewFindMachinesDefault ¶
func NewFindMachinesDefault(code int) *FindMachinesDefault
NewFindMachinesDefault creates a FindMachinesDefault with default headers values
func (*FindMachinesDefault) Code ¶
func (o *FindMachinesDefault) Code() int
Code gets the status code for the find machines default response
func (*FindMachinesDefault) Error ¶
func (o *FindMachinesDefault) Error() string
func (*FindMachinesDefault) GetPayload ¶ added in v0.11.0
func (o *FindMachinesDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindMachinesDefault) IsClientError ¶ added in v0.19.3
func (o *FindMachinesDefault) IsClientError() bool
IsClientError returns true when this find machines default response has a 4xx status code
func (*FindMachinesDefault) IsCode ¶ added in v0.19.3
func (o *FindMachinesDefault) IsCode(code int) bool
IsCode returns true when this find machines default response a status code equal to that given
func (*FindMachinesDefault) IsRedirect ¶ added in v0.19.3
func (o *FindMachinesDefault) IsRedirect() bool
IsRedirect returns true when this find machines default response has a 3xx status code
func (*FindMachinesDefault) IsServerError ¶ added in v0.19.3
func (o *FindMachinesDefault) IsServerError() bool
IsServerError returns true when this find machines default response has a 5xx status code
func (*FindMachinesDefault) IsSuccess ¶ added in v0.19.3
func (o *FindMachinesDefault) IsSuccess() bool
IsSuccess returns true when this find machines default response has a 2xx status code
func (*FindMachinesDefault) String ¶ added in v0.19.3
func (o *FindMachinesDefault) String() string
type FindMachinesOK ¶
type FindMachinesOK struct {
Payload []*models.V1MachineResponse
}
FindMachinesOK describes a response with status code 200, with default header values.
OK
func NewFindMachinesOK ¶
func NewFindMachinesOK() *FindMachinesOK
NewFindMachinesOK creates a FindMachinesOK with default headers values
func (*FindMachinesOK) Error ¶
func (o *FindMachinesOK) Error() string
func (*FindMachinesOK) GetPayload ¶ added in v0.11.0
func (o *FindMachinesOK) GetPayload() []*models.V1MachineResponse
func (*FindMachinesOK) IsClientError ¶ added in v0.19.3
func (o *FindMachinesOK) IsClientError() bool
IsClientError returns true when this find machines o k response has a 4xx status code
func (*FindMachinesOK) IsCode ¶ added in v0.19.3
func (o *FindMachinesOK) IsCode(code int) bool
IsCode returns true when this find machines o k response a status code equal to that given
func (*FindMachinesOK) IsRedirect ¶ added in v0.19.3
func (o *FindMachinesOK) IsRedirect() bool
IsRedirect returns true when this find machines o k response has a 3xx status code
func (*FindMachinesOK) IsServerError ¶ added in v0.19.3
func (o *FindMachinesOK) IsServerError() bool
IsServerError returns true when this find machines o k response has a 5xx status code
func (*FindMachinesOK) IsSuccess ¶ added in v0.19.3
func (o *FindMachinesOK) IsSuccess() bool
IsSuccess returns true when this find machines o k response has a 2xx status code
func (*FindMachinesOK) String ¶ added in v0.19.3
func (o *FindMachinesOK) String() string
type FindMachinesParams ¶
type FindMachinesParams struct { // Body. Body *models.V1MachineFindRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindMachinesParams contains all the parameters to send to the API endpoint
for the find machines operation. Typically these are written to a http.Request.
func NewFindMachinesParams ¶
func NewFindMachinesParams() *FindMachinesParams
NewFindMachinesParams creates a new FindMachinesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindMachinesParamsWithContext ¶
func NewFindMachinesParamsWithContext(ctx context.Context) *FindMachinesParams
NewFindMachinesParamsWithContext creates a new FindMachinesParams object with the ability to set a context for a request.
func NewFindMachinesParamsWithHTTPClient ¶
func NewFindMachinesParamsWithHTTPClient(client *http.Client) *FindMachinesParams
NewFindMachinesParamsWithHTTPClient creates a new FindMachinesParams object with the ability to set a custom HTTPClient for a request.
func NewFindMachinesParamsWithTimeout ¶
func NewFindMachinesParamsWithTimeout(timeout time.Duration) *FindMachinesParams
NewFindMachinesParamsWithTimeout creates a new FindMachinesParams object with the ability to set a timeout on a request.
func (*FindMachinesParams) SetBody ¶
func (o *FindMachinesParams) SetBody(body *models.V1MachineFindRequest)
SetBody adds the body to the find machines params
func (*FindMachinesParams) SetContext ¶
func (o *FindMachinesParams) SetContext(ctx context.Context)
SetContext adds the context to the find machines params
func (*FindMachinesParams) SetDefaults ¶ added in v0.12.1
func (o *FindMachinesParams) SetDefaults()
SetDefaults hydrates default values in the find machines params (not the query body).
All values with no default are reset to their zero value.
func (*FindMachinesParams) SetHTTPClient ¶
func (o *FindMachinesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find machines params
func (*FindMachinesParams) SetTimeout ¶
func (o *FindMachinesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find machines params
func (*FindMachinesParams) WithBody ¶
func (o *FindMachinesParams) WithBody(body *models.V1MachineFindRequest) *FindMachinesParams
WithBody adds the body to the find machines params
func (*FindMachinesParams) WithContext ¶
func (o *FindMachinesParams) WithContext(ctx context.Context) *FindMachinesParams
WithContext adds the context to the find machines params
func (*FindMachinesParams) WithDefaults ¶ added in v0.12.1
func (o *FindMachinesParams) WithDefaults() *FindMachinesParams
WithDefaults hydrates default values in the find machines params (not the query body).
All values with no default are reset to their zero value.
func (*FindMachinesParams) WithHTTPClient ¶
func (o *FindMachinesParams) WithHTTPClient(client *http.Client) *FindMachinesParams
WithHTTPClient adds the HTTPClient to the find machines params
func (*FindMachinesParams) WithTimeout ¶
func (o *FindMachinesParams) WithTimeout(timeout time.Duration) *FindMachinesParams
WithTimeout adds the timeout to the find machines params
func (*FindMachinesParams) WriteToRequest ¶
func (o *FindMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindMachinesReader ¶
type FindMachinesReader struct {
// contains filtered or unexported fields
}
FindMachinesReader is a Reader for the FindMachines structure.
func (*FindMachinesReader) ReadResponse ¶
func (o *FindMachinesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FreeMachineDefault ¶
type FreeMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FreeMachineDefault describes a response with status code -1, with default header values.
Error
func NewFreeMachineDefault ¶
func NewFreeMachineDefault(code int) *FreeMachineDefault
NewFreeMachineDefault creates a FreeMachineDefault with default headers values
func (*FreeMachineDefault) Code ¶
func (o *FreeMachineDefault) Code() int
Code gets the status code for the free machine default response
func (*FreeMachineDefault) Error ¶
func (o *FreeMachineDefault) Error() string
func (*FreeMachineDefault) GetPayload ¶ added in v0.11.0
func (o *FreeMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FreeMachineDefault) IsClientError ¶ added in v0.19.3
func (o *FreeMachineDefault) IsClientError() bool
IsClientError returns true when this free machine default response has a 4xx status code
func (*FreeMachineDefault) IsCode ¶ added in v0.19.3
func (o *FreeMachineDefault) IsCode(code int) bool
IsCode returns true when this free machine default response a status code equal to that given
func (*FreeMachineDefault) IsRedirect ¶ added in v0.19.3
func (o *FreeMachineDefault) IsRedirect() bool
IsRedirect returns true when this free machine default response has a 3xx status code
func (*FreeMachineDefault) IsServerError ¶ added in v0.19.3
func (o *FreeMachineDefault) IsServerError() bool
IsServerError returns true when this free machine default response has a 5xx status code
func (*FreeMachineDefault) IsSuccess ¶ added in v0.19.3
func (o *FreeMachineDefault) IsSuccess() bool
IsSuccess returns true when this free machine default response has a 2xx status code
func (*FreeMachineDefault) String ¶ added in v0.19.3
func (o *FreeMachineDefault) String() string
type FreeMachineOK ¶
type FreeMachineOK struct {
Payload *models.V1MachineResponse
}
FreeMachineOK describes a response with status code 200, with default header values.
OK
func NewFreeMachineOK ¶
func NewFreeMachineOK() *FreeMachineOK
NewFreeMachineOK creates a FreeMachineOK with default headers values
func (*FreeMachineOK) Error ¶
func (o *FreeMachineOK) Error() string
func (*FreeMachineOK) GetPayload ¶ added in v0.11.0
func (o *FreeMachineOK) GetPayload() *models.V1MachineResponse
func (*FreeMachineOK) IsClientError ¶ added in v0.19.3
func (o *FreeMachineOK) IsClientError() bool
IsClientError returns true when this free machine o k response has a 4xx status code
func (*FreeMachineOK) IsCode ¶ added in v0.19.3
func (o *FreeMachineOK) IsCode(code int) bool
IsCode returns true when this free machine o k response a status code equal to that given
func (*FreeMachineOK) IsRedirect ¶ added in v0.19.3
func (o *FreeMachineOK) IsRedirect() bool
IsRedirect returns true when this free machine o k response has a 3xx status code
func (*FreeMachineOK) IsServerError ¶ added in v0.19.3
func (o *FreeMachineOK) IsServerError() bool
IsServerError returns true when this free machine o k response has a 5xx status code
func (*FreeMachineOK) IsSuccess ¶ added in v0.19.3
func (o *FreeMachineOK) IsSuccess() bool
IsSuccess returns true when this free machine o k response has a 2xx status code
func (*FreeMachineOK) String ¶ added in v0.19.3
func (o *FreeMachineOK) String() string
type FreeMachineParams ¶
type FreeMachineParams struct { /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FreeMachineParams contains all the parameters to send to the API endpoint
for the free machine operation. Typically these are written to a http.Request.
func NewFreeMachineParams ¶
func NewFreeMachineParams() *FreeMachineParams
NewFreeMachineParams creates a new FreeMachineParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFreeMachineParamsWithContext ¶
func NewFreeMachineParamsWithContext(ctx context.Context) *FreeMachineParams
NewFreeMachineParamsWithContext creates a new FreeMachineParams object with the ability to set a context for a request.
func NewFreeMachineParamsWithHTTPClient ¶
func NewFreeMachineParamsWithHTTPClient(client *http.Client) *FreeMachineParams
NewFreeMachineParamsWithHTTPClient creates a new FreeMachineParams object with the ability to set a custom HTTPClient for a request.
func NewFreeMachineParamsWithTimeout ¶
func NewFreeMachineParamsWithTimeout(timeout time.Duration) *FreeMachineParams
NewFreeMachineParamsWithTimeout creates a new FreeMachineParams object with the ability to set a timeout on a request.
func (*FreeMachineParams) SetContext ¶
func (o *FreeMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the free machine params
func (*FreeMachineParams) SetDefaults ¶ added in v0.12.1
func (o *FreeMachineParams) SetDefaults()
SetDefaults hydrates default values in the free machine params (not the query body).
All values with no default are reset to their zero value.
func (*FreeMachineParams) SetHTTPClient ¶
func (o *FreeMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the free machine params
func (*FreeMachineParams) SetID ¶
func (o *FreeMachineParams) SetID(id string)
SetID adds the id to the free machine params
func (*FreeMachineParams) SetTimeout ¶
func (o *FreeMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the free machine params
func (*FreeMachineParams) WithContext ¶
func (o *FreeMachineParams) WithContext(ctx context.Context) *FreeMachineParams
WithContext adds the context to the free machine params
func (*FreeMachineParams) WithDefaults ¶ added in v0.12.1
func (o *FreeMachineParams) WithDefaults() *FreeMachineParams
WithDefaults hydrates default values in the free machine params (not the query body).
All values with no default are reset to their zero value.
func (*FreeMachineParams) WithHTTPClient ¶
func (o *FreeMachineParams) WithHTTPClient(client *http.Client) *FreeMachineParams
WithHTTPClient adds the HTTPClient to the free machine params
func (*FreeMachineParams) WithID ¶
func (o *FreeMachineParams) WithID(id string) *FreeMachineParams
WithID adds the id to the free machine params
func (*FreeMachineParams) WithTimeout ¶
func (o *FreeMachineParams) WithTimeout(timeout time.Duration) *FreeMachineParams
WithTimeout adds the timeout to the free machine params
func (*FreeMachineParams) WriteToRequest ¶
func (o *FreeMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FreeMachineReader ¶
type FreeMachineReader struct {
// contains filtered or unexported fields
}
FreeMachineReader is a Reader for the FreeMachine structure.
func (*FreeMachineReader) ReadResponse ¶
func (o *FreeMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineConsolePasswordDefault ¶ added in v0.14.3
type GetMachineConsolePasswordDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetMachineConsolePasswordDefault describes a response with status code -1, with default header values.
Error
func NewGetMachineConsolePasswordDefault ¶ added in v0.14.3
func NewGetMachineConsolePasswordDefault(code int) *GetMachineConsolePasswordDefault
NewGetMachineConsolePasswordDefault creates a GetMachineConsolePasswordDefault with default headers values
func (*GetMachineConsolePasswordDefault) Code ¶ added in v0.14.3
func (o *GetMachineConsolePasswordDefault) Code() int
Code gets the status code for the get machine console password default response
func (*GetMachineConsolePasswordDefault) Error ¶ added in v0.14.3
func (o *GetMachineConsolePasswordDefault) Error() string
func (*GetMachineConsolePasswordDefault) GetPayload ¶ added in v0.14.3
func (o *GetMachineConsolePasswordDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetMachineConsolePasswordDefault) IsClientError ¶ added in v0.19.3
func (o *GetMachineConsolePasswordDefault) IsClientError() bool
IsClientError returns true when this get machine console password default response has a 4xx status code
func (*GetMachineConsolePasswordDefault) IsCode ¶ added in v0.19.3
func (o *GetMachineConsolePasswordDefault) IsCode(code int) bool
IsCode returns true when this get machine console password default response a status code equal to that given
func (*GetMachineConsolePasswordDefault) IsRedirect ¶ added in v0.19.3
func (o *GetMachineConsolePasswordDefault) IsRedirect() bool
IsRedirect returns true when this get machine console password default response has a 3xx status code
func (*GetMachineConsolePasswordDefault) IsServerError ¶ added in v0.19.3
func (o *GetMachineConsolePasswordDefault) IsServerError() bool
IsServerError returns true when this get machine console password default response has a 5xx status code
func (*GetMachineConsolePasswordDefault) IsSuccess ¶ added in v0.19.3
func (o *GetMachineConsolePasswordDefault) IsSuccess() bool
IsSuccess returns true when this get machine console password default response has a 2xx status code
func (*GetMachineConsolePasswordDefault) String ¶ added in v0.19.3
func (o *GetMachineConsolePasswordDefault) String() string
type GetMachineConsolePasswordOK ¶ added in v0.14.3
type GetMachineConsolePasswordOK struct {
Payload *models.V1MachineConsolePasswordResponse
}
GetMachineConsolePasswordOK describes a response with status code 200, with default header values.
OK
func NewGetMachineConsolePasswordOK ¶ added in v0.14.3
func NewGetMachineConsolePasswordOK() *GetMachineConsolePasswordOK
NewGetMachineConsolePasswordOK creates a GetMachineConsolePasswordOK with default headers values
func (*GetMachineConsolePasswordOK) Error ¶ added in v0.14.3
func (o *GetMachineConsolePasswordOK) Error() string
func (*GetMachineConsolePasswordOK) GetPayload ¶ added in v0.14.3
func (o *GetMachineConsolePasswordOK) GetPayload() *models.V1MachineConsolePasswordResponse
func (*GetMachineConsolePasswordOK) IsClientError ¶ added in v0.19.3
func (o *GetMachineConsolePasswordOK) IsClientError() bool
IsClientError returns true when this get machine console password o k response has a 4xx status code
func (*GetMachineConsolePasswordOK) IsCode ¶ added in v0.19.3
func (o *GetMachineConsolePasswordOK) IsCode(code int) bool
IsCode returns true when this get machine console password o k response a status code equal to that given
func (*GetMachineConsolePasswordOK) IsRedirect ¶ added in v0.19.3
func (o *GetMachineConsolePasswordOK) IsRedirect() bool
IsRedirect returns true when this get machine console password o k response has a 3xx status code
func (*GetMachineConsolePasswordOK) IsServerError ¶ added in v0.19.3
func (o *GetMachineConsolePasswordOK) IsServerError() bool
IsServerError returns true when this get machine console password o k response has a 5xx status code
func (*GetMachineConsolePasswordOK) IsSuccess ¶ added in v0.19.3
func (o *GetMachineConsolePasswordOK) IsSuccess() bool
IsSuccess returns true when this get machine console password o k response has a 2xx status code
func (*GetMachineConsolePasswordOK) String ¶ added in v0.19.3
func (o *GetMachineConsolePasswordOK) String() string
type GetMachineConsolePasswordParams ¶ added in v0.14.3
type GetMachineConsolePasswordParams struct { // Body. Body *models.V1MachineConsolePasswordRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachineConsolePasswordParams contains all the parameters to send to the API endpoint
for the get machine console password operation. Typically these are written to a http.Request.
func NewGetMachineConsolePasswordParams ¶ added in v0.14.3
func NewGetMachineConsolePasswordParams() *GetMachineConsolePasswordParams
NewGetMachineConsolePasswordParams creates a new GetMachineConsolePasswordParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMachineConsolePasswordParamsWithContext ¶ added in v0.14.3
func NewGetMachineConsolePasswordParamsWithContext(ctx context.Context) *GetMachineConsolePasswordParams
NewGetMachineConsolePasswordParamsWithContext creates a new GetMachineConsolePasswordParams object with the ability to set a context for a request.
func NewGetMachineConsolePasswordParamsWithHTTPClient ¶ added in v0.14.3
func NewGetMachineConsolePasswordParamsWithHTTPClient(client *http.Client) *GetMachineConsolePasswordParams
NewGetMachineConsolePasswordParamsWithHTTPClient creates a new GetMachineConsolePasswordParams object with the ability to set a custom HTTPClient for a request.
func NewGetMachineConsolePasswordParamsWithTimeout ¶ added in v0.14.3
func NewGetMachineConsolePasswordParamsWithTimeout(timeout time.Duration) *GetMachineConsolePasswordParams
NewGetMachineConsolePasswordParamsWithTimeout creates a new GetMachineConsolePasswordParams object with the ability to set a timeout on a request.
func (*GetMachineConsolePasswordParams) SetBody ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) SetBody(body *models.V1MachineConsolePasswordRequest)
SetBody adds the body to the get machine console password params
func (*GetMachineConsolePasswordParams) SetContext ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine console password params
func (*GetMachineConsolePasswordParams) SetDefaults ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) SetDefaults()
SetDefaults hydrates default values in the get machine console password params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineConsolePasswordParams) SetHTTPClient ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine console password params
func (*GetMachineConsolePasswordParams) SetTimeout ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine console password params
func (*GetMachineConsolePasswordParams) WithBody ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) WithBody(body *models.V1MachineConsolePasswordRequest) *GetMachineConsolePasswordParams
WithBody adds the body to the get machine console password params
func (*GetMachineConsolePasswordParams) WithContext ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) WithContext(ctx context.Context) *GetMachineConsolePasswordParams
WithContext adds the context to the get machine console password params
func (*GetMachineConsolePasswordParams) WithDefaults ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) WithDefaults() *GetMachineConsolePasswordParams
WithDefaults hydrates default values in the get machine console password params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineConsolePasswordParams) WithHTTPClient ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) WithHTTPClient(client *http.Client) *GetMachineConsolePasswordParams
WithHTTPClient adds the HTTPClient to the get machine console password params
func (*GetMachineConsolePasswordParams) WithTimeout ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) WithTimeout(timeout time.Duration) *GetMachineConsolePasswordParams
WithTimeout adds the timeout to the get machine console password params
func (*GetMachineConsolePasswordParams) WriteToRequest ¶ added in v0.14.3
func (o *GetMachineConsolePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineConsolePasswordReader ¶ added in v0.14.3
type GetMachineConsolePasswordReader struct {
// contains filtered or unexported fields
}
GetMachineConsolePasswordReader is a Reader for the GetMachineConsolePassword structure.
func (*GetMachineConsolePasswordReader) ReadResponse ¶ added in v0.14.3
func (o *GetMachineConsolePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProvisioningEventContainerDefault ¶
type GetProvisioningEventContainerDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetProvisioningEventContainerDefault describes a response with status code -1, with default header values.
Error
func NewGetProvisioningEventContainerDefault ¶
func NewGetProvisioningEventContainerDefault(code int) *GetProvisioningEventContainerDefault
NewGetProvisioningEventContainerDefault creates a GetProvisioningEventContainerDefault with default headers values
func (*GetProvisioningEventContainerDefault) Code ¶
func (o *GetProvisioningEventContainerDefault) Code() int
Code gets the status code for the get provisioning event container default response
func (*GetProvisioningEventContainerDefault) Error ¶
func (o *GetProvisioningEventContainerDefault) Error() string
func (*GetProvisioningEventContainerDefault) GetPayload ¶ added in v0.11.0
func (o *GetProvisioningEventContainerDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetProvisioningEventContainerDefault) IsClientError ¶ added in v0.19.3
func (o *GetProvisioningEventContainerDefault) IsClientError() bool
IsClientError returns true when this get provisioning event container default response has a 4xx status code
func (*GetProvisioningEventContainerDefault) IsCode ¶ added in v0.19.3
func (o *GetProvisioningEventContainerDefault) IsCode(code int) bool
IsCode returns true when this get provisioning event container default response a status code equal to that given
func (*GetProvisioningEventContainerDefault) IsRedirect ¶ added in v0.19.3
func (o *GetProvisioningEventContainerDefault) IsRedirect() bool
IsRedirect returns true when this get provisioning event container default response has a 3xx status code
func (*GetProvisioningEventContainerDefault) IsServerError ¶ added in v0.19.3
func (o *GetProvisioningEventContainerDefault) IsServerError() bool
IsServerError returns true when this get provisioning event container default response has a 5xx status code
func (*GetProvisioningEventContainerDefault) IsSuccess ¶ added in v0.19.3
func (o *GetProvisioningEventContainerDefault) IsSuccess() bool
IsSuccess returns true when this get provisioning event container default response has a 2xx status code
func (*GetProvisioningEventContainerDefault) String ¶ added in v0.19.3
func (o *GetProvisioningEventContainerDefault) String() string
type GetProvisioningEventContainerOK ¶
type GetProvisioningEventContainerOK struct {
Payload *models.V1MachineRecentProvisioningEvents
}
GetProvisioningEventContainerOK describes a response with status code 200, with default header values.
OK
func NewGetProvisioningEventContainerOK ¶
func NewGetProvisioningEventContainerOK() *GetProvisioningEventContainerOK
NewGetProvisioningEventContainerOK creates a GetProvisioningEventContainerOK with default headers values
func (*GetProvisioningEventContainerOK) Error ¶
func (o *GetProvisioningEventContainerOK) Error() string
func (*GetProvisioningEventContainerOK) GetPayload ¶ added in v0.11.0
func (o *GetProvisioningEventContainerOK) GetPayload() *models.V1MachineRecentProvisioningEvents
func (*GetProvisioningEventContainerOK) IsClientError ¶ added in v0.19.3
func (o *GetProvisioningEventContainerOK) IsClientError() bool
IsClientError returns true when this get provisioning event container o k response has a 4xx status code
func (*GetProvisioningEventContainerOK) IsCode ¶ added in v0.19.3
func (o *GetProvisioningEventContainerOK) IsCode(code int) bool
IsCode returns true when this get provisioning event container o k response a status code equal to that given
func (*GetProvisioningEventContainerOK) IsRedirect ¶ added in v0.19.3
func (o *GetProvisioningEventContainerOK) IsRedirect() bool
IsRedirect returns true when this get provisioning event container o k response has a 3xx status code
func (*GetProvisioningEventContainerOK) IsServerError ¶ added in v0.19.3
func (o *GetProvisioningEventContainerOK) IsServerError() bool
IsServerError returns true when this get provisioning event container o k response has a 5xx status code
func (*GetProvisioningEventContainerOK) IsSuccess ¶ added in v0.19.3
func (o *GetProvisioningEventContainerOK) IsSuccess() bool
IsSuccess returns true when this get provisioning event container o k response has a 2xx status code
func (*GetProvisioningEventContainerOK) String ¶ added in v0.19.3
func (o *GetProvisioningEventContainerOK) String() string
type GetProvisioningEventContainerParams ¶
type GetProvisioningEventContainerParams struct { /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProvisioningEventContainerParams contains all the parameters to send to the API endpoint
for the get provisioning event container operation. Typically these are written to a http.Request.
func NewGetProvisioningEventContainerParams ¶
func NewGetProvisioningEventContainerParams() *GetProvisioningEventContainerParams
NewGetProvisioningEventContainerParams creates a new GetProvisioningEventContainerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetProvisioningEventContainerParamsWithContext ¶
func NewGetProvisioningEventContainerParamsWithContext(ctx context.Context) *GetProvisioningEventContainerParams
NewGetProvisioningEventContainerParamsWithContext creates a new GetProvisioningEventContainerParams object with the ability to set a context for a request.
func NewGetProvisioningEventContainerParamsWithHTTPClient ¶
func NewGetProvisioningEventContainerParamsWithHTTPClient(client *http.Client) *GetProvisioningEventContainerParams
NewGetProvisioningEventContainerParamsWithHTTPClient creates a new GetProvisioningEventContainerParams object with the ability to set a custom HTTPClient for a request.
func NewGetProvisioningEventContainerParamsWithTimeout ¶
func NewGetProvisioningEventContainerParamsWithTimeout(timeout time.Duration) *GetProvisioningEventContainerParams
NewGetProvisioningEventContainerParamsWithTimeout creates a new GetProvisioningEventContainerParams object with the ability to set a timeout on a request.
func (*GetProvisioningEventContainerParams) SetContext ¶
func (o *GetProvisioningEventContainerParams) SetContext(ctx context.Context)
SetContext adds the context to the get provisioning event container params
func (*GetProvisioningEventContainerParams) SetDefaults ¶ added in v0.12.1
func (o *GetProvisioningEventContainerParams) SetDefaults()
SetDefaults hydrates default values in the get provisioning event container params (not the query body).
All values with no default are reset to their zero value.
func (*GetProvisioningEventContainerParams) SetHTTPClient ¶
func (o *GetProvisioningEventContainerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get provisioning event container params
func (*GetProvisioningEventContainerParams) SetID ¶
func (o *GetProvisioningEventContainerParams) SetID(id string)
SetID adds the id to the get provisioning event container params
func (*GetProvisioningEventContainerParams) SetTimeout ¶
func (o *GetProvisioningEventContainerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get provisioning event container params
func (*GetProvisioningEventContainerParams) WithContext ¶
func (o *GetProvisioningEventContainerParams) WithContext(ctx context.Context) *GetProvisioningEventContainerParams
WithContext adds the context to the get provisioning event container params
func (*GetProvisioningEventContainerParams) WithDefaults ¶ added in v0.12.1
func (o *GetProvisioningEventContainerParams) WithDefaults() *GetProvisioningEventContainerParams
WithDefaults hydrates default values in the get provisioning event container params (not the query body).
All values with no default are reset to their zero value.
func (*GetProvisioningEventContainerParams) WithHTTPClient ¶
func (o *GetProvisioningEventContainerParams) WithHTTPClient(client *http.Client) *GetProvisioningEventContainerParams
WithHTTPClient adds the HTTPClient to the get provisioning event container params
func (*GetProvisioningEventContainerParams) WithID ¶
func (o *GetProvisioningEventContainerParams) WithID(id string) *GetProvisioningEventContainerParams
WithID adds the id to the get provisioning event container params
func (*GetProvisioningEventContainerParams) WithTimeout ¶
func (o *GetProvisioningEventContainerParams) WithTimeout(timeout time.Duration) *GetProvisioningEventContainerParams
WithTimeout adds the timeout to the get provisioning event container params
func (*GetProvisioningEventContainerParams) WriteToRequest ¶
func (o *GetProvisioningEventContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProvisioningEventContainerReader ¶
type GetProvisioningEventContainerReader struct {
// contains filtered or unexported fields
}
GetProvisioningEventContainerReader is a Reader for the GetProvisioningEventContainer structure.
func (*GetProvisioningEventContainerReader) ReadResponse ¶
func (o *GetProvisioningEventContainerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IpmiReportDefault ¶ added in v0.11.0
type IpmiReportDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
IpmiReportDefault describes a response with status code -1, with default header values.
Error
func NewIpmiReportDefault ¶ added in v0.11.0
func NewIpmiReportDefault(code int) *IpmiReportDefault
NewIpmiReportDefault creates a IpmiReportDefault with default headers values
func (*IpmiReportDefault) Code ¶ added in v0.11.0
func (o *IpmiReportDefault) Code() int
Code gets the status code for the ipmi report default response
func (*IpmiReportDefault) Error ¶ added in v0.11.0
func (o *IpmiReportDefault) Error() string
func (*IpmiReportDefault) GetPayload ¶ added in v0.11.0
func (o *IpmiReportDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*IpmiReportDefault) IsClientError ¶ added in v0.19.3
func (o *IpmiReportDefault) IsClientError() bool
IsClientError returns true when this ipmi report default response has a 4xx status code
func (*IpmiReportDefault) IsCode ¶ added in v0.19.3
func (o *IpmiReportDefault) IsCode(code int) bool
IsCode returns true when this ipmi report default response a status code equal to that given
func (*IpmiReportDefault) IsRedirect ¶ added in v0.19.3
func (o *IpmiReportDefault) IsRedirect() bool
IsRedirect returns true when this ipmi report default response has a 3xx status code
func (*IpmiReportDefault) IsServerError ¶ added in v0.19.3
func (o *IpmiReportDefault) IsServerError() bool
IsServerError returns true when this ipmi report default response has a 5xx status code
func (*IpmiReportDefault) IsSuccess ¶ added in v0.19.3
func (o *IpmiReportDefault) IsSuccess() bool
IsSuccess returns true when this ipmi report default response has a 2xx status code
func (*IpmiReportDefault) String ¶ added in v0.19.3
func (o *IpmiReportDefault) String() string
type IpmiReportOK ¶ added in v0.11.0
type IpmiReportOK struct {
Payload *models.V1MachineIpmiReportResponse
}
IpmiReportOK describes a response with status code 200, with default header values.
OK
func NewIpmiReportOK ¶ added in v0.11.0
func NewIpmiReportOK() *IpmiReportOK
NewIpmiReportOK creates a IpmiReportOK with default headers values
func (*IpmiReportOK) Error ¶ added in v0.11.0
func (o *IpmiReportOK) Error() string
func (*IpmiReportOK) GetPayload ¶ added in v0.11.0
func (o *IpmiReportOK) GetPayload() *models.V1MachineIpmiReportResponse
func (*IpmiReportOK) IsClientError ¶ added in v0.19.3
func (o *IpmiReportOK) IsClientError() bool
IsClientError returns true when this ipmi report o k response has a 4xx status code
func (*IpmiReportOK) IsCode ¶ added in v0.19.3
func (o *IpmiReportOK) IsCode(code int) bool
IsCode returns true when this ipmi report o k response a status code equal to that given
func (*IpmiReportOK) IsRedirect ¶ added in v0.19.3
func (o *IpmiReportOK) IsRedirect() bool
IsRedirect returns true when this ipmi report o k response has a 3xx status code
func (*IpmiReportOK) IsServerError ¶ added in v0.19.3
func (o *IpmiReportOK) IsServerError() bool
IsServerError returns true when this ipmi report o k response has a 5xx status code
func (*IpmiReportOK) IsSuccess ¶ added in v0.19.3
func (o *IpmiReportOK) IsSuccess() bool
IsSuccess returns true when this ipmi report o k response has a 2xx status code
func (*IpmiReportOK) String ¶ added in v0.19.3
func (o *IpmiReportOK) String() string
type IpmiReportParams ¶ added in v0.11.0
type IpmiReportParams struct { // Body. Body *models.V1MachineIpmiReports Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IpmiReportParams contains all the parameters to send to the API endpoint
for the ipmi report operation. Typically these are written to a http.Request.
func NewIpmiReportParams ¶ added in v0.11.0
func NewIpmiReportParams() *IpmiReportParams
NewIpmiReportParams creates a new IpmiReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIpmiReportParamsWithContext ¶ added in v0.11.0
func NewIpmiReportParamsWithContext(ctx context.Context) *IpmiReportParams
NewIpmiReportParamsWithContext creates a new IpmiReportParams object with the ability to set a context for a request.
func NewIpmiReportParamsWithHTTPClient ¶ added in v0.11.0
func NewIpmiReportParamsWithHTTPClient(client *http.Client) *IpmiReportParams
NewIpmiReportParamsWithHTTPClient creates a new IpmiReportParams object with the ability to set a custom HTTPClient for a request.
func NewIpmiReportParamsWithTimeout ¶ added in v0.11.0
func NewIpmiReportParamsWithTimeout(timeout time.Duration) *IpmiReportParams
NewIpmiReportParamsWithTimeout creates a new IpmiReportParams object with the ability to set a timeout on a request.
func (*IpmiReportParams) SetBody ¶ added in v0.11.0
func (o *IpmiReportParams) SetBody(body *models.V1MachineIpmiReports)
SetBody adds the body to the ipmi report params
func (*IpmiReportParams) SetContext ¶ added in v0.11.0
func (o *IpmiReportParams) SetContext(ctx context.Context)
SetContext adds the context to the ipmi report params
func (*IpmiReportParams) SetDefaults ¶ added in v0.12.1
func (o *IpmiReportParams) SetDefaults()
SetDefaults hydrates default values in the ipmi report params (not the query body).
All values with no default are reset to their zero value.
func (*IpmiReportParams) SetHTTPClient ¶ added in v0.11.0
func (o *IpmiReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ipmi report params
func (*IpmiReportParams) SetTimeout ¶ added in v0.11.0
func (o *IpmiReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ipmi report params
func (*IpmiReportParams) WithBody ¶ added in v0.11.0
func (o *IpmiReportParams) WithBody(body *models.V1MachineIpmiReports) *IpmiReportParams
WithBody adds the body to the ipmi report params
func (*IpmiReportParams) WithContext ¶ added in v0.11.0
func (o *IpmiReportParams) WithContext(ctx context.Context) *IpmiReportParams
WithContext adds the context to the ipmi report params
func (*IpmiReportParams) WithDefaults ¶ added in v0.12.1
func (o *IpmiReportParams) WithDefaults() *IpmiReportParams
WithDefaults hydrates default values in the ipmi report params (not the query body).
All values with no default are reset to their zero value.
func (*IpmiReportParams) WithHTTPClient ¶ added in v0.11.0
func (o *IpmiReportParams) WithHTTPClient(client *http.Client) *IpmiReportParams
WithHTTPClient adds the HTTPClient to the ipmi report params
func (*IpmiReportParams) WithTimeout ¶ added in v0.11.0
func (o *IpmiReportParams) WithTimeout(timeout time.Duration) *IpmiReportParams
WithTimeout adds the timeout to the ipmi report params
func (*IpmiReportParams) WriteToRequest ¶ added in v0.11.0
func (o *IpmiReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IpmiReportReader ¶ added in v0.11.0
type IpmiReportReader struct {
// contains filtered or unexported fields
}
IpmiReportReader is a Reader for the IpmiReport structure.
func (*IpmiReportReader) ReadResponse ¶ added in v0.11.0
func (o *IpmiReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListMachinesDefault ¶
type ListMachinesDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListMachinesDefault describes a response with status code -1, with default header values.
Error
func NewListMachinesDefault ¶
func NewListMachinesDefault(code int) *ListMachinesDefault
NewListMachinesDefault creates a ListMachinesDefault with default headers values
func (*ListMachinesDefault) Code ¶
func (o *ListMachinesDefault) Code() int
Code gets the status code for the list machines default response
func (*ListMachinesDefault) Error ¶
func (o *ListMachinesDefault) Error() string
func (*ListMachinesDefault) GetPayload ¶ added in v0.11.0
func (o *ListMachinesDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListMachinesDefault) IsClientError ¶ added in v0.19.3
func (o *ListMachinesDefault) IsClientError() bool
IsClientError returns true when this list machines default response has a 4xx status code
func (*ListMachinesDefault) IsCode ¶ added in v0.19.3
func (o *ListMachinesDefault) IsCode(code int) bool
IsCode returns true when this list machines default response a status code equal to that given
func (*ListMachinesDefault) IsRedirect ¶ added in v0.19.3
func (o *ListMachinesDefault) IsRedirect() bool
IsRedirect returns true when this list machines default response has a 3xx status code
func (*ListMachinesDefault) IsServerError ¶ added in v0.19.3
func (o *ListMachinesDefault) IsServerError() bool
IsServerError returns true when this list machines default response has a 5xx status code
func (*ListMachinesDefault) IsSuccess ¶ added in v0.19.3
func (o *ListMachinesDefault) IsSuccess() bool
IsSuccess returns true when this list machines default response has a 2xx status code
func (*ListMachinesDefault) String ¶ added in v0.19.3
func (o *ListMachinesDefault) String() string
type ListMachinesOK ¶
type ListMachinesOK struct {
Payload []*models.V1MachineResponse
}
ListMachinesOK describes a response with status code 200, with default header values.
OK
func NewListMachinesOK ¶
func NewListMachinesOK() *ListMachinesOK
NewListMachinesOK creates a ListMachinesOK with default headers values
func (*ListMachinesOK) Error ¶
func (o *ListMachinesOK) Error() string
func (*ListMachinesOK) GetPayload ¶ added in v0.11.0
func (o *ListMachinesOK) GetPayload() []*models.V1MachineResponse
func (*ListMachinesOK) IsClientError ¶ added in v0.19.3
func (o *ListMachinesOK) IsClientError() bool
IsClientError returns true when this list machines o k response has a 4xx status code
func (*ListMachinesOK) IsCode ¶ added in v0.19.3
func (o *ListMachinesOK) IsCode(code int) bool
IsCode returns true when this list machines o k response a status code equal to that given
func (*ListMachinesOK) IsRedirect ¶ added in v0.19.3
func (o *ListMachinesOK) IsRedirect() bool
IsRedirect returns true when this list machines o k response has a 3xx status code
func (*ListMachinesOK) IsServerError ¶ added in v0.19.3
func (o *ListMachinesOK) IsServerError() bool
IsServerError returns true when this list machines o k response has a 5xx status code
func (*ListMachinesOK) IsSuccess ¶ added in v0.19.3
func (o *ListMachinesOK) IsSuccess() bool
IsSuccess returns true when this list machines o k response has a 2xx status code
func (*ListMachinesOK) String ¶ added in v0.19.3
func (o *ListMachinesOK) String() string
type ListMachinesParams ¶
type ListMachinesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListMachinesParams contains all the parameters to send to the API endpoint
for the list machines operation. Typically these are written to a http.Request.
func NewListMachinesParams ¶
func NewListMachinesParams() *ListMachinesParams
NewListMachinesParams creates a new ListMachinesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListMachinesParamsWithContext ¶
func NewListMachinesParamsWithContext(ctx context.Context) *ListMachinesParams
NewListMachinesParamsWithContext creates a new ListMachinesParams object with the ability to set a context for a request.
func NewListMachinesParamsWithHTTPClient ¶
func NewListMachinesParamsWithHTTPClient(client *http.Client) *ListMachinesParams
NewListMachinesParamsWithHTTPClient creates a new ListMachinesParams object with the ability to set a custom HTTPClient for a request.
func NewListMachinesParamsWithTimeout ¶
func NewListMachinesParamsWithTimeout(timeout time.Duration) *ListMachinesParams
NewListMachinesParamsWithTimeout creates a new ListMachinesParams object with the ability to set a timeout on a request.
func (*ListMachinesParams) SetContext ¶
func (o *ListMachinesParams) SetContext(ctx context.Context)
SetContext adds the context to the list machines params
func (*ListMachinesParams) SetDefaults ¶ added in v0.12.1
func (o *ListMachinesParams) SetDefaults()
SetDefaults hydrates default values in the list machines params (not the query body).
All values with no default are reset to their zero value.
func (*ListMachinesParams) SetHTTPClient ¶
func (o *ListMachinesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list machines params
func (*ListMachinesParams) SetTimeout ¶
func (o *ListMachinesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list machines params
func (*ListMachinesParams) WithContext ¶
func (o *ListMachinesParams) WithContext(ctx context.Context) *ListMachinesParams
WithContext adds the context to the list machines params
func (*ListMachinesParams) WithDefaults ¶ added in v0.12.1
func (o *ListMachinesParams) WithDefaults() *ListMachinesParams
WithDefaults hydrates default values in the list machines params (not the query body).
All values with no default are reset to their zero value.
func (*ListMachinesParams) WithHTTPClient ¶
func (o *ListMachinesParams) WithHTTPClient(client *http.Client) *ListMachinesParams
WithHTTPClient adds the HTTPClient to the list machines params
func (*ListMachinesParams) WithTimeout ¶
func (o *ListMachinesParams) WithTimeout(timeout time.Duration) *ListMachinesParams
WithTimeout adds the timeout to the list machines params
func (*ListMachinesParams) WriteToRequest ¶
func (o *ListMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListMachinesReader ¶
type ListMachinesReader struct {
// contains filtered or unexported fields
}
ListMachinesReader is a Reader for the ListMachines structure.
func (*ListMachinesReader) ReadResponse ¶
func (o *ListMachinesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MachineBiosDefault ¶
type MachineBiosDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
MachineBiosDefault describes a response with status code -1, with default header values.
Error
func NewMachineBiosDefault ¶
func NewMachineBiosDefault(code int) *MachineBiosDefault
NewMachineBiosDefault creates a MachineBiosDefault with default headers values
func (*MachineBiosDefault) Code ¶
func (o *MachineBiosDefault) Code() int
Code gets the status code for the machine bios default response
func (*MachineBiosDefault) Error ¶
func (o *MachineBiosDefault) Error() string
func (*MachineBiosDefault) GetPayload ¶ added in v0.11.0
func (o *MachineBiosDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*MachineBiosDefault) IsClientError ¶ added in v0.19.3
func (o *MachineBiosDefault) IsClientError() bool
IsClientError returns true when this machine bios default response has a 4xx status code
func (*MachineBiosDefault) IsCode ¶ added in v0.19.3
func (o *MachineBiosDefault) IsCode(code int) bool
IsCode returns true when this machine bios default response a status code equal to that given
func (*MachineBiosDefault) IsRedirect ¶ added in v0.19.3
func (o *MachineBiosDefault) IsRedirect() bool
IsRedirect returns true when this machine bios default response has a 3xx status code
func (*MachineBiosDefault) IsServerError ¶ added in v0.19.3
func (o *MachineBiosDefault) IsServerError() bool
IsServerError returns true when this machine bios default response has a 5xx status code
func (*MachineBiosDefault) IsSuccess ¶ added in v0.19.3
func (o *MachineBiosDefault) IsSuccess() bool
IsSuccess returns true when this machine bios default response has a 2xx status code
func (*MachineBiosDefault) String ¶ added in v0.19.3
func (o *MachineBiosDefault) String() string
type MachineBiosOK ¶
type MachineBiosOK struct {
Payload *models.V1MachineResponse
}
MachineBiosOK describes a response with status code 200, with default header values.
OK
func NewMachineBiosOK ¶
func NewMachineBiosOK() *MachineBiosOK
NewMachineBiosOK creates a MachineBiosOK with default headers values
func (*MachineBiosOK) Error ¶
func (o *MachineBiosOK) Error() string
func (*MachineBiosOK) GetPayload ¶ added in v0.11.0
func (o *MachineBiosOK) GetPayload() *models.V1MachineResponse
func (*MachineBiosOK) IsClientError ¶ added in v0.19.3
func (o *MachineBiosOK) IsClientError() bool
IsClientError returns true when this machine bios o k response has a 4xx status code
func (*MachineBiosOK) IsCode ¶ added in v0.19.3
func (o *MachineBiosOK) IsCode(code int) bool
IsCode returns true when this machine bios o k response a status code equal to that given
func (*MachineBiosOK) IsRedirect ¶ added in v0.19.3
func (o *MachineBiosOK) IsRedirect() bool
IsRedirect returns true when this machine bios o k response has a 3xx status code
func (*MachineBiosOK) IsServerError ¶ added in v0.19.3
func (o *MachineBiosOK) IsServerError() bool
IsServerError returns true when this machine bios o k response has a 5xx status code
func (*MachineBiosOK) IsSuccess ¶ added in v0.19.3
func (o *MachineBiosOK) IsSuccess() bool
IsSuccess returns true when this machine bios o k response has a 2xx status code
func (*MachineBiosOK) String ¶ added in v0.19.3
func (o *MachineBiosOK) String() string
type MachineBiosParams ¶
type MachineBiosParams struct { // Body. Body models.V1EmptyBody /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MachineBiosParams contains all the parameters to send to the API endpoint
for the machine bios operation. Typically these are written to a http.Request.
func NewMachineBiosParams ¶
func NewMachineBiosParams() *MachineBiosParams
NewMachineBiosParams creates a new MachineBiosParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMachineBiosParamsWithContext ¶
func NewMachineBiosParamsWithContext(ctx context.Context) *MachineBiosParams
NewMachineBiosParamsWithContext creates a new MachineBiosParams object with the ability to set a context for a request.
func NewMachineBiosParamsWithHTTPClient ¶
func NewMachineBiosParamsWithHTTPClient(client *http.Client) *MachineBiosParams
NewMachineBiosParamsWithHTTPClient creates a new MachineBiosParams object with the ability to set a custom HTTPClient for a request.
func NewMachineBiosParamsWithTimeout ¶
func NewMachineBiosParamsWithTimeout(timeout time.Duration) *MachineBiosParams
NewMachineBiosParamsWithTimeout creates a new MachineBiosParams object with the ability to set a timeout on a request.
func (*MachineBiosParams) SetBody ¶
func (o *MachineBiosParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the machine bios params
func (*MachineBiosParams) SetContext ¶
func (o *MachineBiosParams) SetContext(ctx context.Context)
SetContext adds the context to the machine bios params
func (*MachineBiosParams) SetDefaults ¶ added in v0.12.1
func (o *MachineBiosParams) SetDefaults()
SetDefaults hydrates default values in the machine bios params (not the query body).
All values with no default are reset to their zero value.
func (*MachineBiosParams) SetHTTPClient ¶
func (o *MachineBiosParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the machine bios params
func (*MachineBiosParams) SetID ¶
func (o *MachineBiosParams) SetID(id string)
SetID adds the id to the machine bios params
func (*MachineBiosParams) SetTimeout ¶
func (o *MachineBiosParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the machine bios params
func (*MachineBiosParams) WithBody ¶
func (o *MachineBiosParams) WithBody(body models.V1EmptyBody) *MachineBiosParams
WithBody adds the body to the machine bios params
func (*MachineBiosParams) WithContext ¶
func (o *MachineBiosParams) WithContext(ctx context.Context) *MachineBiosParams
WithContext adds the context to the machine bios params
func (*MachineBiosParams) WithDefaults ¶ added in v0.12.1
func (o *MachineBiosParams) WithDefaults() *MachineBiosParams
WithDefaults hydrates default values in the machine bios params (not the query body).
All values with no default are reset to their zero value.
func (*MachineBiosParams) WithHTTPClient ¶
func (o *MachineBiosParams) WithHTTPClient(client *http.Client) *MachineBiosParams
WithHTTPClient adds the HTTPClient to the machine bios params
func (*MachineBiosParams) WithID ¶
func (o *MachineBiosParams) WithID(id string) *MachineBiosParams
WithID adds the id to the machine bios params
func (*MachineBiosParams) WithTimeout ¶
func (o *MachineBiosParams) WithTimeout(timeout time.Duration) *MachineBiosParams
WithTimeout adds the timeout to the machine bios params
func (*MachineBiosParams) WriteToRequest ¶
func (o *MachineBiosParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MachineBiosReader ¶
type MachineBiosReader struct {
// contains filtered or unexported fields
}
MachineBiosReader is a Reader for the MachineBios structure.
func (*MachineBiosReader) ReadResponse ¶
func (o *MachineBiosReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MachineCycleDefault ¶ added in v0.15.2
type MachineCycleDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
MachineCycleDefault describes a response with status code -1, with default header values.
Error
func NewMachineCycleDefault ¶ added in v0.15.2
func NewMachineCycleDefault(code int) *MachineCycleDefault
NewMachineCycleDefault creates a MachineCycleDefault with default headers values
func (*MachineCycleDefault) Code ¶ added in v0.15.2
func (o *MachineCycleDefault) Code() int
Code gets the status code for the machine cycle default response
func (*MachineCycleDefault) Error ¶ added in v0.15.2
func (o *MachineCycleDefault) Error() string
func (*MachineCycleDefault) GetPayload ¶ added in v0.15.2
func (o *MachineCycleDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*MachineCycleDefault) IsClientError ¶ added in v0.19.3
func (o *MachineCycleDefault) IsClientError() bool
IsClientError returns true when this machine cycle default response has a 4xx status code
func (*MachineCycleDefault) IsCode ¶ added in v0.19.3
func (o *MachineCycleDefault) IsCode(code int) bool
IsCode returns true when this machine cycle default response a status code equal to that given
func (*MachineCycleDefault) IsRedirect ¶ added in v0.19.3
func (o *MachineCycleDefault) IsRedirect() bool
IsRedirect returns true when this machine cycle default response has a 3xx status code
func (*MachineCycleDefault) IsServerError ¶ added in v0.19.3
func (o *MachineCycleDefault) IsServerError() bool
IsServerError returns true when this machine cycle default response has a 5xx status code
func (*MachineCycleDefault) IsSuccess ¶ added in v0.19.3
func (o *MachineCycleDefault) IsSuccess() bool
IsSuccess returns true when this machine cycle default response has a 2xx status code
func (*MachineCycleDefault) String ¶ added in v0.19.3
func (o *MachineCycleDefault) String() string
type MachineCycleOK ¶ added in v0.15.2
type MachineCycleOK struct {
Payload *models.V1MachineResponse
}
MachineCycleOK describes a response with status code 200, with default header values.
OK
func NewMachineCycleOK ¶ added in v0.15.2
func NewMachineCycleOK() *MachineCycleOK
NewMachineCycleOK creates a MachineCycleOK with default headers values
func (*MachineCycleOK) Error ¶ added in v0.15.2
func (o *MachineCycleOK) Error() string
func (*MachineCycleOK) GetPayload ¶ added in v0.15.2
func (o *MachineCycleOK) GetPayload() *models.V1MachineResponse
func (*MachineCycleOK) IsClientError ¶ added in v0.19.3
func (o *MachineCycleOK) IsClientError() bool
IsClientError returns true when this machine cycle o k response has a 4xx status code
func (*MachineCycleOK) IsCode ¶ added in v0.19.3
func (o *MachineCycleOK) IsCode(code int) bool
IsCode returns true when this machine cycle o k response a status code equal to that given
func (*MachineCycleOK) IsRedirect ¶ added in v0.19.3
func (o *MachineCycleOK) IsRedirect() bool
IsRedirect returns true when this machine cycle o k response has a 3xx status code
func (*MachineCycleOK) IsServerError ¶ added in v0.19.3
func (o *MachineCycleOK) IsServerError() bool
IsServerError returns true when this machine cycle o k response has a 5xx status code
func (*MachineCycleOK) IsSuccess ¶ added in v0.19.3
func (o *MachineCycleOK) IsSuccess() bool
IsSuccess returns true when this machine cycle o k response has a 2xx status code
func (*MachineCycleOK) String ¶ added in v0.19.3
func (o *MachineCycleOK) String() string
type MachineCycleParams ¶ added in v0.15.2
type MachineCycleParams struct { // Body. Body models.V1EmptyBody /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MachineCycleParams contains all the parameters to send to the API endpoint
for the machine cycle operation. Typically these are written to a http.Request.
func NewMachineCycleParams ¶ added in v0.15.2
func NewMachineCycleParams() *MachineCycleParams
NewMachineCycleParams creates a new MachineCycleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMachineCycleParamsWithContext ¶ added in v0.15.2
func NewMachineCycleParamsWithContext(ctx context.Context) *MachineCycleParams
NewMachineCycleParamsWithContext creates a new MachineCycleParams object with the ability to set a context for a request.
func NewMachineCycleParamsWithHTTPClient ¶ added in v0.15.2
func NewMachineCycleParamsWithHTTPClient(client *http.Client) *MachineCycleParams
NewMachineCycleParamsWithHTTPClient creates a new MachineCycleParams object with the ability to set a custom HTTPClient for a request.
func NewMachineCycleParamsWithTimeout ¶ added in v0.15.2
func NewMachineCycleParamsWithTimeout(timeout time.Duration) *MachineCycleParams
NewMachineCycleParamsWithTimeout creates a new MachineCycleParams object with the ability to set a timeout on a request.
func (*MachineCycleParams) SetBody ¶ added in v0.15.2
func (o *MachineCycleParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the machine cycle params
func (*MachineCycleParams) SetContext ¶ added in v0.15.2
func (o *MachineCycleParams) SetContext(ctx context.Context)
SetContext adds the context to the machine cycle params
func (*MachineCycleParams) SetDefaults ¶ added in v0.15.2
func (o *MachineCycleParams) SetDefaults()
SetDefaults hydrates default values in the machine cycle params (not the query body).
All values with no default are reset to their zero value.
func (*MachineCycleParams) SetHTTPClient ¶ added in v0.15.2
func (o *MachineCycleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the machine cycle params
func (*MachineCycleParams) SetID ¶ added in v0.15.2
func (o *MachineCycleParams) SetID(id string)
SetID adds the id to the machine cycle params
func (*MachineCycleParams) SetTimeout ¶ added in v0.15.2
func (o *MachineCycleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the machine cycle params
func (*MachineCycleParams) WithBody ¶ added in v0.15.2
func (o *MachineCycleParams) WithBody(body models.V1EmptyBody) *MachineCycleParams
WithBody adds the body to the machine cycle params
func (*MachineCycleParams) WithContext ¶ added in v0.15.2
func (o *MachineCycleParams) WithContext(ctx context.Context) *MachineCycleParams
WithContext adds the context to the machine cycle params
func (*MachineCycleParams) WithDefaults ¶ added in v0.15.2
func (o *MachineCycleParams) WithDefaults() *MachineCycleParams
WithDefaults hydrates default values in the machine cycle params (not the query body).
All values with no default are reset to their zero value.
func (*MachineCycleParams) WithHTTPClient ¶ added in v0.15.2
func (o *MachineCycleParams) WithHTTPClient(client *http.Client) *MachineCycleParams
WithHTTPClient adds the HTTPClient to the machine cycle params
func (*MachineCycleParams) WithID ¶ added in v0.15.2
func (o *MachineCycleParams) WithID(id string) *MachineCycleParams
WithID adds the id to the machine cycle params
func (*MachineCycleParams) WithTimeout ¶ added in v0.15.2
func (o *MachineCycleParams) WithTimeout(timeout time.Duration) *MachineCycleParams
WithTimeout adds the timeout to the machine cycle params
func (*MachineCycleParams) WriteToRequest ¶ added in v0.15.2
func (o *MachineCycleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MachineCycleReader ¶ added in v0.15.2
type MachineCycleReader struct {
// contains filtered or unexported fields
}
MachineCycleReader is a Reader for the MachineCycle structure.
func (*MachineCycleReader) ReadResponse ¶ added in v0.15.2
func (o *MachineCycleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MachineDiskDefault ¶ added in v0.11.2
type MachineDiskDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
MachineDiskDefault describes a response with status code -1, with default header values.
Error
func NewMachineDiskDefault ¶ added in v0.11.2
func NewMachineDiskDefault(code int) *MachineDiskDefault
NewMachineDiskDefault creates a MachineDiskDefault with default headers values
func (*MachineDiskDefault) Code ¶ added in v0.11.2
func (o *MachineDiskDefault) Code() int
Code gets the status code for the machine disk default response
func (*MachineDiskDefault) Error ¶ added in v0.11.2
func (o *MachineDiskDefault) Error() string
func (*MachineDiskDefault) GetPayload ¶ added in v0.11.2
func (o *MachineDiskDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*MachineDiskDefault) IsClientError ¶ added in v0.19.3
func (o *MachineDiskDefault) IsClientError() bool
IsClientError returns true when this machine disk default response has a 4xx status code
func (*MachineDiskDefault) IsCode ¶ added in v0.19.3
func (o *MachineDiskDefault) IsCode(code int) bool
IsCode returns true when this machine disk default response a status code equal to that given
func (*MachineDiskDefault) IsRedirect ¶ added in v0.19.3
func (o *MachineDiskDefault) IsRedirect() bool
IsRedirect returns true when this machine disk default response has a 3xx status code
func (*MachineDiskDefault) IsServerError ¶ added in v0.19.3
func (o *MachineDiskDefault) IsServerError() bool
IsServerError returns true when this machine disk default response has a 5xx status code
func (*MachineDiskDefault) IsSuccess ¶ added in v0.19.3
func (o *MachineDiskDefault) IsSuccess() bool
IsSuccess returns true when this machine disk default response has a 2xx status code
func (*MachineDiskDefault) String ¶ added in v0.19.3
func (o *MachineDiskDefault) String() string
type MachineDiskOK ¶ added in v0.11.2
type MachineDiskOK struct {
Payload *models.V1MachineResponse
}
MachineDiskOK describes a response with status code 200, with default header values.
OK
func NewMachineDiskOK ¶ added in v0.11.2
func NewMachineDiskOK() *MachineDiskOK
NewMachineDiskOK creates a MachineDiskOK with default headers values
func (*MachineDiskOK) Error ¶ added in v0.11.2
func (o *MachineDiskOK) Error() string
func (*MachineDiskOK) GetPayload ¶ added in v0.11.2
func (o *MachineDiskOK) GetPayload() *models.V1MachineResponse
func (*MachineDiskOK) IsClientError ¶ added in v0.19.3
func (o *MachineDiskOK) IsClientError() bool
IsClientError returns true when this machine disk o k response has a 4xx status code
func (*MachineDiskOK) IsCode ¶ added in v0.19.3
func (o *MachineDiskOK) IsCode(code int) bool
IsCode returns true when this machine disk o k response a status code equal to that given
func (*MachineDiskOK) IsRedirect ¶ added in v0.19.3
func (o *MachineDiskOK) IsRedirect() bool
IsRedirect returns true when this machine disk o k response has a 3xx status code
func (*MachineDiskOK) IsServerError ¶ added in v0.19.3
func (o *MachineDiskOK) IsServerError() bool
IsServerError returns true when this machine disk o k response has a 5xx status code
func (*MachineDiskOK) IsSuccess ¶ added in v0.19.3
func (o *MachineDiskOK) IsSuccess() bool
IsSuccess returns true when this machine disk o k response has a 2xx status code
func (*MachineDiskOK) String ¶ added in v0.19.3
func (o *MachineDiskOK) String() string
type MachineDiskParams ¶ added in v0.11.2
type MachineDiskParams struct { // Body. Body models.V1EmptyBody /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MachineDiskParams contains all the parameters to send to the API endpoint
for the machine disk operation. Typically these are written to a http.Request.
func NewMachineDiskParams ¶ added in v0.11.2
func NewMachineDiskParams() *MachineDiskParams
NewMachineDiskParams creates a new MachineDiskParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMachineDiskParamsWithContext ¶ added in v0.11.2
func NewMachineDiskParamsWithContext(ctx context.Context) *MachineDiskParams
NewMachineDiskParamsWithContext creates a new MachineDiskParams object with the ability to set a context for a request.
func NewMachineDiskParamsWithHTTPClient ¶ added in v0.11.2
func NewMachineDiskParamsWithHTTPClient(client *http.Client) *MachineDiskParams
NewMachineDiskParamsWithHTTPClient creates a new MachineDiskParams object with the ability to set a custom HTTPClient for a request.
func NewMachineDiskParamsWithTimeout ¶ added in v0.11.2
func NewMachineDiskParamsWithTimeout(timeout time.Duration) *MachineDiskParams
NewMachineDiskParamsWithTimeout creates a new MachineDiskParams object with the ability to set a timeout on a request.
func (*MachineDiskParams) SetBody ¶ added in v0.11.2
func (o *MachineDiskParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the machine disk params
func (*MachineDiskParams) SetContext ¶ added in v0.11.2
func (o *MachineDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the machine disk params
func (*MachineDiskParams) SetDefaults ¶ added in v0.12.1
func (o *MachineDiskParams) SetDefaults()
SetDefaults hydrates default values in the machine disk params (not the query body).
All values with no default are reset to their zero value.
func (*MachineDiskParams) SetHTTPClient ¶ added in v0.11.2
func (o *MachineDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the machine disk params
func (*MachineDiskParams) SetID ¶ added in v0.11.2
func (o *MachineDiskParams) SetID(id string)
SetID adds the id to the machine disk params
func (*MachineDiskParams) SetTimeout ¶ added in v0.11.2
func (o *MachineDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the machine disk params
func (*MachineDiskParams) WithBody ¶ added in v0.11.2
func (o *MachineDiskParams) WithBody(body models.V1EmptyBody) *MachineDiskParams
WithBody adds the body to the machine disk params
func (*MachineDiskParams) WithContext ¶ added in v0.11.2
func (o *MachineDiskParams) WithContext(ctx context.Context) *MachineDiskParams
WithContext adds the context to the machine disk params
func (*MachineDiskParams) WithDefaults ¶ added in v0.12.1
func (o *MachineDiskParams) WithDefaults() *MachineDiskParams
WithDefaults hydrates default values in the machine disk params (not the query body).
All values with no default are reset to their zero value.
func (*MachineDiskParams) WithHTTPClient ¶ added in v0.11.2
func (o *MachineDiskParams) WithHTTPClient(client *http.Client) *MachineDiskParams
WithHTTPClient adds the HTTPClient to the machine disk params
func (*MachineDiskParams) WithID ¶ added in v0.11.2
func (o *MachineDiskParams) WithID(id string) *MachineDiskParams
WithID adds the id to the machine disk params
func (*MachineDiskParams) WithTimeout ¶ added in v0.11.2
func (o *MachineDiskParams) WithTimeout(timeout time.Duration) *MachineDiskParams
WithTimeout adds the timeout to the machine disk params
func (*MachineDiskParams) WriteToRequest ¶ added in v0.11.2
func (o *MachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MachineDiskReader ¶ added in v0.11.2
type MachineDiskReader struct {
// contains filtered or unexported fields
}
MachineDiskReader is a Reader for the MachineDisk structure.
func (*MachineDiskReader) ReadResponse ¶ added in v0.11.2
func (o *MachineDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MachineOffDefault ¶
type MachineOffDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
MachineOffDefault describes a response with status code -1, with default header values.
Error
func NewMachineOffDefault ¶
func NewMachineOffDefault(code int) *MachineOffDefault
NewMachineOffDefault creates a MachineOffDefault with default headers values
func (*MachineOffDefault) Code ¶
func (o *MachineOffDefault) Code() int
Code gets the status code for the machine off default response
func (*MachineOffDefault) Error ¶
func (o *MachineOffDefault) Error() string
func (*MachineOffDefault) GetPayload ¶ added in v0.11.0
func (o *MachineOffDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*MachineOffDefault) IsClientError ¶ added in v0.19.3
func (o *MachineOffDefault) IsClientError() bool
IsClientError returns true when this machine off default response has a 4xx status code
func (*MachineOffDefault) IsCode ¶ added in v0.19.3
func (o *MachineOffDefault) IsCode(code int) bool
IsCode returns true when this machine off default response a status code equal to that given
func (*MachineOffDefault) IsRedirect ¶ added in v0.19.3
func (o *MachineOffDefault) IsRedirect() bool
IsRedirect returns true when this machine off default response has a 3xx status code
func (*MachineOffDefault) IsServerError ¶ added in v0.19.3
func (o *MachineOffDefault) IsServerError() bool
IsServerError returns true when this machine off default response has a 5xx status code
func (*MachineOffDefault) IsSuccess ¶ added in v0.19.3
func (o *MachineOffDefault) IsSuccess() bool
IsSuccess returns true when this machine off default response has a 2xx status code
func (*MachineOffDefault) String ¶ added in v0.19.3
func (o *MachineOffDefault) String() string
type MachineOffOK ¶
type MachineOffOK struct {
Payload *models.V1MachineResponse
}
MachineOffOK describes a response with status code 200, with default header values.
OK
func NewMachineOffOK ¶
func NewMachineOffOK() *MachineOffOK
NewMachineOffOK creates a MachineOffOK with default headers values
func (*MachineOffOK) Error ¶
func (o *MachineOffOK) Error() string
func (*MachineOffOK) GetPayload ¶ added in v0.11.0
func (o *MachineOffOK) GetPayload() *models.V1MachineResponse
func (*MachineOffOK) IsClientError ¶ added in v0.19.3
func (o *MachineOffOK) IsClientError() bool
IsClientError returns true when this machine off o k response has a 4xx status code
func (*MachineOffOK) IsCode ¶ added in v0.19.3
func (o *MachineOffOK) IsCode(code int) bool
IsCode returns true when this machine off o k response a status code equal to that given
func (*MachineOffOK) IsRedirect ¶ added in v0.19.3
func (o *MachineOffOK) IsRedirect() bool
IsRedirect returns true when this machine off o k response has a 3xx status code
func (*MachineOffOK) IsServerError ¶ added in v0.19.3
func (o *MachineOffOK) IsServerError() bool
IsServerError returns true when this machine off o k response has a 5xx status code
func (*MachineOffOK) IsSuccess ¶ added in v0.19.3
func (o *MachineOffOK) IsSuccess() bool
IsSuccess returns true when this machine off o k response has a 2xx status code
func (*MachineOffOK) String ¶ added in v0.19.3
func (o *MachineOffOK) String() string
type MachineOffParams ¶
type MachineOffParams struct { // Body. Body models.V1EmptyBody /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MachineOffParams contains all the parameters to send to the API endpoint
for the machine off operation. Typically these are written to a http.Request.
func NewMachineOffParams ¶
func NewMachineOffParams() *MachineOffParams
NewMachineOffParams creates a new MachineOffParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMachineOffParamsWithContext ¶
func NewMachineOffParamsWithContext(ctx context.Context) *MachineOffParams
NewMachineOffParamsWithContext creates a new MachineOffParams object with the ability to set a context for a request.
func NewMachineOffParamsWithHTTPClient ¶
func NewMachineOffParamsWithHTTPClient(client *http.Client) *MachineOffParams
NewMachineOffParamsWithHTTPClient creates a new MachineOffParams object with the ability to set a custom HTTPClient for a request.
func NewMachineOffParamsWithTimeout ¶
func NewMachineOffParamsWithTimeout(timeout time.Duration) *MachineOffParams
NewMachineOffParamsWithTimeout creates a new MachineOffParams object with the ability to set a timeout on a request.
func (*MachineOffParams) SetBody ¶
func (o *MachineOffParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the machine off params
func (*MachineOffParams) SetContext ¶
func (o *MachineOffParams) SetContext(ctx context.Context)
SetContext adds the context to the machine off params
func (*MachineOffParams) SetDefaults ¶ added in v0.12.1
func (o *MachineOffParams) SetDefaults()
SetDefaults hydrates default values in the machine off params (not the query body).
All values with no default are reset to their zero value.
func (*MachineOffParams) SetHTTPClient ¶
func (o *MachineOffParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the machine off params
func (*MachineOffParams) SetID ¶
func (o *MachineOffParams) SetID(id string)
SetID adds the id to the machine off params
func (*MachineOffParams) SetTimeout ¶
func (o *MachineOffParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the machine off params
func (*MachineOffParams) WithBody ¶
func (o *MachineOffParams) WithBody(body models.V1EmptyBody) *MachineOffParams
WithBody adds the body to the machine off params
func (*MachineOffParams) WithContext ¶
func (o *MachineOffParams) WithContext(ctx context.Context) *MachineOffParams
WithContext adds the context to the machine off params
func (*MachineOffParams) WithDefaults ¶ added in v0.12.1
func (o *MachineOffParams) WithDefaults() *MachineOffParams
WithDefaults hydrates default values in the machine off params (not the query body).
All values with no default are reset to their zero value.
func (*MachineOffParams) WithHTTPClient ¶
func (o *MachineOffParams) WithHTTPClient(client *http.Client) *MachineOffParams
WithHTTPClient adds the HTTPClient to the machine off params
func (*MachineOffParams) WithID ¶
func (o *MachineOffParams) WithID(id string) *MachineOffParams
WithID adds the id to the machine off params
func (*MachineOffParams) WithTimeout ¶
func (o *MachineOffParams) WithTimeout(timeout time.Duration) *MachineOffParams
WithTimeout adds the timeout to the machine off params
func (*MachineOffParams) WriteToRequest ¶
func (o *MachineOffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MachineOffReader ¶
type MachineOffReader struct {
// contains filtered or unexported fields
}
MachineOffReader is a Reader for the MachineOff structure.
func (*MachineOffReader) ReadResponse ¶
func (o *MachineOffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MachineOnDefault ¶
type MachineOnDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
MachineOnDefault describes a response with status code -1, with default header values.
Error
func NewMachineOnDefault ¶
func NewMachineOnDefault(code int) *MachineOnDefault
NewMachineOnDefault creates a MachineOnDefault with default headers values
func (*MachineOnDefault) Code ¶
func (o *MachineOnDefault) Code() int
Code gets the status code for the machine on default response
func (*MachineOnDefault) Error ¶
func (o *MachineOnDefault) Error() string
func (*MachineOnDefault) GetPayload ¶ added in v0.11.0
func (o *MachineOnDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*MachineOnDefault) IsClientError ¶ added in v0.19.3
func (o *MachineOnDefault) IsClientError() bool
IsClientError returns true when this machine on default response has a 4xx status code
func (*MachineOnDefault) IsCode ¶ added in v0.19.3
func (o *MachineOnDefault) IsCode(code int) bool
IsCode returns true when this machine on default response a status code equal to that given
func (*MachineOnDefault) IsRedirect ¶ added in v0.19.3
func (o *MachineOnDefault) IsRedirect() bool
IsRedirect returns true when this machine on default response has a 3xx status code
func (*MachineOnDefault) IsServerError ¶ added in v0.19.3
func (o *MachineOnDefault) IsServerError() bool
IsServerError returns true when this machine on default response has a 5xx status code
func (*MachineOnDefault) IsSuccess ¶ added in v0.19.3
func (o *MachineOnDefault) IsSuccess() bool
IsSuccess returns true when this machine on default response has a 2xx status code
func (*MachineOnDefault) String ¶ added in v0.19.3
func (o *MachineOnDefault) String() string
type MachineOnOK ¶
type MachineOnOK struct {
Payload *models.V1MachineResponse
}
MachineOnOK describes a response with status code 200, with default header values.
OK
func NewMachineOnOK ¶
func NewMachineOnOK() *MachineOnOK
NewMachineOnOK creates a MachineOnOK with default headers values
func (*MachineOnOK) Error ¶
func (o *MachineOnOK) Error() string
func (*MachineOnOK) GetPayload ¶ added in v0.11.0
func (o *MachineOnOK) GetPayload() *models.V1MachineResponse
func (*MachineOnOK) IsClientError ¶ added in v0.19.3
func (o *MachineOnOK) IsClientError() bool
IsClientError returns true when this machine on o k response has a 4xx status code
func (*MachineOnOK) IsCode ¶ added in v0.19.3
func (o *MachineOnOK) IsCode(code int) bool
IsCode returns true when this machine on o k response a status code equal to that given
func (*MachineOnOK) IsRedirect ¶ added in v0.19.3
func (o *MachineOnOK) IsRedirect() bool
IsRedirect returns true when this machine on o k response has a 3xx status code
func (*MachineOnOK) IsServerError ¶ added in v0.19.3
func (o *MachineOnOK) IsServerError() bool
IsServerError returns true when this machine on o k response has a 5xx status code
func (*MachineOnOK) IsSuccess ¶ added in v0.19.3
func (o *MachineOnOK) IsSuccess() bool
IsSuccess returns true when this machine on o k response has a 2xx status code
func (*MachineOnOK) String ¶ added in v0.19.3
func (o *MachineOnOK) String() string
type MachineOnParams ¶
type MachineOnParams struct { // Body. Body models.V1EmptyBody /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MachineOnParams contains all the parameters to send to the API endpoint
for the machine on operation. Typically these are written to a http.Request.
func NewMachineOnParams ¶
func NewMachineOnParams() *MachineOnParams
NewMachineOnParams creates a new MachineOnParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMachineOnParamsWithContext ¶
func NewMachineOnParamsWithContext(ctx context.Context) *MachineOnParams
NewMachineOnParamsWithContext creates a new MachineOnParams object with the ability to set a context for a request.
func NewMachineOnParamsWithHTTPClient ¶
func NewMachineOnParamsWithHTTPClient(client *http.Client) *MachineOnParams
NewMachineOnParamsWithHTTPClient creates a new MachineOnParams object with the ability to set a custom HTTPClient for a request.
func NewMachineOnParamsWithTimeout ¶
func NewMachineOnParamsWithTimeout(timeout time.Duration) *MachineOnParams
NewMachineOnParamsWithTimeout creates a new MachineOnParams object with the ability to set a timeout on a request.
func (*MachineOnParams) SetBody ¶
func (o *MachineOnParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the machine on params
func (*MachineOnParams) SetContext ¶
func (o *MachineOnParams) SetContext(ctx context.Context)
SetContext adds the context to the machine on params
func (*MachineOnParams) SetDefaults ¶ added in v0.12.1
func (o *MachineOnParams) SetDefaults()
SetDefaults hydrates default values in the machine on params (not the query body).
All values with no default are reset to their zero value.
func (*MachineOnParams) SetHTTPClient ¶
func (o *MachineOnParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the machine on params
func (*MachineOnParams) SetID ¶
func (o *MachineOnParams) SetID(id string)
SetID adds the id to the machine on params
func (*MachineOnParams) SetTimeout ¶
func (o *MachineOnParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the machine on params
func (*MachineOnParams) WithBody ¶
func (o *MachineOnParams) WithBody(body models.V1EmptyBody) *MachineOnParams
WithBody adds the body to the machine on params
func (*MachineOnParams) WithContext ¶
func (o *MachineOnParams) WithContext(ctx context.Context) *MachineOnParams
WithContext adds the context to the machine on params
func (*MachineOnParams) WithDefaults ¶ added in v0.12.1
func (o *MachineOnParams) WithDefaults() *MachineOnParams
WithDefaults hydrates default values in the machine on params (not the query body).
All values with no default are reset to their zero value.
func (*MachineOnParams) WithHTTPClient ¶
func (o *MachineOnParams) WithHTTPClient(client *http.Client) *MachineOnParams
WithHTTPClient adds the HTTPClient to the machine on params
func (*MachineOnParams) WithID ¶
func (o *MachineOnParams) WithID(id string) *MachineOnParams
WithID adds the id to the machine on params
func (*MachineOnParams) WithTimeout ¶
func (o *MachineOnParams) WithTimeout(timeout time.Duration) *MachineOnParams
WithTimeout adds the timeout to the machine on params
func (*MachineOnParams) WriteToRequest ¶
func (o *MachineOnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MachineOnReader ¶
type MachineOnReader struct {
// contains filtered or unexported fields
}
MachineOnReader is a Reader for the MachineOn structure.
func (*MachineOnReader) ReadResponse ¶
func (o *MachineOnReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MachinePxeDefault ¶ added in v0.11.2
type MachinePxeDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
MachinePxeDefault describes a response with status code -1, with default header values.
Error
func NewMachinePxeDefault ¶ added in v0.11.2
func NewMachinePxeDefault(code int) *MachinePxeDefault
NewMachinePxeDefault creates a MachinePxeDefault with default headers values
func (*MachinePxeDefault) Code ¶ added in v0.11.2
func (o *MachinePxeDefault) Code() int
Code gets the status code for the machine pxe default response
func (*MachinePxeDefault) Error ¶ added in v0.11.2
func (o *MachinePxeDefault) Error() string
func (*MachinePxeDefault) GetPayload ¶ added in v0.11.2
func (o *MachinePxeDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*MachinePxeDefault) IsClientError ¶ added in v0.19.3
func (o *MachinePxeDefault) IsClientError() bool
IsClientError returns true when this machine pxe default response has a 4xx status code
func (*MachinePxeDefault) IsCode ¶ added in v0.19.3
func (o *MachinePxeDefault) IsCode(code int) bool
IsCode returns true when this machine pxe default response a status code equal to that given
func (*MachinePxeDefault) IsRedirect ¶ added in v0.19.3
func (o *MachinePxeDefault) IsRedirect() bool
IsRedirect returns true when this machine pxe default response has a 3xx status code
func (*MachinePxeDefault) IsServerError ¶ added in v0.19.3
func (o *MachinePxeDefault) IsServerError() bool
IsServerError returns true when this machine pxe default response has a 5xx status code
func (*MachinePxeDefault) IsSuccess ¶ added in v0.19.3
func (o *MachinePxeDefault) IsSuccess() bool
IsSuccess returns true when this machine pxe default response has a 2xx status code
func (*MachinePxeDefault) String ¶ added in v0.19.3
func (o *MachinePxeDefault) String() string
type MachinePxeOK ¶ added in v0.11.2
type MachinePxeOK struct {
Payload *models.V1MachineResponse
}
MachinePxeOK describes a response with status code 200, with default header values.
OK
func NewMachinePxeOK ¶ added in v0.11.2
func NewMachinePxeOK() *MachinePxeOK
NewMachinePxeOK creates a MachinePxeOK with default headers values
func (*MachinePxeOK) Error ¶ added in v0.11.2
func (o *MachinePxeOK) Error() string
func (*MachinePxeOK) GetPayload ¶ added in v0.11.2
func (o *MachinePxeOK) GetPayload() *models.V1MachineResponse
func (*MachinePxeOK) IsClientError ¶ added in v0.19.3
func (o *MachinePxeOK) IsClientError() bool
IsClientError returns true when this machine pxe o k response has a 4xx status code
func (*MachinePxeOK) IsCode ¶ added in v0.19.3
func (o *MachinePxeOK) IsCode(code int) bool
IsCode returns true when this machine pxe o k response a status code equal to that given
func (*MachinePxeOK) IsRedirect ¶ added in v0.19.3
func (o *MachinePxeOK) IsRedirect() bool
IsRedirect returns true when this machine pxe o k response has a 3xx status code
func (*MachinePxeOK) IsServerError ¶ added in v0.19.3
func (o *MachinePxeOK) IsServerError() bool
IsServerError returns true when this machine pxe o k response has a 5xx status code
func (*MachinePxeOK) IsSuccess ¶ added in v0.19.3
func (o *MachinePxeOK) IsSuccess() bool
IsSuccess returns true when this machine pxe o k response has a 2xx status code
func (*MachinePxeOK) String ¶ added in v0.19.3
func (o *MachinePxeOK) String() string
type MachinePxeParams ¶ added in v0.11.2
type MachinePxeParams struct { // Body. Body models.V1EmptyBody /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MachinePxeParams contains all the parameters to send to the API endpoint
for the machine pxe operation. Typically these are written to a http.Request.
func NewMachinePxeParams ¶ added in v0.11.2
func NewMachinePxeParams() *MachinePxeParams
NewMachinePxeParams creates a new MachinePxeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMachinePxeParamsWithContext ¶ added in v0.11.2
func NewMachinePxeParamsWithContext(ctx context.Context) *MachinePxeParams
NewMachinePxeParamsWithContext creates a new MachinePxeParams object with the ability to set a context for a request.
func NewMachinePxeParamsWithHTTPClient ¶ added in v0.11.2
func NewMachinePxeParamsWithHTTPClient(client *http.Client) *MachinePxeParams
NewMachinePxeParamsWithHTTPClient creates a new MachinePxeParams object with the ability to set a custom HTTPClient for a request.
func NewMachinePxeParamsWithTimeout ¶ added in v0.11.2
func NewMachinePxeParamsWithTimeout(timeout time.Duration) *MachinePxeParams
NewMachinePxeParamsWithTimeout creates a new MachinePxeParams object with the ability to set a timeout on a request.
func (*MachinePxeParams) SetBody ¶ added in v0.11.2
func (o *MachinePxeParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the machine pxe params
func (*MachinePxeParams) SetContext ¶ added in v0.11.2
func (o *MachinePxeParams) SetContext(ctx context.Context)
SetContext adds the context to the machine pxe params
func (*MachinePxeParams) SetDefaults ¶ added in v0.12.1
func (o *MachinePxeParams) SetDefaults()
SetDefaults hydrates default values in the machine pxe params (not the query body).
All values with no default are reset to their zero value.
func (*MachinePxeParams) SetHTTPClient ¶ added in v0.11.2
func (o *MachinePxeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the machine pxe params
func (*MachinePxeParams) SetID ¶ added in v0.11.2
func (o *MachinePxeParams) SetID(id string)
SetID adds the id to the machine pxe params
func (*MachinePxeParams) SetTimeout ¶ added in v0.11.2
func (o *MachinePxeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the machine pxe params
func (*MachinePxeParams) WithBody ¶ added in v0.11.2
func (o *MachinePxeParams) WithBody(body models.V1EmptyBody) *MachinePxeParams
WithBody adds the body to the machine pxe params
func (*MachinePxeParams) WithContext ¶ added in v0.11.2
func (o *MachinePxeParams) WithContext(ctx context.Context) *MachinePxeParams
WithContext adds the context to the machine pxe params
func (*MachinePxeParams) WithDefaults ¶ added in v0.12.1
func (o *MachinePxeParams) WithDefaults() *MachinePxeParams
WithDefaults hydrates default values in the machine pxe params (not the query body).
All values with no default are reset to their zero value.
func (*MachinePxeParams) WithHTTPClient ¶ added in v0.11.2
func (o *MachinePxeParams) WithHTTPClient(client *http.Client) *MachinePxeParams
WithHTTPClient adds the HTTPClient to the machine pxe params
func (*MachinePxeParams) WithID ¶ added in v0.11.2
func (o *MachinePxeParams) WithID(id string) *MachinePxeParams
WithID adds the id to the machine pxe params
func (*MachinePxeParams) WithTimeout ¶ added in v0.11.2
func (o *MachinePxeParams) WithTimeout(timeout time.Duration) *MachinePxeParams
WithTimeout adds the timeout to the machine pxe params
func (*MachinePxeParams) WriteToRequest ¶ added in v0.11.2
func (o *MachinePxeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MachinePxeReader ¶ added in v0.11.2
type MachinePxeReader struct {
// contains filtered or unexported fields
}
MachinePxeReader is a Reader for the MachinePxe structure.
func (*MachinePxeReader) ReadResponse ¶ added in v0.11.2
func (o *MachinePxeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MachineResetDefault ¶
type MachineResetDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
MachineResetDefault describes a response with status code -1, with default header values.
Error
func NewMachineResetDefault ¶
func NewMachineResetDefault(code int) *MachineResetDefault
NewMachineResetDefault creates a MachineResetDefault with default headers values
func (*MachineResetDefault) Code ¶
func (o *MachineResetDefault) Code() int
Code gets the status code for the machine reset default response
func (*MachineResetDefault) Error ¶
func (o *MachineResetDefault) Error() string
func (*MachineResetDefault) GetPayload ¶ added in v0.11.0
func (o *MachineResetDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*MachineResetDefault) IsClientError ¶ added in v0.19.3
func (o *MachineResetDefault) IsClientError() bool
IsClientError returns true when this machine reset default response has a 4xx status code
func (*MachineResetDefault) IsCode ¶ added in v0.19.3
func (o *MachineResetDefault) IsCode(code int) bool
IsCode returns true when this machine reset default response a status code equal to that given
func (*MachineResetDefault) IsRedirect ¶ added in v0.19.3
func (o *MachineResetDefault) IsRedirect() bool
IsRedirect returns true when this machine reset default response has a 3xx status code
func (*MachineResetDefault) IsServerError ¶ added in v0.19.3
func (o *MachineResetDefault) IsServerError() bool
IsServerError returns true when this machine reset default response has a 5xx status code
func (*MachineResetDefault) IsSuccess ¶ added in v0.19.3
func (o *MachineResetDefault) IsSuccess() bool
IsSuccess returns true when this machine reset default response has a 2xx status code
func (*MachineResetDefault) String ¶ added in v0.19.3
func (o *MachineResetDefault) String() string
type MachineResetOK ¶
type MachineResetOK struct {
Payload *models.V1MachineResponse
}
MachineResetOK describes a response with status code 200, with default header values.
OK
func NewMachineResetOK ¶
func NewMachineResetOK() *MachineResetOK
NewMachineResetOK creates a MachineResetOK with default headers values
func (*MachineResetOK) Error ¶
func (o *MachineResetOK) Error() string
func (*MachineResetOK) GetPayload ¶ added in v0.11.0
func (o *MachineResetOK) GetPayload() *models.V1MachineResponse
func (*MachineResetOK) IsClientError ¶ added in v0.19.3
func (o *MachineResetOK) IsClientError() bool
IsClientError returns true when this machine reset o k response has a 4xx status code
func (*MachineResetOK) IsCode ¶ added in v0.19.3
func (o *MachineResetOK) IsCode(code int) bool
IsCode returns true when this machine reset o k response a status code equal to that given
func (*MachineResetOK) IsRedirect ¶ added in v0.19.3
func (o *MachineResetOK) IsRedirect() bool
IsRedirect returns true when this machine reset o k response has a 3xx status code
func (*MachineResetOK) IsServerError ¶ added in v0.19.3
func (o *MachineResetOK) IsServerError() bool
IsServerError returns true when this machine reset o k response has a 5xx status code
func (*MachineResetOK) IsSuccess ¶ added in v0.19.3
func (o *MachineResetOK) IsSuccess() bool
IsSuccess returns true when this machine reset o k response has a 2xx status code
func (*MachineResetOK) String ¶ added in v0.19.3
func (o *MachineResetOK) String() string
type MachineResetParams ¶
type MachineResetParams struct { // Body. Body models.V1EmptyBody /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MachineResetParams contains all the parameters to send to the API endpoint
for the machine reset operation. Typically these are written to a http.Request.
func NewMachineResetParams ¶
func NewMachineResetParams() *MachineResetParams
NewMachineResetParams creates a new MachineResetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMachineResetParamsWithContext ¶
func NewMachineResetParamsWithContext(ctx context.Context) *MachineResetParams
NewMachineResetParamsWithContext creates a new MachineResetParams object with the ability to set a context for a request.
func NewMachineResetParamsWithHTTPClient ¶
func NewMachineResetParamsWithHTTPClient(client *http.Client) *MachineResetParams
NewMachineResetParamsWithHTTPClient creates a new MachineResetParams object with the ability to set a custom HTTPClient for a request.
func NewMachineResetParamsWithTimeout ¶
func NewMachineResetParamsWithTimeout(timeout time.Duration) *MachineResetParams
NewMachineResetParamsWithTimeout creates a new MachineResetParams object with the ability to set a timeout on a request.
func (*MachineResetParams) SetBody ¶
func (o *MachineResetParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the machine reset params
func (*MachineResetParams) SetContext ¶
func (o *MachineResetParams) SetContext(ctx context.Context)
SetContext adds the context to the machine reset params
func (*MachineResetParams) SetDefaults ¶ added in v0.12.1
func (o *MachineResetParams) SetDefaults()
SetDefaults hydrates default values in the machine reset params (not the query body).
All values with no default are reset to their zero value.
func (*MachineResetParams) SetHTTPClient ¶
func (o *MachineResetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the machine reset params
func (*MachineResetParams) SetID ¶
func (o *MachineResetParams) SetID(id string)
SetID adds the id to the machine reset params
func (*MachineResetParams) SetTimeout ¶
func (o *MachineResetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the machine reset params
func (*MachineResetParams) WithBody ¶
func (o *MachineResetParams) WithBody(body models.V1EmptyBody) *MachineResetParams
WithBody adds the body to the machine reset params
func (*MachineResetParams) WithContext ¶
func (o *MachineResetParams) WithContext(ctx context.Context) *MachineResetParams
WithContext adds the context to the machine reset params
func (*MachineResetParams) WithDefaults ¶ added in v0.12.1
func (o *MachineResetParams) WithDefaults() *MachineResetParams
WithDefaults hydrates default values in the machine reset params (not the query body).
All values with no default are reset to their zero value.
func (*MachineResetParams) WithHTTPClient ¶
func (o *MachineResetParams) WithHTTPClient(client *http.Client) *MachineResetParams
WithHTTPClient adds the HTTPClient to the machine reset params
func (*MachineResetParams) WithID ¶
func (o *MachineResetParams) WithID(id string) *MachineResetParams
WithID adds the id to the machine reset params
func (*MachineResetParams) WithTimeout ¶
func (o *MachineResetParams) WithTimeout(timeout time.Duration) *MachineResetParams
WithTimeout adds the timeout to the machine reset params
func (*MachineResetParams) WriteToRequest ¶
func (o *MachineResetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MachineResetReader ¶
type MachineResetReader struct {
// contains filtered or unexported fields
}
MachineResetReader is a Reader for the MachineReset structure.
func (*MachineResetReader) ReadResponse ¶
func (o *MachineResetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterMachineCreated ¶
type RegisterMachineCreated struct {
Payload *models.V1MachineResponse
}
RegisterMachineCreated describes a response with status code 201, with default header values.
Created
func NewRegisterMachineCreated ¶
func NewRegisterMachineCreated() *RegisterMachineCreated
NewRegisterMachineCreated creates a RegisterMachineCreated with default headers values
func (*RegisterMachineCreated) Error ¶
func (o *RegisterMachineCreated) Error() string
func (*RegisterMachineCreated) GetPayload ¶ added in v0.11.0
func (o *RegisterMachineCreated) GetPayload() *models.V1MachineResponse
func (*RegisterMachineCreated) IsClientError ¶ added in v0.19.3
func (o *RegisterMachineCreated) IsClientError() bool
IsClientError returns true when this register machine created response has a 4xx status code
func (*RegisterMachineCreated) IsCode ¶ added in v0.19.3
func (o *RegisterMachineCreated) IsCode(code int) bool
IsCode returns true when this register machine created response a status code equal to that given
func (*RegisterMachineCreated) IsRedirect ¶ added in v0.19.3
func (o *RegisterMachineCreated) IsRedirect() bool
IsRedirect returns true when this register machine created response has a 3xx status code
func (*RegisterMachineCreated) IsServerError ¶ added in v0.19.3
func (o *RegisterMachineCreated) IsServerError() bool
IsServerError returns true when this register machine created response has a 5xx status code
func (*RegisterMachineCreated) IsSuccess ¶ added in v0.19.3
func (o *RegisterMachineCreated) IsSuccess() bool
IsSuccess returns true when this register machine created response has a 2xx status code
func (*RegisterMachineCreated) String ¶ added in v0.19.3
func (o *RegisterMachineCreated) String() string
type RegisterMachineDefault ¶
type RegisterMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
RegisterMachineDefault describes a response with status code -1, with default header values.
Error
func NewRegisterMachineDefault ¶
func NewRegisterMachineDefault(code int) *RegisterMachineDefault
NewRegisterMachineDefault creates a RegisterMachineDefault with default headers values
func (*RegisterMachineDefault) Code ¶
func (o *RegisterMachineDefault) Code() int
Code gets the status code for the register machine default response
func (*RegisterMachineDefault) Error ¶
func (o *RegisterMachineDefault) Error() string
func (*RegisterMachineDefault) GetPayload ¶ added in v0.11.0
func (o *RegisterMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*RegisterMachineDefault) IsClientError ¶ added in v0.19.3
func (o *RegisterMachineDefault) IsClientError() bool
IsClientError returns true when this register machine default response has a 4xx status code
func (*RegisterMachineDefault) IsCode ¶ added in v0.19.3
func (o *RegisterMachineDefault) IsCode(code int) bool
IsCode returns true when this register machine default response a status code equal to that given
func (*RegisterMachineDefault) IsRedirect ¶ added in v0.19.3
func (o *RegisterMachineDefault) IsRedirect() bool
IsRedirect returns true when this register machine default response has a 3xx status code
func (*RegisterMachineDefault) IsServerError ¶ added in v0.19.3
func (o *RegisterMachineDefault) IsServerError() bool
IsServerError returns true when this register machine default response has a 5xx status code
func (*RegisterMachineDefault) IsSuccess ¶ added in v0.19.3
func (o *RegisterMachineDefault) IsSuccess() bool
IsSuccess returns true when this register machine default response has a 2xx status code
func (*RegisterMachineDefault) String ¶ added in v0.19.3
func (o *RegisterMachineDefault) String() string
type RegisterMachineOK ¶
type RegisterMachineOK struct {
Payload *models.V1MachineResponse
}
RegisterMachineOK describes a response with status code 200, with default header values.
OK
func NewRegisterMachineOK ¶
func NewRegisterMachineOK() *RegisterMachineOK
NewRegisterMachineOK creates a RegisterMachineOK with default headers values
func (*RegisterMachineOK) Error ¶
func (o *RegisterMachineOK) Error() string
func (*RegisterMachineOK) GetPayload ¶ added in v0.11.0
func (o *RegisterMachineOK) GetPayload() *models.V1MachineResponse
func (*RegisterMachineOK) IsClientError ¶ added in v0.19.3
func (o *RegisterMachineOK) IsClientError() bool
IsClientError returns true when this register machine o k response has a 4xx status code
func (*RegisterMachineOK) IsCode ¶ added in v0.19.3
func (o *RegisterMachineOK) IsCode(code int) bool
IsCode returns true when this register machine o k response a status code equal to that given
func (*RegisterMachineOK) IsRedirect ¶ added in v0.19.3
func (o *RegisterMachineOK) IsRedirect() bool
IsRedirect returns true when this register machine o k response has a 3xx status code
func (*RegisterMachineOK) IsServerError ¶ added in v0.19.3
func (o *RegisterMachineOK) IsServerError() bool
IsServerError returns true when this register machine o k response has a 5xx status code
func (*RegisterMachineOK) IsSuccess ¶ added in v0.19.3
func (o *RegisterMachineOK) IsSuccess() bool
IsSuccess returns true when this register machine o k response has a 2xx status code
func (*RegisterMachineOK) String ¶ added in v0.19.3
func (o *RegisterMachineOK) String() string
type RegisterMachineParams ¶
type RegisterMachineParams struct { // Body. Body *models.V1MachineRegisterRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegisterMachineParams contains all the parameters to send to the API endpoint
for the register machine operation. Typically these are written to a http.Request.
func NewRegisterMachineParams ¶
func NewRegisterMachineParams() *RegisterMachineParams
NewRegisterMachineParams creates a new RegisterMachineParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRegisterMachineParamsWithContext ¶
func NewRegisterMachineParamsWithContext(ctx context.Context) *RegisterMachineParams
NewRegisterMachineParamsWithContext creates a new RegisterMachineParams object with the ability to set a context for a request.
func NewRegisterMachineParamsWithHTTPClient ¶
func NewRegisterMachineParamsWithHTTPClient(client *http.Client) *RegisterMachineParams
NewRegisterMachineParamsWithHTTPClient creates a new RegisterMachineParams object with the ability to set a custom HTTPClient for a request.
func NewRegisterMachineParamsWithTimeout ¶
func NewRegisterMachineParamsWithTimeout(timeout time.Duration) *RegisterMachineParams
NewRegisterMachineParamsWithTimeout creates a new RegisterMachineParams object with the ability to set a timeout on a request.
func (*RegisterMachineParams) SetBody ¶
func (o *RegisterMachineParams) SetBody(body *models.V1MachineRegisterRequest)
SetBody adds the body to the register machine params
func (*RegisterMachineParams) SetContext ¶
func (o *RegisterMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the register machine params
func (*RegisterMachineParams) SetDefaults ¶ added in v0.12.1
func (o *RegisterMachineParams) SetDefaults()
SetDefaults hydrates default values in the register machine params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterMachineParams) SetHTTPClient ¶
func (o *RegisterMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register machine params
func (*RegisterMachineParams) SetTimeout ¶
func (o *RegisterMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register machine params
func (*RegisterMachineParams) WithBody ¶
func (o *RegisterMachineParams) WithBody(body *models.V1MachineRegisterRequest) *RegisterMachineParams
WithBody adds the body to the register machine params
func (*RegisterMachineParams) WithContext ¶
func (o *RegisterMachineParams) WithContext(ctx context.Context) *RegisterMachineParams
WithContext adds the context to the register machine params
func (*RegisterMachineParams) WithDefaults ¶ added in v0.12.1
func (o *RegisterMachineParams) WithDefaults() *RegisterMachineParams
WithDefaults hydrates default values in the register machine params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterMachineParams) WithHTTPClient ¶
func (o *RegisterMachineParams) WithHTTPClient(client *http.Client) *RegisterMachineParams
WithHTTPClient adds the HTTPClient to the register machine params
func (*RegisterMachineParams) WithTimeout ¶
func (o *RegisterMachineParams) WithTimeout(timeout time.Duration) *RegisterMachineParams
WithTimeout adds the timeout to the register machine params
func (*RegisterMachineParams) WriteToRequest ¶
func (o *RegisterMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterMachineReader ¶
type RegisterMachineReader struct {
// contains filtered or unexported fields
}
RegisterMachineReader is a Reader for the RegisterMachine structure.
func (*RegisterMachineReader) ReadResponse ¶
func (o *RegisterMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReinstallMachineBadRequest ¶ added in v0.4.0
type ReinstallMachineBadRequest struct {
Payload *httperrors.HTTPErrorResponse
}
ReinstallMachineBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewReinstallMachineBadRequest ¶ added in v0.4.0
func NewReinstallMachineBadRequest() *ReinstallMachineBadRequest
NewReinstallMachineBadRequest creates a ReinstallMachineBadRequest with default headers values
func (*ReinstallMachineBadRequest) Error ¶ added in v0.4.0
func (o *ReinstallMachineBadRequest) Error() string
func (*ReinstallMachineBadRequest) GetPayload ¶ added in v0.11.0
func (o *ReinstallMachineBadRequest) GetPayload() *httperrors.HTTPErrorResponse
func (*ReinstallMachineBadRequest) IsClientError ¶ added in v0.19.3
func (o *ReinstallMachineBadRequest) IsClientError() bool
IsClientError returns true when this reinstall machine bad request response has a 4xx status code
func (*ReinstallMachineBadRequest) IsCode ¶ added in v0.19.3
func (o *ReinstallMachineBadRequest) IsCode(code int) bool
IsCode returns true when this reinstall machine bad request response a status code equal to that given
func (*ReinstallMachineBadRequest) IsRedirect ¶ added in v0.19.3
func (o *ReinstallMachineBadRequest) IsRedirect() bool
IsRedirect returns true when this reinstall machine bad request response has a 3xx status code
func (*ReinstallMachineBadRequest) IsServerError ¶ added in v0.19.3
func (o *ReinstallMachineBadRequest) IsServerError() bool
IsServerError returns true when this reinstall machine bad request response has a 5xx status code
func (*ReinstallMachineBadRequest) IsSuccess ¶ added in v0.19.3
func (o *ReinstallMachineBadRequest) IsSuccess() bool
IsSuccess returns true when this reinstall machine bad request response has a 2xx status code
func (*ReinstallMachineBadRequest) String ¶ added in v0.19.3
func (o *ReinstallMachineBadRequest) String() string
type ReinstallMachineDefault ¶ added in v0.4.0
type ReinstallMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ReinstallMachineDefault describes a response with status code -1, with default header values.
Error
func NewReinstallMachineDefault ¶ added in v0.4.0
func NewReinstallMachineDefault(code int) *ReinstallMachineDefault
NewReinstallMachineDefault creates a ReinstallMachineDefault with default headers values
func (*ReinstallMachineDefault) Code ¶ added in v0.4.0
func (o *ReinstallMachineDefault) Code() int
Code gets the status code for the reinstall machine default response
func (*ReinstallMachineDefault) Error ¶ added in v0.4.0
func (o *ReinstallMachineDefault) Error() string
func (*ReinstallMachineDefault) GetPayload ¶ added in v0.11.0
func (o *ReinstallMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ReinstallMachineDefault) IsClientError ¶ added in v0.19.3
func (o *ReinstallMachineDefault) IsClientError() bool
IsClientError returns true when this reinstall machine default response has a 4xx status code
func (*ReinstallMachineDefault) IsCode ¶ added in v0.19.3
func (o *ReinstallMachineDefault) IsCode(code int) bool
IsCode returns true when this reinstall machine default response a status code equal to that given
func (*ReinstallMachineDefault) IsRedirect ¶ added in v0.19.3
func (o *ReinstallMachineDefault) IsRedirect() bool
IsRedirect returns true when this reinstall machine default response has a 3xx status code
func (*ReinstallMachineDefault) IsServerError ¶ added in v0.19.3
func (o *ReinstallMachineDefault) IsServerError() bool
IsServerError returns true when this reinstall machine default response has a 5xx status code
func (*ReinstallMachineDefault) IsSuccess ¶ added in v0.19.3
func (o *ReinstallMachineDefault) IsSuccess() bool
IsSuccess returns true when this reinstall machine default response has a 2xx status code
func (*ReinstallMachineDefault) String ¶ added in v0.19.3
func (o *ReinstallMachineDefault) String() string
type ReinstallMachineOK ¶ added in v0.4.0
type ReinstallMachineOK struct {
Payload *models.V1MachineResponse
}
ReinstallMachineOK describes a response with status code 200, with default header values.
OK
func NewReinstallMachineOK ¶ added in v0.4.0
func NewReinstallMachineOK() *ReinstallMachineOK
NewReinstallMachineOK creates a ReinstallMachineOK with default headers values
func (*ReinstallMachineOK) Error ¶ added in v0.4.0
func (o *ReinstallMachineOK) Error() string
func (*ReinstallMachineOK) GetPayload ¶ added in v0.11.0
func (o *ReinstallMachineOK) GetPayload() *models.V1MachineResponse
func (*ReinstallMachineOK) IsClientError ¶ added in v0.19.3
func (o *ReinstallMachineOK) IsClientError() bool
IsClientError returns true when this reinstall machine o k response has a 4xx status code
func (*ReinstallMachineOK) IsCode ¶ added in v0.19.3
func (o *ReinstallMachineOK) IsCode(code int) bool
IsCode returns true when this reinstall machine o k response a status code equal to that given
func (*ReinstallMachineOK) IsRedirect ¶ added in v0.19.3
func (o *ReinstallMachineOK) IsRedirect() bool
IsRedirect returns true when this reinstall machine o k response has a 3xx status code
func (*ReinstallMachineOK) IsServerError ¶ added in v0.19.3
func (o *ReinstallMachineOK) IsServerError() bool
IsServerError returns true when this reinstall machine o k response has a 5xx status code
func (*ReinstallMachineOK) IsSuccess ¶ added in v0.19.3
func (o *ReinstallMachineOK) IsSuccess() bool
IsSuccess returns true when this reinstall machine o k response has a 2xx status code
func (*ReinstallMachineOK) String ¶ added in v0.19.3
func (o *ReinstallMachineOK) String() string
type ReinstallMachineParams ¶ added in v0.4.0
type ReinstallMachineParams struct { // Body. Body *models.V1MachineReinstallRequest /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReinstallMachineParams contains all the parameters to send to the API endpoint
for the reinstall machine operation. Typically these are written to a http.Request.
func NewReinstallMachineParams ¶ added in v0.4.0
func NewReinstallMachineParams() *ReinstallMachineParams
NewReinstallMachineParams creates a new ReinstallMachineParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReinstallMachineParamsWithContext ¶ added in v0.4.0
func NewReinstallMachineParamsWithContext(ctx context.Context) *ReinstallMachineParams
NewReinstallMachineParamsWithContext creates a new ReinstallMachineParams object with the ability to set a context for a request.
func NewReinstallMachineParamsWithHTTPClient ¶ added in v0.4.0
func NewReinstallMachineParamsWithHTTPClient(client *http.Client) *ReinstallMachineParams
NewReinstallMachineParamsWithHTTPClient creates a new ReinstallMachineParams object with the ability to set a custom HTTPClient for a request.
func NewReinstallMachineParamsWithTimeout ¶ added in v0.4.0
func NewReinstallMachineParamsWithTimeout(timeout time.Duration) *ReinstallMachineParams
NewReinstallMachineParamsWithTimeout creates a new ReinstallMachineParams object with the ability to set a timeout on a request.
func (*ReinstallMachineParams) SetBody ¶ added in v0.4.0
func (o *ReinstallMachineParams) SetBody(body *models.V1MachineReinstallRequest)
SetBody adds the body to the reinstall machine params
func (*ReinstallMachineParams) SetContext ¶ added in v0.4.0
func (o *ReinstallMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the reinstall machine params
func (*ReinstallMachineParams) SetDefaults ¶ added in v0.12.1
func (o *ReinstallMachineParams) SetDefaults()
SetDefaults hydrates default values in the reinstall machine params (not the query body).
All values with no default are reset to their zero value.
func (*ReinstallMachineParams) SetHTTPClient ¶ added in v0.4.0
func (o *ReinstallMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reinstall machine params
func (*ReinstallMachineParams) SetID ¶ added in v0.4.0
func (o *ReinstallMachineParams) SetID(id string)
SetID adds the id to the reinstall machine params
func (*ReinstallMachineParams) SetTimeout ¶ added in v0.4.0
func (o *ReinstallMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reinstall machine params
func (*ReinstallMachineParams) WithBody ¶ added in v0.4.0
func (o *ReinstallMachineParams) WithBody(body *models.V1MachineReinstallRequest) *ReinstallMachineParams
WithBody adds the body to the reinstall machine params
func (*ReinstallMachineParams) WithContext ¶ added in v0.4.0
func (o *ReinstallMachineParams) WithContext(ctx context.Context) *ReinstallMachineParams
WithContext adds the context to the reinstall machine params
func (*ReinstallMachineParams) WithDefaults ¶ added in v0.12.1
func (o *ReinstallMachineParams) WithDefaults() *ReinstallMachineParams
WithDefaults hydrates default values in the reinstall machine params (not the query body).
All values with no default are reset to their zero value.
func (*ReinstallMachineParams) WithHTTPClient ¶ added in v0.4.0
func (o *ReinstallMachineParams) WithHTTPClient(client *http.Client) *ReinstallMachineParams
WithHTTPClient adds the HTTPClient to the reinstall machine params
func (*ReinstallMachineParams) WithID ¶ added in v0.4.0
func (o *ReinstallMachineParams) WithID(id string) *ReinstallMachineParams
WithID adds the id to the reinstall machine params
func (*ReinstallMachineParams) WithTimeout ¶ added in v0.4.0
func (o *ReinstallMachineParams) WithTimeout(timeout time.Duration) *ReinstallMachineParams
WithTimeout adds the timeout to the reinstall machine params
func (*ReinstallMachineParams) WriteToRequest ¶ added in v0.4.0
func (o *ReinstallMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReinstallMachineReader ¶ added in v0.4.0
type ReinstallMachineReader struct {
// contains filtered or unexported fields
}
ReinstallMachineReader is a Reader for the ReinstallMachine structure.
func (*ReinstallMachineReader) ReadResponse ¶ added in v0.4.0
func (o *ReinstallMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetChassisIdentifyLEDStateDefault ¶
type SetChassisIdentifyLEDStateDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
SetChassisIdentifyLEDStateDefault describes a response with status code -1, with default header values.
Error
func NewSetChassisIdentifyLEDStateDefault ¶
func NewSetChassisIdentifyLEDStateDefault(code int) *SetChassisIdentifyLEDStateDefault
NewSetChassisIdentifyLEDStateDefault creates a SetChassisIdentifyLEDStateDefault with default headers values
func (*SetChassisIdentifyLEDStateDefault) Code ¶
func (o *SetChassisIdentifyLEDStateDefault) Code() int
Code gets the status code for the set chassis identify l e d state default response
func (*SetChassisIdentifyLEDStateDefault) Error ¶
func (o *SetChassisIdentifyLEDStateDefault) Error() string
func (*SetChassisIdentifyLEDStateDefault) GetPayload ¶ added in v0.11.0
func (o *SetChassisIdentifyLEDStateDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*SetChassisIdentifyLEDStateDefault) IsClientError ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateDefault) IsClientError() bool
IsClientError returns true when this set chassis identify l e d state default response has a 4xx status code
func (*SetChassisIdentifyLEDStateDefault) IsCode ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateDefault) IsCode(code int) bool
IsCode returns true when this set chassis identify l e d state default response a status code equal to that given
func (*SetChassisIdentifyLEDStateDefault) IsRedirect ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateDefault) IsRedirect() bool
IsRedirect returns true when this set chassis identify l e d state default response has a 3xx status code
func (*SetChassisIdentifyLEDStateDefault) IsServerError ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateDefault) IsServerError() bool
IsServerError returns true when this set chassis identify l e d state default response has a 5xx status code
func (*SetChassisIdentifyLEDStateDefault) IsSuccess ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateDefault) IsSuccess() bool
IsSuccess returns true when this set chassis identify l e d state default response has a 2xx status code
func (*SetChassisIdentifyLEDStateDefault) String ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateDefault) String() string
type SetChassisIdentifyLEDStateOK ¶
type SetChassisIdentifyLEDStateOK struct {
Payload *models.V1MachineResponse
}
SetChassisIdentifyLEDStateOK describes a response with status code 200, with default header values.
OK
func NewSetChassisIdentifyLEDStateOK ¶
func NewSetChassisIdentifyLEDStateOK() *SetChassisIdentifyLEDStateOK
NewSetChassisIdentifyLEDStateOK creates a SetChassisIdentifyLEDStateOK with default headers values
func (*SetChassisIdentifyLEDStateOK) Error ¶
func (o *SetChassisIdentifyLEDStateOK) Error() string
func (*SetChassisIdentifyLEDStateOK) GetPayload ¶ added in v0.11.0
func (o *SetChassisIdentifyLEDStateOK) GetPayload() *models.V1MachineResponse
func (*SetChassisIdentifyLEDStateOK) IsClientError ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateOK) IsClientError() bool
IsClientError returns true when this set chassis identify l e d state o k response has a 4xx status code
func (*SetChassisIdentifyLEDStateOK) IsCode ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateOK) IsCode(code int) bool
IsCode returns true when this set chassis identify l e d state o k response a status code equal to that given
func (*SetChassisIdentifyLEDStateOK) IsRedirect ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateOK) IsRedirect() bool
IsRedirect returns true when this set chassis identify l e d state o k response has a 3xx status code
func (*SetChassisIdentifyLEDStateOK) IsServerError ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateOK) IsServerError() bool
IsServerError returns true when this set chassis identify l e d state o k response has a 5xx status code
func (*SetChassisIdentifyLEDStateOK) IsSuccess ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateOK) IsSuccess() bool
IsSuccess returns true when this set chassis identify l e d state o k response has a 2xx status code
func (*SetChassisIdentifyLEDStateOK) String ¶ added in v0.19.3
func (o *SetChassisIdentifyLEDStateOK) String() string
type SetChassisIdentifyLEDStateParams ¶
type SetChassisIdentifyLEDStateParams struct { // Body. Body *models.V1ChassisIdentifyLEDState /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetChassisIdentifyLEDStateParams contains all the parameters to send to the API endpoint
for the set chassis identify l e d state operation. Typically these are written to a http.Request.
func NewSetChassisIdentifyLEDStateParams ¶
func NewSetChassisIdentifyLEDStateParams() *SetChassisIdentifyLEDStateParams
NewSetChassisIdentifyLEDStateParams creates a new SetChassisIdentifyLEDStateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSetChassisIdentifyLEDStateParamsWithContext ¶
func NewSetChassisIdentifyLEDStateParamsWithContext(ctx context.Context) *SetChassisIdentifyLEDStateParams
NewSetChassisIdentifyLEDStateParamsWithContext creates a new SetChassisIdentifyLEDStateParams object with the ability to set a context for a request.
func NewSetChassisIdentifyLEDStateParamsWithHTTPClient ¶
func NewSetChassisIdentifyLEDStateParamsWithHTTPClient(client *http.Client) *SetChassisIdentifyLEDStateParams
NewSetChassisIdentifyLEDStateParamsWithHTTPClient creates a new SetChassisIdentifyLEDStateParams object with the ability to set a custom HTTPClient for a request.
func NewSetChassisIdentifyLEDStateParamsWithTimeout ¶
func NewSetChassisIdentifyLEDStateParamsWithTimeout(timeout time.Duration) *SetChassisIdentifyLEDStateParams
NewSetChassisIdentifyLEDStateParamsWithTimeout creates a new SetChassisIdentifyLEDStateParams object with the ability to set a timeout on a request.
func (*SetChassisIdentifyLEDStateParams) SetBody ¶
func (o *SetChassisIdentifyLEDStateParams) SetBody(body *models.V1ChassisIdentifyLEDState)
SetBody adds the body to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) SetContext ¶
func (o *SetChassisIdentifyLEDStateParams) SetContext(ctx context.Context)
SetContext adds the context to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) SetDefaults ¶ added in v0.12.1
func (o *SetChassisIdentifyLEDStateParams) SetDefaults()
SetDefaults hydrates default values in the set chassis identify l e d state params (not the query body).
All values with no default are reset to their zero value.
func (*SetChassisIdentifyLEDStateParams) SetHTTPClient ¶
func (o *SetChassisIdentifyLEDStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) SetID ¶
func (o *SetChassisIdentifyLEDStateParams) SetID(id string)
SetID adds the id to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) SetTimeout ¶
func (o *SetChassisIdentifyLEDStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) WithBody ¶
func (o *SetChassisIdentifyLEDStateParams) WithBody(body *models.V1ChassisIdentifyLEDState) *SetChassisIdentifyLEDStateParams
WithBody adds the body to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) WithContext ¶
func (o *SetChassisIdentifyLEDStateParams) WithContext(ctx context.Context) *SetChassisIdentifyLEDStateParams
WithContext adds the context to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) WithDefaults ¶ added in v0.12.1
func (o *SetChassisIdentifyLEDStateParams) WithDefaults() *SetChassisIdentifyLEDStateParams
WithDefaults hydrates default values in the set chassis identify l e d state params (not the query body).
All values with no default are reset to their zero value.
func (*SetChassisIdentifyLEDStateParams) WithHTTPClient ¶
func (o *SetChassisIdentifyLEDStateParams) WithHTTPClient(client *http.Client) *SetChassisIdentifyLEDStateParams
WithHTTPClient adds the HTTPClient to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) WithID ¶
func (o *SetChassisIdentifyLEDStateParams) WithID(id string) *SetChassisIdentifyLEDStateParams
WithID adds the id to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) WithTimeout ¶
func (o *SetChassisIdentifyLEDStateParams) WithTimeout(timeout time.Duration) *SetChassisIdentifyLEDStateParams
WithTimeout adds the timeout to the set chassis identify l e d state params
func (*SetChassisIdentifyLEDStateParams) WriteToRequest ¶
func (o *SetChassisIdentifyLEDStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetChassisIdentifyLEDStateReader ¶
type SetChassisIdentifyLEDStateReader struct {
// contains filtered or unexported fields
}
SetChassisIdentifyLEDStateReader is a Reader for the SetChassisIdentifyLEDState structure.
func (*SetChassisIdentifyLEDStateReader) ReadResponse ¶
func (o *SetChassisIdentifyLEDStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetMachineStateDefault ¶
type SetMachineStateDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
SetMachineStateDefault describes a response with status code -1, with default header values.
Error
func NewSetMachineStateDefault ¶
func NewSetMachineStateDefault(code int) *SetMachineStateDefault
NewSetMachineStateDefault creates a SetMachineStateDefault with default headers values
func (*SetMachineStateDefault) Code ¶
func (o *SetMachineStateDefault) Code() int
Code gets the status code for the set machine state default response
func (*SetMachineStateDefault) Error ¶
func (o *SetMachineStateDefault) Error() string
func (*SetMachineStateDefault) GetPayload ¶ added in v0.11.0
func (o *SetMachineStateDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*SetMachineStateDefault) IsClientError ¶ added in v0.19.3
func (o *SetMachineStateDefault) IsClientError() bool
IsClientError returns true when this set machine state default response has a 4xx status code
func (*SetMachineStateDefault) IsCode ¶ added in v0.19.3
func (o *SetMachineStateDefault) IsCode(code int) bool
IsCode returns true when this set machine state default response a status code equal to that given
func (*SetMachineStateDefault) IsRedirect ¶ added in v0.19.3
func (o *SetMachineStateDefault) IsRedirect() bool
IsRedirect returns true when this set machine state default response has a 3xx status code
func (*SetMachineStateDefault) IsServerError ¶ added in v0.19.3
func (o *SetMachineStateDefault) IsServerError() bool
IsServerError returns true when this set machine state default response has a 5xx status code
func (*SetMachineStateDefault) IsSuccess ¶ added in v0.19.3
func (o *SetMachineStateDefault) IsSuccess() bool
IsSuccess returns true when this set machine state default response has a 2xx status code
func (*SetMachineStateDefault) String ¶ added in v0.19.3
func (o *SetMachineStateDefault) String() string
type SetMachineStateOK ¶
type SetMachineStateOK struct {
Payload *models.V1MachineResponse
}
SetMachineStateOK describes a response with status code 200, with default header values.
OK
func NewSetMachineStateOK ¶
func NewSetMachineStateOK() *SetMachineStateOK
NewSetMachineStateOK creates a SetMachineStateOK with default headers values
func (*SetMachineStateOK) Error ¶
func (o *SetMachineStateOK) Error() string
func (*SetMachineStateOK) GetPayload ¶ added in v0.11.0
func (o *SetMachineStateOK) GetPayload() *models.V1MachineResponse
func (*SetMachineStateOK) IsClientError ¶ added in v0.19.3
func (o *SetMachineStateOK) IsClientError() bool
IsClientError returns true when this set machine state o k response has a 4xx status code
func (*SetMachineStateOK) IsCode ¶ added in v0.19.3
func (o *SetMachineStateOK) IsCode(code int) bool
IsCode returns true when this set machine state o k response a status code equal to that given
func (*SetMachineStateOK) IsRedirect ¶ added in v0.19.3
func (o *SetMachineStateOK) IsRedirect() bool
IsRedirect returns true when this set machine state o k response has a 3xx status code
func (*SetMachineStateOK) IsServerError ¶ added in v0.19.3
func (o *SetMachineStateOK) IsServerError() bool
IsServerError returns true when this set machine state o k response has a 5xx status code
func (*SetMachineStateOK) IsSuccess ¶ added in v0.19.3
func (o *SetMachineStateOK) IsSuccess() bool
IsSuccess returns true when this set machine state o k response has a 2xx status code
func (*SetMachineStateOK) String ¶ added in v0.19.3
func (o *SetMachineStateOK) String() string
type SetMachineStateParams ¶
type SetMachineStateParams struct { // Body. Body *models.V1MachineState /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetMachineStateParams contains all the parameters to send to the API endpoint
for the set machine state operation. Typically these are written to a http.Request.
func NewSetMachineStateParams ¶
func NewSetMachineStateParams() *SetMachineStateParams
NewSetMachineStateParams creates a new SetMachineStateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSetMachineStateParamsWithContext ¶
func NewSetMachineStateParamsWithContext(ctx context.Context) *SetMachineStateParams
NewSetMachineStateParamsWithContext creates a new SetMachineStateParams object with the ability to set a context for a request.
func NewSetMachineStateParamsWithHTTPClient ¶
func NewSetMachineStateParamsWithHTTPClient(client *http.Client) *SetMachineStateParams
NewSetMachineStateParamsWithHTTPClient creates a new SetMachineStateParams object with the ability to set a custom HTTPClient for a request.
func NewSetMachineStateParamsWithTimeout ¶
func NewSetMachineStateParamsWithTimeout(timeout time.Duration) *SetMachineStateParams
NewSetMachineStateParamsWithTimeout creates a new SetMachineStateParams object with the ability to set a timeout on a request.
func (*SetMachineStateParams) SetBody ¶
func (o *SetMachineStateParams) SetBody(body *models.V1MachineState)
SetBody adds the body to the set machine state params
func (*SetMachineStateParams) SetContext ¶
func (o *SetMachineStateParams) SetContext(ctx context.Context)
SetContext adds the context to the set machine state params
func (*SetMachineStateParams) SetDefaults ¶ added in v0.12.1
func (o *SetMachineStateParams) SetDefaults()
SetDefaults hydrates default values in the set machine state params (not the query body).
All values with no default are reset to their zero value.
func (*SetMachineStateParams) SetHTTPClient ¶
func (o *SetMachineStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set machine state params
func (*SetMachineStateParams) SetID ¶
func (o *SetMachineStateParams) SetID(id string)
SetID adds the id to the set machine state params
func (*SetMachineStateParams) SetTimeout ¶
func (o *SetMachineStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set machine state params
func (*SetMachineStateParams) WithBody ¶
func (o *SetMachineStateParams) WithBody(body *models.V1MachineState) *SetMachineStateParams
WithBody adds the body to the set machine state params
func (*SetMachineStateParams) WithContext ¶
func (o *SetMachineStateParams) WithContext(ctx context.Context) *SetMachineStateParams
WithContext adds the context to the set machine state params
func (*SetMachineStateParams) WithDefaults ¶ added in v0.12.1
func (o *SetMachineStateParams) WithDefaults() *SetMachineStateParams
WithDefaults hydrates default values in the set machine state params (not the query body).
All values with no default are reset to their zero value.
func (*SetMachineStateParams) WithHTTPClient ¶
func (o *SetMachineStateParams) WithHTTPClient(client *http.Client) *SetMachineStateParams
WithHTTPClient adds the HTTPClient to the set machine state params
func (*SetMachineStateParams) WithID ¶
func (o *SetMachineStateParams) WithID(id string) *SetMachineStateParams
WithID adds the id to the set machine state params
func (*SetMachineStateParams) WithTimeout ¶
func (o *SetMachineStateParams) WithTimeout(timeout time.Duration) *SetMachineStateParams
WithTimeout adds the timeout to the set machine state params
func (*SetMachineStateParams) WriteToRequest ¶
func (o *SetMachineStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetMachineStateReader ¶
type SetMachineStateReader struct {
// contains filtered or unexported fields
}
SetMachineStateReader is a Reader for the SetMachineState structure.
func (*SetMachineStateReader) ReadResponse ¶
func (o *SetMachineStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateFirmwareDefault ¶ added in v0.13.1
type UpdateFirmwareDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateFirmwareDefault describes a response with status code -1, with default header values.
Error
func NewUpdateFirmwareDefault ¶ added in v0.13.1
func NewUpdateFirmwareDefault(code int) *UpdateFirmwareDefault
NewUpdateFirmwareDefault creates a UpdateFirmwareDefault with default headers values
func (*UpdateFirmwareDefault) Code ¶ added in v0.13.1
func (o *UpdateFirmwareDefault) Code() int
Code gets the status code for the update firmware default response
func (*UpdateFirmwareDefault) Error ¶ added in v0.13.1
func (o *UpdateFirmwareDefault) Error() string
func (*UpdateFirmwareDefault) GetPayload ¶ added in v0.13.1
func (o *UpdateFirmwareDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateFirmwareDefault) IsClientError ¶ added in v0.19.3
func (o *UpdateFirmwareDefault) IsClientError() bool
IsClientError returns true when this update firmware default response has a 4xx status code
func (*UpdateFirmwareDefault) IsCode ¶ added in v0.19.3
func (o *UpdateFirmwareDefault) IsCode(code int) bool
IsCode returns true when this update firmware default response a status code equal to that given
func (*UpdateFirmwareDefault) IsRedirect ¶ added in v0.19.3
func (o *UpdateFirmwareDefault) IsRedirect() bool
IsRedirect returns true when this update firmware default response has a 3xx status code
func (*UpdateFirmwareDefault) IsServerError ¶ added in v0.19.3
func (o *UpdateFirmwareDefault) IsServerError() bool
IsServerError returns true when this update firmware default response has a 5xx status code
func (*UpdateFirmwareDefault) IsSuccess ¶ added in v0.19.3
func (o *UpdateFirmwareDefault) IsSuccess() bool
IsSuccess returns true when this update firmware default response has a 2xx status code
func (*UpdateFirmwareDefault) String ¶ added in v0.19.3
func (o *UpdateFirmwareDefault) String() string
type UpdateFirmwareOK ¶ added in v0.13.1
type UpdateFirmwareOK struct {
Payload *models.V1MachineResponse
}
UpdateFirmwareOK describes a response with status code 200, with default header values.
OK
func NewUpdateFirmwareOK ¶ added in v0.13.1
func NewUpdateFirmwareOK() *UpdateFirmwareOK
NewUpdateFirmwareOK creates a UpdateFirmwareOK with default headers values
func (*UpdateFirmwareOK) Error ¶ added in v0.13.1
func (o *UpdateFirmwareOK) Error() string
func (*UpdateFirmwareOK) GetPayload ¶ added in v0.13.1
func (o *UpdateFirmwareOK) GetPayload() *models.V1MachineResponse
func (*UpdateFirmwareOK) IsClientError ¶ added in v0.19.3
func (o *UpdateFirmwareOK) IsClientError() bool
IsClientError returns true when this update firmware o k response has a 4xx status code
func (*UpdateFirmwareOK) IsCode ¶ added in v0.19.3
func (o *UpdateFirmwareOK) IsCode(code int) bool
IsCode returns true when this update firmware o k response a status code equal to that given
func (*UpdateFirmwareOK) IsRedirect ¶ added in v0.19.3
func (o *UpdateFirmwareOK) IsRedirect() bool
IsRedirect returns true when this update firmware o k response has a 3xx status code
func (*UpdateFirmwareOK) IsServerError ¶ added in v0.19.3
func (o *UpdateFirmwareOK) IsServerError() bool
IsServerError returns true when this update firmware o k response has a 5xx status code
func (*UpdateFirmwareOK) IsSuccess ¶ added in v0.19.3
func (o *UpdateFirmwareOK) IsSuccess() bool
IsSuccess returns true when this update firmware o k response has a 2xx status code
func (*UpdateFirmwareOK) String ¶ added in v0.19.3
func (o *UpdateFirmwareOK) String() string
type UpdateFirmwareParams ¶ added in v0.13.1
type UpdateFirmwareParams struct { // Body. Body *models.V1MachineUpdateFirmwareRequest /* ID. identifier of the machine */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateFirmwareParams contains all the parameters to send to the API endpoint
for the update firmware operation. Typically these are written to a http.Request.
func NewUpdateFirmwareParams ¶ added in v0.13.1
func NewUpdateFirmwareParams() *UpdateFirmwareParams
NewUpdateFirmwareParams creates a new UpdateFirmwareParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateFirmwareParamsWithContext ¶ added in v0.13.1
func NewUpdateFirmwareParamsWithContext(ctx context.Context) *UpdateFirmwareParams
NewUpdateFirmwareParamsWithContext creates a new UpdateFirmwareParams object with the ability to set a context for a request.
func NewUpdateFirmwareParamsWithHTTPClient ¶ added in v0.13.1
func NewUpdateFirmwareParamsWithHTTPClient(client *http.Client) *UpdateFirmwareParams
NewUpdateFirmwareParamsWithHTTPClient creates a new UpdateFirmwareParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateFirmwareParamsWithTimeout ¶ added in v0.13.1
func NewUpdateFirmwareParamsWithTimeout(timeout time.Duration) *UpdateFirmwareParams
NewUpdateFirmwareParamsWithTimeout creates a new UpdateFirmwareParams object with the ability to set a timeout on a request.
func (*UpdateFirmwareParams) SetBody ¶ added in v0.13.1
func (o *UpdateFirmwareParams) SetBody(body *models.V1MachineUpdateFirmwareRequest)
SetBody adds the body to the update firmware params
func (*UpdateFirmwareParams) SetContext ¶ added in v0.13.1
func (o *UpdateFirmwareParams) SetContext(ctx context.Context)
SetContext adds the context to the update firmware params
func (*UpdateFirmwareParams) SetDefaults ¶ added in v0.13.1
func (o *UpdateFirmwareParams) SetDefaults()
SetDefaults hydrates default values in the update firmware params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFirmwareParams) SetHTTPClient ¶ added in v0.13.1
func (o *UpdateFirmwareParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update firmware params
func (*UpdateFirmwareParams) SetID ¶ added in v0.13.1
func (o *UpdateFirmwareParams) SetID(id string)
SetID adds the id to the update firmware params
func (*UpdateFirmwareParams) SetTimeout ¶ added in v0.13.1
func (o *UpdateFirmwareParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update firmware params
func (*UpdateFirmwareParams) WithBody ¶ added in v0.13.1
func (o *UpdateFirmwareParams) WithBody(body *models.V1MachineUpdateFirmwareRequest) *UpdateFirmwareParams
WithBody adds the body to the update firmware params
func (*UpdateFirmwareParams) WithContext ¶ added in v0.13.1
func (o *UpdateFirmwareParams) WithContext(ctx context.Context) *UpdateFirmwareParams
WithContext adds the context to the update firmware params
func (*UpdateFirmwareParams) WithDefaults ¶ added in v0.13.1
func (o *UpdateFirmwareParams) WithDefaults() *UpdateFirmwareParams
WithDefaults hydrates default values in the update firmware params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFirmwareParams) WithHTTPClient ¶ added in v0.13.1
func (o *UpdateFirmwareParams) WithHTTPClient(client *http.Client) *UpdateFirmwareParams
WithHTTPClient adds the HTTPClient to the update firmware params
func (*UpdateFirmwareParams) WithID ¶ added in v0.13.1
func (o *UpdateFirmwareParams) WithID(id string) *UpdateFirmwareParams
WithID adds the id to the update firmware params
func (*UpdateFirmwareParams) WithTimeout ¶ added in v0.13.1
func (o *UpdateFirmwareParams) WithTimeout(timeout time.Duration) *UpdateFirmwareParams
WithTimeout adds the timeout to the update firmware params
func (*UpdateFirmwareParams) WriteToRequest ¶ added in v0.13.1
func (o *UpdateFirmwareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateFirmwareReader ¶ added in v0.13.1
type UpdateFirmwareReader struct {
// contains filtered or unexported fields
}
UpdateFirmwareReader is a Reader for the UpdateFirmware structure.
func (*UpdateFirmwareReader) ReadResponse ¶ added in v0.13.1
func (o *UpdateFirmwareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateMachineConflict ¶ added in v0.17.0
type UpdateMachineConflict struct {
Payload *httperrors.HTTPErrorResponse
}
UpdateMachineConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateMachineConflict ¶ added in v0.17.0
func NewUpdateMachineConflict() *UpdateMachineConflict
NewUpdateMachineConflict creates a UpdateMachineConflict with default headers values
func (*UpdateMachineConflict) Error ¶ added in v0.17.0
func (o *UpdateMachineConflict) Error() string
func (*UpdateMachineConflict) GetPayload ¶ added in v0.17.0
func (o *UpdateMachineConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateMachineConflict) IsClientError ¶ added in v0.19.3
func (o *UpdateMachineConflict) IsClientError() bool
IsClientError returns true when this update machine conflict response has a 4xx status code
func (*UpdateMachineConflict) IsCode ¶ added in v0.19.3
func (o *UpdateMachineConflict) IsCode(code int) bool
IsCode returns true when this update machine conflict response a status code equal to that given
func (*UpdateMachineConflict) IsRedirect ¶ added in v0.19.3
func (o *UpdateMachineConflict) IsRedirect() bool
IsRedirect returns true when this update machine conflict response has a 3xx status code
func (*UpdateMachineConflict) IsServerError ¶ added in v0.19.3
func (o *UpdateMachineConflict) IsServerError() bool
IsServerError returns true when this update machine conflict response has a 5xx status code
func (*UpdateMachineConflict) IsSuccess ¶ added in v0.19.3
func (o *UpdateMachineConflict) IsSuccess() bool
IsSuccess returns true when this update machine conflict response has a 2xx status code
func (*UpdateMachineConflict) String ¶ added in v0.19.3
func (o *UpdateMachineConflict) String() string
type UpdateMachineDefault ¶ added in v0.17.0
type UpdateMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateMachineDefault describes a response with status code -1, with default header values.
Error
func NewUpdateMachineDefault ¶ added in v0.17.0
func NewUpdateMachineDefault(code int) *UpdateMachineDefault
NewUpdateMachineDefault creates a UpdateMachineDefault with default headers values
func (*UpdateMachineDefault) Code ¶ added in v0.17.0
func (o *UpdateMachineDefault) Code() int
Code gets the status code for the update machine default response
func (*UpdateMachineDefault) Error ¶ added in v0.17.0
func (o *UpdateMachineDefault) Error() string
func (*UpdateMachineDefault) GetPayload ¶ added in v0.17.0
func (o *UpdateMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateMachineDefault) IsClientError ¶ added in v0.19.3
func (o *UpdateMachineDefault) IsClientError() bool
IsClientError returns true when this update machine default response has a 4xx status code
func (*UpdateMachineDefault) IsCode ¶ added in v0.19.3
func (o *UpdateMachineDefault) IsCode(code int) bool
IsCode returns true when this update machine default response a status code equal to that given
func (*UpdateMachineDefault) IsRedirect ¶ added in v0.19.3
func (o *UpdateMachineDefault) IsRedirect() bool
IsRedirect returns true when this update machine default response has a 3xx status code
func (*UpdateMachineDefault) IsServerError ¶ added in v0.19.3
func (o *UpdateMachineDefault) IsServerError() bool
IsServerError returns true when this update machine default response has a 5xx status code
func (*UpdateMachineDefault) IsSuccess ¶ added in v0.19.3
func (o *UpdateMachineDefault) IsSuccess() bool
IsSuccess returns true when this update machine default response has a 2xx status code
func (*UpdateMachineDefault) String ¶ added in v0.19.3
func (o *UpdateMachineDefault) String() string
type UpdateMachineOK ¶ added in v0.17.0
type UpdateMachineOK struct {
Payload *models.V1MachineResponse
}
UpdateMachineOK describes a response with status code 200, with default header values.
OK
func NewUpdateMachineOK ¶ added in v0.17.0
func NewUpdateMachineOK() *UpdateMachineOK
NewUpdateMachineOK creates a UpdateMachineOK with default headers values
func (*UpdateMachineOK) Error ¶ added in v0.17.0
func (o *UpdateMachineOK) Error() string
func (*UpdateMachineOK) GetPayload ¶ added in v0.17.0
func (o *UpdateMachineOK) GetPayload() *models.V1MachineResponse
func (*UpdateMachineOK) IsClientError ¶ added in v0.19.3
func (o *UpdateMachineOK) IsClientError() bool
IsClientError returns true when this update machine o k response has a 4xx status code
func (*UpdateMachineOK) IsCode ¶ added in v0.19.3
func (o *UpdateMachineOK) IsCode(code int) bool
IsCode returns true when this update machine o k response a status code equal to that given
func (*UpdateMachineOK) IsRedirect ¶ added in v0.19.3
func (o *UpdateMachineOK) IsRedirect() bool
IsRedirect returns true when this update machine o k response has a 3xx status code
func (*UpdateMachineOK) IsServerError ¶ added in v0.19.3
func (o *UpdateMachineOK) IsServerError() bool
IsServerError returns true when this update machine o k response has a 5xx status code
func (*UpdateMachineOK) IsSuccess ¶ added in v0.19.3
func (o *UpdateMachineOK) IsSuccess() bool
IsSuccess returns true when this update machine o k response has a 2xx status code
func (*UpdateMachineOK) String ¶ added in v0.19.3
func (o *UpdateMachineOK) String() string
type UpdateMachineParams ¶ added in v0.17.0
type UpdateMachineParams struct { // Body. Body *models.V1MachineUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateMachineParams contains all the parameters to send to the API endpoint
for the update machine operation. Typically these are written to a http.Request.
func NewUpdateMachineParams ¶ added in v0.17.0
func NewUpdateMachineParams() *UpdateMachineParams
NewUpdateMachineParams creates a new UpdateMachineParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateMachineParamsWithContext ¶ added in v0.17.0
func NewUpdateMachineParamsWithContext(ctx context.Context) *UpdateMachineParams
NewUpdateMachineParamsWithContext creates a new UpdateMachineParams object with the ability to set a context for a request.
func NewUpdateMachineParamsWithHTTPClient ¶ added in v0.17.0
func NewUpdateMachineParamsWithHTTPClient(client *http.Client) *UpdateMachineParams
NewUpdateMachineParamsWithHTTPClient creates a new UpdateMachineParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateMachineParamsWithTimeout ¶ added in v0.17.0
func NewUpdateMachineParamsWithTimeout(timeout time.Duration) *UpdateMachineParams
NewUpdateMachineParamsWithTimeout creates a new UpdateMachineParams object with the ability to set a timeout on a request.
func (*UpdateMachineParams) SetBody ¶ added in v0.17.0
func (o *UpdateMachineParams) SetBody(body *models.V1MachineUpdateRequest)
SetBody adds the body to the update machine params
func (*UpdateMachineParams) SetContext ¶ added in v0.17.0
func (o *UpdateMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the update machine params
func (*UpdateMachineParams) SetDefaults ¶ added in v0.17.0
func (o *UpdateMachineParams) SetDefaults()
SetDefaults hydrates default values in the update machine params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMachineParams) SetHTTPClient ¶ added in v0.17.0
func (o *UpdateMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update machine params
func (*UpdateMachineParams) SetTimeout ¶ added in v0.17.0
func (o *UpdateMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update machine params
func (*UpdateMachineParams) WithBody ¶ added in v0.17.0
func (o *UpdateMachineParams) WithBody(body *models.V1MachineUpdateRequest) *UpdateMachineParams
WithBody adds the body to the update machine params
func (*UpdateMachineParams) WithContext ¶ added in v0.17.0
func (o *UpdateMachineParams) WithContext(ctx context.Context) *UpdateMachineParams
WithContext adds the context to the update machine params
func (*UpdateMachineParams) WithDefaults ¶ added in v0.17.0
func (o *UpdateMachineParams) WithDefaults() *UpdateMachineParams
WithDefaults hydrates default values in the update machine params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMachineParams) WithHTTPClient ¶ added in v0.17.0
func (o *UpdateMachineParams) WithHTTPClient(client *http.Client) *UpdateMachineParams
WithHTTPClient adds the HTTPClient to the update machine params
func (*UpdateMachineParams) WithTimeout ¶ added in v0.17.0
func (o *UpdateMachineParams) WithTimeout(timeout time.Duration) *UpdateMachineParams
WithTimeout adds the timeout to the update machine params
func (*UpdateMachineParams) WriteToRequest ¶ added in v0.17.0
func (o *UpdateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateMachineReader ¶ added in v0.17.0
type UpdateMachineReader struct {
// contains filtered or unexported fields
}
UpdateMachineReader is a Reader for the UpdateMachine structure.
func (*UpdateMachineReader) ReadResponse ¶ added in v0.17.0
func (o *UpdateMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- abort_reinstall_machine_parameters.go
- abort_reinstall_machine_responses.go
- add_provisioning_event_parameters.go
- add_provisioning_event_responses.go
- add_provisioning_events_parameters.go
- add_provisioning_events_responses.go
- allocate_machine_parameters.go
- allocate_machine_responses.go
- chassis_identify_l_e_d_off_parameters.go
- chassis_identify_l_e_d_off_responses.go
- chassis_identify_l_e_d_on_parameters.go
- chassis_identify_l_e_d_on_responses.go
- delete_machine_parameters.go
- delete_machine_responses.go
- finalize_allocation_parameters.go
- finalize_allocation_responses.go
- find_ip_m_i_machine_parameters.go
- find_ip_m_i_machine_responses.go
- find_ip_m_i_machines_parameters.go
- find_ip_m_i_machines_responses.go
- find_machine_parameters.go
- find_machine_responses.go
- find_machines_parameters.go
- find_machines_responses.go
- free_machine_parameters.go
- free_machine_responses.go
- get_machine_console_password_parameters.go
- get_machine_console_password_responses.go
- get_provisioning_event_container_parameters.go
- get_provisioning_event_container_responses.go
- ipmi_report_parameters.go
- ipmi_report_responses.go
- list_machines_parameters.go
- list_machines_responses.go
- machine_bios_parameters.go
- machine_bios_responses.go
- machine_client.go
- machine_cycle_parameters.go
- machine_cycle_responses.go
- machine_disk_parameters.go
- machine_disk_responses.go
- machine_off_parameters.go
- machine_off_responses.go
- machine_on_parameters.go
- machine_on_responses.go
- machine_pxe_parameters.go
- machine_pxe_responses.go
- machine_reset_parameters.go
- machine_reset_responses.go
- register_machine_parameters.go
- register_machine_responses.go
- reinstall_machine_parameters.go
- reinstall_machine_responses.go
- set_chassis_identify_l_e_d_state_parameters.go
- set_chassis_identify_l_e_d_state_responses.go
- set_machine_state_parameters.go
- set_machine_state_responses.go
- update_firmware_parameters.go
- update_firmware_responses.go
- update_machine_parameters.go
- update_machine_responses.go