machine

package
v0.7.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 10 Imported by: 8

Documentation

Index

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

AbortReinstallMachineDefault handles this case 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

Code gets the status code for the abort reinstall machine default response

func (*AbortReinstallMachineDefault) Error added in v0.4.0

type AbortReinstallMachineOK added in v0.4.0

type AbortReinstallMachineOK struct {
	Payload *models.V1BootInfo
}

AbortReinstallMachineOK handles this case 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

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 values initialized.

func NewAbortReinstallMachineParamsWithContext added in v0.4.0

func NewAbortReinstallMachineParamsWithContext(ctx context.Context) *AbortReinstallMachineParams

NewAbortReinstallMachineParamsWithContext creates a new AbortReinstallMachineParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*AbortReinstallMachineParams) SetBody added in v0.4.0

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) 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

WithBody adds the body to the abort reinstall machine params

func (*AbortReinstallMachineParams) WithContext added in v0.4.0

WithContext adds the context to the abort reinstall machine params

func (*AbortReinstallMachineParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the abort reinstall machine params

func (*AbortReinstallMachineParams) WithID added in v0.4.0

WithID adds the id to the abort reinstall machine params

func (*AbortReinstallMachineParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the abort reinstall machine params

func (*AbortReinstallMachineParams) WriteToRequest added in v0.4.0

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

AddProvisioningEventDefault handles this case 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

type AddProvisioningEventOK

type AddProvisioningEventOK struct {
	Payload *models.V1MachineRecentProvisioningEvents
}

AddProvisioningEventOK handles this case 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

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 values initialized.

func NewAddProvisioningEventParamsWithContext

func NewAddProvisioningEventParamsWithContext(ctx context.Context) *AddProvisioningEventParams

NewAddProvisioningEventParamsWithContext creates a new AddProvisioningEventParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*AddProvisioningEventParams) SetBody

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) 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

WithBody adds the body to the add provisioning event params

func (*AddProvisioningEventParams) WithContext

WithContext adds the context to the add provisioning event params

func (*AddProvisioningEventParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add provisioning event params

func (*AddProvisioningEventParams) WithID

WithID adds the id to the add provisioning event params

func (*AddProvisioningEventParams) WithTimeout

WithTimeout adds the timeout to the add provisioning event params

func (*AddProvisioningEventParams) WriteToRequest

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 AllocateMachineDefault

type AllocateMachineDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

AllocateMachineDefault handles this case 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

type AllocateMachineOK

type AllocateMachineOK struct {
	Payload *models.V1MachineResponse
}

AllocateMachineOK handles this case 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

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 values initialized.

func NewAllocateMachineParamsWithContext

func NewAllocateMachineParamsWithContext(ctx context.Context) *AllocateMachineParams

NewAllocateMachineParamsWithContext creates a new AllocateMachineParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*AllocateMachineParams) SetBody

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) 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

WithBody adds the body to the allocate machine params

func (*AllocateMachineParams) WithContext

WithContext adds the context to the allocate machine params

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ChassisIdentifyLEDOffDefault handles this case with default header values.

Error

func NewChassisIdentifyLEDOffDefault

func NewChassisIdentifyLEDOffDefault(code int) *ChassisIdentifyLEDOffDefault

NewChassisIdentifyLEDOffDefault creates a ChassisIdentifyLEDOffDefault with default headers values

func (*ChassisIdentifyLEDOffDefault) Code

Code gets the status code for the chassis identify l e d off default response

func (*ChassisIdentifyLEDOffDefault) Error

type ChassisIdentifyLEDOffOK

type ChassisIdentifyLEDOffOK struct {
	Payload *models.V1MachineResponse
}

ChassisIdentifyLEDOffOK handles this case 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

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 values initialized.

func NewChassisIdentifyLEDOffParamsWithContext

func NewChassisIdentifyLEDOffParamsWithContext(ctx context.Context) *ChassisIdentifyLEDOffParams

