Documentation ¶
Index ¶
- type Client
- type PcloudClonevolumesPostBadRequest
- type PcloudClonevolumesPostConflict
- type PcloudClonevolumesPostInternalServerError
- type PcloudClonevolumesPostOK
- type PcloudClonevolumesPostParams
- func NewPcloudClonevolumesPostParams() *PcloudClonevolumesPostParams
- func NewPcloudClonevolumesPostParamsWithContext(ctx context.Context) *PcloudClonevolumesPostParams
- func NewPcloudClonevolumesPostParamsWithHTTPClient(client *http.Client) *PcloudClonevolumesPostParams
- func NewPcloudClonevolumesPostParamsWithTimeout(timeout time.Duration) *PcloudClonevolumesPostParams
- func (o *PcloudClonevolumesPostParams) SetBody(body *models.CloneVolumesRequest)
- func (o *PcloudClonevolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudClonevolumesPostParams) SetContext(ctx context.Context)
- func (o *PcloudClonevolumesPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudClonevolumesPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudClonevolumesPostParams) WithBody(body *models.CloneVolumesRequest) *PcloudClonevolumesPostParams
- func (o *PcloudClonevolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudClonevolumesPostParams
- func (o *PcloudClonevolumesPostParams) WithContext(ctx context.Context) *PcloudClonevolumesPostParams
- func (o *PcloudClonevolumesPostParams) WithHTTPClient(client *http.Client) *PcloudClonevolumesPostParams
- func (o *PcloudClonevolumesPostParams) WithTimeout(timeout time.Duration) *PcloudClonevolumesPostParams
- func (o *PcloudClonevolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudClonevolumesPostReader
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 p cloud clone volumes API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud clone volumes API client.
func (*Client) PcloudClonevolumesPost ¶
func (a *Client) PcloudClonevolumesPost(params *PcloudClonevolumesPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudClonevolumesPostOK, error)
PcloudClonevolumesPost creates a volume clone for specified volumes
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudClonevolumesPostBadRequest ¶
PcloudClonevolumesPostBadRequest handles this case with default header values.
Bad Request
func NewPcloudClonevolumesPostBadRequest ¶
func NewPcloudClonevolumesPostBadRequest() *PcloudClonevolumesPostBadRequest
NewPcloudClonevolumesPostBadRequest creates a PcloudClonevolumesPostBadRequest with default headers values
func (*PcloudClonevolumesPostBadRequest) Error ¶
func (o *PcloudClonevolumesPostBadRequest) Error() string
type PcloudClonevolumesPostConflict ¶
PcloudClonevolumesPostConflict handles this case with default header values.
Conflict
func NewPcloudClonevolumesPostConflict ¶
func NewPcloudClonevolumesPostConflict() *PcloudClonevolumesPostConflict
NewPcloudClonevolumesPostConflict creates a PcloudClonevolumesPostConflict with default headers values
func (*PcloudClonevolumesPostConflict) Error ¶
func (o *PcloudClonevolumesPostConflict) Error() string
type PcloudClonevolumesPostInternalServerError ¶
PcloudClonevolumesPostInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudClonevolumesPostInternalServerError ¶
func NewPcloudClonevolumesPostInternalServerError() *PcloudClonevolumesPostInternalServerError
NewPcloudClonevolumesPostInternalServerError creates a PcloudClonevolumesPostInternalServerError with default headers values
func (*PcloudClonevolumesPostInternalServerError) Error ¶
func (o *PcloudClonevolumesPostInternalServerError) Error() string
type PcloudClonevolumesPostOK ¶
type PcloudClonevolumesPostOK struct {
Payload *models.CloneVolumesResponse
}
PcloudClonevolumesPostOK handles this case with default header values.
OK
func NewPcloudClonevolumesPostOK ¶
func NewPcloudClonevolumesPostOK() *PcloudClonevolumesPostOK
NewPcloudClonevolumesPostOK creates a PcloudClonevolumesPostOK with default headers values
func (*PcloudClonevolumesPostOK) Error ¶
func (o *PcloudClonevolumesPostOK) Error() string
type PcloudClonevolumesPostParams ¶
type PcloudClonevolumesPostParams struct { /*Body Parameters for the cloning of volumes */ Body *models.CloneVolumesRequest /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudClonevolumesPostParams contains all the parameters to send to the API endpoint for the pcloud clonevolumes post operation typically these are written to a http.Request
func NewPcloudClonevolumesPostParams ¶
func NewPcloudClonevolumesPostParams() *PcloudClonevolumesPostParams
NewPcloudClonevolumesPostParams creates a new PcloudClonevolumesPostParams object with the default values initialized.
func NewPcloudClonevolumesPostParamsWithContext ¶
func NewPcloudClonevolumesPostParamsWithContext(ctx context.Context) *PcloudClonevolumesPostParams
NewPcloudClonevolumesPostParamsWithContext creates a new PcloudClonevolumesPostParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudClonevolumesPostParamsWithHTTPClient ¶
func NewPcloudClonevolumesPostParamsWithHTTPClient(client *http.Client) *PcloudClonevolumesPostParams
NewPcloudClonevolumesPostParamsWithHTTPClient creates a new PcloudClonevolumesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudClonevolumesPostParamsWithTimeout ¶
func NewPcloudClonevolumesPostParamsWithTimeout(timeout time.Duration) *PcloudClonevolumesPostParams
NewPcloudClonevolumesPostParamsWithTimeout creates a new PcloudClonevolumesPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudClonevolumesPostParams) SetBody ¶
func (o *PcloudClonevolumesPostParams) SetBody(body *models.CloneVolumesRequest)
SetBody adds the body to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) SetCloudInstanceID ¶
func (o *PcloudClonevolumesPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) SetContext ¶
func (o *PcloudClonevolumesPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) SetHTTPClient ¶
func (o *PcloudClonevolumesPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) SetTimeout ¶
func (o *PcloudClonevolumesPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) WithBody ¶
func (o *PcloudClonevolumesPostParams) WithBody(body *models.CloneVolumesRequest) *PcloudClonevolumesPostParams
WithBody adds the body to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) WithCloudInstanceID ¶
func (o *PcloudClonevolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudClonevolumesPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) WithContext ¶
func (o *PcloudClonevolumesPostParams) WithContext(ctx context.Context) *PcloudClonevolumesPostParams
WithContext adds the context to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) WithHTTPClient ¶
func (o *PcloudClonevolumesPostParams) WithHTTPClient(client *http.Client) *PcloudClonevolumesPostParams
WithHTTPClient adds the HTTPClient to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) WithTimeout ¶
func (o *PcloudClonevolumesPostParams) WithTimeout(timeout time.Duration) *PcloudClonevolumesPostParams
WithTimeout adds the timeout to the pcloud clonevolumes post params
func (*PcloudClonevolumesPostParams) WriteToRequest ¶
func (o *PcloudClonevolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudClonevolumesPostReader ¶
type PcloudClonevolumesPostReader struct {
// contains filtered or unexported fields
}
PcloudClonevolumesPostReader is a Reader for the PcloudClonevolumesPost structure.
func (*PcloudClonevolumesPostReader) ReadResponse ¶
func (o *PcloudClonevolumesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.