Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateMachine(params *CreateMachineParams) (*CreateMachineAccepted, error)
- func (a *Client) CreateMachineSnapshot(params *CreateMachineSnapshotParams) (*CreateMachineSnapshotAccepted, error)
- func (a *Client) DeleteMachine(params *DeleteMachineParams) (*DeleteMachineAccepted, error)
- func (a *Client) DeleteMachineSnapshot(params *DeleteMachineSnapshotParams) (*DeleteMachineSnapshotAccepted, error)
- func (a *Client) GetMachine(params *GetMachineParams) (*GetMachineOK, error)
- func (a *Client) GetMachineSnapshots(params *GetMachineSnapshotsParams) (*GetMachineSnapshotsOK, error)
- func (a *Client) GetMachines(params *GetMachinesParams) (*GetMachinesOK, error)
- func (a *Client) PowerOffMachine(params *PowerOffMachineParams) (*PowerOffMachineAccepted, error)
- func (a *Client) PowerOnMachine(params *PowerOnMachineParams) (*PowerOnMachineAccepted, error)
- func (a *Client) RebootMachine(params *RebootMachineParams) (*RebootMachineAccepted, error)
- func (a *Client) ResetMachine(params *ResetMachineParams) (*ResetMachineAccepted, error)
- func (a *Client) ResizeMachine(params *ResizeMachineParams) (*ResizeMachineAccepted, error)
- func (a *Client) RestartMachine(params *RestartMachineParams) (*RestartMachineAccepted, error)
- func (a *Client) RevertMachineSnapshot(params *RevertMachineSnapshotParams) (*RevertMachineSnapshotAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShutdownMachine(params *ShutdownMachineParams) (*ShutdownMachineAccepted, error)
- func (a *Client) SuspendMachine(params *SuspendMachineParams) (*SuspendMachineAccepted, error)
- func (a *Client) UpdateMachine(params *UpdateMachineParams) (*UpdateMachineOK, error)
- type CreateMachineAccepted
- type CreateMachineBadRequest
- type CreateMachineForbidden
- type CreateMachineParams
- func (o *CreateMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateMachineParams) SetBody(body *models.MachineSpecification)
- func (o *CreateMachineParams) SetContext(ctx context.Context)
- func (o *CreateMachineParams) SetHTTPClient(client *http.Client)
- func (o *CreateMachineParams) SetTimeout(timeout time.Duration)
- func (o *CreateMachineParams) WithAPIVersion(aPIVersion *string) *CreateMachineParams
- func (o *CreateMachineParams) WithBody(body *models.MachineSpecification) *CreateMachineParams
- func (o *CreateMachineParams) WithContext(ctx context.Context) *CreateMachineParams
- func (o *CreateMachineParams) WithHTTPClient(client *http.Client) *CreateMachineParams
- func (o *CreateMachineParams) WithTimeout(timeout time.Duration) *CreateMachineParams
- func (o *CreateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMachineReader
- type CreateMachineSnapshotAccepted
- type CreateMachineSnapshotForbidden
- type CreateMachineSnapshotNotFound
- type CreateMachineSnapshotParams
- func NewCreateMachineSnapshotParams() *CreateMachineSnapshotParams
- func NewCreateMachineSnapshotParamsWithContext(ctx context.Context) *CreateMachineSnapshotParams
- func NewCreateMachineSnapshotParamsWithHTTPClient(client *http.Client) *CreateMachineSnapshotParams
- func NewCreateMachineSnapshotParamsWithTimeout(timeout time.Duration) *CreateMachineSnapshotParams
- func (o *CreateMachineSnapshotParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateMachineSnapshotParams) SetBody(body *models.SnapshotSpecification)
- func (o *CreateMachineSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateMachineSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateMachineSnapshotParams) SetID(id string)
- func (o *CreateMachineSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateMachineSnapshotParams) WithAPIVersion(aPIVersion *string) *CreateMachineSnapshotParams
- func (o *CreateMachineSnapshotParams) WithBody(body *models.SnapshotSpecification) *CreateMachineSnapshotParams
- func (o *CreateMachineSnapshotParams) WithContext(ctx context.Context) *CreateMachineSnapshotParams
- func (o *CreateMachineSnapshotParams) WithHTTPClient(client *http.Client) *CreateMachineSnapshotParams
- func (o *CreateMachineSnapshotParams) WithID(id string) *CreateMachineSnapshotParams
- func (o *CreateMachineSnapshotParams) WithTimeout(timeout time.Duration) *CreateMachineSnapshotParams
- func (o *CreateMachineSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMachineSnapshotReader
- type DeleteMachineAccepted
- type DeleteMachineForbidden
- type DeleteMachineParams
- func (o *DeleteMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteMachineParams) SetContext(ctx context.Context)
- func (o *DeleteMachineParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMachineParams) SetID(id string)
- func (o *DeleteMachineParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMachineParams) WithAPIVersion(aPIVersion *string) *DeleteMachineParams
- func (o *DeleteMachineParams) WithContext(ctx context.Context) *DeleteMachineParams
- func (o *DeleteMachineParams) WithHTTPClient(client *http.Client) *DeleteMachineParams
- func (o *DeleteMachineParams) WithID(id string) *DeleteMachineParams
- func (o *DeleteMachineParams) WithTimeout(timeout time.Duration) *DeleteMachineParams
- func (o *DeleteMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMachineReader
- type DeleteMachineSnapshotAccepted
- type DeleteMachineSnapshotForbidden
- type DeleteMachineSnapshotParams
- func NewDeleteMachineSnapshotParams() *DeleteMachineSnapshotParams
- func NewDeleteMachineSnapshotParamsWithContext(ctx context.Context) *DeleteMachineSnapshotParams
- func NewDeleteMachineSnapshotParamsWithHTTPClient(client *http.Client) *DeleteMachineSnapshotParams
- func NewDeleteMachineSnapshotParamsWithTimeout(timeout time.Duration) *DeleteMachineSnapshotParams
- func (o *DeleteMachineSnapshotParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteMachineSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteMachineSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMachineSnapshotParams) SetID(id string)
- func (o *DeleteMachineSnapshotParams) SetId1(id1 string)
- func (o *DeleteMachineSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMachineSnapshotParams) WithAPIVersion(aPIVersion *string) *DeleteMachineSnapshotParams
- func (o *DeleteMachineSnapshotParams) WithContext(ctx context.Context) *DeleteMachineSnapshotParams
- func (o *DeleteMachineSnapshotParams) WithHTTPClient(client *http.Client) *DeleteMachineSnapshotParams
- func (o *DeleteMachineSnapshotParams) WithID(id string) *DeleteMachineSnapshotParams
- func (o *DeleteMachineSnapshotParams) WithId1(id1 string) *DeleteMachineSnapshotParams
- func (o *DeleteMachineSnapshotParams) WithTimeout(timeout time.Duration) *DeleteMachineSnapshotParams
- func (o *DeleteMachineSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMachineSnapshotReader
- type GetMachineForbidden
- type GetMachineNotFound
- type GetMachineOK
- type GetMachineParams
- func (o *GetMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMachineParams) SetContext(ctx context.Context)
- func (o *GetMachineParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineParams) SetID(id string)
- func (o *GetMachineParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineParams) WithAPIVersion(aPIVersion *string) *GetMachineParams
- func (o *GetMachineParams) WithContext(ctx context.Context) *GetMachineParams
- func (o *GetMachineParams) WithHTTPClient(client *http.Client) *GetMachineParams
- func (o *GetMachineParams) WithID(id string) *GetMachineParams
- func (o *GetMachineParams) WithTimeout(timeout time.Duration) *GetMachineParams
- func (o *GetMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineReader
- type GetMachineSnapshotsForbidden
- type GetMachineSnapshotsNotFound
- type GetMachineSnapshotsOK
- type GetMachineSnapshotsParams
- func NewGetMachineSnapshotsParams() *GetMachineSnapshotsParams
- func NewGetMachineSnapshotsParamsWithContext(ctx context.Context) *GetMachineSnapshotsParams
- func NewGetMachineSnapshotsParamsWithHTTPClient(client *http.Client) *GetMachineSnapshotsParams
- func NewGetMachineSnapshotsParamsWithTimeout(timeout time.Duration) *GetMachineSnapshotsParams
- func (o *GetMachineSnapshotsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMachineSnapshotsParams) SetContext(ctx context.Context)
- func (o *GetMachineSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineSnapshotsParams) SetID(id string)
- func (o *GetMachineSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineSnapshotsParams) WithAPIVersion(aPIVersion *string) *GetMachineSnapshotsParams
- func (o *GetMachineSnapshotsParams) WithContext(ctx context.Context) *GetMachineSnapshotsParams
- func (o *GetMachineSnapshotsParams) WithHTTPClient(client *http.Client) *GetMachineSnapshotsParams
- func (o *GetMachineSnapshotsParams) WithID(id string) *GetMachineSnapshotsParams
- func (o *GetMachineSnapshotsParams) WithTimeout(timeout time.Duration) *GetMachineSnapshotsParams
- func (o *GetMachineSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineSnapshotsReader
- type GetMachinesForbidden
- type GetMachinesOK
- type GetMachinesParams
- func (o *GetMachinesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMachinesParams) SetContext(ctx context.Context)
- func (o *GetMachinesParams) SetHTTPClient(client *http.Client)
- func (o *GetMachinesParams) SetTimeout(timeout time.Duration)
- func (o *GetMachinesParams) WithAPIVersion(aPIVersion *string) *GetMachinesParams
- func (o *GetMachinesParams) WithContext(ctx context.Context) *GetMachinesParams
- func (o *GetMachinesParams) WithHTTPClient(client *http.Client) *GetMachinesParams
- func (o *GetMachinesParams) WithTimeout(timeout time.Duration) *GetMachinesParams
- func (o *GetMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachinesReader
- type PowerOffMachineAccepted
- type PowerOffMachineForbidden
- type PowerOffMachineNotFound
- type PowerOffMachineParams
- func NewPowerOffMachineParams() *PowerOffMachineParams
- func NewPowerOffMachineParamsWithContext(ctx context.Context) *PowerOffMachineParams
- func NewPowerOffMachineParamsWithHTTPClient(client *http.Client) *PowerOffMachineParams
- func NewPowerOffMachineParamsWithTimeout(timeout time.Duration) *PowerOffMachineParams
- func (o *PowerOffMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *PowerOffMachineParams) SetContext(ctx context.Context)
- func (o *PowerOffMachineParams) SetHTTPClient(client *http.Client)
- func (o *PowerOffMachineParams) SetID(id string)
- func (o *PowerOffMachineParams) SetTimeout(timeout time.Duration)
- func (o *PowerOffMachineParams) WithAPIVersion(aPIVersion *string) *PowerOffMachineParams
- func (o *PowerOffMachineParams) WithContext(ctx context.Context) *PowerOffMachineParams
- func (o *PowerOffMachineParams) WithHTTPClient(client *http.Client) *PowerOffMachineParams
- func (o *PowerOffMachineParams) WithID(id string) *PowerOffMachineParams
- func (o *PowerOffMachineParams) WithTimeout(timeout time.Duration) *PowerOffMachineParams
- func (o *PowerOffMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PowerOffMachineReader
- type PowerOnMachineAccepted
- type PowerOnMachineForbidden
- type PowerOnMachineNotFound
- type PowerOnMachineParams
- func NewPowerOnMachineParams() *PowerOnMachineParams
- func NewPowerOnMachineParamsWithContext(ctx context.Context) *PowerOnMachineParams
- func NewPowerOnMachineParamsWithHTTPClient(client *http.Client) *PowerOnMachineParams
- func NewPowerOnMachineParamsWithTimeout(timeout time.Duration) *PowerOnMachineParams
- func (o *PowerOnMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *PowerOnMachineParams) SetContext(ctx context.Context)
- func (o *PowerOnMachineParams) SetHTTPClient(client *http.Client)
- func (o *PowerOnMachineParams) SetID(id string)
- func (o *PowerOnMachineParams) SetTimeout(timeout time.Duration)
- func (o *PowerOnMachineParams) WithAPIVersion(aPIVersion *string) *PowerOnMachineParams
- func (o *PowerOnMachineParams) WithContext(ctx context.Context) *PowerOnMachineParams
- func (o *PowerOnMachineParams) WithHTTPClient(client *http.Client) *PowerOnMachineParams
- func (o *PowerOnMachineParams) WithID(id string) *PowerOnMachineParams
- func (o *PowerOnMachineParams) WithTimeout(timeout time.Duration) *PowerOnMachineParams
- func (o *PowerOnMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PowerOnMachineReader
- type RebootMachineAccepted
- type RebootMachineForbidden
- type RebootMachineNotFound
- type RebootMachineParams
- func (o *RebootMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *RebootMachineParams) SetContext(ctx context.Context)
- func (o *RebootMachineParams) SetHTTPClient(client *http.Client)
- func (o *RebootMachineParams) SetID(id string)
- func (o *RebootMachineParams) SetTimeout(timeout time.Duration)
- func (o *RebootMachineParams) WithAPIVersion(aPIVersion *string) *RebootMachineParams
- func (o *RebootMachineParams) WithContext(ctx context.Context) *RebootMachineParams
- func (o *RebootMachineParams) WithHTTPClient(client *http.Client) *RebootMachineParams
- func (o *RebootMachineParams) WithID(id string) *RebootMachineParams
- func (o *RebootMachineParams) WithTimeout(timeout time.Duration) *RebootMachineParams
- func (o *RebootMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RebootMachineReader
- type ResetMachineAccepted
- type ResetMachineForbidden
- type ResetMachineNotFound
- type ResetMachineParams
- func (o *ResetMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *ResetMachineParams) SetContext(ctx context.Context)
- func (o *ResetMachineParams) SetHTTPClient(client *http.Client)
- func (o *ResetMachineParams) SetID(id string)
- func (o *ResetMachineParams) SetTimeout(timeout time.Duration)
- func (o *ResetMachineParams) WithAPIVersion(aPIVersion *string) *ResetMachineParams
- func (o *ResetMachineParams) WithContext(ctx context.Context) *ResetMachineParams
- func (o *ResetMachineParams) WithHTTPClient(client *http.Client) *ResetMachineParams
- func (o *ResetMachineParams) WithID(id string) *ResetMachineParams
- func (o *ResetMachineParams) WithTimeout(timeout time.Duration) *ResetMachineParams
- func (o *ResetMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetMachineReader
- type ResizeMachineAccepted
- type ResizeMachineForbidden
- type ResizeMachineNotFound
- type ResizeMachineParams
- func (o *ResizeMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *ResizeMachineParams) SetCPUCount(cPUCount *string)
- func (o *ResizeMachineParams) SetContext(ctx context.Context)
- func (o *ResizeMachineParams) SetHTTPClient(client *http.Client)
- func (o *ResizeMachineParams) SetID(id string)
- func (o *ResizeMachineParams) SetMemoryInMB(memoryInMB *string)
- func (o *ResizeMachineParams) SetName(name *string)
- func (o *ResizeMachineParams) SetTimeout(timeout time.Duration)
- func (o *ResizeMachineParams) WithAPIVersion(aPIVersion *string) *ResizeMachineParams
- func (o *ResizeMachineParams) WithCPUCount(cPUCount *string) *ResizeMachineParams
- func (o *ResizeMachineParams) WithContext(ctx context.Context) *ResizeMachineParams
- func (o *ResizeMachineParams) WithHTTPClient(client *http.Client) *ResizeMachineParams
- func (o *ResizeMachineParams) WithID(id string) *ResizeMachineParams
- func (o *ResizeMachineParams) WithMemoryInMB(memoryInMB *string) *ResizeMachineParams
- func (o *ResizeMachineParams) WithName(name *string) *ResizeMachineParams
- func (o *ResizeMachineParams) WithTimeout(timeout time.Duration) *ResizeMachineParams
- func (o *ResizeMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResizeMachineReader
- type RestartMachineAccepted
- type RestartMachineForbidden
- type RestartMachineNotFound
- type RestartMachineParams
- func NewRestartMachineParams() *RestartMachineParams
- func NewRestartMachineParamsWithContext(ctx context.Context) *RestartMachineParams
- func NewRestartMachineParamsWithHTTPClient(client *http.Client) *RestartMachineParams
- func NewRestartMachineParamsWithTimeout(timeout time.Duration) *RestartMachineParams
- func (o *RestartMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *RestartMachineParams) SetContext(ctx context.Context)
- func (o *RestartMachineParams) SetHTTPClient(client *http.Client)
- func (o *RestartMachineParams) SetID(id string)
- func (o *RestartMachineParams) SetTimeout(timeout time.Duration)
- func (o *RestartMachineParams) WithAPIVersion(aPIVersion *string) *RestartMachineParams
- func (o *RestartMachineParams) WithContext(ctx context.Context) *RestartMachineParams
- func (o *RestartMachineParams) WithHTTPClient(client *http.Client) *RestartMachineParams
- func (o *RestartMachineParams) WithID(id string) *RestartMachineParams
- func (o *RestartMachineParams) WithTimeout(timeout time.Duration) *RestartMachineParams
- func (o *RestartMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestartMachineReader
- type RevertMachineSnapshotAccepted
- type RevertMachineSnapshotForbidden
- type RevertMachineSnapshotNotFound
- type RevertMachineSnapshotParams
- func NewRevertMachineSnapshotParams() *RevertMachineSnapshotParams
- func NewRevertMachineSnapshotParamsWithContext(ctx context.Context) *RevertMachineSnapshotParams
- func NewRevertMachineSnapshotParamsWithHTTPClient(client *http.Client) *RevertMachineSnapshotParams
- func NewRevertMachineSnapshotParamsWithTimeout(timeout time.Duration) *RevertMachineSnapshotParams
- func (o *RevertMachineSnapshotParams) SetAPIVersion(aPIVersion *string)
- func (o *RevertMachineSnapshotParams) SetContext(ctx context.Context)
- func (o *RevertMachineSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *RevertMachineSnapshotParams) SetID(id string)
- func (o *RevertMachineSnapshotParams) SetQueryID(id string)
- func (o *RevertMachineSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *RevertMachineSnapshotParams) WithAPIVersion(aPIVersion *string) *RevertMachineSnapshotParams
- func (o *RevertMachineSnapshotParams) WithContext(ctx context.Context) *RevertMachineSnapshotParams
- func (o *RevertMachineSnapshotParams) WithHTTPClient(client *http.Client) *RevertMachineSnapshotParams
- func (o *RevertMachineSnapshotParams) WithID(id string) *RevertMachineSnapshotParams
- func (o *RevertMachineSnapshotParams) WithQueryID(id string) *RevertMachineSnapshotParams
- func (o *RevertMachineSnapshotParams) WithTimeout(timeout time.Duration) *RevertMachineSnapshotParams
- func (o *RevertMachineSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevertMachineSnapshotReader
- type ShutdownMachineAccepted
- type ShutdownMachineForbidden
- type ShutdownMachineNotFound
- type ShutdownMachineParams
- func NewShutdownMachineParams() *ShutdownMachineParams
- func NewShutdownMachineParamsWithContext(ctx context.Context) *ShutdownMachineParams
- func NewShutdownMachineParamsWithHTTPClient(client *http.Client) *ShutdownMachineParams
- func NewShutdownMachineParamsWithTimeout(timeout time.Duration) *ShutdownMachineParams
- func (o *ShutdownMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *ShutdownMachineParams) SetContext(ctx context.Context)
- func (o *ShutdownMachineParams) SetHTTPClient(client *http.Client)
- func (o *ShutdownMachineParams) SetID(id string)
- func (o *ShutdownMachineParams) SetTimeout(timeout time.Duration)
- func (o *ShutdownMachineParams) WithAPIVersion(aPIVersion *string) *ShutdownMachineParams
- func (o *ShutdownMachineParams) WithContext(ctx context.Context) *ShutdownMachineParams
- func (o *ShutdownMachineParams) WithHTTPClient(client *http.Client) *ShutdownMachineParams
- func (o *ShutdownMachineParams) WithID(id string) *ShutdownMachineParams
- func (o *ShutdownMachineParams) WithTimeout(timeout time.Duration) *ShutdownMachineParams
- func (o *ShutdownMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShutdownMachineReader
- type SuspendMachineAccepted
- type SuspendMachineForbidden
- type SuspendMachineNotFound
- type SuspendMachineParams
- func NewSuspendMachineParams() *SuspendMachineParams
- func NewSuspendMachineParamsWithContext(ctx context.Context) *SuspendMachineParams
- func NewSuspendMachineParamsWithHTTPClient(client *http.Client) *SuspendMachineParams
- func NewSuspendMachineParamsWithTimeout(timeout time.Duration) *SuspendMachineParams
- func (o *SuspendMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *SuspendMachineParams) SetContext(ctx context.Context)
- func (o *SuspendMachineParams) SetHTTPClient(client *http.Client)
- func (o *SuspendMachineParams) SetID(id string)
- func (o *SuspendMachineParams) SetTimeout(timeout time.Duration)
- func (o *SuspendMachineParams) WithAPIVersion(aPIVersion *string) *SuspendMachineParams
- func (o *SuspendMachineParams) WithContext(ctx context.Context) *SuspendMachineParams
- func (o *SuspendMachineParams) WithHTTPClient(client *http.Client) *SuspendMachineParams
- func (o *SuspendMachineParams) WithID(id string) *SuspendMachineParams
- func (o *SuspendMachineParams) WithTimeout(timeout time.Duration) *SuspendMachineParams
- func (o *SuspendMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SuspendMachineReader
- type UpdateMachineForbidden
- type UpdateMachineNotFound
- type UpdateMachineOK
- type UpdateMachineParams
- func (o *UpdateMachineParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateMachineParams) SetBody(body *models.UpdateMachineSpecification)
- func (o *UpdateMachineParams) SetContext(ctx context.Context)
- func (o *UpdateMachineParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMachineParams) SetID(id string)
- func (o *UpdateMachineParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMachineParams) WithAPIVersion(aPIVersion *string) *UpdateMachineParams
- func (o *UpdateMachineParams) WithBody(body *models.UpdateMachineSpecification) *UpdateMachineParams
- func (o *UpdateMachineParams) WithContext(ctx context.Context) *UpdateMachineParams
- func (o *UpdateMachineParams) WithHTTPClient(client *http.Client) *UpdateMachineParams
- func (o *UpdateMachineParams) WithID(id string) *UpdateMachineParams
- func (o *UpdateMachineParams) WithTimeout(timeout time.Duration) *UpdateMachineParams
- func (o *UpdateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMachineReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for compute API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new compute API client.
func (*Client) CreateMachine ¶
func (a *Client) CreateMachine(params *CreateMachineParams) (*CreateMachineAccepted, error)
CreateMachine creates machine
Create machine
func (*Client) CreateMachineSnapshot ¶
func (a *Client) CreateMachineSnapshot(params *CreateMachineSnapshotParams) (*CreateMachineSnapshotAccepted, error)
CreateMachineSnapshot creates snapshot operation for machine
Second day create snapshot operation for machine
func (*Client) DeleteMachine ¶
func (a *Client) DeleteMachine(params *DeleteMachineParams) (*DeleteMachineAccepted, error)
DeleteMachine deletes machine
Delete Machine with a given id
func (*Client) DeleteMachineSnapshot ¶
func (a *Client) DeleteMachineSnapshot(params *DeleteMachineSnapshotParams) (*DeleteMachineSnapshotAccepted, error)
DeleteMachineSnapshot deletes snapshot operation for machine
Second day delete snapshot operation for machine
func (*Client) GetMachine ¶
func (a *Client) GetMachine(params *GetMachineParams) (*GetMachineOK, error)
GetMachine gets machine
Get machine with a given id
func (*Client) GetMachineSnapshots ¶
func (a *Client) GetMachineSnapshots(params *GetMachineSnapshotsParams) (*GetMachineSnapshotsOK, error)
GetMachineSnapshots gets machine snapshots information
Get machine snapshots information
func (*Client) GetMachines ¶
func (a *Client) GetMachines(params *GetMachinesParams) (*GetMachinesOK, error)
GetMachines gets machines
Get all machines
func (*Client) PowerOffMachine ¶
func (a *Client) PowerOffMachine(params *PowerOffMachineParams) (*PowerOffMachineAccepted, error)
PowerOffMachine powers off operation for machine
Second day power-off operation for machine
func (*Client) PowerOnMachine ¶
func (a *Client) PowerOnMachine(params *PowerOnMachineParams) (*PowerOnMachineAccepted, error)
PowerOnMachine powers on operation for machine
Second day power-on operation for machine
func (*Client) RebootMachine ¶
func (a *Client) RebootMachine(params *RebootMachineParams) (*RebootMachineAccepted, error)
RebootMachine reboots operation for machine
Second day reboot operation for machine
func (*Client) ResetMachine ¶
func (a *Client) ResetMachine(params *ResetMachineParams) (*ResetMachineAccepted, error)
ResetMachine resets operation for machine
Second day reset operation for machine
func (*Client) ResizeMachine ¶
func (a *Client) ResizeMachine(params *ResizeMachineParams) (*ResizeMachineAccepted, error)
ResizeMachine resizes operation for machine
Second day resize operation for machine
func (*Client) RestartMachine ¶
func (a *Client) RestartMachine(params *RestartMachineParams) (*RestartMachineAccepted, error)
RestartMachine restarts operation for machine
Second day restart operation for machine
func (*Client) RevertMachineSnapshot ¶
func (a *Client) RevertMachineSnapshot(params *RevertMachineSnapshotParams) (*RevertMachineSnapshotAccepted, error)
RevertMachineSnapshot reverts snapshot operation for machine
Second day revert snapshot operation for machine
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShutdownMachine ¶
func (a *Client) ShutdownMachine(params *ShutdownMachineParams) (*ShutdownMachineAccepted, error)
ShutdownMachine shuts down operation for machine
Second day shut down operation machine
func (*Client) SuspendMachine ¶
func (a *Client) SuspendMachine(params *SuspendMachineParams) (*SuspendMachineAccepted, error)
SuspendMachine suspends operation for machine
Second day suspend operation for machine
func (*Client) UpdateMachine ¶
func (a *Client) UpdateMachine(params *UpdateMachineParams) (*UpdateMachineOK, error)
UpdateMachine updates machine
Update machine. Only tag updates are supported. All other properties in the MachineSpecification body are ignored.
type CreateMachineAccepted ¶
type CreateMachineAccepted struct {
Payload *models.RequestTracker
}
CreateMachineAccepted handles this case with default header values.
successful operation
func NewCreateMachineAccepted ¶
func NewCreateMachineAccepted() *CreateMachineAccepted
NewCreateMachineAccepted creates a CreateMachineAccepted with default headers values
func (*CreateMachineAccepted) Error ¶
func (o *CreateMachineAccepted) Error() string
func (*CreateMachineAccepted) GetPayload ¶
func (o *CreateMachineAccepted) GetPayload() *models.RequestTracker
type CreateMachineBadRequest ¶
type CreateMachineBadRequest struct { }
CreateMachineBadRequest handles this case with default header values.
Invalid Request - bad data
func NewCreateMachineBadRequest ¶
func NewCreateMachineBadRequest() *CreateMachineBadRequest
NewCreateMachineBadRequest creates a CreateMachineBadRequest with default headers values
func (*CreateMachineBadRequest) Error ¶
func (o *CreateMachineBadRequest) Error() string
type CreateMachineForbidden ¶
type CreateMachineForbidden struct { }
CreateMachineForbidden handles this case with default header values.
Forbidden
func NewCreateMachineForbidden ¶
func NewCreateMachineForbidden() *CreateMachineForbidden
NewCreateMachineForbidden creates a CreateMachineForbidden with default headers values
func (*CreateMachineForbidden) Error ¶
func (o *CreateMachineForbidden) Error() string
type CreateMachineParams ¶
type CreateMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body Machine Specification instance */ Body *models.MachineSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMachineParams contains all the parameters to send to the API endpoint for the create machine operation typically these are written to a http.Request
func NewCreateMachineParams ¶
func NewCreateMachineParams() *CreateMachineParams
NewCreateMachineParams creates a new CreateMachineParams object with the default values initialized.
func NewCreateMachineParamsWithContext ¶
func NewCreateMachineParamsWithContext(ctx context.Context) *CreateMachineParams
NewCreateMachineParamsWithContext creates a new CreateMachineParams object with the default values initialized, and the ability to set a context for a request
func NewCreateMachineParamsWithHTTPClient ¶
func NewCreateMachineParamsWithHTTPClient(client *http.Client) *CreateMachineParams
NewCreateMachineParamsWithHTTPClient creates a new CreateMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateMachineParamsWithTimeout ¶
func NewCreateMachineParamsWithTimeout(timeout time.Duration) *CreateMachineParams
NewCreateMachineParamsWithTimeout creates a new CreateMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateMachineParams) SetAPIVersion ¶
func (o *CreateMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create machine params
func (*CreateMachineParams) SetBody ¶
func (o *CreateMachineParams) SetBody(body *models.MachineSpecification)
SetBody adds the body to the create machine params
func (*CreateMachineParams) SetContext ¶
func (o *CreateMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the create machine params
func (*CreateMachineParams) SetHTTPClient ¶
func (o *CreateMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create machine params
func (*CreateMachineParams) SetTimeout ¶
func (o *CreateMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create machine params
func (*CreateMachineParams) WithAPIVersion ¶
func (o *CreateMachineParams) WithAPIVersion(aPIVersion *string) *CreateMachineParams
WithAPIVersion adds the aPIVersion to the create machine params
func (*CreateMachineParams) WithBody ¶
func (o *CreateMachineParams) WithBody(body *models.MachineSpecification) *CreateMachineParams
WithBody adds the body to the create machine params
func (*CreateMachineParams) WithContext ¶
func (o *CreateMachineParams) WithContext(ctx context.Context) *CreateMachineParams
WithContext adds the context to the create machine params
func (*CreateMachineParams) WithHTTPClient ¶
func (o *CreateMachineParams) WithHTTPClient(client *http.Client) *CreateMachineParams
WithHTTPClient adds the HTTPClient to the create machine params
func (*CreateMachineParams) WithTimeout ¶
func (o *CreateMachineParams) WithTimeout(timeout time.Duration) *CreateMachineParams
WithTimeout adds the timeout to the create machine params
func (*CreateMachineParams) WriteToRequest ¶
func (o *CreateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMachineReader ¶
type CreateMachineReader struct {
// contains filtered or unexported fields
}
CreateMachineReader is a Reader for the CreateMachine structure.
func (*CreateMachineReader) ReadResponse ¶
func (o *CreateMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMachineSnapshotAccepted ¶
type CreateMachineSnapshotAccepted struct {
Payload *models.RequestTracker
}
CreateMachineSnapshotAccepted handles this case with default header values.
successful operation
func NewCreateMachineSnapshotAccepted ¶
func NewCreateMachineSnapshotAccepted() *CreateMachineSnapshotAccepted
NewCreateMachineSnapshotAccepted creates a CreateMachineSnapshotAccepted with default headers values
func (*CreateMachineSnapshotAccepted) Error ¶
func (o *CreateMachineSnapshotAccepted) Error() string
func (*CreateMachineSnapshotAccepted) GetPayload ¶
func (o *CreateMachineSnapshotAccepted) GetPayload() *models.RequestTracker
type CreateMachineSnapshotForbidden ¶
type CreateMachineSnapshotForbidden struct { }
CreateMachineSnapshotForbidden handles this case with default header values.
Forbidden
func NewCreateMachineSnapshotForbidden ¶
func NewCreateMachineSnapshotForbidden() *CreateMachineSnapshotForbidden
NewCreateMachineSnapshotForbidden creates a CreateMachineSnapshotForbidden with default headers values
func (*CreateMachineSnapshotForbidden) Error ¶
func (o *CreateMachineSnapshotForbidden) Error() string
type CreateMachineSnapshotNotFound ¶
type CreateMachineSnapshotNotFound struct { }
CreateMachineSnapshotNotFound handles this case with default header values.
Not Found
func NewCreateMachineSnapshotNotFound ¶
func NewCreateMachineSnapshotNotFound() *CreateMachineSnapshotNotFound
NewCreateMachineSnapshotNotFound creates a CreateMachineSnapshotNotFound with default headers values
func (*CreateMachineSnapshotNotFound) Error ¶
func (o *CreateMachineSnapshotNotFound) Error() string
type CreateMachineSnapshotParams ¶
type CreateMachineSnapshotParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body Snapshot Specification details */ Body *models.SnapshotSpecification /*ID The id of the Machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMachineSnapshotParams contains all the parameters to send to the API endpoint for the create machine snapshot operation typically these are written to a http.Request
func NewCreateMachineSnapshotParams ¶
func NewCreateMachineSnapshotParams() *CreateMachineSnapshotParams
NewCreateMachineSnapshotParams creates a new CreateMachineSnapshotParams object with the default values initialized.
func NewCreateMachineSnapshotParamsWithContext ¶
func NewCreateMachineSnapshotParamsWithContext(ctx context.Context) *CreateMachineSnapshotParams
NewCreateMachineSnapshotParamsWithContext creates a new CreateMachineSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewCreateMachineSnapshotParamsWithHTTPClient ¶
func NewCreateMachineSnapshotParamsWithHTTPClient(client *http.Client) *CreateMachineSnapshotParams
NewCreateMachineSnapshotParamsWithHTTPClient creates a new CreateMachineSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateMachineSnapshotParamsWithTimeout ¶
func NewCreateMachineSnapshotParamsWithTimeout(timeout time.Duration) *CreateMachineSnapshotParams
NewCreateMachineSnapshotParamsWithTimeout creates a new CreateMachineSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateMachineSnapshotParams) SetAPIVersion ¶
func (o *CreateMachineSnapshotParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create machine snapshot params
func (*CreateMachineSnapshotParams) SetBody ¶
func (o *CreateMachineSnapshotParams) SetBody(body *models.SnapshotSpecification)
SetBody adds the body to the create machine snapshot params
func (*CreateMachineSnapshotParams) SetContext ¶
func (o *CreateMachineSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the create machine snapshot params
func (*CreateMachineSnapshotParams) SetHTTPClient ¶
func (o *CreateMachineSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create machine snapshot params
func (*CreateMachineSnapshotParams) SetID ¶
func (o *CreateMachineSnapshotParams) SetID(id string)
SetID adds the id to the create machine snapshot params
func (*CreateMachineSnapshotParams) SetTimeout ¶
func (o *CreateMachineSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create machine snapshot params
func (*CreateMachineSnapshotParams) WithAPIVersion ¶
func (o *CreateMachineSnapshotParams) WithAPIVersion(aPIVersion *string) *CreateMachineSnapshotParams
WithAPIVersion adds the aPIVersion to the create machine snapshot params
func (*CreateMachineSnapshotParams) WithBody ¶
func (o *CreateMachineSnapshotParams) WithBody(body *models.SnapshotSpecification) *CreateMachineSnapshotParams
WithBody adds the body to the create machine snapshot params
func (*CreateMachineSnapshotParams) WithContext ¶
func (o *CreateMachineSnapshotParams) WithContext(ctx context.Context) *CreateMachineSnapshotParams
WithContext adds the context to the create machine snapshot params
func (*CreateMachineSnapshotParams) WithHTTPClient ¶
func (o *CreateMachineSnapshotParams) WithHTTPClient(client *http.Client) *CreateMachineSnapshotParams
WithHTTPClient adds the HTTPClient to the create machine snapshot params
func (*CreateMachineSnapshotParams) WithID ¶
func (o *CreateMachineSnapshotParams) WithID(id string) *CreateMachineSnapshotParams
WithID adds the id to the create machine snapshot params
func (*CreateMachineSnapshotParams) WithTimeout ¶
func (o *CreateMachineSnapshotParams) WithTimeout(timeout time.Duration) *CreateMachineSnapshotParams
WithTimeout adds the timeout to the create machine snapshot params
func (*CreateMachineSnapshotParams) WriteToRequest ¶
func (o *CreateMachineSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMachineSnapshotReader ¶
type CreateMachineSnapshotReader struct {
// contains filtered or unexported fields
}
CreateMachineSnapshotReader is a Reader for the CreateMachineSnapshot structure.
func (*CreateMachineSnapshotReader) ReadResponse ¶
func (o *CreateMachineSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMachineAccepted ¶
type DeleteMachineAccepted struct {
Payload *models.RequestTracker
}
DeleteMachineAccepted handles this case with default header values.
successful operation
func NewDeleteMachineAccepted ¶
func NewDeleteMachineAccepted() *DeleteMachineAccepted
NewDeleteMachineAccepted creates a DeleteMachineAccepted with default headers values
func (*DeleteMachineAccepted) Error ¶
func (o *DeleteMachineAccepted) Error() string
func (*DeleteMachineAccepted) GetPayload ¶
func (o *DeleteMachineAccepted) GetPayload() *models.RequestTracker
type DeleteMachineForbidden ¶
type DeleteMachineForbidden struct { }
DeleteMachineForbidden handles this case with default header values.
Forbidden
func NewDeleteMachineForbidden ¶
func NewDeleteMachineForbidden() *DeleteMachineForbidden
NewDeleteMachineForbidden creates a DeleteMachineForbidden with default headers values
func (*DeleteMachineForbidden) Error ¶
func (o *DeleteMachineForbidden) Error() string
type DeleteMachineParams ¶
type DeleteMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The ID of the machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMachineParams contains all the parameters to send to the API endpoint for the delete machine operation typically these are written to a http.Request
func NewDeleteMachineParams ¶
func NewDeleteMachineParams() *DeleteMachineParams
NewDeleteMachineParams creates a new DeleteMachineParams object with the default values initialized.
func NewDeleteMachineParamsWithContext ¶
func NewDeleteMachineParamsWithContext(ctx context.Context) *DeleteMachineParams
NewDeleteMachineParamsWithContext creates a new DeleteMachineParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMachineParamsWithHTTPClient ¶
func NewDeleteMachineParamsWithHTTPClient(client *http.Client) *DeleteMachineParams
NewDeleteMachineParamsWithHTTPClient creates a new DeleteMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMachineParamsWithTimeout ¶
func NewDeleteMachineParamsWithTimeout(timeout time.Duration) *DeleteMachineParams
NewDeleteMachineParamsWithTimeout creates a new DeleteMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMachineParams) SetAPIVersion ¶
func (o *DeleteMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete machine params
func (*DeleteMachineParams) SetContext ¶
func (o *DeleteMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the delete machine params
func (*DeleteMachineParams) SetHTTPClient ¶
func (o *DeleteMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete machine params
func (*DeleteMachineParams) SetID ¶
func (o *DeleteMachineParams) SetID(id string)
SetID adds the id to the delete machine params
func (*DeleteMachineParams) SetTimeout ¶
func (o *DeleteMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete machine params
func (*DeleteMachineParams) WithAPIVersion ¶
func (o *DeleteMachineParams) WithAPIVersion(aPIVersion *string) *DeleteMachineParams
WithAPIVersion adds the aPIVersion to the delete machine params
func (*DeleteMachineParams) WithContext ¶
func (o *DeleteMachineParams) WithContext(ctx context.Context) *DeleteMachineParams
WithContext adds the context to the delete machine params
func (*DeleteMachineParams) WithHTTPClient ¶
func (o *DeleteMachineParams) WithHTTPClient(client *http.Client) *DeleteMachineParams
WithHTTPClient adds the HTTPClient to the delete machine params
func (*DeleteMachineParams) WithID ¶
func (o *DeleteMachineParams) WithID(id string) *DeleteMachineParams
WithID adds the id to the delete machine params
func (*DeleteMachineParams) WithTimeout ¶
func (o *DeleteMachineParams) WithTimeout(timeout time.Duration) *DeleteMachineParams
WithTimeout adds the timeout to the delete machine params
func (*DeleteMachineParams) WriteToRequest ¶
func (o *DeleteMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMachineReader ¶
type DeleteMachineReader struct {
// contains filtered or unexported fields
}
DeleteMachineReader is a Reader for the DeleteMachine structure.
func (*DeleteMachineReader) ReadResponse ¶
func (o *DeleteMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMachineSnapshotAccepted ¶
type DeleteMachineSnapshotAccepted struct {
Payload *models.RequestTracker
}
DeleteMachineSnapshotAccepted handles this case with default header values.
successful operation
func NewDeleteMachineSnapshotAccepted ¶
func NewDeleteMachineSnapshotAccepted() *DeleteMachineSnapshotAccepted
NewDeleteMachineSnapshotAccepted creates a DeleteMachineSnapshotAccepted with default headers values
func (*DeleteMachineSnapshotAccepted) Error ¶
func (o *DeleteMachineSnapshotAccepted) Error() string
func (*DeleteMachineSnapshotAccepted) GetPayload ¶
func (o *DeleteMachineSnapshotAccepted) GetPayload() *models.RequestTracker
type DeleteMachineSnapshotForbidden ¶
type DeleteMachineSnapshotForbidden struct { }
DeleteMachineSnapshotForbidden handles this case with default header values.
Forbidden
func NewDeleteMachineSnapshotForbidden ¶
func NewDeleteMachineSnapshotForbidden() *DeleteMachineSnapshotForbidden
NewDeleteMachineSnapshotForbidden creates a DeleteMachineSnapshotForbidden with default headers values
func (*DeleteMachineSnapshotForbidden) Error ¶
func (o *DeleteMachineSnapshotForbidden) Error() string
type DeleteMachineSnapshotParams ¶
type DeleteMachineSnapshotParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the Machine. */ ID string /*Id1 Snapshot id to delete. */ Id1 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMachineSnapshotParams contains all the parameters to send to the API endpoint for the delete machine snapshot operation typically these are written to a http.Request
func NewDeleteMachineSnapshotParams ¶
func NewDeleteMachineSnapshotParams() *DeleteMachineSnapshotParams
NewDeleteMachineSnapshotParams creates a new DeleteMachineSnapshotParams object with the default values initialized.
func NewDeleteMachineSnapshotParamsWithContext ¶
func NewDeleteMachineSnapshotParamsWithContext(ctx context.Context) *DeleteMachineSnapshotParams
NewDeleteMachineSnapshotParamsWithContext creates a new DeleteMachineSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMachineSnapshotParamsWithHTTPClient ¶
func NewDeleteMachineSnapshotParamsWithHTTPClient(client *http.Client) *DeleteMachineSnapshotParams
NewDeleteMachineSnapshotParamsWithHTTPClient creates a new DeleteMachineSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMachineSnapshotParamsWithTimeout ¶
func NewDeleteMachineSnapshotParamsWithTimeout(timeout time.Duration) *DeleteMachineSnapshotParams
NewDeleteMachineSnapshotParamsWithTimeout creates a new DeleteMachineSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMachineSnapshotParams) SetAPIVersion ¶
func (o *DeleteMachineSnapshotParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) SetContext ¶
func (o *DeleteMachineSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) SetHTTPClient ¶
func (o *DeleteMachineSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) SetID ¶
func (o *DeleteMachineSnapshotParams) SetID(id string)
SetID adds the id to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) SetId1 ¶
func (o *DeleteMachineSnapshotParams) SetId1(id1 string)
SetId1 adds the id1 to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) SetTimeout ¶
func (o *DeleteMachineSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) WithAPIVersion ¶
func (o *DeleteMachineSnapshotParams) WithAPIVersion(aPIVersion *string) *DeleteMachineSnapshotParams
WithAPIVersion adds the aPIVersion to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) WithContext ¶
func (o *DeleteMachineSnapshotParams) WithContext(ctx context.Context) *DeleteMachineSnapshotParams
WithContext adds the context to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) WithHTTPClient ¶
func (o *DeleteMachineSnapshotParams) WithHTTPClient(client *http.Client) *DeleteMachineSnapshotParams
WithHTTPClient adds the HTTPClient to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) WithID ¶
func (o *DeleteMachineSnapshotParams) WithID(id string) *DeleteMachineSnapshotParams
WithID adds the id to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) WithId1 ¶
func (o *DeleteMachineSnapshotParams) WithId1(id1 string) *DeleteMachineSnapshotParams
WithId1 adds the id1 to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) WithTimeout ¶
func (o *DeleteMachineSnapshotParams) WithTimeout(timeout time.Duration) *DeleteMachineSnapshotParams
WithTimeout adds the timeout to the delete machine snapshot params
func (*DeleteMachineSnapshotParams) WriteToRequest ¶
func (o *DeleteMachineSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMachineSnapshotReader ¶
type DeleteMachineSnapshotReader struct {
// contains filtered or unexported fields
}
DeleteMachineSnapshotReader is a Reader for the DeleteMachineSnapshot structure.
func (*DeleteMachineSnapshotReader) ReadResponse ¶
func (o *DeleteMachineSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineForbidden ¶
type GetMachineForbidden struct { }
GetMachineForbidden handles this case with default header values.
Forbidden
func NewGetMachineForbidden ¶
func NewGetMachineForbidden() *GetMachineForbidden
NewGetMachineForbidden creates a GetMachineForbidden with default headers values
func (*GetMachineForbidden) Error ¶
func (o *GetMachineForbidden) Error() string
type GetMachineNotFound ¶
type GetMachineNotFound struct { }
GetMachineNotFound handles this case with default header values.
Not Found
func NewGetMachineNotFound ¶
func NewGetMachineNotFound() *GetMachineNotFound
NewGetMachineNotFound creates a GetMachineNotFound with default headers values
func (*GetMachineNotFound) Error ¶
func (o *GetMachineNotFound) Error() string
type GetMachineOK ¶
GetMachineOK handles this case with default header values.
successful operation
func NewGetMachineOK ¶
func NewGetMachineOK() *GetMachineOK
NewGetMachineOK creates a GetMachineOK with default headers values
func (*GetMachineOK) Error ¶
func (o *GetMachineOK) Error() string
func (*GetMachineOK) GetPayload ¶
func (o *GetMachineOK) GetPayload() *models.Machine
type GetMachineParams ¶
type GetMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The ID of the machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachineParams contains all the parameters to send to the API endpoint for the get machine operation typically these are written to a http.Request
func NewGetMachineParams ¶
func NewGetMachineParams() *GetMachineParams
NewGetMachineParams creates a new GetMachineParams object with the default values initialized.
func NewGetMachineParamsWithContext ¶
func NewGetMachineParamsWithContext(ctx context.Context) *GetMachineParams
NewGetMachineParamsWithContext creates a new GetMachineParams object with the default values initialized, and the ability to set a context for a request
func NewGetMachineParamsWithHTTPClient ¶
func NewGetMachineParamsWithHTTPClient(client *http.Client) *GetMachineParams
NewGetMachineParamsWithHTTPClient creates a new GetMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMachineParamsWithTimeout ¶
func NewGetMachineParamsWithTimeout(timeout time.Duration) *GetMachineParams
NewGetMachineParamsWithTimeout creates a new GetMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMachineParams) SetAPIVersion ¶
func (o *GetMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get machine params
func (*GetMachineParams) SetContext ¶
func (o *GetMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine params
func (*GetMachineParams) SetHTTPClient ¶
func (o *GetMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine params
func (*GetMachineParams) SetID ¶
func (o *GetMachineParams) SetID(id string)
SetID adds the id to the get machine params
func (*GetMachineParams) SetTimeout ¶
func (o *GetMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine params
func (*GetMachineParams) WithAPIVersion ¶
func (o *GetMachineParams) WithAPIVersion(aPIVersion *string) *GetMachineParams
WithAPIVersion adds the aPIVersion to the get machine params
func (*GetMachineParams) WithContext ¶
func (o *GetMachineParams) WithContext(ctx context.Context) *GetMachineParams
WithContext adds the context to the get machine params
func (*GetMachineParams) WithHTTPClient ¶
func (o *GetMachineParams) WithHTTPClient(client *http.Client) *GetMachineParams
WithHTTPClient adds the HTTPClient to the get machine params
func (*GetMachineParams) WithID ¶
func (o *GetMachineParams) WithID(id string) *GetMachineParams
WithID adds the id to the get machine params
func (*GetMachineParams) WithTimeout ¶
func (o *GetMachineParams) WithTimeout(timeout time.Duration) *GetMachineParams
WithTimeout adds the timeout to the get machine params
func (*GetMachineParams) WriteToRequest ¶
func (o *GetMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineReader ¶
type GetMachineReader struct {
// contains filtered or unexported fields
}
GetMachineReader is a Reader for the GetMachine structure.
func (*GetMachineReader) ReadResponse ¶
func (o *GetMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineSnapshotsForbidden ¶
type GetMachineSnapshotsForbidden struct { }
GetMachineSnapshotsForbidden handles this case with default header values.
Forbidden
func NewGetMachineSnapshotsForbidden ¶
func NewGetMachineSnapshotsForbidden() *GetMachineSnapshotsForbidden
NewGetMachineSnapshotsForbidden creates a GetMachineSnapshotsForbidden with default headers values
func (*GetMachineSnapshotsForbidden) Error ¶
func (o *GetMachineSnapshotsForbidden) Error() string
type GetMachineSnapshotsNotFound ¶
type GetMachineSnapshotsNotFound struct { }
GetMachineSnapshotsNotFound handles this case with default header values.
Not Found
func NewGetMachineSnapshotsNotFound ¶
func NewGetMachineSnapshotsNotFound() *GetMachineSnapshotsNotFound
NewGetMachineSnapshotsNotFound creates a GetMachineSnapshotsNotFound with default headers values
func (*GetMachineSnapshotsNotFound) Error ¶
func (o *GetMachineSnapshotsNotFound) Error() string
type GetMachineSnapshotsOK ¶
GetMachineSnapshotsOK handles this case with default header values.
successful operation
func NewGetMachineSnapshotsOK ¶
func NewGetMachineSnapshotsOK() *GetMachineSnapshotsOK
NewGetMachineSnapshotsOK creates a GetMachineSnapshotsOK with default headers values
func (*GetMachineSnapshotsOK) Error ¶
func (o *GetMachineSnapshotsOK) Error() string
func (*GetMachineSnapshotsOK) GetPayload ¶
func (o *GetMachineSnapshotsOK) GetPayload() []*models.Snapshot
type GetMachineSnapshotsParams ¶
type GetMachineSnapshotsParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The ID of the machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachineSnapshotsParams contains all the parameters to send to the API endpoint for the get machine snapshots operation typically these are written to a http.Request
func NewGetMachineSnapshotsParams ¶
func NewGetMachineSnapshotsParams() *GetMachineSnapshotsParams
NewGetMachineSnapshotsParams creates a new GetMachineSnapshotsParams object with the default values initialized.
func NewGetMachineSnapshotsParamsWithContext ¶
func NewGetMachineSnapshotsParamsWithContext(ctx context.Context) *GetMachineSnapshotsParams
NewGetMachineSnapshotsParamsWithContext creates a new GetMachineSnapshotsParams object with the default values initialized, and the ability to set a context for a request
func NewGetMachineSnapshotsParamsWithHTTPClient ¶
func NewGetMachineSnapshotsParamsWithHTTPClient(client *http.Client) *GetMachineSnapshotsParams
NewGetMachineSnapshotsParamsWithHTTPClient creates a new GetMachineSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMachineSnapshotsParamsWithTimeout ¶
func NewGetMachineSnapshotsParamsWithTimeout(timeout time.Duration) *GetMachineSnapshotsParams
NewGetMachineSnapshotsParamsWithTimeout creates a new GetMachineSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMachineSnapshotsParams) SetAPIVersion ¶
func (o *GetMachineSnapshotsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get machine snapshots params
func (*GetMachineSnapshotsParams) SetContext ¶
func (o *GetMachineSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine snapshots params
func (*GetMachineSnapshotsParams) SetHTTPClient ¶
func (o *GetMachineSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine snapshots params
func (*GetMachineSnapshotsParams) SetID ¶
func (o *GetMachineSnapshotsParams) SetID(id string)
SetID adds the id to the get machine snapshots params
func (*GetMachineSnapshotsParams) SetTimeout ¶
func (o *GetMachineSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine snapshots params
func (*GetMachineSnapshotsParams) WithAPIVersion ¶
func (o *GetMachineSnapshotsParams) WithAPIVersion(aPIVersion *string) *GetMachineSnapshotsParams
WithAPIVersion adds the aPIVersion to the get machine snapshots params
func (*GetMachineSnapshotsParams) WithContext ¶
func (o *GetMachineSnapshotsParams) WithContext(ctx context.Context) *GetMachineSnapshotsParams
WithContext adds the context to the get machine snapshots params
func (*GetMachineSnapshotsParams) WithHTTPClient ¶
func (o *GetMachineSnapshotsParams) WithHTTPClient(client *http.Client) *GetMachineSnapshotsParams
WithHTTPClient adds the HTTPClient to the get machine snapshots params
func (*GetMachineSnapshotsParams) WithID ¶
func (o *GetMachineSnapshotsParams) WithID(id string) *GetMachineSnapshotsParams
WithID adds the id to the get machine snapshots params
func (*GetMachineSnapshotsParams) WithTimeout ¶
func (o *GetMachineSnapshotsParams) WithTimeout(timeout time.Duration) *GetMachineSnapshotsParams
WithTimeout adds the timeout to the get machine snapshots params
func (*GetMachineSnapshotsParams) WriteToRequest ¶
func (o *GetMachineSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineSnapshotsReader ¶
type GetMachineSnapshotsReader struct {
// contains filtered or unexported fields
}
GetMachineSnapshotsReader is a Reader for the GetMachineSnapshots structure.
func (*GetMachineSnapshotsReader) ReadResponse ¶
func (o *GetMachineSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachinesForbidden ¶
type GetMachinesForbidden struct { }
GetMachinesForbidden handles this case with default header values.
Forbidden
func NewGetMachinesForbidden ¶
func NewGetMachinesForbidden() *GetMachinesForbidden
NewGetMachinesForbidden creates a GetMachinesForbidden with default headers values
func (*GetMachinesForbidden) Error ¶
func (o *GetMachinesForbidden) Error() string
type GetMachinesOK ¶
type GetMachinesOK struct {
Payload *models.MachineResult
}
GetMachinesOK handles this case with default header values.
successful operation
func NewGetMachinesOK ¶
func NewGetMachinesOK() *GetMachinesOK
NewGetMachinesOK creates a GetMachinesOK with default headers values
func (*GetMachinesOK) Error ¶
func (o *GetMachinesOK) Error() string
func (*GetMachinesOK) GetPayload ¶
func (o *GetMachinesOK) GetPayload() *models.MachineResult
type GetMachinesParams ¶
type GetMachinesParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachinesParams contains all the parameters to send to the API endpoint for the get machines operation typically these are written to a http.Request
func NewGetMachinesParams ¶
func NewGetMachinesParams() *GetMachinesParams
NewGetMachinesParams creates a new GetMachinesParams object with the default values initialized.
func NewGetMachinesParamsWithContext ¶
func NewGetMachinesParamsWithContext(ctx context.Context) *GetMachinesParams
NewGetMachinesParamsWithContext creates a new GetMachinesParams object with the default values initialized, and the ability to set a context for a request
func NewGetMachinesParamsWithHTTPClient ¶
func NewGetMachinesParamsWithHTTPClient(client *http.Client) *GetMachinesParams
NewGetMachinesParamsWithHTTPClient creates a new GetMachinesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMachinesParamsWithTimeout ¶
func NewGetMachinesParamsWithTimeout(timeout time.Duration) *GetMachinesParams
NewGetMachinesParamsWithTimeout creates a new GetMachinesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMachinesParams) SetAPIVersion ¶
func (o *GetMachinesParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get machines params
func (*GetMachinesParams) SetContext ¶
func (o *GetMachinesParams) SetContext(ctx context.Context)
SetContext adds the context to the get machines params
func (*GetMachinesParams) SetHTTPClient ¶
func (o *GetMachinesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machines params
func (*GetMachinesParams) SetTimeout ¶
func (o *GetMachinesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machines params
func (*GetMachinesParams) WithAPIVersion ¶
func (o *GetMachinesParams) WithAPIVersion(aPIVersion *string) *GetMachinesParams
WithAPIVersion adds the aPIVersion to the get machines params
func (*GetMachinesParams) WithContext ¶
func (o *GetMachinesParams) WithContext(ctx context.Context) *GetMachinesParams
WithContext adds the context to the get machines params
func (*GetMachinesParams) WithHTTPClient ¶
func (o *GetMachinesParams) WithHTTPClient(client *http.Client) *GetMachinesParams
WithHTTPClient adds the HTTPClient to the get machines params
func (*GetMachinesParams) WithTimeout ¶
func (o *GetMachinesParams) WithTimeout(timeout time.Duration) *GetMachinesParams
WithTimeout adds the timeout to the get machines params
func (*GetMachinesParams) WriteToRequest ¶
func (o *GetMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachinesReader ¶
type GetMachinesReader struct {
// contains filtered or unexported fields
}
GetMachinesReader is a Reader for the GetMachines structure.
func (*GetMachinesReader) ReadResponse ¶
func (o *GetMachinesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PowerOffMachineAccepted ¶
type PowerOffMachineAccepted struct {
Payload *models.RequestTracker
}
PowerOffMachineAccepted handles this case with default header values.
successful operation
func NewPowerOffMachineAccepted ¶
func NewPowerOffMachineAccepted() *PowerOffMachineAccepted
NewPowerOffMachineAccepted creates a PowerOffMachineAccepted with default headers values
func (*PowerOffMachineAccepted) Error ¶
func (o *PowerOffMachineAccepted) Error() string
func (*PowerOffMachineAccepted) GetPayload ¶
func (o *PowerOffMachineAccepted) GetPayload() *models.RequestTracker
type PowerOffMachineForbidden ¶
type PowerOffMachineForbidden struct { }
PowerOffMachineForbidden handles this case with default header values.
Forbidden
func NewPowerOffMachineForbidden ¶
func NewPowerOffMachineForbidden() *PowerOffMachineForbidden
NewPowerOffMachineForbidden creates a PowerOffMachineForbidden with default headers values
func (*PowerOffMachineForbidden) Error ¶
func (o *PowerOffMachineForbidden) Error() string
type PowerOffMachineNotFound ¶
type PowerOffMachineNotFound struct { }
PowerOffMachineNotFound handles this case with default header values.
Not Found
func NewPowerOffMachineNotFound ¶
func NewPowerOffMachineNotFound() *PowerOffMachineNotFound
NewPowerOffMachineNotFound creates a PowerOffMachineNotFound with default headers values
func (*PowerOffMachineNotFound) Error ¶
func (o *PowerOffMachineNotFound) Error() string
type PowerOffMachineParams ¶
type PowerOffMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the Machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PowerOffMachineParams contains all the parameters to send to the API endpoint for the power off machine operation typically these are written to a http.Request
func NewPowerOffMachineParams ¶
func NewPowerOffMachineParams() *PowerOffMachineParams
NewPowerOffMachineParams creates a new PowerOffMachineParams object with the default values initialized.
func NewPowerOffMachineParamsWithContext ¶
func NewPowerOffMachineParamsWithContext(ctx context.Context) *PowerOffMachineParams
NewPowerOffMachineParamsWithContext creates a new PowerOffMachineParams object with the default values initialized, and the ability to set a context for a request
func NewPowerOffMachineParamsWithHTTPClient ¶
func NewPowerOffMachineParamsWithHTTPClient(client *http.Client) *PowerOffMachineParams
NewPowerOffMachineParamsWithHTTPClient creates a new PowerOffMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPowerOffMachineParamsWithTimeout ¶
func NewPowerOffMachineParamsWithTimeout(timeout time.Duration) *PowerOffMachineParams
NewPowerOffMachineParamsWithTimeout creates a new PowerOffMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*PowerOffMachineParams) SetAPIVersion ¶
func (o *PowerOffMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the power off machine params
func (*PowerOffMachineParams) SetContext ¶
func (o *PowerOffMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the power off machine params
func (*PowerOffMachineParams) SetHTTPClient ¶
func (o *PowerOffMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the power off machine params
func (*PowerOffMachineParams) SetID ¶
func (o *PowerOffMachineParams) SetID(id string)
SetID adds the id to the power off machine params
func (*PowerOffMachineParams) SetTimeout ¶
func (o *PowerOffMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the power off machine params
func (*PowerOffMachineParams) WithAPIVersion ¶
func (o *PowerOffMachineParams) WithAPIVersion(aPIVersion *string) *PowerOffMachineParams
WithAPIVersion adds the aPIVersion to the power off machine params
func (*PowerOffMachineParams) WithContext ¶
func (o *PowerOffMachineParams) WithContext(ctx context.Context) *PowerOffMachineParams
WithContext adds the context to the power off machine params
func (*PowerOffMachineParams) WithHTTPClient ¶
func (o *PowerOffMachineParams) WithHTTPClient(client *http.Client) *PowerOffMachineParams
WithHTTPClient adds the HTTPClient to the power off machine params
func (*PowerOffMachineParams) WithID ¶
func (o *PowerOffMachineParams) WithID(id string) *PowerOffMachineParams
WithID adds the id to the power off machine params
func (*PowerOffMachineParams) WithTimeout ¶
func (o *PowerOffMachineParams) WithTimeout(timeout time.Duration) *PowerOffMachineParams
WithTimeout adds the timeout to the power off machine params
func (*PowerOffMachineParams) WriteToRequest ¶
func (o *PowerOffMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PowerOffMachineReader ¶
type PowerOffMachineReader struct {
// contains filtered or unexported fields
}
PowerOffMachineReader is a Reader for the PowerOffMachine structure.
func (*PowerOffMachineReader) ReadResponse ¶
func (o *PowerOffMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PowerOnMachineAccepted ¶
type PowerOnMachineAccepted struct {
Payload *models.RequestTracker
}
PowerOnMachineAccepted handles this case with default header values.
successful operation
func NewPowerOnMachineAccepted ¶
func NewPowerOnMachineAccepted() *PowerOnMachineAccepted
NewPowerOnMachineAccepted creates a PowerOnMachineAccepted with default headers values
func (*PowerOnMachineAccepted) Error ¶
func (o *PowerOnMachineAccepted) Error() string
func (*PowerOnMachineAccepted) GetPayload ¶
func (o *PowerOnMachineAccepted) GetPayload() *models.RequestTracker
type PowerOnMachineForbidden ¶
type PowerOnMachineForbidden struct { }
PowerOnMachineForbidden handles this case with default header values.
Forbidden
func NewPowerOnMachineForbidden ¶
func NewPowerOnMachineForbidden() *PowerOnMachineForbidden
NewPowerOnMachineForbidden creates a PowerOnMachineForbidden with default headers values
func (*PowerOnMachineForbidden) Error ¶
func (o *PowerOnMachineForbidden) Error() string
type PowerOnMachineNotFound ¶
type PowerOnMachineNotFound struct { }
PowerOnMachineNotFound handles this case with default header values.
Not Found
func NewPowerOnMachineNotFound ¶
func NewPowerOnMachineNotFound() *PowerOnMachineNotFound
NewPowerOnMachineNotFound creates a PowerOnMachineNotFound with default headers values
func (*PowerOnMachineNotFound) Error ¶
func (o *PowerOnMachineNotFound) Error() string
type PowerOnMachineParams ¶
type PowerOnMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the Machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PowerOnMachineParams contains all the parameters to send to the API endpoint for the power on machine operation typically these are written to a http.Request
func NewPowerOnMachineParams ¶
func NewPowerOnMachineParams() *PowerOnMachineParams
NewPowerOnMachineParams creates a new PowerOnMachineParams object with the default values initialized.
func NewPowerOnMachineParamsWithContext ¶
func NewPowerOnMachineParamsWithContext(ctx context.Context) *PowerOnMachineParams
NewPowerOnMachineParamsWithContext creates a new PowerOnMachineParams object with the default values initialized, and the ability to set a context for a request
func NewPowerOnMachineParamsWithHTTPClient ¶
func NewPowerOnMachineParamsWithHTTPClient(client *http.Client) *PowerOnMachineParams
NewPowerOnMachineParamsWithHTTPClient creates a new PowerOnMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPowerOnMachineParamsWithTimeout ¶
func NewPowerOnMachineParamsWithTimeout(timeout time.Duration) *PowerOnMachineParams
NewPowerOnMachineParamsWithTimeout creates a new PowerOnMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*PowerOnMachineParams) SetAPIVersion ¶
func (o *PowerOnMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the power on machine params
func (*PowerOnMachineParams) SetContext ¶
func (o *PowerOnMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the power on machine params
func (*PowerOnMachineParams) SetHTTPClient ¶
func (o *PowerOnMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the power on machine params
func (*PowerOnMachineParams) SetID ¶
func (o *PowerOnMachineParams) SetID(id string)
SetID adds the id to the power on machine params
func (*PowerOnMachineParams) SetTimeout ¶
func (o *PowerOnMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the power on machine params
func (*PowerOnMachineParams) WithAPIVersion ¶
func (o *PowerOnMachineParams) WithAPIVersion(aPIVersion *string) *PowerOnMachineParams
WithAPIVersion adds the aPIVersion to the power on machine params
func (*PowerOnMachineParams) WithContext ¶
func (o *PowerOnMachineParams) WithContext(ctx context.Context) *PowerOnMachineParams
WithContext adds the context to the power on machine params
func (*PowerOnMachineParams) WithHTTPClient ¶
func (o *PowerOnMachineParams) WithHTTPClient(client *http.Client) *PowerOnMachineParams
WithHTTPClient adds the HTTPClient to the power on machine params
func (*PowerOnMachineParams) WithID ¶
func (o *PowerOnMachineParams) WithID(id string) *PowerOnMachineParams
WithID adds the id to the power on machine params
func (*PowerOnMachineParams) WithTimeout ¶
func (o *PowerOnMachineParams) WithTimeout(timeout time.Duration) *PowerOnMachineParams
WithTimeout adds the timeout to the power on machine params
func (*PowerOnMachineParams) WriteToRequest ¶
func (o *PowerOnMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PowerOnMachineReader ¶
type PowerOnMachineReader struct {
// contains filtered or unexported fields
}
PowerOnMachineReader is a Reader for the PowerOnMachine structure.
func (*PowerOnMachineReader) ReadResponse ¶
func (o *PowerOnMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RebootMachineAccepted ¶
type RebootMachineAccepted struct {
Payload *models.RequestTracker
}
RebootMachineAccepted handles this case with default header values.
successful operation
func NewRebootMachineAccepted ¶
func NewRebootMachineAccepted() *RebootMachineAccepted
NewRebootMachineAccepted creates a RebootMachineAccepted with default headers values
func (*RebootMachineAccepted) Error ¶
func (o *RebootMachineAccepted) Error() string
func (*RebootMachineAccepted) GetPayload ¶
func (o *RebootMachineAccepted) GetPayload() *models.RequestTracker
type RebootMachineForbidden ¶
type RebootMachineForbidden struct { }
RebootMachineForbidden handles this case with default header values.
Forbidden
func NewRebootMachineForbidden ¶
func NewRebootMachineForbidden() *RebootMachineForbidden
NewRebootMachineForbidden creates a RebootMachineForbidden with default headers values
func (*RebootMachineForbidden) Error ¶
func (o *RebootMachineForbidden) Error() string
type RebootMachineNotFound ¶
type RebootMachineNotFound struct { }
RebootMachineNotFound handles this case with default header values.
Not Found
func NewRebootMachineNotFound ¶
func NewRebootMachineNotFound() *RebootMachineNotFound
NewRebootMachineNotFound creates a RebootMachineNotFound with default headers values
func (*RebootMachineNotFound) Error ¶
func (o *RebootMachineNotFound) Error() string
type RebootMachineParams ¶
type RebootMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the Machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RebootMachineParams contains all the parameters to send to the API endpoint for the reboot machine operation typically these are written to a http.Request
func NewRebootMachineParams ¶
func NewRebootMachineParams() *RebootMachineParams
NewRebootMachineParams creates a new RebootMachineParams object with the default values initialized.
func NewRebootMachineParamsWithContext ¶
func NewRebootMachineParamsWithContext(ctx context.Context) *RebootMachineParams
NewRebootMachineParamsWithContext creates a new RebootMachineParams object with the default values initialized, and the ability to set a context for a request
func NewRebootMachineParamsWithHTTPClient ¶
func NewRebootMachineParamsWithHTTPClient(client *http.Client) *RebootMachineParams
NewRebootMachineParamsWithHTTPClient creates a new RebootMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRebootMachineParamsWithTimeout ¶
func NewRebootMachineParamsWithTimeout(timeout time.Duration) *RebootMachineParams
NewRebootMachineParamsWithTimeout creates a new RebootMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*RebootMachineParams) SetAPIVersion ¶
func (o *RebootMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the reboot machine params
func (*RebootMachineParams) SetContext ¶
func (o *RebootMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the reboot machine params
func (*RebootMachineParams) SetHTTPClient ¶
func (o *RebootMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reboot machine params
func (*RebootMachineParams) SetID ¶
func (o *RebootMachineParams) SetID(id string)
SetID adds the id to the reboot machine params
func (*RebootMachineParams) SetTimeout ¶
func (o *RebootMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reboot machine params
func (*RebootMachineParams) WithAPIVersion ¶
func (o *RebootMachineParams) WithAPIVersion(aPIVersion *string) *RebootMachineParams
WithAPIVersion adds the aPIVersion to the reboot machine params
func (*RebootMachineParams) WithContext ¶
func (o *RebootMachineParams) WithContext(ctx context.Context) *RebootMachineParams
WithContext adds the context to the reboot machine params
func (*RebootMachineParams) WithHTTPClient ¶
func (o *RebootMachineParams) WithHTTPClient(client *http.Client) *RebootMachineParams
WithHTTPClient adds the HTTPClient to the reboot machine params
func (*RebootMachineParams) WithID ¶
func (o *RebootMachineParams) WithID(id string) *RebootMachineParams
WithID adds the id to the reboot machine params
func (*RebootMachineParams) WithTimeout ¶
func (o *RebootMachineParams) WithTimeout(timeout time.Duration) *RebootMachineParams
WithTimeout adds the timeout to the reboot machine params
func (*RebootMachineParams) WriteToRequest ¶
func (o *RebootMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RebootMachineReader ¶
type RebootMachineReader struct {
// contains filtered or unexported fields
}
RebootMachineReader is a Reader for the RebootMachine structure.
func (*RebootMachineReader) ReadResponse ¶
func (o *RebootMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetMachineAccepted ¶
type ResetMachineAccepted struct {
Payload *models.RequestTracker
}
ResetMachineAccepted handles this case with default header values.
successful operation
func NewResetMachineAccepted ¶
func NewResetMachineAccepted() *ResetMachineAccepted
NewResetMachineAccepted creates a ResetMachineAccepted with default headers values
func (*ResetMachineAccepted) Error ¶
func (o *ResetMachineAccepted) Error() string
func (*ResetMachineAccepted) GetPayload ¶
func (o *ResetMachineAccepted) GetPayload() *models.RequestTracker
type ResetMachineForbidden ¶
type ResetMachineForbidden struct { }
ResetMachineForbidden handles this case with default header values.
Forbidden
func NewResetMachineForbidden ¶
func NewResetMachineForbidden() *ResetMachineForbidden
NewResetMachineForbidden creates a ResetMachineForbidden with default headers values
func (*ResetMachineForbidden) Error ¶
func (o *ResetMachineForbidden) Error() string
type ResetMachineNotFound ¶
type ResetMachineNotFound struct { }
ResetMachineNotFound handles this case with default header values.
Not Found
func NewResetMachineNotFound ¶
func NewResetMachineNotFound() *ResetMachineNotFound
NewResetMachineNotFound creates a ResetMachineNotFound with default headers values
func (*ResetMachineNotFound) Error ¶
func (o *ResetMachineNotFound) Error() string
type ResetMachineParams ¶
type ResetMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the Machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetMachineParams contains all the parameters to send to the API endpoint for the reset machine operation typically these are written to a http.Request
func NewResetMachineParams ¶
func NewResetMachineParams() *ResetMachineParams
NewResetMachineParams creates a new ResetMachineParams object with the default values initialized.
func NewResetMachineParamsWithContext ¶
func NewResetMachineParamsWithContext(ctx context.Context) *ResetMachineParams
NewResetMachineParamsWithContext creates a new ResetMachineParams object with the default values initialized, and the ability to set a context for a request
func NewResetMachineParamsWithHTTPClient ¶
func NewResetMachineParamsWithHTTPClient(client *http.Client) *ResetMachineParams
NewResetMachineParamsWithHTTPClient creates a new ResetMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResetMachineParamsWithTimeout ¶
func NewResetMachineParamsWithTimeout(timeout time.Duration) *ResetMachineParams
NewResetMachineParamsWithTimeout creates a new ResetMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResetMachineParams) SetAPIVersion ¶
func (o *ResetMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the reset machine params
func (*ResetMachineParams) SetContext ¶
func (o *ResetMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the reset machine params
func (*ResetMachineParams) SetHTTPClient ¶
func (o *ResetMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset machine params
func (*ResetMachineParams) SetID ¶
func (o *ResetMachineParams) SetID(id string)
SetID adds the id to the reset machine params
func (*ResetMachineParams) SetTimeout ¶
func (o *ResetMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset machine params
func (*ResetMachineParams) WithAPIVersion ¶
func (o *ResetMachineParams) WithAPIVersion(aPIVersion *string) *ResetMachineParams
WithAPIVersion adds the aPIVersion to the reset machine params
func (*ResetMachineParams) WithContext ¶
func (o *ResetMachineParams) WithContext(ctx context.Context) *ResetMachineParams
WithContext adds the context to the reset machine params
func (*ResetMachineParams) WithHTTPClient ¶
func (o *ResetMachineParams) WithHTTPClient(client *http.Client) *ResetMachineParams
WithHTTPClient adds the HTTPClient to the reset machine params
func (*ResetMachineParams) WithID ¶
func (o *ResetMachineParams) WithID(id string) *ResetMachineParams
WithID adds the id to the reset machine params
func (*ResetMachineParams) WithTimeout ¶
func (o *ResetMachineParams) WithTimeout(timeout time.Duration) *ResetMachineParams
WithTimeout adds the timeout to the reset machine params
func (*ResetMachineParams) WriteToRequest ¶
func (o *ResetMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetMachineReader ¶
type ResetMachineReader struct {
// contains filtered or unexported fields
}
ResetMachineReader is a Reader for the ResetMachine structure.
func (*ResetMachineReader) ReadResponse ¶
func (o *ResetMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResizeMachineAccepted ¶
type ResizeMachineAccepted struct {
Payload *models.RequestTracker
}
ResizeMachineAccepted handles this case with default header values.
successful operation
func NewResizeMachineAccepted ¶
func NewResizeMachineAccepted() *ResizeMachineAccepted
NewResizeMachineAccepted creates a ResizeMachineAccepted with default headers values
func (*ResizeMachineAccepted) Error ¶
func (o *ResizeMachineAccepted) Error() string
func (*ResizeMachineAccepted) GetPayload ¶
func (o *ResizeMachineAccepted) GetPayload() *models.RequestTracker
type ResizeMachineForbidden ¶
type ResizeMachineForbidden struct { }
ResizeMachineForbidden handles this case with default header values.
Forbidden
func NewResizeMachineForbidden ¶
func NewResizeMachineForbidden() *ResizeMachineForbidden
NewResizeMachineForbidden creates a ResizeMachineForbidden with default headers values
func (*ResizeMachineForbidden) Error ¶
func (o *ResizeMachineForbidden) Error() string
type ResizeMachineNotFound ¶
type ResizeMachineNotFound struct { }
ResizeMachineNotFound handles this case with default header values.
Not Found
func NewResizeMachineNotFound ¶
func NewResizeMachineNotFound() *ResizeMachineNotFound
NewResizeMachineNotFound creates a ResizeMachineNotFound with default headers values
func (*ResizeMachineNotFound) Error ¶
func (o *ResizeMachineNotFound) Error() string
type ResizeMachineParams ¶
type ResizeMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*CPUCount The desired number of CPUs to resize the Machine */ CPUCount *string /*ID The id of the Machine. */ ID string /*MemoryInMB The desired memory in MBs to resize the Machine */ MemoryInMB *string /*Name The desired flavor to resize the Machine. */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResizeMachineParams contains all the parameters to send to the API endpoint for the resize machine operation typically these are written to a http.Request
func NewResizeMachineParams ¶
func NewResizeMachineParams() *ResizeMachineParams
NewResizeMachineParams creates a new ResizeMachineParams object with the default values initialized.
func NewResizeMachineParamsWithContext ¶
func NewResizeMachineParamsWithContext(ctx context.Context) *ResizeMachineParams
NewResizeMachineParamsWithContext creates a new ResizeMachineParams object with the default values initialized, and the ability to set a context for a request
func NewResizeMachineParamsWithHTTPClient ¶
func NewResizeMachineParamsWithHTTPClient(client *http.Client) *ResizeMachineParams
NewResizeMachineParamsWithHTTPClient creates a new ResizeMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResizeMachineParamsWithTimeout ¶
func NewResizeMachineParamsWithTimeout(timeout time.Duration) *ResizeMachineParams
NewResizeMachineParamsWithTimeout creates a new ResizeMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResizeMachineParams) SetAPIVersion ¶
func (o *ResizeMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the resize machine params
func (*ResizeMachineParams) SetCPUCount ¶
func (o *ResizeMachineParams) SetCPUCount(cPUCount *string)
SetCPUCount adds the cpuCount to the resize machine params
func (*ResizeMachineParams) SetContext ¶
func (o *ResizeMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the resize machine params
func (*ResizeMachineParams) SetHTTPClient ¶
func (o *ResizeMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resize machine params
func (*ResizeMachineParams) SetID ¶
func (o *ResizeMachineParams) SetID(id string)
SetID adds the id to the resize machine params
func (*ResizeMachineParams) SetMemoryInMB ¶
func (o *ResizeMachineParams) SetMemoryInMB(memoryInMB *string)
SetMemoryInMB adds the memoryInMB to the resize machine params
func (*ResizeMachineParams) SetName ¶
func (o *ResizeMachineParams) SetName(name *string)
SetName adds the name to the resize machine params
func (*ResizeMachineParams) SetTimeout ¶
func (o *ResizeMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resize machine params
func (*ResizeMachineParams) WithAPIVersion ¶
func (o *ResizeMachineParams) WithAPIVersion(aPIVersion *string) *ResizeMachineParams
WithAPIVersion adds the aPIVersion to the resize machine params
func (*ResizeMachineParams) WithCPUCount ¶
func (o *ResizeMachineParams) WithCPUCount(cPUCount *string) *ResizeMachineParams
WithCPUCount adds the cPUCount to the resize machine params
func (*ResizeMachineParams) WithContext ¶
func (o *ResizeMachineParams) WithContext(ctx context.Context) *ResizeMachineParams
WithContext adds the context to the resize machine params
func (*ResizeMachineParams) WithHTTPClient ¶
func (o *ResizeMachineParams) WithHTTPClient(client *http.Client) *ResizeMachineParams
WithHTTPClient adds the HTTPClient to the resize machine params
func (*ResizeMachineParams) WithID ¶
func (o *ResizeMachineParams) WithID(id string) *ResizeMachineParams
WithID adds the id to the resize machine params
func (*ResizeMachineParams) WithMemoryInMB ¶
func (o *ResizeMachineParams) WithMemoryInMB(memoryInMB *string) *ResizeMachineParams
WithMemoryInMB adds the memoryInMB to the resize machine params
func (*ResizeMachineParams) WithName ¶
func (o *ResizeMachineParams) WithName(name *string) *ResizeMachineParams
WithName adds the name to the resize machine params
func (*ResizeMachineParams) WithTimeout ¶
func (o *ResizeMachineParams) WithTimeout(timeout time.Duration) *ResizeMachineParams
WithTimeout adds the timeout to the resize machine params
func (*ResizeMachineParams) WriteToRequest ¶
func (o *ResizeMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResizeMachineReader ¶
type ResizeMachineReader struct {
// contains filtered or unexported fields
}
ResizeMachineReader is a Reader for the ResizeMachine structure.
func (*ResizeMachineReader) ReadResponse ¶
func (o *ResizeMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestartMachineAccepted ¶
type RestartMachineAccepted struct {
Payload *models.RequestTracker
}
RestartMachineAccepted handles this case with default header values.
successful operation
func NewRestartMachineAccepted ¶
func NewRestartMachineAccepted() *RestartMachineAccepted
NewRestartMachineAccepted creates a RestartMachineAccepted with default headers values
func (*RestartMachineAccepted) Error ¶
func (o *RestartMachineAccepted) Error() string
func (*RestartMachineAccepted) GetPayload ¶
func (o *RestartMachineAccepted) GetPayload() *models.RequestTracker
type RestartMachineForbidden ¶
type RestartMachineForbidden struct { }
RestartMachineForbidden handles this case with default header values.
Forbidden
func NewRestartMachineForbidden ¶
func NewRestartMachineForbidden() *RestartMachineForbidden
NewRestartMachineForbidden creates a RestartMachineForbidden with default headers values
func (*RestartMachineForbidden) Error ¶
func (o *RestartMachineForbidden) Error() string
type RestartMachineNotFound ¶
type RestartMachineNotFound struct { }
RestartMachineNotFound handles this case with default header values.
Not Found
func NewRestartMachineNotFound ¶
func NewRestartMachineNotFound() *RestartMachineNotFound
NewRestartMachineNotFound creates a RestartMachineNotFound with default headers values
func (*RestartMachineNotFound) Error ¶
func (o *RestartMachineNotFound) Error() string
type RestartMachineParams ¶
type RestartMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the Machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestartMachineParams contains all the parameters to send to the API endpoint for the restart machine operation typically these are written to a http.Request
func NewRestartMachineParams ¶
func NewRestartMachineParams() *RestartMachineParams
NewRestartMachineParams creates a new RestartMachineParams object with the default values initialized.
func NewRestartMachineParamsWithContext ¶
func NewRestartMachineParamsWithContext(ctx context.Context) *RestartMachineParams
NewRestartMachineParamsWithContext creates a new RestartMachineParams object with the default values initialized, and the ability to set a context for a request
func NewRestartMachineParamsWithHTTPClient ¶
func NewRestartMachineParamsWithHTTPClient(client *http.Client) *RestartMachineParams
NewRestartMachineParamsWithHTTPClient creates a new RestartMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRestartMachineParamsWithTimeout ¶
func NewRestartMachineParamsWithTimeout(timeout time.Duration) *RestartMachineParams
NewRestartMachineParamsWithTimeout creates a new RestartMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*RestartMachineParams) SetAPIVersion ¶
func (o *RestartMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the restart machine params
func (*RestartMachineParams) SetContext ¶
func (o *RestartMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the restart machine params
func (*RestartMachineParams) SetHTTPClient ¶
func (o *RestartMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restart machine params
func (*RestartMachineParams) SetID ¶
func (o *RestartMachineParams) SetID(id string)
SetID adds the id to the restart machine params
func (*RestartMachineParams) SetTimeout ¶
func (o *RestartMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restart machine params
func (*RestartMachineParams) WithAPIVersion ¶
func (o *RestartMachineParams) WithAPIVersion(aPIVersion *string) *RestartMachineParams
WithAPIVersion adds the aPIVersion to the restart machine params
func (*RestartMachineParams) WithContext ¶
func (o *RestartMachineParams) WithContext(ctx context.Context) *RestartMachineParams
WithContext adds the context to the restart machine params
func (*RestartMachineParams) WithHTTPClient ¶
func (o *RestartMachineParams) WithHTTPClient(client *http.Client) *RestartMachineParams
WithHTTPClient adds the HTTPClient to the restart machine params
func (*RestartMachineParams) WithID ¶
func (o *RestartMachineParams) WithID(id string) *RestartMachineParams
WithID adds the id to the restart machine params
func (*RestartMachineParams) WithTimeout ¶
func (o *RestartMachineParams) WithTimeout(timeout time.Duration) *RestartMachineParams
WithTimeout adds the timeout to the restart machine params
func (*RestartMachineParams) WriteToRequest ¶
func (o *RestartMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestartMachineReader ¶
type RestartMachineReader struct {
// contains filtered or unexported fields
}
RestartMachineReader is a Reader for the RestartMachine structure.
func (*RestartMachineReader) ReadResponse ¶
func (o *RestartMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevertMachineSnapshotAccepted ¶
type RevertMachineSnapshotAccepted struct {
Payload *models.RequestTracker
}
RevertMachineSnapshotAccepted handles this case with default header values.
successful operation
func NewRevertMachineSnapshotAccepted ¶
func NewRevertMachineSnapshotAccepted() *RevertMachineSnapshotAccepted
NewRevertMachineSnapshotAccepted creates a RevertMachineSnapshotAccepted with default headers values
func (*RevertMachineSnapshotAccepted) Error ¶
func (o *RevertMachineSnapshotAccepted) Error() string
func (*RevertMachineSnapshotAccepted) GetPayload ¶
func (o *RevertMachineSnapshotAccepted) GetPayload() *models.RequestTracker
type RevertMachineSnapshotForbidden ¶
type RevertMachineSnapshotForbidden struct { }
RevertMachineSnapshotForbidden handles this case with default header values.
Forbidden
func NewRevertMachineSnapshotForbidden ¶
func NewRevertMachineSnapshotForbidden() *RevertMachineSnapshotForbidden
NewRevertMachineSnapshotForbidden creates a RevertMachineSnapshotForbidden with default headers values
func (*RevertMachineSnapshotForbidden) Error ¶
func (o *RevertMachineSnapshotForbidden) Error() string
type RevertMachineSnapshotNotFound ¶
type RevertMachineSnapshotNotFound struct { }
RevertMachineSnapshotNotFound handles this case with default header values.
Not Found
func NewRevertMachineSnapshotNotFound ¶
func NewRevertMachineSnapshotNotFound() *RevertMachineSnapshotNotFound
NewRevertMachineSnapshotNotFound creates a RevertMachineSnapshotNotFound with default headers values
func (*RevertMachineSnapshotNotFound) Error ¶
func (o *RevertMachineSnapshotNotFound) Error() string
type RevertMachineSnapshotParams ¶
type RevertMachineSnapshotParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the Machine. */ ID string /*ID Snapshot id to revert. */ QueryID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevertMachineSnapshotParams contains all the parameters to send to the API endpoint for the revert machine snapshot operation typically these are written to a http.Request
func NewRevertMachineSnapshotParams ¶
func NewRevertMachineSnapshotParams() *RevertMachineSnapshotParams
NewRevertMachineSnapshotParams creates a new RevertMachineSnapshotParams object with the default values initialized.
func NewRevertMachineSnapshotParamsWithContext ¶
func NewRevertMachineSnapshotParamsWithContext(ctx context.Context) *RevertMachineSnapshotParams
NewRevertMachineSnapshotParamsWithContext creates a new RevertMachineSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewRevertMachineSnapshotParamsWithHTTPClient ¶
func NewRevertMachineSnapshotParamsWithHTTPClient(client *http.Client) *RevertMachineSnapshotParams
NewRevertMachineSnapshotParamsWithHTTPClient creates a new RevertMachineSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevertMachineSnapshotParamsWithTimeout ¶
func NewRevertMachineSnapshotParamsWithTimeout(timeout time.Duration) *RevertMachineSnapshotParams
NewRevertMachineSnapshotParamsWithTimeout creates a new RevertMachineSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevertMachineSnapshotParams) SetAPIVersion ¶
func (o *RevertMachineSnapshotParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the revert machine snapshot params
func (*RevertMachineSnapshotParams) SetContext ¶
func (o *RevertMachineSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the revert machine snapshot params
func (*RevertMachineSnapshotParams) SetHTTPClient ¶
func (o *RevertMachineSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revert machine snapshot params
func (*RevertMachineSnapshotParams) SetID ¶
func (o *RevertMachineSnapshotParams) SetID(id string)
SetID adds the id to the revert machine snapshot params
func (*RevertMachineSnapshotParams) SetQueryID ¶
func (o *RevertMachineSnapshotParams) SetQueryID(id string)
SetQueryID adds the id to the revert machine snapshot params
func (*RevertMachineSnapshotParams) SetTimeout ¶
func (o *RevertMachineSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revert machine snapshot params
func (*RevertMachineSnapshotParams) WithAPIVersion ¶
func (o *RevertMachineSnapshotParams) WithAPIVersion(aPIVersion *string) *RevertMachineSnapshotParams
WithAPIVersion adds the aPIVersion to the revert machine snapshot params
func (*RevertMachineSnapshotParams) WithContext ¶
func (o *RevertMachineSnapshotParams) WithContext(ctx context.Context) *RevertMachineSnapshotParams
WithContext adds the context to the revert machine snapshot params
func (*RevertMachineSnapshotParams) WithHTTPClient ¶
func (o *RevertMachineSnapshotParams) WithHTTPClient(client *http.Client) *RevertMachineSnapshotParams
WithHTTPClient adds the HTTPClient to the revert machine snapshot params
func (*RevertMachineSnapshotParams) WithID ¶
func (o *RevertMachineSnapshotParams) WithID(id string) *RevertMachineSnapshotParams
WithID adds the id to the revert machine snapshot params
func (*RevertMachineSnapshotParams) WithQueryID ¶
func (o *RevertMachineSnapshotParams) WithQueryID(id string) *RevertMachineSnapshotParams
WithQueryID adds the id to the revert machine snapshot params
func (*RevertMachineSnapshotParams) WithTimeout ¶
func (o *RevertMachineSnapshotParams) WithTimeout(timeout time.Duration) *RevertMachineSnapshotParams
WithTimeout adds the timeout to the revert machine snapshot params
func (*RevertMachineSnapshotParams) WriteToRequest ¶
func (o *RevertMachineSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevertMachineSnapshotReader ¶
type RevertMachineSnapshotReader struct {
// contains filtered or unexported fields
}
RevertMachineSnapshotReader is a Reader for the RevertMachineSnapshot structure.
func (*RevertMachineSnapshotReader) ReadResponse ¶
func (o *RevertMachineSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShutdownMachineAccepted ¶
type ShutdownMachineAccepted struct {
Payload *models.RequestTracker
}
ShutdownMachineAccepted handles this case with default header values.
successful operation
func NewShutdownMachineAccepted ¶
func NewShutdownMachineAccepted() *ShutdownMachineAccepted
NewShutdownMachineAccepted creates a ShutdownMachineAccepted with default headers values
func (*ShutdownMachineAccepted) Error ¶
func (o *ShutdownMachineAccepted) Error() string
func (*ShutdownMachineAccepted) GetPayload ¶
func (o *ShutdownMachineAccepted) GetPayload() *models.RequestTracker
type ShutdownMachineForbidden ¶
type ShutdownMachineForbidden struct { }
ShutdownMachineForbidden handles this case with default header values.
Forbidden
func NewShutdownMachineForbidden ¶
func NewShutdownMachineForbidden() *ShutdownMachineForbidden
NewShutdownMachineForbidden creates a ShutdownMachineForbidden with default headers values
func (*ShutdownMachineForbidden) Error ¶
func (o *ShutdownMachineForbidden) Error() string
type ShutdownMachineNotFound ¶
type ShutdownMachineNotFound struct { }
ShutdownMachineNotFound handles this case with default header values.
Not Found
func NewShutdownMachineNotFound ¶
func NewShutdownMachineNotFound() *ShutdownMachineNotFound
NewShutdownMachineNotFound creates a ShutdownMachineNotFound with default headers values
func (*ShutdownMachineNotFound) Error ¶
func (o *ShutdownMachineNotFound) Error() string
type ShutdownMachineParams ¶
type ShutdownMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the Machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShutdownMachineParams contains all the parameters to send to the API endpoint for the shutdown machine operation typically these are written to a http.Request
func NewShutdownMachineParams ¶
func NewShutdownMachineParams() *ShutdownMachineParams
NewShutdownMachineParams creates a new ShutdownMachineParams object with the default values initialized.
func NewShutdownMachineParamsWithContext ¶
func NewShutdownMachineParamsWithContext(ctx context.Context) *ShutdownMachineParams
NewShutdownMachineParamsWithContext creates a new ShutdownMachineParams object with the default values initialized, and the ability to set a context for a request
func NewShutdownMachineParamsWithHTTPClient ¶
func NewShutdownMachineParamsWithHTTPClient(client *http.Client) *ShutdownMachineParams
NewShutdownMachineParamsWithHTTPClient creates a new ShutdownMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewShutdownMachineParamsWithTimeout ¶
func NewShutdownMachineParamsWithTimeout(timeout time.Duration) *ShutdownMachineParams
NewShutdownMachineParamsWithTimeout creates a new ShutdownMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*ShutdownMachineParams) SetAPIVersion ¶
func (o *ShutdownMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the shutdown machine params
func (*ShutdownMachineParams) SetContext ¶
func (o *ShutdownMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the shutdown machine params
func (*ShutdownMachineParams) SetHTTPClient ¶
func (o *ShutdownMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the shutdown machine params
func (*ShutdownMachineParams) SetID ¶
func (o *ShutdownMachineParams) SetID(id string)
SetID adds the id to the shutdown machine params
func (*ShutdownMachineParams) SetTimeout ¶
func (o *ShutdownMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the shutdown machine params
func (*ShutdownMachineParams) WithAPIVersion ¶
func (o *ShutdownMachineParams) WithAPIVersion(aPIVersion *string) *ShutdownMachineParams
WithAPIVersion adds the aPIVersion to the shutdown machine params
func (*ShutdownMachineParams) WithContext ¶
func (o *ShutdownMachineParams) WithContext(ctx context.Context) *ShutdownMachineParams
WithContext adds the context to the shutdown machine params
func (*ShutdownMachineParams) WithHTTPClient ¶
func (o *ShutdownMachineParams) WithHTTPClient(client *http.Client) *ShutdownMachineParams
WithHTTPClient adds the HTTPClient to the shutdown machine params
func (*ShutdownMachineParams) WithID ¶
func (o *ShutdownMachineParams) WithID(id string) *ShutdownMachineParams
WithID adds the id to the shutdown machine params
func (*ShutdownMachineParams) WithTimeout ¶
func (o *ShutdownMachineParams) WithTimeout(timeout time.Duration) *ShutdownMachineParams
WithTimeout adds the timeout to the shutdown machine params
func (*ShutdownMachineParams) WriteToRequest ¶
func (o *ShutdownMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShutdownMachineReader ¶
type ShutdownMachineReader struct {
// contains filtered or unexported fields
}
ShutdownMachineReader is a Reader for the ShutdownMachine structure.
func (*ShutdownMachineReader) ReadResponse ¶
func (o *ShutdownMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SuspendMachineAccepted ¶
type SuspendMachineAccepted struct {
Payload *models.RequestTracker
}
SuspendMachineAccepted handles this case with default header values.
successful operation
func NewSuspendMachineAccepted ¶
func NewSuspendMachineAccepted() *SuspendMachineAccepted
NewSuspendMachineAccepted creates a SuspendMachineAccepted with default headers values
func (*SuspendMachineAccepted) Error ¶
func (o *SuspendMachineAccepted) Error() string
func (*SuspendMachineAccepted) GetPayload ¶
func (o *SuspendMachineAccepted) GetPayload() *models.RequestTracker
type SuspendMachineForbidden ¶
type SuspendMachineForbidden struct { }
SuspendMachineForbidden handles this case with default header values.
Forbidden
func NewSuspendMachineForbidden ¶
func NewSuspendMachineForbidden() *SuspendMachineForbidden
NewSuspendMachineForbidden creates a SuspendMachineForbidden with default headers values
func (*SuspendMachineForbidden) Error ¶
func (o *SuspendMachineForbidden) Error() string
type SuspendMachineNotFound ¶
type SuspendMachineNotFound struct { }
SuspendMachineNotFound handles this case with default header values.
Not Found
func NewSuspendMachineNotFound ¶
func NewSuspendMachineNotFound() *SuspendMachineNotFound
NewSuspendMachineNotFound creates a SuspendMachineNotFound with default headers values
func (*SuspendMachineNotFound) Error ¶
func (o *SuspendMachineNotFound) Error() string
type SuspendMachineParams ¶
type SuspendMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the Machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SuspendMachineParams contains all the parameters to send to the API endpoint for the suspend machine operation typically these are written to a http.Request
func NewSuspendMachineParams ¶
func NewSuspendMachineParams() *SuspendMachineParams
NewSuspendMachineParams creates a new SuspendMachineParams object with the default values initialized.
func NewSuspendMachineParamsWithContext ¶
func NewSuspendMachineParamsWithContext(ctx context.Context) *SuspendMachineParams
NewSuspendMachineParamsWithContext creates a new SuspendMachineParams object with the default values initialized, and the ability to set a context for a request
func NewSuspendMachineParamsWithHTTPClient ¶
func NewSuspendMachineParamsWithHTTPClient(client *http.Client) *SuspendMachineParams
NewSuspendMachineParamsWithHTTPClient creates a new SuspendMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSuspendMachineParamsWithTimeout ¶
func NewSuspendMachineParamsWithTimeout(timeout time.Duration) *SuspendMachineParams
NewSuspendMachineParamsWithTimeout creates a new SuspendMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*SuspendMachineParams) SetAPIVersion ¶
func (o *SuspendMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the suspend machine params
func (*SuspendMachineParams) SetContext ¶
func (o *SuspendMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the suspend machine params
func (*SuspendMachineParams) SetHTTPClient ¶
func (o *SuspendMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the suspend machine params
func (*SuspendMachineParams) SetID ¶
func (o *SuspendMachineParams) SetID(id string)
SetID adds the id to the suspend machine params
func (*SuspendMachineParams) SetTimeout ¶
func (o *SuspendMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the suspend machine params
func (*SuspendMachineParams) WithAPIVersion ¶
func (o *SuspendMachineParams) WithAPIVersion(aPIVersion *string) *SuspendMachineParams
WithAPIVersion adds the aPIVersion to the suspend machine params
func (*SuspendMachineParams) WithContext ¶
func (o *SuspendMachineParams) WithContext(ctx context.Context) *SuspendMachineParams
WithContext adds the context to the suspend machine params
func (*SuspendMachineParams) WithHTTPClient ¶
func (o *SuspendMachineParams) WithHTTPClient(client *http.Client) *SuspendMachineParams
WithHTTPClient adds the HTTPClient to the suspend machine params
func (*SuspendMachineParams) WithID ¶
func (o *SuspendMachineParams) WithID(id string) *SuspendMachineParams
WithID adds the id to the suspend machine params
func (*SuspendMachineParams) WithTimeout ¶
func (o *SuspendMachineParams) WithTimeout(timeout time.Duration) *SuspendMachineParams
WithTimeout adds the timeout to the suspend machine params
func (*SuspendMachineParams) WriteToRequest ¶
func (o *SuspendMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SuspendMachineReader ¶
type SuspendMachineReader struct {
// contains filtered or unexported fields
}
SuspendMachineReader is a Reader for the SuspendMachine structure.
func (*SuspendMachineReader) ReadResponse ¶
func (o *SuspendMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateMachineForbidden ¶
type UpdateMachineForbidden struct { }
UpdateMachineForbidden handles this case with default header values.
Forbidden
func NewUpdateMachineForbidden ¶
func NewUpdateMachineForbidden() *UpdateMachineForbidden
NewUpdateMachineForbidden creates a UpdateMachineForbidden with default headers values
func (*UpdateMachineForbidden) Error ¶
func (o *UpdateMachineForbidden) Error() string
type UpdateMachineNotFound ¶
type UpdateMachineNotFound struct { }
UpdateMachineNotFound handles this case with default header values.
Not Found
func NewUpdateMachineNotFound ¶
func NewUpdateMachineNotFound() *UpdateMachineNotFound
NewUpdateMachineNotFound creates a UpdateMachineNotFound with default headers values
func (*UpdateMachineNotFound) Error ¶
func (o *UpdateMachineNotFound) Error() string
type UpdateMachineOK ¶
UpdateMachineOK handles this case with default header values.
successful operation
func NewUpdateMachineOK ¶
func NewUpdateMachineOK() *UpdateMachineOK
NewUpdateMachineOK creates a UpdateMachineOK with default headers values
func (*UpdateMachineOK) Error ¶
func (o *UpdateMachineOK) Error() string
func (*UpdateMachineOK) GetPayload ¶
func (o *UpdateMachineOK) GetPayload() *models.Machine
type UpdateMachineParams ¶
type UpdateMachineParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body Machine Specification */ Body *models.UpdateMachineSpecification /*ID The ID of the Machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateMachineParams contains all the parameters to send to the API endpoint for the update machine operation typically these are written to a http.Request
func NewUpdateMachineParams ¶
func NewUpdateMachineParams() *UpdateMachineParams
NewUpdateMachineParams creates a new UpdateMachineParams object with the default values initialized.
func NewUpdateMachineParamsWithContext ¶
func NewUpdateMachineParamsWithContext(ctx context.Context) *UpdateMachineParams
NewUpdateMachineParamsWithContext creates a new UpdateMachineParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateMachineParamsWithHTTPClient ¶
func NewUpdateMachineParamsWithHTTPClient(client *http.Client) *UpdateMachineParams
NewUpdateMachineParamsWithHTTPClient creates a new UpdateMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateMachineParamsWithTimeout ¶
func NewUpdateMachineParamsWithTimeout(timeout time.Duration) *UpdateMachineParams
NewUpdateMachineParamsWithTimeout creates a new UpdateMachineParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateMachineParams) SetAPIVersion ¶
func (o *UpdateMachineParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the update machine params
func (*UpdateMachineParams) SetBody ¶
func (o *UpdateMachineParams) SetBody(body *models.UpdateMachineSpecification)
SetBody adds the body to the update machine params
func (*UpdateMachineParams) SetContext ¶
func (o *UpdateMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the update machine params
func (*UpdateMachineParams) SetHTTPClient ¶
func (o *UpdateMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update machine params
func (*UpdateMachineParams) SetID ¶
func (o *UpdateMachineParams) SetID(id string)
SetID adds the id to the update machine params
func (*UpdateMachineParams) SetTimeout ¶
func (o *UpdateMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update machine params
func (*UpdateMachineParams) WithAPIVersion ¶
func (o *UpdateMachineParams) WithAPIVersion(aPIVersion *string) *UpdateMachineParams
WithAPIVersion adds the aPIVersion to the update machine params
func (*UpdateMachineParams) WithBody ¶
func (o *UpdateMachineParams) WithBody(body *models.UpdateMachineSpecification) *UpdateMachineParams
WithBody adds the body to the update machine params
func (*UpdateMachineParams) WithContext ¶
func (o *UpdateMachineParams) WithContext(ctx context.Context) *UpdateMachineParams
WithContext adds the context to the update machine params
func (*UpdateMachineParams) WithHTTPClient ¶
func (o *UpdateMachineParams) WithHTTPClient(client *http.Client) *UpdateMachineParams
WithHTTPClient adds the HTTPClient to the update machine params
func (*UpdateMachineParams) WithID ¶
func (o *UpdateMachineParams) WithID(id string) *UpdateMachineParams
WithID adds the id to the update machine params
func (*UpdateMachineParams) WithTimeout ¶
func (o *UpdateMachineParams) WithTimeout(timeout time.Duration) *UpdateMachineParams
WithTimeout adds the timeout to the update machine params
func (*UpdateMachineParams) WriteToRequest ¶
func (o *UpdateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateMachineReader ¶
type UpdateMachineReader struct {
// contains filtered or unexported fields
}
UpdateMachineReader is a Reader for the UpdateMachine structure.
func (*UpdateMachineReader) ReadResponse ¶
func (o *UpdateMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- compute_client.go
- create_machine_parameters.go
- create_machine_responses.go
- create_machine_snapshot_parameters.go
- create_machine_snapshot_responses.go
- delete_machine_parameters.go
- delete_machine_responses.go
- delete_machine_snapshot_parameters.go
- delete_machine_snapshot_responses.go
- get_machine_parameters.go
- get_machine_responses.go
- get_machine_snapshots_parameters.go
- get_machine_snapshots_responses.go
- get_machines_parameters.go
- get_machines_responses.go
- power_off_machine_parameters.go
- power_off_machine_responses.go
- power_on_machine_parameters.go
- power_on_machine_responses.go
- reboot_machine_parameters.go
- reboot_machine_responses.go
- reset_machine_parameters.go
- reset_machine_responses.go
- resize_machine_parameters.go
- resize_machine_responses.go
- restart_machine_parameters.go
- restart_machine_responses.go
- revert_machine_snapshot_parameters.go
- revert_machine_snapshot_responses.go
- shutdown_machine_parameters.go
- shutdown_machine_responses.go
- suspend_machine_parameters.go
- suspend_machine_responses.go
- update_machine_parameters.go
- update_machine_responses.go