NewChassisIdentifyLEDOffParamsWithContext creates a new ChassisIdentifyLEDOffParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*ChassisIdentifyLEDOffParams) SetBody

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) 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

WithBody adds the body to the chassis identify l e d off params

func (*ChassisIdentifyLEDOffParams) WithContext

WithContext adds the context to the chassis identify l e d off params

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

WithHTTPClient adds the HTTPClient to the chassis identify l e d off params

func (*ChassisIdentifyLEDOffParams) WithID

WithID adds the id to the chassis identify l e d off params

func (*ChassisIdentifyLEDOffParams) WithTimeout

WithTimeout adds the timeout to the chassis identify l e d off params

func (*ChassisIdentifyLEDOffParams) WriteToRequest

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ChassisIdentifyLEDOnDefault handles this case 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

type ChassisIdentifyLEDOnOK

type ChassisIdentifyLEDOnOK struct {
	Payload *models.V1MachineResponse
}

ChassisIdentifyLEDOnOK handles this case 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

type ChassisIdentifyLEDOnParams

type ChassisIdentifyLEDOnParams struct {

	/*Body*/
	Body models.V1EmptyBody
	/*Description
	  reason why the chassis identify LED has been turned on

	*/
	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 values initialized.

func NewChassisIdentifyLEDOnParamsWithContext

func NewChassisIdentifyLEDOnParamsWithContext(ctx context.Context) *ChassisIdentifyLEDOnParams

NewChassisIdentifyLEDOnParamsWithContext creates a new ChassisIdentifyLEDOnParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*ChassisIdentifyLEDOnParams) SetBody

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) 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

WithBody adds the body to the chassis identify l e d on params

func (*ChassisIdentifyLEDOnParams) WithContext

WithContext adds the context to the chassis identify l e d on params

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

WithHTTPClient adds the HTTPClient to the chassis identify l e d on params

func (*ChassisIdentifyLEDOnParams) WithID

WithID adds the id to the chassis identify l e d on params

func (*ChassisIdentifyLEDOnParams) WithTimeout

WithTimeout adds the timeout to the chassis identify l e d on params

func (*ChassisIdentifyLEDOnParams) WriteToRequest

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 New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new machine API client.

func (*Client) AbortReinstallMachine added in v0.4.0

func (a *Client) AbortReinstallMachine(params *AbortReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter) (*AbortReinstallMachineOK, error)

AbortReinstallMachine aborts reinstall this machine

func (*Client) AddProvisioningEvent

func (a *Client) AddProvisioningEvent(params *AddProvisioningEventParams, authInfo runtime.ClientAuthInfoWriter) (*AddProvisioningEventOK, error)

AddProvisioningEvent adds a machine provisioning event

func (*Client) AllocateMachine

func (a *Client) AllocateMachine(params *AllocateMachineParams, authInfo runtime.ClientAuthInfoWriter) (*AllocateMachineOK, error)

AllocateMachine allocates a machine

func (*Client) ChassisIdentifyLEDOff

func (a *Client) ChassisIdentifyLEDOff(params *ChassisIdentifyLEDOffParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*ChassisIdentifyLEDOnOK, error)

ChassisIdentifyLEDOn sends a power on to the chassis identify l e d

func (*Client) FinalizeAllocation

func (a *Client) FinalizeAllocation(params *FinalizeAllocationParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*FindIPMIMachineOK, error)

FindIPMIMachine returns a machine including the ipmi connection data

func (*Client) FindIPMIMachines

func (a *Client) FindIPMIMachines(params *FindIPMIMachinesParams, authInfo runtime.ClientAuthInfoWriter) (*FindIPMIMachinesOK, error)

FindIPMIMachines returns machines including the ipmi connection data

func (*Client) FindMachine

func (a *Client) FindMachine(params *FindMachineParams, authInfo runtime.ClientAuthInfoWriter) (*FindMachineOK, error)

FindMachine gets machine by id

func (*Client) FindMachines

