Documentation ¶
Index ¶
- type AttachMachineDiskBadRequest
- type AttachMachineDiskForbidden
- type AttachMachineDiskNotFound
- type AttachMachineDiskOK
- type AttachMachineDiskParams
- func NewAttachMachineDiskParams() *AttachMachineDiskParams
- func NewAttachMachineDiskParamsWithContext(ctx context.Context) *AttachMachineDiskParams
- func NewAttachMachineDiskParamsWithHTTPClient(client *http.Client) *AttachMachineDiskParams
- func NewAttachMachineDiskParamsWithTimeout(timeout time.Duration) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) SetAPIVersion(aPIVersion *string)
- func (o *AttachMachineDiskParams) SetBody(body *models.DiskAttachmentSpecification)
- func (o *AttachMachineDiskParams) SetContext(ctx context.Context)
- func (o *AttachMachineDiskParams) SetHTTPClient(client *http.Client)
- func (o *AttachMachineDiskParams) SetID(id string)
- func (o *AttachMachineDiskParams) SetTimeout(timeout time.Duration)
- func (o *AttachMachineDiskParams) WithAPIVersion(aPIVersion *string) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithBody(body *models.DiskAttachmentSpecification) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithContext(ctx context.Context) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithHTTPClient(client *http.Client) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithID(id string) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WithTimeout(timeout time.Duration) *AttachMachineDiskParams
- func (o *AttachMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachMachineDiskReader
- type Client
- func (a *Client) AttachMachineDisk(params *AttachMachineDiskParams) (*AttachMachineDiskOK, error)
- func (a *Client) CreateBlockDevice(params *CreateBlockDeviceParams) (*CreateBlockDeviceAccepted, error)
- func (a *Client) DeleteBlockDevice(params *DeleteBlockDeviceParams) (*DeleteBlockDeviceAccepted, *DeleteBlockDeviceNoContent, error)
- func (a *Client) DeleteMachineDisk(params *DeleteMachineDiskParams) (*DeleteMachineDiskAccepted, *DeleteMachineDiskNoContent, error)
- func (a *Client) GetBlockDevice(params *GetBlockDeviceParams) (*GetBlockDeviceOK, error)
- func (a *Client) GetBlockDevices(params *GetBlockDevicesParams) (*GetBlockDevicesOK, error)
- func (a *Client) GetMachineDisk(params *GetMachineDiskParams) (*GetMachineDiskOK, error)
- func (a *Client) GetMachineDisks(params *GetMachineDisksParams) (*GetMachineDisksOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateBlockDeviceAccepted
- type CreateBlockDeviceBadRequest
- type CreateBlockDeviceForbidden
- type CreateBlockDeviceParams
- func NewCreateBlockDeviceParams() *CreateBlockDeviceParams
- func NewCreateBlockDeviceParamsWithContext(ctx context.Context) *CreateBlockDeviceParams
- func NewCreateBlockDeviceParamsWithHTTPClient(client *http.Client) *CreateBlockDeviceParams
- func NewCreateBlockDeviceParamsWithTimeout(timeout time.Duration) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateBlockDeviceParams) SetBody(body *models.BlockDeviceSpecification)
- func (o *CreateBlockDeviceParams) SetContext(ctx context.Context)
- func (o *CreateBlockDeviceParams) SetHTTPClient(client *http.Client)
- func (o *CreateBlockDeviceParams) SetTimeout(timeout time.Duration)
- func (o *CreateBlockDeviceParams) WithAPIVersion(aPIVersion *string) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WithBody(body *models.BlockDeviceSpecification) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WithContext(ctx context.Context) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WithHTTPClient(client *http.Client) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WithTimeout(timeout time.Duration) *CreateBlockDeviceParams
- func (o *CreateBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBlockDeviceReader
- type DeleteBlockDeviceAccepted
- type DeleteBlockDeviceForbidden
- type DeleteBlockDeviceNoContent
- type DeleteBlockDeviceParams
- func NewDeleteBlockDeviceParams() *DeleteBlockDeviceParams
- func NewDeleteBlockDeviceParamsWithContext(ctx context.Context) *DeleteBlockDeviceParams
- func NewDeleteBlockDeviceParamsWithHTTPClient(client *http.Client) *DeleteBlockDeviceParams
- func NewDeleteBlockDeviceParamsWithTimeout(timeout time.Duration) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteBlockDeviceParams) SetContext(ctx context.Context)
- func (o *DeleteBlockDeviceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBlockDeviceParams) SetID(id string)
- func (o *DeleteBlockDeviceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBlockDeviceParams) WithAPIVersion(aPIVersion *string) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithContext(ctx context.Context) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithHTTPClient(client *http.Client) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithID(id string) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WithTimeout(timeout time.Duration) *DeleteBlockDeviceParams
- func (o *DeleteBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBlockDeviceReader
- type DeleteMachineDiskAccepted
- type DeleteMachineDiskForbidden
- type DeleteMachineDiskNoContent
- type DeleteMachineDiskParams
- func NewDeleteMachineDiskParams() *DeleteMachineDiskParams
- func NewDeleteMachineDiskParamsWithContext(ctx context.Context) *DeleteMachineDiskParams
- func NewDeleteMachineDiskParamsWithHTTPClient(client *http.Client) *DeleteMachineDiskParams
- func NewDeleteMachineDiskParamsWithTimeout(timeout time.Duration) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteMachineDiskParams) SetContext(ctx context.Context)
- func (o *DeleteMachineDiskParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMachineDiskParams) SetID(id string)
- func (o *DeleteMachineDiskParams) SetId1(id1 string)
- func (o *DeleteMachineDiskParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMachineDiskParams) WithAPIVersion(aPIVersion *string) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithContext(ctx context.Context) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithHTTPClient(client *http.Client) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithID(id string) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithId1(id1 string) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WithTimeout(timeout time.Duration) *DeleteMachineDiskParams
- func (o *DeleteMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMachineDiskReader
- type GetBlockDeviceForbidden
- type GetBlockDeviceOK
- type GetBlockDeviceParams
- func NewGetBlockDeviceParams() *GetBlockDeviceParams
- func NewGetBlockDeviceParamsWithContext(ctx context.Context) *GetBlockDeviceParams
- func NewGetBlockDeviceParamsWithHTTPClient(client *http.Client) *GetBlockDeviceParams
- func NewGetBlockDeviceParamsWithTimeout(timeout time.Duration) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) SetAPIVersion(aPIVersion *string)
- func (o *GetBlockDeviceParams) SetContext(ctx context.Context)
- func (o *GetBlockDeviceParams) SetHTTPClient(client *http.Client)
- func (o *GetBlockDeviceParams) SetID(id string)
- func (o *GetBlockDeviceParams) SetTimeout(timeout time.Duration)
- func (o *GetBlockDeviceParams) WithAPIVersion(aPIVersion *string) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WithContext(ctx context.Context) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WithHTTPClient(client *http.Client) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WithID(id string) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WithTimeout(timeout time.Duration) *GetBlockDeviceParams
- func (o *GetBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBlockDeviceReader
- type GetBlockDevicesForbidden
- type GetBlockDevicesOK
- type GetBlockDevicesParams
- func NewGetBlockDevicesParams() *GetBlockDevicesParams
- func NewGetBlockDevicesParamsWithContext(ctx context.Context) *GetBlockDevicesParams
- func NewGetBlockDevicesParamsWithHTTPClient(client *http.Client) *GetBlockDevicesParams
- func NewGetBlockDevicesParamsWithTimeout(timeout time.Duration) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetBlockDevicesParams) SetContext(ctx context.Context)
- func (o *GetBlockDevicesParams) SetHTTPClient(client *http.Client)
- func (o *GetBlockDevicesParams) SetTimeout(timeout time.Duration)
- func (o *GetBlockDevicesParams) WithAPIVersion(aPIVersion *string) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithContext(ctx context.Context) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithHTTPClient(client *http.Client) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WithTimeout(timeout time.Duration) *GetBlockDevicesParams
- func (o *GetBlockDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBlockDevicesReader
- type GetMachineDiskForbidden
- type GetMachineDiskNotFound
- type GetMachineDiskOK
- type GetMachineDiskParams
- func NewGetMachineDiskParams() *GetMachineDiskParams
- func NewGetMachineDiskParamsWithContext(ctx context.Context) *GetMachineDiskParams
- func NewGetMachineDiskParamsWithHTTPClient(client *http.Client) *GetMachineDiskParams
- func NewGetMachineDiskParamsWithTimeout(timeout time.Duration) *GetMachineDiskParams
- func (o *GetMachineDiskParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMachineDiskParams) SetContext(ctx context.Context)
- func (o *GetMachineDiskParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineDiskParams) SetID(id string)
- func (o *GetMachineDiskParams) SetId1(id1 string)
- func (o *GetMachineDiskParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineDiskParams) WithAPIVersion(aPIVersion *string) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithContext(ctx context.Context) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithHTTPClient(client *http.Client) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithID(id string) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithId1(id1 string) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WithTimeout(timeout time.Duration) *GetMachineDiskParams
- func (o *GetMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineDiskReader
- type GetMachineDisksForbidden
- type GetMachineDisksNotFound
- type GetMachineDisksOK
- type GetMachineDisksParams
- func NewGetMachineDisksParams() *GetMachineDisksParams
- func NewGetMachineDisksParamsWithContext(ctx context.Context) *GetMachineDisksParams
- func NewGetMachineDisksParamsWithHTTPClient(client *http.Client) *GetMachineDisksParams
- func NewGetMachineDisksParamsWithTimeout(timeout time.Duration) *GetMachineDisksParams
- func (o *GetMachineDisksParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMachineDisksParams) SetContext(ctx context.Context)
- func (o *GetMachineDisksParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineDisksParams) SetID(id string)
- func (o *GetMachineDisksParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineDisksParams) WithAPIVersion(aPIVersion *string) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WithContext(ctx context.Context) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WithHTTPClient(client *http.Client) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WithID(id string) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WithTimeout(timeout time.Duration) *GetMachineDisksParams
- func (o *GetMachineDisksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineDisksReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachMachineDiskBadRequest ¶
type AttachMachineDiskBadRequest struct { }
AttachMachineDiskBadRequest handles this case with default header values.
Invalid Request - bad data
func NewAttachMachineDiskBadRequest ¶
func NewAttachMachineDiskBadRequest() *AttachMachineDiskBadRequest
NewAttachMachineDiskBadRequest creates a AttachMachineDiskBadRequest with default headers values
func (*AttachMachineDiskBadRequest) Error ¶
func (o *AttachMachineDiskBadRequest) Error() string
type AttachMachineDiskForbidden ¶
type AttachMachineDiskForbidden struct { }
AttachMachineDiskForbidden handles this case with default header values.
Forbidden
func NewAttachMachineDiskForbidden ¶
func NewAttachMachineDiskForbidden() *AttachMachineDiskForbidden
NewAttachMachineDiskForbidden creates a AttachMachineDiskForbidden with default headers values
func (*AttachMachineDiskForbidden) Error ¶
func (o *AttachMachineDiskForbidden) Error() string
type AttachMachineDiskNotFound ¶
type AttachMachineDiskNotFound struct { }
AttachMachineDiskNotFound handles this case with default header values.
Not Found
func NewAttachMachineDiskNotFound ¶
func NewAttachMachineDiskNotFound() *AttachMachineDiskNotFound
NewAttachMachineDiskNotFound creates a AttachMachineDiskNotFound with default headers values
func (*AttachMachineDiskNotFound) Error ¶
func (o *AttachMachineDiskNotFound) Error() string
type AttachMachineDiskOK ¶
type AttachMachineDiskOK struct {
Payload *models.RequestTracker
}
AttachMachineDiskOK handles this case with default header values.
successful operation
func NewAttachMachineDiskOK ¶
func NewAttachMachineDiskOK() *AttachMachineDiskOK
NewAttachMachineDiskOK creates a AttachMachineDiskOK with default headers values
func (*AttachMachineDiskOK) Error ¶
func (o *AttachMachineDiskOK) Error() string
func (*AttachMachineDiskOK) GetPayload ¶
func (o *AttachMachineDiskOK) GetPayload() *models.RequestTracker
type AttachMachineDiskParams ¶
type AttachMachineDiskParams 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 Disk Specification instance */ Body *models.DiskAttachmentSpecification /*ID The ID of the machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachMachineDiskParams contains all the parameters to send to the API endpoint for the attach machine disk operation typically these are written to a http.Request
func NewAttachMachineDiskParams ¶
func NewAttachMachineDiskParams() *AttachMachineDiskParams
NewAttachMachineDiskParams creates a new AttachMachineDiskParams object with the default values initialized.
func NewAttachMachineDiskParamsWithContext ¶
func NewAttachMachineDiskParamsWithContext(ctx context.Context) *AttachMachineDiskParams
NewAttachMachineDiskParamsWithContext creates a new AttachMachineDiskParams object with the default values initialized, and the ability to set a context for a request
func NewAttachMachineDiskParamsWithHTTPClient ¶
func NewAttachMachineDiskParamsWithHTTPClient(client *http.Client) *AttachMachineDiskParams
NewAttachMachineDiskParamsWithHTTPClient creates a new AttachMachineDiskParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAttachMachineDiskParamsWithTimeout ¶
func NewAttachMachineDiskParamsWithTimeout(timeout time.Duration) *AttachMachineDiskParams
NewAttachMachineDiskParamsWithTimeout creates a new AttachMachineDiskParams object with the default values initialized, and the ability to set a timeout on a request
func (*AttachMachineDiskParams) SetAPIVersion ¶
func (o *AttachMachineDiskParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the attach machine disk params
func (*AttachMachineDiskParams) SetBody ¶
func (o *AttachMachineDiskParams) SetBody(body *models.DiskAttachmentSpecification)
SetBody adds the body to the attach machine disk params
func (*AttachMachineDiskParams) SetContext ¶
func (o *AttachMachineDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the attach machine disk params
func (*AttachMachineDiskParams) SetHTTPClient ¶
func (o *AttachMachineDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the attach machine disk params
func (*AttachMachineDiskParams) SetID ¶
func (o *AttachMachineDiskParams) SetID(id string)
SetID adds the id to the attach machine disk params
func (*AttachMachineDiskParams) SetTimeout ¶
func (o *AttachMachineDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attach machine disk params
func (*AttachMachineDiskParams) WithAPIVersion ¶
func (o *AttachMachineDiskParams) WithAPIVersion(aPIVersion *string) *AttachMachineDiskParams
WithAPIVersion adds the aPIVersion to the attach machine disk params
func (*AttachMachineDiskParams) WithBody ¶
func (o *AttachMachineDiskParams) WithBody(body *models.DiskAttachmentSpecification) *AttachMachineDiskParams
WithBody adds the body to the attach machine disk params
func (*AttachMachineDiskParams) WithContext ¶
func (o *AttachMachineDiskParams) WithContext(ctx context.Context) *AttachMachineDiskParams
WithContext adds the context to the attach machine disk params
func (*AttachMachineDiskParams) WithHTTPClient ¶
func (o *AttachMachineDiskParams) WithHTTPClient(client *http.Client) *AttachMachineDiskParams
WithHTTPClient adds the HTTPClient to the attach machine disk params
func (*AttachMachineDiskParams) WithID ¶
func (o *AttachMachineDiskParams) WithID(id string) *AttachMachineDiskParams
WithID adds the id to the attach machine disk params
func (*AttachMachineDiskParams) WithTimeout ¶
func (o *AttachMachineDiskParams) WithTimeout(timeout time.Duration) *AttachMachineDiskParams
WithTimeout adds the timeout to the attach machine disk params
func (*AttachMachineDiskParams) WriteToRequest ¶
func (o *AttachMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachMachineDiskReader ¶
type AttachMachineDiskReader struct {
// contains filtered or unexported fields
}
AttachMachineDiskReader is a Reader for the AttachMachineDisk structure.
func (*AttachMachineDiskReader) ReadResponse ¶
func (o *AttachMachineDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for disk API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new disk API client.
func (*Client) AttachMachineDisk ¶
func (a *Client) AttachMachineDisk(params *AttachMachineDiskParams) (*AttachMachineDiskOK, error)
AttachMachineDisk attaches machine disk
Attach a disk to a machine.
func (*Client) CreateBlockDevice ¶
func (a *Client) CreateBlockDevice(params *CreateBlockDeviceParams) (*CreateBlockDeviceAccepted, error)
CreateBlockDevice creates block device
Following disk custom properties can be passed while creating a block device:
- dataStore: Defines name of the datastore in which the disk has to be provisioned.
- storagePolicy: Defines name of the storage policy in which the disk has to be provisioned. If name of the datastore is specified in the custom properties then, datastore takes precedence.
- provisioningType: Defines the type of provisioning. For eg. thick/thin.
func (*Client) DeleteBlockDevice ¶
func (a *Client) DeleteBlockDevice(params *DeleteBlockDeviceParams) (*DeleteBlockDeviceAccepted, *DeleteBlockDeviceNoContent, error)
DeleteBlockDevice deletes a block device
Delete a BlockDevice
func (*Client) DeleteMachineDisk ¶
func (a *Client) DeleteMachineDisk(params *DeleteMachineDiskParams) (*DeleteMachineDiskAccepted, *DeleteMachineDiskNoContent, error)
DeleteMachineDisk deletes machine disk
Remove a disk from a given machine.
func (*Client) GetBlockDevice ¶
func (a *Client) GetBlockDevice(params *GetBlockDeviceParams) (*GetBlockDeviceOK, error)
GetBlockDevice gets block device
Get a single BlockDevice
func (*Client) GetBlockDevices ¶
func (a *Client) GetBlockDevices(params *GetBlockDevicesParams) (*GetBlockDevicesOK, error)
GetBlockDevices gets block devices
Get all BlockDevices
func (*Client) GetMachineDisk ¶
func (a *Client) GetMachineDisk(params *GetMachineDiskParams) (*GetMachineDiskOK, error)
GetMachineDisk gets a machine disk
Get disk with a given id for specific machine
func (*Client) GetMachineDisks ¶
func (a *Client) GetMachineDisks(params *GetMachineDisksParams) (*GetMachineDisksOK, error)
GetMachineDisks gets machine disks
Get all machine disks
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateBlockDeviceAccepted ¶
type CreateBlockDeviceAccepted struct {
Payload *models.RequestTracker
}
CreateBlockDeviceAccepted handles this case with default header values.
successful operation
func NewCreateBlockDeviceAccepted ¶
func NewCreateBlockDeviceAccepted() *CreateBlockDeviceAccepted
NewCreateBlockDeviceAccepted creates a CreateBlockDeviceAccepted with default headers values
func (*CreateBlockDeviceAccepted) Error ¶
func (o *CreateBlockDeviceAccepted) Error() string
func (*CreateBlockDeviceAccepted) GetPayload ¶
func (o *CreateBlockDeviceAccepted) GetPayload() *models.RequestTracker
type CreateBlockDeviceBadRequest ¶
type CreateBlockDeviceBadRequest struct { }
CreateBlockDeviceBadRequest handles this case with default header values.
Invalid Request - bad data
func NewCreateBlockDeviceBadRequest ¶
func NewCreateBlockDeviceBadRequest() *CreateBlockDeviceBadRequest
NewCreateBlockDeviceBadRequest creates a CreateBlockDeviceBadRequest with default headers values
func (*CreateBlockDeviceBadRequest) Error ¶
func (o *CreateBlockDeviceBadRequest) Error() string
type CreateBlockDeviceForbidden ¶
type CreateBlockDeviceForbidden struct { }
CreateBlockDeviceForbidden handles this case with default header values.
Forbidden
func NewCreateBlockDeviceForbidden ¶
func NewCreateBlockDeviceForbidden() *CreateBlockDeviceForbidden
NewCreateBlockDeviceForbidden creates a CreateBlockDeviceForbidden with default headers values
func (*CreateBlockDeviceForbidden) Error ¶
func (o *CreateBlockDeviceForbidden) Error() string
type CreateBlockDeviceParams ¶
type CreateBlockDeviceParams 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 Disk Specification instance */ Body *models.BlockDeviceSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBlockDeviceParams contains all the parameters to send to the API endpoint for the create block device operation typically these are written to a http.Request
func NewCreateBlockDeviceParams ¶
func NewCreateBlockDeviceParams() *CreateBlockDeviceParams
NewCreateBlockDeviceParams creates a new CreateBlockDeviceParams object with the default values initialized.
func NewCreateBlockDeviceParamsWithContext ¶
func NewCreateBlockDeviceParamsWithContext(ctx context.Context) *CreateBlockDeviceParams
NewCreateBlockDeviceParamsWithContext creates a new CreateBlockDeviceParams object with the default values initialized, and the ability to set a context for a request
func NewCreateBlockDeviceParamsWithHTTPClient ¶
func NewCreateBlockDeviceParamsWithHTTPClient(client *http.Client) *CreateBlockDeviceParams
NewCreateBlockDeviceParamsWithHTTPClient creates a new CreateBlockDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateBlockDeviceParamsWithTimeout ¶
func NewCreateBlockDeviceParamsWithTimeout(timeout time.Duration) *CreateBlockDeviceParams
NewCreateBlockDeviceParamsWithTimeout creates a new CreateBlockDeviceParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateBlockDeviceParams) SetAPIVersion ¶
func (o *CreateBlockDeviceParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create block device params
func (*CreateBlockDeviceParams) SetBody ¶
func (o *CreateBlockDeviceParams) SetBody(body *models.BlockDeviceSpecification)
SetBody adds the body to the create block device params
func (*CreateBlockDeviceParams) SetContext ¶
func (o *CreateBlockDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the create block device params
func (*CreateBlockDeviceParams) SetHTTPClient ¶
func (o *CreateBlockDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create block device params
func (*CreateBlockDeviceParams) SetTimeout ¶
func (o *CreateBlockDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create block device params
func (*CreateBlockDeviceParams) WithAPIVersion ¶
func (o *CreateBlockDeviceParams) WithAPIVersion(aPIVersion *string) *CreateBlockDeviceParams
WithAPIVersion adds the aPIVersion to the create block device params
func (*CreateBlockDeviceParams) WithBody ¶
func (o *CreateBlockDeviceParams) WithBody(body *models.BlockDeviceSpecification) *CreateBlockDeviceParams
WithBody adds the body to the create block device params
func (*CreateBlockDeviceParams) WithContext ¶
func (o *CreateBlockDeviceParams) WithContext(ctx context.Context) *CreateBlockDeviceParams
WithContext adds the context to the create block device params
func (*CreateBlockDeviceParams) WithHTTPClient ¶
func (o *CreateBlockDeviceParams) WithHTTPClient(client *http.Client) *CreateBlockDeviceParams
WithHTTPClient adds the HTTPClient to the create block device params
func (*CreateBlockDeviceParams) WithTimeout ¶
func (o *CreateBlockDeviceParams) WithTimeout(timeout time.Duration) *CreateBlockDeviceParams
WithTimeout adds the timeout to the create block device params
func (*CreateBlockDeviceParams) WriteToRequest ¶
func (o *CreateBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBlockDeviceReader ¶
type CreateBlockDeviceReader struct {
// contains filtered or unexported fields
}
CreateBlockDeviceReader is a Reader for the CreateBlockDevice structure.
func (*CreateBlockDeviceReader) ReadResponse ¶
func (o *CreateBlockDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBlockDeviceAccepted ¶
type DeleteBlockDeviceAccepted struct {
Payload *models.RequestTracker
}
DeleteBlockDeviceAccepted handles this case with default header values.
successful operation
func NewDeleteBlockDeviceAccepted ¶
func NewDeleteBlockDeviceAccepted() *DeleteBlockDeviceAccepted
NewDeleteBlockDeviceAccepted creates a DeleteBlockDeviceAccepted with default headers values
func (*DeleteBlockDeviceAccepted) Error ¶
func (o *DeleteBlockDeviceAccepted) Error() string
func (*DeleteBlockDeviceAccepted) GetPayload ¶
func (o *DeleteBlockDeviceAccepted) GetPayload() *models.RequestTracker
type DeleteBlockDeviceForbidden ¶
type DeleteBlockDeviceForbidden struct { }
DeleteBlockDeviceForbidden handles this case with default header values.
Forbidden
func NewDeleteBlockDeviceForbidden ¶
func NewDeleteBlockDeviceForbidden() *DeleteBlockDeviceForbidden
NewDeleteBlockDeviceForbidden creates a DeleteBlockDeviceForbidden with default headers values
func (*DeleteBlockDeviceForbidden) Error ¶
func (o *DeleteBlockDeviceForbidden) Error() string
type DeleteBlockDeviceNoContent ¶ added in v0.2.1
type DeleteBlockDeviceNoContent struct { }
DeleteBlockDeviceNoContent handles this case with default header values.
No Content
func NewDeleteBlockDeviceNoContent ¶ added in v0.2.1
func NewDeleteBlockDeviceNoContent() *DeleteBlockDeviceNoContent
NewDeleteBlockDeviceNoContent creates a DeleteBlockDeviceNoContent with default headers values
func (*DeleteBlockDeviceNoContent) Error ¶ added in v0.2.1
func (o *DeleteBlockDeviceNoContent) Error() string
type DeleteBlockDeviceParams ¶
type DeleteBlockDeviceParams 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 block device. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBlockDeviceParams contains all the parameters to send to the API endpoint for the delete block device operation typically these are written to a http.Request
func NewDeleteBlockDeviceParams ¶
func NewDeleteBlockDeviceParams() *DeleteBlockDeviceParams
NewDeleteBlockDeviceParams creates a new DeleteBlockDeviceParams object with the default values initialized.
func NewDeleteBlockDeviceParamsWithContext ¶
func NewDeleteBlockDeviceParamsWithContext(ctx context.Context) *DeleteBlockDeviceParams
NewDeleteBlockDeviceParamsWithContext creates a new DeleteBlockDeviceParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteBlockDeviceParamsWithHTTPClient ¶
func NewDeleteBlockDeviceParamsWithHTTPClient(client *http.Client) *DeleteBlockDeviceParams
NewDeleteBlockDeviceParamsWithHTTPClient creates a new DeleteBlockDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteBlockDeviceParamsWithTimeout ¶
func NewDeleteBlockDeviceParamsWithTimeout(timeout time.Duration) *DeleteBlockDeviceParams
NewDeleteBlockDeviceParamsWithTimeout creates a new DeleteBlockDeviceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteBlockDeviceParams) SetAPIVersion ¶
func (o *DeleteBlockDeviceParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete block device params
func (*DeleteBlockDeviceParams) SetContext ¶
func (o *DeleteBlockDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete block device params
func (*DeleteBlockDeviceParams) SetHTTPClient ¶
func (o *DeleteBlockDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete block device params
func (*DeleteBlockDeviceParams) SetID ¶
func (o *DeleteBlockDeviceParams) SetID(id string)
SetID adds the id to the delete block device params
func (*DeleteBlockDeviceParams) SetTimeout ¶
func (o *DeleteBlockDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete block device params
func (*DeleteBlockDeviceParams) WithAPIVersion ¶
func (o *DeleteBlockDeviceParams) WithAPIVersion(aPIVersion *string) *DeleteBlockDeviceParams
WithAPIVersion adds the aPIVersion to the delete block device params
func (*DeleteBlockDeviceParams) WithContext ¶
func (o *DeleteBlockDeviceParams) WithContext(ctx context.Context) *DeleteBlockDeviceParams
WithContext adds the context to the delete block device params
func (*DeleteBlockDeviceParams) WithHTTPClient ¶
func (o *DeleteBlockDeviceParams) WithHTTPClient(client *http.Client) *DeleteBlockDeviceParams
WithHTTPClient adds the HTTPClient to the delete block device params
func (*DeleteBlockDeviceParams) WithID ¶
func (o *DeleteBlockDeviceParams) WithID(id string) *DeleteBlockDeviceParams
WithID adds the id to the delete block device params
func (*DeleteBlockDeviceParams) WithTimeout ¶
func (o *DeleteBlockDeviceParams) WithTimeout(timeout time.Duration) *DeleteBlockDeviceParams
WithTimeout adds the timeout to the delete block device params
func (*DeleteBlockDeviceParams) WriteToRequest ¶
func (o *DeleteBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBlockDeviceReader ¶
type DeleteBlockDeviceReader struct {
// contains filtered or unexported fields
}
DeleteBlockDeviceReader is a Reader for the DeleteBlockDevice structure.
func (*DeleteBlockDeviceReader) ReadResponse ¶
func (o *DeleteBlockDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMachineDiskAccepted ¶
type DeleteMachineDiskAccepted struct {
Payload *models.RequestTracker
}
DeleteMachineDiskAccepted handles this case with default header values.
successful operation
func NewDeleteMachineDiskAccepted ¶
func NewDeleteMachineDiskAccepted() *DeleteMachineDiskAccepted
NewDeleteMachineDiskAccepted creates a DeleteMachineDiskAccepted with default headers values
func (*DeleteMachineDiskAccepted) Error ¶
func (o *DeleteMachineDiskAccepted) Error() string
func (*DeleteMachineDiskAccepted) GetPayload ¶
func (o *DeleteMachineDiskAccepted) GetPayload() *models.RequestTracker
type DeleteMachineDiskForbidden ¶
type DeleteMachineDiskForbidden struct { }
DeleteMachineDiskForbidden handles this case with default header values.
Forbidden
func NewDeleteMachineDiskForbidden ¶
func NewDeleteMachineDiskForbidden() *DeleteMachineDiskForbidden
NewDeleteMachineDiskForbidden creates a DeleteMachineDiskForbidden with default headers values
func (*DeleteMachineDiskForbidden) Error ¶
func (o *DeleteMachineDiskForbidden) Error() string
type DeleteMachineDiskNoContent ¶ added in v0.2.2
type DeleteMachineDiskNoContent struct { }
DeleteMachineDiskNoContent handles this case with default header values.
No Content
func NewDeleteMachineDiskNoContent ¶ added in v0.2.2
func NewDeleteMachineDiskNoContent() *DeleteMachineDiskNoContent
NewDeleteMachineDiskNoContent creates a DeleteMachineDiskNoContent with default headers values
func (*DeleteMachineDiskNoContent) Error ¶ added in v0.2.2
func (o *DeleteMachineDiskNoContent) Error() string
type DeleteMachineDiskParams ¶
type DeleteMachineDiskParams 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 The ID of the disk. */ Id1 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMachineDiskParams contains all the parameters to send to the API endpoint for the delete machine disk operation typically these are written to a http.Request
func NewDeleteMachineDiskParams ¶
func NewDeleteMachineDiskParams() *DeleteMachineDiskParams
NewDeleteMachineDiskParams creates a new DeleteMachineDiskParams object with the default values initialized.
func NewDeleteMachineDiskParamsWithContext ¶
func NewDeleteMachineDiskParamsWithContext(ctx context.Context) *DeleteMachineDiskParams
NewDeleteMachineDiskParamsWithContext creates a new DeleteMachineDiskParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMachineDiskParamsWithHTTPClient ¶
func NewDeleteMachineDiskParamsWithHTTPClient(client *http.Client) *DeleteMachineDiskParams
NewDeleteMachineDiskParamsWithHTTPClient creates a new DeleteMachineDiskParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMachineDiskParamsWithTimeout ¶
func NewDeleteMachineDiskParamsWithTimeout(timeout time.Duration) *DeleteMachineDiskParams
NewDeleteMachineDiskParamsWithTimeout creates a new DeleteMachineDiskParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMachineDiskParams) SetAPIVersion ¶
func (o *DeleteMachineDiskParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete machine disk params
func (*DeleteMachineDiskParams) SetContext ¶
func (o *DeleteMachineDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the delete machine disk params
func (*DeleteMachineDiskParams) SetHTTPClient ¶
func (o *DeleteMachineDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete machine disk params
func (*DeleteMachineDiskParams) SetID ¶
func (o *DeleteMachineDiskParams) SetID(id string)
SetID adds the id to the delete machine disk params
func (*DeleteMachineDiskParams) SetId1 ¶
func (o *DeleteMachineDiskParams) SetId1(id1 string)
SetId1 adds the id1 to the delete machine disk params
func (*DeleteMachineDiskParams) SetTimeout ¶
func (o *DeleteMachineDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete machine disk params
func (*DeleteMachineDiskParams) WithAPIVersion ¶
func (o *DeleteMachineDiskParams) WithAPIVersion(aPIVersion *string) *DeleteMachineDiskParams
WithAPIVersion adds the aPIVersion to the delete machine disk params
func (*DeleteMachineDiskParams) WithContext ¶
func (o *DeleteMachineDiskParams) WithContext(ctx context.Context) *DeleteMachineDiskParams
WithContext adds the context to the delete machine disk params
func (*DeleteMachineDiskParams) WithHTTPClient ¶
func (o *DeleteMachineDiskParams) WithHTTPClient(client *http.Client) *DeleteMachineDiskParams
WithHTTPClient adds the HTTPClient to the delete machine disk params
func (*DeleteMachineDiskParams) WithID ¶
func (o *DeleteMachineDiskParams) WithID(id string) *DeleteMachineDiskParams
WithID adds the id to the delete machine disk params
func (*DeleteMachineDiskParams) WithId1 ¶
func (o *DeleteMachineDiskParams) WithId1(id1 string) *DeleteMachineDiskParams
WithId1 adds the id1 to the delete machine disk params
func (*DeleteMachineDiskParams) WithTimeout ¶
func (o *DeleteMachineDiskParams) WithTimeout(timeout time.Duration) *DeleteMachineDiskParams
WithTimeout adds the timeout to the delete machine disk params
func (*DeleteMachineDiskParams) WriteToRequest ¶
func (o *DeleteMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMachineDiskReader ¶
type DeleteMachineDiskReader struct {
// contains filtered or unexported fields
}
DeleteMachineDiskReader is a Reader for the DeleteMachineDisk structure.
func (*DeleteMachineDiskReader) ReadResponse ¶
func (o *DeleteMachineDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBlockDeviceForbidden ¶
type GetBlockDeviceForbidden struct { }
GetBlockDeviceForbidden handles this case with default header values.
Forbidden
func NewGetBlockDeviceForbidden ¶
func NewGetBlockDeviceForbidden() *GetBlockDeviceForbidden
NewGetBlockDeviceForbidden creates a GetBlockDeviceForbidden with default headers values
func (*GetBlockDeviceForbidden) Error ¶
func (o *GetBlockDeviceForbidden) Error() string
type GetBlockDeviceOK ¶
type GetBlockDeviceOK struct {
Payload *models.BlockDevice
}
GetBlockDeviceOK handles this case with default header values.
successful operation
func NewGetBlockDeviceOK ¶
func NewGetBlockDeviceOK() *GetBlockDeviceOK
NewGetBlockDeviceOK creates a GetBlockDeviceOK with default headers values
func (*GetBlockDeviceOK) Error ¶
func (o *GetBlockDeviceOK) Error() string
func (*GetBlockDeviceOK) GetPayload ¶
func (o *GetBlockDeviceOK) GetPayload() *models.BlockDevice
type GetBlockDeviceParams ¶
type GetBlockDeviceParams 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 block device. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBlockDeviceParams contains all the parameters to send to the API endpoint for the get block device operation typically these are written to a http.Request
func NewGetBlockDeviceParams ¶
func NewGetBlockDeviceParams() *GetBlockDeviceParams
NewGetBlockDeviceParams creates a new GetBlockDeviceParams object with the default values initialized.
func NewGetBlockDeviceParamsWithContext ¶
func NewGetBlockDeviceParamsWithContext(ctx context.Context) *GetBlockDeviceParams
NewGetBlockDeviceParamsWithContext creates a new GetBlockDeviceParams object with the default values initialized, and the ability to set a context for a request
func NewGetBlockDeviceParamsWithHTTPClient ¶
func NewGetBlockDeviceParamsWithHTTPClient(client *http.Client) *GetBlockDeviceParams
NewGetBlockDeviceParamsWithHTTPClient creates a new GetBlockDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBlockDeviceParamsWithTimeout ¶
func NewGetBlockDeviceParamsWithTimeout(timeout time.Duration) *GetBlockDeviceParams
NewGetBlockDeviceParamsWithTimeout creates a new GetBlockDeviceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBlockDeviceParams) SetAPIVersion ¶
func (o *GetBlockDeviceParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get block device params
func (*GetBlockDeviceParams) SetContext ¶
func (o *GetBlockDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the get block device params
func (*GetBlockDeviceParams) SetHTTPClient ¶
func (o *GetBlockDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get block device params
func (*GetBlockDeviceParams) SetID ¶
func (o *GetBlockDeviceParams) SetID(id string)
SetID adds the id to the get block device params
func (*GetBlockDeviceParams) SetTimeout ¶
func (o *GetBlockDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get block device params
func (*GetBlockDeviceParams) WithAPIVersion ¶
func (o *GetBlockDeviceParams) WithAPIVersion(aPIVersion *string) *GetBlockDeviceParams
WithAPIVersion adds the aPIVersion to the get block device params
func (*GetBlockDeviceParams) WithContext ¶
func (o *GetBlockDeviceParams) WithContext(ctx context.Context) *GetBlockDeviceParams
WithContext adds the context to the get block device params
func (*GetBlockDeviceParams) WithHTTPClient ¶
func (o *GetBlockDeviceParams) WithHTTPClient(client *http.Client) *GetBlockDeviceParams
WithHTTPClient adds the HTTPClient to the get block device params
func (*GetBlockDeviceParams) WithID ¶
func (o *GetBlockDeviceParams) WithID(id string) *GetBlockDeviceParams
WithID adds the id to the get block device params
func (*GetBlockDeviceParams) WithTimeout ¶
func (o *GetBlockDeviceParams) WithTimeout(timeout time.Duration) *GetBlockDeviceParams
WithTimeout adds the timeout to the get block device params
func (*GetBlockDeviceParams) WriteToRequest ¶
func (o *GetBlockDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBlockDeviceReader ¶
type GetBlockDeviceReader struct {
// contains filtered or unexported fields
}
GetBlockDeviceReader is a Reader for the GetBlockDevice structure.
func (*GetBlockDeviceReader) ReadResponse ¶
func (o *GetBlockDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBlockDevicesForbidden ¶
type GetBlockDevicesForbidden struct { }
GetBlockDevicesForbidden handles this case with default header values.
Forbidden
func NewGetBlockDevicesForbidden ¶
func NewGetBlockDevicesForbidden() *GetBlockDevicesForbidden
NewGetBlockDevicesForbidden creates a GetBlockDevicesForbidden with default headers values
func (*GetBlockDevicesForbidden) Error ¶
func (o *GetBlockDevicesForbidden) Error() string
type GetBlockDevicesOK ¶
type GetBlockDevicesOK struct {
Payload *models.BlockDeviceResult
}
GetBlockDevicesOK handles this case with default header values.
successful operation
func NewGetBlockDevicesOK ¶
func NewGetBlockDevicesOK() *GetBlockDevicesOK
NewGetBlockDevicesOK creates a GetBlockDevicesOK with default headers values
func (*GetBlockDevicesOK) Error ¶
func (o *GetBlockDevicesOK) Error() string
func (*GetBlockDevicesOK) GetPayload ¶
func (o *GetBlockDevicesOK) GetPayload() *models.BlockDeviceResult
type GetBlockDevicesParams ¶
type GetBlockDevicesParams 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 }
GetBlockDevicesParams contains all the parameters to send to the API endpoint for the get block devices operation typically these are written to a http.Request
func NewGetBlockDevicesParams ¶
func NewGetBlockDevicesParams() *GetBlockDevicesParams
NewGetBlockDevicesParams creates a new GetBlockDevicesParams object with the default values initialized.
func NewGetBlockDevicesParamsWithContext ¶
func NewGetBlockDevicesParamsWithContext(ctx context.Context) *GetBlockDevicesParams
NewGetBlockDevicesParamsWithContext creates a new GetBlockDevicesParams object with the default values initialized, and the ability to set a context for a request
func NewGetBlockDevicesParamsWithHTTPClient ¶
func NewGetBlockDevicesParamsWithHTTPClient(client *http.Client) *GetBlockDevicesParams
NewGetBlockDevicesParamsWithHTTPClient creates a new GetBlockDevicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBlockDevicesParamsWithTimeout ¶
func NewGetBlockDevicesParamsWithTimeout(timeout time.Duration) *GetBlockDevicesParams
NewGetBlockDevicesParamsWithTimeout creates a new GetBlockDevicesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBlockDevicesParams) SetAPIVersion ¶
func (o *GetBlockDevicesParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get block devices params
func (*GetBlockDevicesParams) SetContext ¶
func (o *GetBlockDevicesParams) SetContext(ctx context.Context)
SetContext adds the context to the get block devices params
func (*GetBlockDevicesParams) SetHTTPClient ¶
func (o *GetBlockDevicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get block devices params
func (*GetBlockDevicesParams) SetTimeout ¶
func (o *GetBlockDevicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get block devices params
func (*GetBlockDevicesParams) WithAPIVersion ¶
func (o *GetBlockDevicesParams) WithAPIVersion(aPIVersion *string) *GetBlockDevicesParams
WithAPIVersion adds the aPIVersion to the get block devices params
func (*GetBlockDevicesParams) WithContext ¶
func (o *GetBlockDevicesParams) WithContext(ctx context.Context) *GetBlockDevicesParams
WithContext adds the context to the get block devices params
func (*GetBlockDevicesParams) WithHTTPClient ¶
func (o *GetBlockDevicesParams) WithHTTPClient(client *http.Client) *GetBlockDevicesParams
WithHTTPClient adds the HTTPClient to the get block devices params
func (*GetBlockDevicesParams) WithTimeout ¶
func (o *GetBlockDevicesParams) WithTimeout(timeout time.Duration) *GetBlockDevicesParams
WithTimeout adds the timeout to the get block devices params
func (*GetBlockDevicesParams) WriteToRequest ¶
func (o *GetBlockDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBlockDevicesReader ¶
type GetBlockDevicesReader struct {
// contains filtered or unexported fields
}
GetBlockDevicesReader is a Reader for the GetBlockDevices structure.
func (*GetBlockDevicesReader) ReadResponse ¶
func (o *GetBlockDevicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineDiskForbidden ¶
type GetMachineDiskForbidden struct { }
GetMachineDiskForbidden handles this case with default header values.
Forbidden
func NewGetMachineDiskForbidden ¶
func NewGetMachineDiskForbidden() *GetMachineDiskForbidden
NewGetMachineDiskForbidden creates a GetMachineDiskForbidden with default headers values
func (*GetMachineDiskForbidden) Error ¶
func (o *GetMachineDiskForbidden) Error() string
type GetMachineDiskNotFound ¶
type GetMachineDiskNotFound struct { }
GetMachineDiskNotFound handles this case with default header values.
Not Found
func NewGetMachineDiskNotFound ¶
func NewGetMachineDiskNotFound() *GetMachineDiskNotFound
NewGetMachineDiskNotFound creates a GetMachineDiskNotFound with default headers values
func (*GetMachineDiskNotFound) Error ¶
func (o *GetMachineDiskNotFound) Error() string
type GetMachineDiskOK ¶
type GetMachineDiskOK struct {
Payload *models.BlockDevice
}
GetMachineDiskOK handles this case with default header values.
successful operation
func NewGetMachineDiskOK ¶
func NewGetMachineDiskOK() *GetMachineDiskOK
NewGetMachineDiskOK creates a GetMachineDiskOK with default headers values
func (*GetMachineDiskOK) Error ¶
func (o *GetMachineDiskOK) Error() string
func (*GetMachineDiskOK) GetPayload ¶
func (o *GetMachineDiskOK) GetPayload() *models.BlockDevice
type GetMachineDiskParams ¶
type GetMachineDiskParams 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 The ID of the disk. */ Id1 string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachineDiskParams contains all the parameters to send to the API endpoint for the get machine disk operation typically these are written to a http.Request
func NewGetMachineDiskParams ¶
func NewGetMachineDiskParams() *GetMachineDiskParams
NewGetMachineDiskParams creates a new GetMachineDiskParams object with the default values initialized.
func NewGetMachineDiskParamsWithContext ¶
func NewGetMachineDiskParamsWithContext(ctx context.Context) *GetMachineDiskParams
NewGetMachineDiskParamsWithContext creates a new GetMachineDiskParams object with the default values initialized, and the ability to set a context for a request
func NewGetMachineDiskParamsWithHTTPClient ¶
func NewGetMachineDiskParamsWithHTTPClient(client *http.Client) *GetMachineDiskParams
NewGetMachineDiskParamsWithHTTPClient creates a new GetMachineDiskParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMachineDiskParamsWithTimeout ¶
func NewGetMachineDiskParamsWithTimeout(timeout time.Duration) *GetMachineDiskParams
NewGetMachineDiskParamsWithTimeout creates a new GetMachineDiskParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMachineDiskParams) SetAPIVersion ¶
func (o *GetMachineDiskParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get machine disk params
func (*GetMachineDiskParams) SetContext ¶
func (o *GetMachineDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine disk params
func (*GetMachineDiskParams) SetHTTPClient ¶
func (o *GetMachineDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine disk params
func (*GetMachineDiskParams) SetID ¶
func (o *GetMachineDiskParams) SetID(id string)
SetID adds the id to the get machine disk params
func (*GetMachineDiskParams) SetId1 ¶
func (o *GetMachineDiskParams) SetId1(id1 string)
SetId1 adds the id1 to the get machine disk params
func (*GetMachineDiskParams) SetTimeout ¶
func (o *GetMachineDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine disk params
func (*GetMachineDiskParams) WithAPIVersion ¶
func (o *GetMachineDiskParams) WithAPIVersion(aPIVersion *string) *GetMachineDiskParams
WithAPIVersion adds the aPIVersion to the get machine disk params
func (*GetMachineDiskParams) WithContext ¶
func (o *GetMachineDiskParams) WithContext(ctx context.Context) *GetMachineDiskParams
WithContext adds the context to the get machine disk params
func (*GetMachineDiskParams) WithHTTPClient ¶
func (o *GetMachineDiskParams) WithHTTPClient(client *http.Client) *GetMachineDiskParams
WithHTTPClient adds the HTTPClient to the get machine disk params
func (*GetMachineDiskParams) WithID ¶
func (o *GetMachineDiskParams) WithID(id string) *GetMachineDiskParams
WithID adds the id to the get machine disk params
func (*GetMachineDiskParams) WithId1 ¶
func (o *GetMachineDiskParams) WithId1(id1 string) *GetMachineDiskParams
WithId1 adds the id1 to the get machine disk params
func (*GetMachineDiskParams) WithTimeout ¶
func (o *GetMachineDiskParams) WithTimeout(timeout time.Duration) *GetMachineDiskParams
WithTimeout adds the timeout to the get machine disk params
func (*GetMachineDiskParams) WriteToRequest ¶
func (o *GetMachineDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineDiskReader ¶
type GetMachineDiskReader struct {
// contains filtered or unexported fields
}
GetMachineDiskReader is a Reader for the GetMachineDisk structure.
func (*GetMachineDiskReader) ReadResponse ¶
func (o *GetMachineDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineDisksForbidden ¶
type GetMachineDisksForbidden struct { }
GetMachineDisksForbidden handles this case with default header values.
Forbidden
func NewGetMachineDisksForbidden ¶
func NewGetMachineDisksForbidden() *GetMachineDisksForbidden
NewGetMachineDisksForbidden creates a GetMachineDisksForbidden with default headers values
func (*GetMachineDisksForbidden) Error ¶
func (o *GetMachineDisksForbidden) Error() string
type GetMachineDisksNotFound ¶
type GetMachineDisksNotFound struct { }
GetMachineDisksNotFound handles this case with default header values.
Not Found
func NewGetMachineDisksNotFound ¶
func NewGetMachineDisksNotFound() *GetMachineDisksNotFound
NewGetMachineDisksNotFound creates a GetMachineDisksNotFound with default headers values
func (*GetMachineDisksNotFound) Error ¶
func (o *GetMachineDisksNotFound) Error() string
type GetMachineDisksOK ¶
type GetMachineDisksOK struct {
Payload *models.BlockDeviceResult
}
GetMachineDisksOK handles this case with default header values.
successful operation
func NewGetMachineDisksOK ¶
func NewGetMachineDisksOK() *GetMachineDisksOK
NewGetMachineDisksOK creates a GetMachineDisksOK with default headers values
func (*GetMachineDisksOK) Error ¶
func (o *GetMachineDisksOK) Error() string
func (*GetMachineDisksOK) GetPayload ¶
func (o *GetMachineDisksOK) GetPayload() *models.BlockDeviceResult
type GetMachineDisksParams ¶
type GetMachineDisksParams 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 }
GetMachineDisksParams contains all the parameters to send to the API endpoint for the get machine disks operation typically these are written to a http.Request
func NewGetMachineDisksParams ¶
func NewGetMachineDisksParams() *GetMachineDisksParams
NewGetMachineDisksParams creates a new GetMachineDisksParams object with the default values initialized.
func NewGetMachineDisksParamsWithContext ¶
func NewGetMachineDisksParamsWithContext(ctx context.Context) *GetMachineDisksParams
NewGetMachineDisksParamsWithContext creates a new GetMachineDisksParams object with the default values initialized, and the ability to set a context for a request
func NewGetMachineDisksParamsWithHTTPClient ¶
func NewGetMachineDisksParamsWithHTTPClient(client *http.Client) *GetMachineDisksParams
NewGetMachineDisksParamsWithHTTPClient creates a new GetMachineDisksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMachineDisksParamsWithTimeout ¶
func NewGetMachineDisksParamsWithTimeout(timeout time.Duration) *GetMachineDisksParams
NewGetMachineDisksParamsWithTimeout creates a new GetMachineDisksParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMachineDisksParams) SetAPIVersion ¶
func (o *GetMachineDisksParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get machine disks params
func (*GetMachineDisksParams) SetContext ¶
func (o *GetMachineDisksParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine disks params
func (*GetMachineDisksParams) SetHTTPClient ¶
func (o *GetMachineDisksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine disks params
func (*GetMachineDisksParams) SetID ¶
func (o *GetMachineDisksParams) SetID(id string)
SetID adds the id to the get machine disks params
func (*GetMachineDisksParams) SetTimeout ¶
func (o *GetMachineDisksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine disks params
func (*GetMachineDisksParams) WithAPIVersion ¶
func (o *GetMachineDisksParams) WithAPIVersion(aPIVersion *string) *GetMachineDisksParams
WithAPIVersion adds the aPIVersion to the get machine disks params
func (*GetMachineDisksParams) WithContext ¶
func (o *GetMachineDisksParams) WithContext(ctx context.Context) *GetMachineDisksParams
WithContext adds the context to the get machine disks params
func (*GetMachineDisksParams) WithHTTPClient ¶
func (o *GetMachineDisksParams) WithHTTPClient(client *http.Client) *GetMachineDisksParams
WithHTTPClient adds the HTTPClient to the get machine disks params
func (*GetMachineDisksParams) WithID ¶
func (o *GetMachineDisksParams) WithID(id string) *GetMachineDisksParams
WithID adds the id to the get machine disks params
func (*GetMachineDisksParams) WithTimeout ¶
func (o *GetMachineDisksParams) WithTimeout(timeout time.Duration) *GetMachineDisksParams
WithTimeout adds the timeout to the get machine disks params
func (*GetMachineDisksParams) WriteToRequest ¶
func (o *GetMachineDisksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineDisksReader ¶
type GetMachineDisksReader struct {
// contains filtered or unexported fields
}
GetMachineDisksReader is a Reader for the GetMachineDisks structure.
func (*GetMachineDisksReader) ReadResponse ¶
func (o *GetMachineDisksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- attach_machine_disk_parameters.go
- attach_machine_disk_responses.go
- create_block_device_parameters.go
- create_block_device_responses.go
- delete_block_device_parameters.go
- delete_block_device_responses.go
- delete_machine_disk_parameters.go
- delete_machine_disk_responses.go
- disk_client.go
- get_block_device_parameters.go
- get_block_device_responses.go
- get_block_devices_parameters.go
- get_block_devices_responses.go
- get_machine_disk_parameters.go
- get_machine_disk_responses.go
- get_machine_disks_parameters.go
- get_machine_disks_responses.go