p_cloud_clone_volumes

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type PcloudClonevolumesPostBadRequest struct {
	Payload *models.Error
}

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

type PcloudClonevolumesPostConflict

type PcloudClonevolumesPostConflict struct {
	Payload *models.Error
}

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

type PcloudClonevolumesPostInternalServerError

type PcloudClonevolumesPostInternalServerError struct {
	Payload *models.Error
}

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

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

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

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

WithContext adds the context to the pcloud clonevolumes post params

func (*PcloudClonevolumesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud clonevolumes post params

func (*PcloudClonevolumesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud clonevolumes post params

func (*PcloudClonevolumesPostParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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