func (a *Client) FindMachines(params *FindMachinesParams, authInfo runtime.ClientAuthInfoWriter) (*FindMachinesOK, error)

FindMachines finds machines by multiple criteria

func (*Client) FreeMachine

func (a *Client) FreeMachine(params *FreeMachineParams, authInfo runtime.ClientAuthInfoWriter) (*FreeMachineOK, error)

FreeMachine frees a machine

func (*Client) GetProvisioningEventContainer

func (a *Client) GetProvisioningEventContainer(params *GetProvisioningEventContainerParams, authInfo runtime.ClientAuthInfoWriter) (*GetProvisioningEventContainerOK, error)

GetProvisioningEventContainer gets the current machine provisioning event container

func (*Client) IPMIReport

func (a *Client) IPMIReport(params *IPMIReportParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*ListMachinesOK, error)

ListMachines gets all known machines

func (*Client) MachineBios

func (a *Client) MachineBios(params *MachineBiosParams, authInfo runtime.ClientAuthInfoWriter) (*MachineBiosOK, error)

MachineBios boots machine into b i o s on next reboot

func (*Client) MachineOff

func (a *Client) MachineOff(params *MachineOffParams, authInfo runtime.ClientAuthInfoWriter) (*MachineOffOK, error)

MachineOff sends a power off to the machine

func (*Client) MachineOn

func (a *Client) MachineOn(params *MachineOnParams, authInfo runtime.ClientAuthInfoWriter) (*MachineOnOK, error)

MachineOn sends a power on to the machine

func (*Client) MachineReset

func (a *Client) MachineReset(params *MachineResetParams, authInfo runtime.ClientAuthInfoWriter) (*MachineResetOK, error)

MachineReset sends a reset to the machine

func (*Client) RegisterMachine

RegisterMachine registers a machine

func (*Client) ReinstallMachine added in v0.4.0

func (a *Client) ReinstallMachine(params *ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter) (*ReinstallMachineOK, error)

ReinstallMachine reinstalls this machine

func (*Client) SetChassisIdentifyLEDState

func (a *Client) SetChassisIdentifyLEDState(params *SetChassisIdentifyLEDStateParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) WaitForAllocation

func (a *Client) WaitForAllocation(params *WaitForAllocationParams, authInfo runtime.ClientAuthInfoWriter) (*WaitForAllocationOK, error)

WaitForAllocation waits for an allocation of this machine

type FinalizeAllocationDefault

type FinalizeAllocationDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FinalizeAllocationDefault handles this case 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

type FinalizeAllocationOK

type FinalizeAllocationOK struct {
	Payload *models.V1MachineResponse
}

FinalizeAllocationOK handles this case 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

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 values initialized.

func NewFinalizeAllocationParamsWithContext

func NewFinalizeAllocationParamsWithContext(ctx context.Context) *FinalizeAllocationParams

NewFinalizeAllocationParamsWithContext creates a new FinalizeAllocationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*FinalizeAllocationParams) SetBody

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) 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

WithBody adds the body to the finalize allocation params

func (*FinalizeAllocationParams) WithContext

WithContext adds the context to the finalize allocation params

func (*FinalizeAllocationParams) WithHTTPClient

func (o *FinalizeAllocationParams) WithHTTPClient(client *http.Client) *FinalizeAllocationParams

WithHTTPClient adds the HTTPClient to the finalize allocation params

func (*FinalizeAllocationParams) WithID

WithID adds the id to the finalize allocation params

func (*FinalizeAllocationParams) WithTimeout

WithTimeout adds the timeout to the finalize allocation params

func (*FinalizeAllocationParams) WriteToRequest

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindIPMIMachineDefault handles this case 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

type FindIPMIMachineOK

type FindIPMIMachineOK struct {
	Payload *models.V1MachineIPMIResponse
}

FindIPMIMachineOK handles this case 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

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 values initialized.

func NewFindIPMIMachineParamsWithContext

func NewFindIPMIMachineParamsWithContext(ctx context.Context) *FindIPMIMachineParams

NewFindIPMIMachineParamsWithContext creates a new FindIPMIMachineParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the find IP m i machine params

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

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindIPMIMachinesDefault handles this case 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

type FindIPMIMachinesOK

type FindIPMIMachinesOK struct {
	Payload []*models.V1MachineIPMIResponse
}

FindIPMIMachinesOK handles this case 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

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 values initialized.

func NewFindIPMIMachinesParamsWithContext

func NewFindIPMIMachinesParamsWithContext(ctx context.Context) *FindIPMIMachinesParams

NewFindIPMIMachinesParamsWithContext creates a new FindIPMIMachinesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*FindIPMIMachinesParams) SetBody

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) 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

WithBody adds the body to the find IP m i machines params

func (*FindIPMIMachinesParams) WithContext

WithContext adds the context to the find IP m i machines params

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

WithTimeout adds the timeout to the find IP m i machines params

func (*FindIPMIMachinesParams) WriteToRequest

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindMachineDefault handles this case 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

type FindMachineOK

type FindMachineOK struct {
	Payload *models.V1MachineResponse
}

FindMachineOK handles this case 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

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 values initialized.

func NewFindMachineParamsWithContext

func NewFindMachineParamsWithContext(ctx context.Context) *FindMachineParams

NewFindMachineParamsWithContext creates a new FindMachineParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) WithHTTPClient

func (o *FindMachineParams) WithHTTPClient(client *http.Client) *FindMachineParams

WithHTTPClient adds the HTTPClient to the find machine params

func (*FindMachineParams) WithID

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindMachinesDefault handles this case 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

type FindMachinesOK

type FindMachinesOK struct {
	Payload []*models.V1MachineResponse
}

FindMachinesOK handles this case 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

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 values initialized.

func NewFindMachinesParamsWithContext

func NewFindMachinesParamsWithContext(ctx context.Context) *FindMachinesParams

NewFindMachinesParamsWithContext creates a new FindMachinesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*FindMachinesParams) SetBody

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) 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

WithBody adds the body to the find machines params

func (*FindMachinesParams) WithContext

WithContext adds the context to the find machines params

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FreeMachineDefault handles this case 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

type FreeMachineOK

type FreeMachineOK struct {
	Payload *models.V1MachineResponse
}

FreeMachineOK handles this case 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

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 values initialized.

func NewFreeMachineParamsWithContext

func NewFreeMachineParamsWithContext(ctx context.Context) *FreeMachineParams

NewFreeMachineParamsWithContext creates a new FreeMachineParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) WithHTTPClient

func (o *FreeMachineParams) WithHTTPClient(client *http.Client) *FreeMachineParams

WithHTTPClient adds the HTTPClient to the free machine params

func (*FreeMachineParams) WithID

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 GetProvisioningEventContainerDefault

type GetProvisioningEventContainerDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

GetProvisioningEventContainerDefault handles this case with default header values.

Error

func NewGetProvisioningEventContainerDefault

func NewGetProvisioningEventContainerDefault(code int) *GetProvisioningEventContainerDefault

NewGetProvisioningEventContainerDefault creates a GetProvisioningEventContainerDefault with default headers values

func (*GetProvisioningEventContainerDefault) Code

Code gets the status code for the get provisioning event container default response

func (*GetProvisioningEventContainerDefault) Error

type GetProvisioningEventContainerOK

type GetProvisioningEventContainerOK struct {
	Payload *models.V1MachineRecentProvisioningEvents
}

GetProvisioningEventContainerOK handles this case with default header values.

OK

func NewGetProvisioningEventContainerOK

func NewGetProvisioningEventContainerOK() *GetProvisioningEventContainerOK

NewGetProvisioningEventContainerOK creates a GetProvisioningEventContainerOK with default headers values

func (*GetProvisioningEventContainerOK) Error

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 values initialized.

func NewGetProvisioningEventContainerParamsWithContext

func NewGetProvisioningEventContainerParamsWithContext(ctx context.Context) *GetProvisioningEventContainerParams

NewGetProvisioningEventContainerParamsWithContext creates a new GetProvisioningEventContainerParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*GetProvisioningEventContainerParams) SetContext

SetContext adds the context to the get provisioning event container params

func (*GetProvisioningEventContainerParams) SetHTTPClient

func (o *GetProvisioningEventContainerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get provisioning event container params

func (*GetProvisioningEventContainerParams) SetID

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

WithContext adds the context to the get provisioning event container params

func (*GetProvisioningEventContainerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get provisioning event container params

func (*GetProvisioningEventContainerParams) WithID

WithID adds the id to the get provisioning event container params

func (*GetProvisioningEventContainerParams) WithTimeout

WithTimeout adds the timeout to the get provisioning event container params

func (*GetProvisioningEventContainerParams) WriteToRequest

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

type IPMIReportDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

IPMIReportDefault handles this case with default header values.

Error

func NewIPMIReportDefault

func NewIPMIReportDefault(code int) *IPMIReportDefault

NewIPMIReportDefault creates a IPMIReportDefault with default headers values

func (*IPMIReportDefault) Code

func (o *IPMIReportDefault) Code() int

Code gets the status code for the ipmi report default response

func (*IPMIReportDefault) Error

func (o *IPMIReportDefault) Error() string

type IPMIReportOK

type IPMIReportOK struct {
	Payload *models.V1MachineIPMIReportResponse
}

IPMIReportOK handles this case with default header values.

OK

func NewIPMIReportOK

func NewIPMIReportOK() *IPMIReportOK

NewIPMIReportOK creates a IPMIReportOK with default headers values

func (*IPMIReportOK) Error

func (o *IPMIReportOK) Error() string

type IPMIReportParams

type IPMIReportParams struct {

	/*Body*/
	Body *models.V1MachineIPMIReport

	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

func NewIPMIReportParams() *IPMIReportParams

NewIPMIReportParams creates a new IPMIReportParams object with the default values initialized.

func NewIPMIReportParamsWithContext

func NewIPMIReportParamsWithContext(ctx context.Context) *IPMIReportParams

NewIPMIReportParamsWithContext creates a new IPMIReportParams object with the default values initialized, and the ability to set a context for a request

func NewIPMIReportParamsWithHTTPClient

func NewIPMIReportParamsWithHTTPClient(client *http.Client) *IPMIReportParams

NewIPMIReportParamsWithHTTPClient creates a new IPMIReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewIPMIReportParamsWithTimeout

func NewIPMIReportParamsWithTimeout(timeout time.Duration) *IPMIReportParams

NewIPMIReportParamsWithTimeout creates a new IPMIReportParams object with the default values initialized, and the ability to set a timeout on a request

func (*IPMIReportParams) SetBody

func (o *IPMIReportParams) SetBody(body *models.V1MachineIPMIReport)

SetBody adds the body to the ipmi report params

func (*IPMIReportParams) SetContext

func (o *IPMIReportParams) SetContext(ctx context.Context)

SetContext adds the context to the ipmi report params

func (*IPMIReportParams) SetHTTPClient

func (o *IPMIReportParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the ipmi report params

func (*IPMIReportParams) SetTimeout

func (o *IPMIReportParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the ipmi report params

func (*IPMIReportParams) WithBody

WithBody adds the body to the ipmi report params

func (*IPMIReportParams) WithContext

func (o *IPMIReportParams) WithContext(ctx context.Context) *IPMIReportParams

WithContext adds the context to the ipmi report params

func (*IPMIReportParams) WithHTTPClient

func (o *IPMIReportParams) WithHTTPClient(client *http.Client) *IPMIReportParams

WithHTTPClient adds the HTTPClient to the ipmi report params

func (*IPMIReportParams) WithTimeout

func (o *IPMIReportParams) WithTimeout(timeout time.Duration) *IPMIReportParams

WithTimeout adds the timeout to the ipmi report params

func (*IPMIReportParams) WriteToRequest

func (o *IPMIReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type IPMIReportReader

type IPMIReportReader struct {
	// contains filtered or unexported fields
}

IPMIReportReader is a Reader for the IPMIReport structure.

func (*IPMIReportReader) ReadResponse

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ListMachinesDefault handles this case 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

type ListMachinesOK

type ListMachinesOK struct {
	Payload []*models.V1MachineResponse
}

ListMachinesOK handles this case 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

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 values initialized.

func NewListMachinesParamsWithContext

func NewListMachinesParamsWithContext(ctx context.Context) *ListMachinesParams

NewListMachinesParamsWithContext creates a new ListMachinesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the list machines params

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

MachineBiosDefault handles this case 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

type MachineBiosOK

type MachineBiosOK struct {
	Payload *models.V1MachineResponse
}

MachineBiosOK handles this case 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

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 values initialized.

func NewMachineBiosParamsWithContext

func NewMachineBiosParamsWithContext(ctx context.Context) *MachineBiosParams

NewMachineBiosParamsWithContext creates a new MachineBiosParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

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) WithHTTPClient

func (o *MachineBiosParams) WithHTTPClient(client *http.Client) *MachineBiosParams

WithHTTPClient adds the HTTPClient to the machine bios params

func (*MachineBiosParams) WithID

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 MachineOffDefault

type MachineOffDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

MachineOffDefault handles this case 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

type MachineOffOK

type MachineOffOK struct {
	Payload *models.V1MachineResponse
}

MachineOffOK handles this case 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

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 values initialized.

func NewMachineOffParamsWithContext

func NewMachineOffParamsWithContext(ctx context.Context) *MachineOffParams

NewMachineOffParamsWithContext creates a new MachineOffParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

MachineOnDefault handles this case 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

type MachineOnOK

type MachineOnOK struct {
	Payload *models.V1MachineResponse
}

MachineOnOK handles this case 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

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 values initialized.

func NewMachineOnParamsWithContext

func NewMachineOnParamsWithContext(ctx context.Context) *MachineOnParams

NewMachineOnParamsWithContext creates a new MachineOnParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

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) 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 MachineResetDefault

type MachineResetDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

MachineResetDefault handles this case 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

type MachineResetOK

type MachineResetOK struct {
	Payload *models.V1MachineResponse
}

MachineResetOK handles this case 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

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 values initialized.

func NewMachineResetParamsWithContext

func NewMachineResetParamsWithContext(ctx context.Context) *MachineResetParams

NewMachineResetParamsWithContext creates a new MachineResetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithBody adds the body to the machine reset params

func (*MachineResetParams) WithContext

WithContext adds the context to the machine reset params

func (*MachineResetParams) WithHTTPClient

func (o *MachineResetParams) WithHTTPClient(client *http.Client) *MachineResetParams

WithHTTPClient adds the HTTPClient to the machine reset params

func (*MachineResetParams) WithID

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 handles this case 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

type RegisterMachineDefault

type RegisterMachineDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

RegisterMachineDefault handles this case 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

type RegisterMachineOK

type RegisterMachineOK struct {
	Payload *models.V1MachineResponse
}

RegisterMachineOK handles this case 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

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 values initialized.

func NewRegisterMachineParamsWithContext

func NewRegisterMachineParamsWithContext(ctx context.Context) *RegisterMachineParams

NewRegisterMachineParamsWithContext creates a new RegisterMachineParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*RegisterMachineParams) SetBody

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) 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

WithBody adds the body to the register machine params

func (*RegisterMachineParams) WithContext

WithContext adds the context to the register machine params

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 *models.HttperrorsHTTPErrorResponse
}

ReinstallMachineBadRequest handles this case 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

type ReinstallMachineDefault added in v0.4.0

type ReinstallMachineDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ReinstallMachineDefault handles this case 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

type ReinstallMachineOK added in v0.4.0

type ReinstallMachineOK struct {
	Payload *models.V1MachineResponse
}

ReinstallMachineOK handles this case 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

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 values initialized.

func NewReinstallMachineParamsWithContext added in v0.4.0

func NewReinstallMachineParamsWithContext(ctx context.Context) *ReinstallMachineParams

NewReinstallMachineParamsWithContext creates a new ReinstallMachineParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*ReinstallMachineParams) SetBody added in v0.4.0

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) 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

WithBody adds the body to the reinstall machine params

func (*ReinstallMachineParams) WithContext added in v0.4.0

WithContext adds the context to the reinstall machine params

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

WithID adds the id to the reinstall machine params

func (*ReinstallMachineParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the reinstall machine params

func (*ReinstallMachineParams) WriteToRequest added in v0.4.0

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

SetChassisIdentifyLEDStateDefault handles this case with default header values.

Error

func NewSetChassisIdentifyLEDStateDefault

func NewSetChassisIdentifyLEDStateDefault(code int) *SetChassisIdentifyLEDStateDefault

NewSetChassisIdentifyLEDStateDefault creates a SetChassisIdentifyLEDStateDefault with default headers values

func (*SetChassisIdentifyLEDStateDefault) Code

Code gets the status code for the set chassis identify l e d state default response

func (*SetChassisIdentifyLEDStateDefault) Error

type SetChassisIdentifyLEDStateOK

type SetChassisIdentifyLEDStateOK struct {
	Payload *models.V1MachineResponse
}

SetChassisIdentifyLEDStateOK handles this case with default header values.

OK

func NewSetChassisIdentifyLEDStateOK

func NewSetChassisIdentifyLEDStateOK() *SetChassisIdentifyLEDStateOK

NewSetChassisIdentifyLEDStateOK creates a SetChassisIdentifyLEDStateOK with default headers values

func (*SetChassisIdentifyLEDStateOK) Error

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 values initialized.

func NewSetChassisIdentifyLEDStateParamsWithContext

func NewSetChassisIdentifyLEDStateParamsWithContext(ctx context.Context) *SetChassisIdentifyLEDStateParams

NewSetChassisIdentifyLEDStateParamsWithContext creates a new SetChassisIdentifyLEDStateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*SetChassisIdentifyLEDStateParams) SetBody

SetBody adds the body to the set chassis identify l e d state params

func (*SetChassisIdentifyLEDStateParams) SetContext

SetContext adds the context to the set chassis identify l e d state params

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

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

WithBody adds the body to the set chassis identify l e d state params

func (*SetChassisIdentifyLEDStateParams) WithContext

WithContext adds the context to the set chassis identify l e d state params

func (*SetChassisIdentifyLEDStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set chassis identify l e d state params

func (*SetChassisIdentifyLEDStateParams) WithID

WithID adds the id to the set chassis identify l e d state params

func (*SetChassisIdentifyLEDStateParams) WithTimeout

WithTimeout adds the timeout to the set chassis identify l e d state params

func (*SetChassisIdentifyLEDStateParams) WriteToRequest

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

SetMachineStateDefault handles this case 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

type SetMachineStateOK

type SetMachineStateOK struct {
	Payload *models.V1MachineResponse
}

SetMachineStateOK handles this case 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

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 values initialized.

func NewSetMachineStateParamsWithContext

func NewSetMachineStateParamsWithContext(ctx context.Context) *SetMachineStateParams

NewSetMachineStateParamsWithContext creates a new SetMachineStateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithBody adds the body to the set machine state params

func (*SetMachineStateParams) WithContext

WithContext adds the context to the set machine state params

func (*SetMachineStateParams) WithHTTPClient

func (o *SetMachineStateParams) WithHTTPClient(client *http.Client) *SetMachineStateParams

WithHTTPClient adds the HTTPClient to the set machine state params

func (*SetMachineStateParams) WithID

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 WaitForAllocationDefault

type WaitForAllocationDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

WaitForAllocationDefault handles this case with default header values.

Error

func NewWaitForAllocationDefault

func NewWaitForAllocationDefault(code int) *WaitForAllocationDefault

NewWaitForAllocationDefault creates a WaitForAllocationDefault with default headers values

func (*WaitForAllocationDefault) Code

func (o *WaitForAllocationDefault) Code() int

Code gets the status code for the wait for allocation default response

func (*WaitForAllocationDefault) Error

func (o *WaitForAllocationDefault) Error() string

type WaitForAllocationGatewayTimeout

type WaitForAllocationGatewayTimeout struct {
	Payload *models.HttperrorsHTTPErrorResponse
}

WaitForAllocationGatewayTimeout handles this case with default header values.

Timeout

func NewWaitForAllocationGatewayTimeout

func NewWaitForAllocationGatewayTimeout() *WaitForAllocationGatewayTimeout

NewWaitForAllocationGatewayTimeout creates a WaitForAllocationGatewayTimeout with default headers values

func (*WaitForAllocationGatewayTimeout) Error

type WaitForAllocationOK

type WaitForAllocationOK struct {
	Payload *models.V1MachineResponse
}

WaitForAllocationOK handles this case with default header values.

OK

func NewWaitForAllocationOK

func NewWaitForAllocationOK() *WaitForAllocationOK

NewWaitForAllocationOK creates a WaitForAllocationOK with default headers values

func (*WaitForAllocationOK) Error

func (o *WaitForAllocationOK) Error() string

type WaitForAllocationParams

type WaitForAllocationParams struct {

	/*ID
	  identifier of the machine

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

WaitForAllocationParams contains all the parameters to send to the API endpoint for the wait for allocation operation typically these are written to a http.Request

func NewWaitForAllocationParams

func NewWaitForAllocationParams() *WaitForAllocationParams

NewWaitForAllocationParams creates a new WaitForAllocationParams object with the default values initialized.

func NewWaitForAllocationParamsWithContext

func NewWaitForAllocationParamsWithContext(ctx context.Context) *WaitForAllocationParams

NewWaitForAllocationParamsWithContext creates a new WaitForAllocationParams object with the default values initialized, and the ability to set a context for a request

func NewWaitForAllocationParamsWithHTTPClient

func NewWaitForAllocationParamsWithHTTPClient(client *http.Client) *WaitForAllocationParams

NewWaitForAllocationParamsWithHTTPClient creates a new WaitForAllocationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewWaitForAllocationParamsWithTimeout

func NewWaitForAllocationParamsWithTimeout(timeout time.Duration) *WaitForAllocationParams

NewWaitForAllocationParamsWithTimeout creates a new WaitForAllocationParams object with the default values initialized, and the ability to set a timeout on a request

func (*WaitForAllocationParams) SetContext

func (o *WaitForAllocationParams) SetContext(ctx context.Context)

SetContext adds the context to the wait for allocation params

func (*WaitForAllocationParams) SetHTTPClient

func (o *WaitForAllocationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the wait for allocation params

func (*WaitForAllocationParams) SetID

func (o *WaitForAllocationParams) SetID(id string)

SetID adds the id to the wait for allocation params

func (*WaitForAllocationParams) SetTimeout

func (o *WaitForAllocationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the wait for allocation params

func (*WaitForAllocationParams) WithContext

WithContext adds the context to the wait for allocation params

func (*WaitForAllocationParams) WithHTTPClient

func (o *WaitForAllocationParams) WithHTTPClient(client *http.Client) *WaitForAllocationParams

WithHTTPClient adds the HTTPClient to the wait for allocation params

func (*WaitForAllocationParams) WithID

WithID adds the id to the wait for allocation params

func (*WaitForAllocationParams) WithTimeout

WithTimeout adds the timeout to the wait for allocation params

func (*WaitForAllocationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WaitForAllocationReader

type WaitForAllocationReader struct {
	// contains filtered or unexported fields
}

WaitForAllocationReader is a Reader for the WaitForAllocation structure.

func (*WaitForAllocationReader) ReadResponse

func (o *WaitForAllocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL