p_cloud_images

package
v1.0.29 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 2

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 images API

func New

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

New creates a new p cloud images API client.

func (*Client) PcloudCloudinstancesImagesDelete

PcloudCloudinstancesImagesDelete deletes an image from a cloud instance

func (*Client) PcloudCloudinstancesImagesExportPost

PcloudCloudinstancesImagesExportPost exports an image

func (*Client) PcloudCloudinstancesImagesGet

func (a *Client) PcloudCloudinstancesImagesGet(params *PcloudCloudinstancesImagesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudCloudinstancesImagesGetOK, error)

PcloudCloudinstancesImagesGet detaileds info of an image

func (*Client) PcloudCloudinstancesImagesGetall

PcloudCloudinstancesImagesGetall lists all images for this cloud instance

func (*Client) PcloudCloudinstancesImagesPost

PcloudCloudinstancesImagesPost creates a new image from available images

func (*Client) PcloudImagesGet

func (a *Client) PcloudImagesGet(params *PcloudImagesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudImagesGetOK, error)

PcloudImagesGet detaileds info of an available stock image

func (*Client) PcloudImagesGetall

func (a *Client) PcloudImagesGetall(params *PcloudImagesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudImagesGetallOK, error)

PcloudImagesGetall lists all available stock images

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type PcloudCloudinstancesImagesDeleteBadRequest

type PcloudCloudinstancesImagesDeleteBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesDeleteBadRequest

func NewPcloudCloudinstancesImagesDeleteBadRequest() *PcloudCloudinstancesImagesDeleteBadRequest

NewPcloudCloudinstancesImagesDeleteBadRequest creates a PcloudCloudinstancesImagesDeleteBadRequest with default headers values

func (*PcloudCloudinstancesImagesDeleteBadRequest) Error

type PcloudCloudinstancesImagesDeleteGone

type PcloudCloudinstancesImagesDeleteGone struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesDeleteGone handles this case with default header values.

Gone

func NewPcloudCloudinstancesImagesDeleteGone

func NewPcloudCloudinstancesImagesDeleteGone() *PcloudCloudinstancesImagesDeleteGone

NewPcloudCloudinstancesImagesDeleteGone creates a PcloudCloudinstancesImagesDeleteGone with default headers values

func (*PcloudCloudinstancesImagesDeleteGone) Error

type PcloudCloudinstancesImagesDeleteInternalServerError

type PcloudCloudinstancesImagesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesDeleteInternalServerError

func NewPcloudCloudinstancesImagesDeleteInternalServerError() *PcloudCloudinstancesImagesDeleteInternalServerError

NewPcloudCloudinstancesImagesDeleteInternalServerError creates a PcloudCloudinstancesImagesDeleteInternalServerError with default headers values

func (*PcloudCloudinstancesImagesDeleteInternalServerError) Error

type PcloudCloudinstancesImagesDeleteOK

type PcloudCloudinstancesImagesDeleteOK struct {
	Payload models.Object
}

PcloudCloudinstancesImagesDeleteOK handles this case with default header values.

OK

func NewPcloudCloudinstancesImagesDeleteOK

func NewPcloudCloudinstancesImagesDeleteOK() *PcloudCloudinstancesImagesDeleteOK

NewPcloudCloudinstancesImagesDeleteOK creates a PcloudCloudinstancesImagesDeleteOK with default headers values

func (*PcloudCloudinstancesImagesDeleteOK) Error

type PcloudCloudinstancesImagesDeleteParams

type PcloudCloudinstancesImagesDeleteParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*ImageID
	  Image ID of a image

	*/
	ImageID string

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

PcloudCloudinstancesImagesDeleteParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images delete operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesDeleteParams

func NewPcloudCloudinstancesImagesDeleteParams() *PcloudCloudinstancesImagesDeleteParams

NewPcloudCloudinstancesImagesDeleteParams creates a new PcloudCloudinstancesImagesDeleteParams object with the default values initialized.

func NewPcloudCloudinstancesImagesDeleteParamsWithContext

func NewPcloudCloudinstancesImagesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesDeleteParams

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

func NewPcloudCloudinstancesImagesDeleteParamsWithHTTPClient

func NewPcloudCloudinstancesImagesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesDeleteParams

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

func NewPcloudCloudinstancesImagesDeleteParamsWithTimeout

func NewPcloudCloudinstancesImagesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesDeleteParams

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

func (*PcloudCloudinstancesImagesDeleteParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) SetContext

SetContext adds the context to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) SetImageID

func (o *PcloudCloudinstancesImagesDeleteParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithContext

WithContext adds the context to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithImageID

WithImageID adds the imageID to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images delete params

func (*PcloudCloudinstancesImagesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesDeleteReader

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

PcloudCloudinstancesImagesDeleteReader is a Reader for the PcloudCloudinstancesImagesDelete structure.

func (*PcloudCloudinstancesImagesDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesExportPostAccepted

type PcloudCloudinstancesImagesExportPostAccepted struct {
	Payload models.Object
}

PcloudCloudinstancesImagesExportPostAccepted handles this case with default header values.

Accepted

func NewPcloudCloudinstancesImagesExportPostAccepted

func NewPcloudCloudinstancesImagesExportPostAccepted() *PcloudCloudinstancesImagesExportPostAccepted

NewPcloudCloudinstancesImagesExportPostAccepted creates a PcloudCloudinstancesImagesExportPostAccepted with default headers values

func (*PcloudCloudinstancesImagesExportPostAccepted) Error

type PcloudCloudinstancesImagesExportPostBadRequest

type PcloudCloudinstancesImagesExportPostBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesExportPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesExportPostBadRequest

func NewPcloudCloudinstancesImagesExportPostBadRequest() *PcloudCloudinstancesImagesExportPostBadRequest

NewPcloudCloudinstancesImagesExportPostBadRequest creates a PcloudCloudinstancesImagesExportPostBadRequest with default headers values

func (*PcloudCloudinstancesImagesExportPostBadRequest) Error

type PcloudCloudinstancesImagesExportPostInternalServerError

type PcloudCloudinstancesImagesExportPostInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesExportPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesExportPostInternalServerError

func NewPcloudCloudinstancesImagesExportPostInternalServerError() *PcloudCloudinstancesImagesExportPostInternalServerError

NewPcloudCloudinstancesImagesExportPostInternalServerError creates a PcloudCloudinstancesImagesExportPostInternalServerError with default headers values

func (*PcloudCloudinstancesImagesExportPostInternalServerError) Error

type PcloudCloudinstancesImagesExportPostNotFound

type PcloudCloudinstancesImagesExportPostNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesExportPostNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesImagesExportPostNotFound

func NewPcloudCloudinstancesImagesExportPostNotFound() *PcloudCloudinstancesImagesExportPostNotFound

NewPcloudCloudinstancesImagesExportPostNotFound creates a PcloudCloudinstancesImagesExportPostNotFound with default headers values

func (*PcloudCloudinstancesImagesExportPostNotFound) Error

type PcloudCloudinstancesImagesExportPostParams

type PcloudCloudinstancesImagesExportPostParams struct {

	/*Body
	  Parameters for exporting an image

	*/
	Body *models.ExportImage
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*ImageID
	  Image ID of a image

	*/
	ImageID string

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

PcloudCloudinstancesImagesExportPostParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images export post operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesExportPostParams

func NewPcloudCloudinstancesImagesExportPostParams() *PcloudCloudinstancesImagesExportPostParams

NewPcloudCloudinstancesImagesExportPostParams creates a new PcloudCloudinstancesImagesExportPostParams object with the default values initialized.

func NewPcloudCloudinstancesImagesExportPostParamsWithContext

func NewPcloudCloudinstancesImagesExportPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesExportPostParams

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

func NewPcloudCloudinstancesImagesExportPostParamsWithHTTPClient

func NewPcloudCloudinstancesImagesExportPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesExportPostParams

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

func NewPcloudCloudinstancesImagesExportPostParamsWithTimeout

func NewPcloudCloudinstancesImagesExportPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesExportPostParams

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

func (*PcloudCloudinstancesImagesExportPostParams) SetBody

SetBody adds the body to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesExportPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetContext

SetContext adds the context to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetImageID

func (o *PcloudCloudinstancesImagesExportPostParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) SetTimeout

SetTimeout adds the timeout to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithBody

WithBody adds the body to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithContext

WithContext adds the context to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithImageID

WithImageID adds the imageID to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images export post params

func (*PcloudCloudinstancesImagesExportPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesExportPostReader

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

PcloudCloudinstancesImagesExportPostReader is a Reader for the PcloudCloudinstancesImagesExportPost structure.

func (*PcloudCloudinstancesImagesExportPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesGetBadRequest

type PcloudCloudinstancesImagesGetBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesGetBadRequest

func NewPcloudCloudinstancesImagesGetBadRequest() *PcloudCloudinstancesImagesGetBadRequest

NewPcloudCloudinstancesImagesGetBadRequest creates a PcloudCloudinstancesImagesGetBadRequest with default headers values

func (*PcloudCloudinstancesImagesGetBadRequest) Error

type PcloudCloudinstancesImagesGetInternalServerError

type PcloudCloudinstancesImagesGetInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesGetInternalServerError

func NewPcloudCloudinstancesImagesGetInternalServerError() *PcloudCloudinstancesImagesGetInternalServerError

NewPcloudCloudinstancesImagesGetInternalServerError creates a PcloudCloudinstancesImagesGetInternalServerError with default headers values

func (*PcloudCloudinstancesImagesGetInternalServerError) Error

type PcloudCloudinstancesImagesGetNotFound

type PcloudCloudinstancesImagesGetNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesImagesGetNotFound

func NewPcloudCloudinstancesImagesGetNotFound() *PcloudCloudinstancesImagesGetNotFound

NewPcloudCloudinstancesImagesGetNotFound creates a PcloudCloudinstancesImagesGetNotFound with default headers values

func (*PcloudCloudinstancesImagesGetNotFound) Error

type PcloudCloudinstancesImagesGetOK

type PcloudCloudinstancesImagesGetOK struct {
	Payload *models.Image
}

PcloudCloudinstancesImagesGetOK handles this case with default header values.

OK

func NewPcloudCloudinstancesImagesGetOK

func NewPcloudCloudinstancesImagesGetOK() *PcloudCloudinstancesImagesGetOK

NewPcloudCloudinstancesImagesGetOK creates a PcloudCloudinstancesImagesGetOK with default headers values

func (*PcloudCloudinstancesImagesGetOK) Error

type PcloudCloudinstancesImagesGetParams

type PcloudCloudinstancesImagesGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*ImageID
	  Image ID of a image

	*/
	ImageID string

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

PcloudCloudinstancesImagesGetParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images get operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesGetParams

func NewPcloudCloudinstancesImagesGetParams() *PcloudCloudinstancesImagesGetParams

NewPcloudCloudinstancesImagesGetParams creates a new PcloudCloudinstancesImagesGetParams object with the default values initialized.

func NewPcloudCloudinstancesImagesGetParamsWithContext

func NewPcloudCloudinstancesImagesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetParams

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

func NewPcloudCloudinstancesImagesGetParamsWithHTTPClient

func NewPcloudCloudinstancesImagesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetParams

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

func NewPcloudCloudinstancesImagesGetParamsWithTimeout

func NewPcloudCloudinstancesImagesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetParams

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

func (*PcloudCloudinstancesImagesGetParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) SetContext

SetContext adds the context to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) SetImageID

func (o *PcloudCloudinstancesImagesGetParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithCloudInstanceID

func (o *PcloudCloudinstancesImagesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithContext

WithContext adds the context to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithImageID

WithImageID adds the imageID to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images get params

func (*PcloudCloudinstancesImagesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesGetReader

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

PcloudCloudinstancesImagesGetReader is a Reader for the PcloudCloudinstancesImagesGet structure.

func (*PcloudCloudinstancesImagesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesGetallBadRequest

type PcloudCloudinstancesImagesGetallBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesGetallBadRequest

func NewPcloudCloudinstancesImagesGetallBadRequest() *PcloudCloudinstancesImagesGetallBadRequest

NewPcloudCloudinstancesImagesGetallBadRequest creates a PcloudCloudinstancesImagesGetallBadRequest with default headers values

func (*PcloudCloudinstancesImagesGetallBadRequest) Error

type PcloudCloudinstancesImagesGetallInternalServerError

type PcloudCloudinstancesImagesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesGetallInternalServerError

func NewPcloudCloudinstancesImagesGetallInternalServerError() *PcloudCloudinstancesImagesGetallInternalServerError

NewPcloudCloudinstancesImagesGetallInternalServerError creates a PcloudCloudinstancesImagesGetallInternalServerError with default headers values

func (*PcloudCloudinstancesImagesGetallInternalServerError) Error

type PcloudCloudinstancesImagesGetallNotFound

type PcloudCloudinstancesImagesGetallNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesGetallNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesImagesGetallNotFound

func NewPcloudCloudinstancesImagesGetallNotFound() *PcloudCloudinstancesImagesGetallNotFound

NewPcloudCloudinstancesImagesGetallNotFound creates a PcloudCloudinstancesImagesGetallNotFound with default headers values

func (*PcloudCloudinstancesImagesGetallNotFound) Error

type PcloudCloudinstancesImagesGetallOK

type PcloudCloudinstancesImagesGetallOK struct {
	Payload *models.Images
}

PcloudCloudinstancesImagesGetallOK handles this case with default header values.

OK

func NewPcloudCloudinstancesImagesGetallOK

func NewPcloudCloudinstancesImagesGetallOK() *PcloudCloudinstancesImagesGetallOK

NewPcloudCloudinstancesImagesGetallOK creates a PcloudCloudinstancesImagesGetallOK with default headers values

func (*PcloudCloudinstancesImagesGetallOK) Error

type PcloudCloudinstancesImagesGetallParams

type PcloudCloudinstancesImagesGetallParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

PcloudCloudinstancesImagesGetallParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images getall operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesGetallParams

func NewPcloudCloudinstancesImagesGetallParams() *PcloudCloudinstancesImagesGetallParams

NewPcloudCloudinstancesImagesGetallParams creates a new PcloudCloudinstancesImagesGetallParams object with the default values initialized.

func NewPcloudCloudinstancesImagesGetallParamsWithContext

func NewPcloudCloudinstancesImagesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesGetallParams

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

func NewPcloudCloudinstancesImagesGetallParamsWithHTTPClient

func NewPcloudCloudinstancesImagesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesGetallParams

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

func NewPcloudCloudinstancesImagesGetallParamsWithTimeout

func NewPcloudCloudinstancesImagesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesGetallParams

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

func (*PcloudCloudinstancesImagesGetallParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) SetContext

SetContext adds the context to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WithContext

WithContext adds the context to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images getall params

func (*PcloudCloudinstancesImagesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesGetallReader

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

PcloudCloudinstancesImagesGetallReader is a Reader for the PcloudCloudinstancesImagesGetall structure.

func (*PcloudCloudinstancesImagesGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesPostBadRequest

type PcloudCloudinstancesImagesPostBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesImagesPostBadRequest

func NewPcloudCloudinstancesImagesPostBadRequest() *PcloudCloudinstancesImagesPostBadRequest

NewPcloudCloudinstancesImagesPostBadRequest creates a PcloudCloudinstancesImagesPostBadRequest with default headers values

func (*PcloudCloudinstancesImagesPostBadRequest) Error

type PcloudCloudinstancesImagesPostConflict

type PcloudCloudinstancesImagesPostConflict struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostConflict handles this case with default header values.

Conflict

func NewPcloudCloudinstancesImagesPostConflict

func NewPcloudCloudinstancesImagesPostConflict() *PcloudCloudinstancesImagesPostConflict

NewPcloudCloudinstancesImagesPostConflict creates a PcloudCloudinstancesImagesPostConflict with default headers values

func (*PcloudCloudinstancesImagesPostConflict) Error

type PcloudCloudinstancesImagesPostCreated

type PcloudCloudinstancesImagesPostCreated struct {
	Payload *models.Image
}

PcloudCloudinstancesImagesPostCreated handles this case with default header values.

Created

func NewPcloudCloudinstancesImagesPostCreated

func NewPcloudCloudinstancesImagesPostCreated() *PcloudCloudinstancesImagesPostCreated

NewPcloudCloudinstancesImagesPostCreated creates a PcloudCloudinstancesImagesPostCreated with default headers values

func (*PcloudCloudinstancesImagesPostCreated) Error

type PcloudCloudinstancesImagesPostInternalServerError

type PcloudCloudinstancesImagesPostInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesImagesPostInternalServerError

func NewPcloudCloudinstancesImagesPostInternalServerError() *PcloudCloudinstancesImagesPostInternalServerError

NewPcloudCloudinstancesImagesPostInternalServerError creates a PcloudCloudinstancesImagesPostInternalServerError with default headers values

func (*PcloudCloudinstancesImagesPostInternalServerError) Error

type PcloudCloudinstancesImagesPostOK

type PcloudCloudinstancesImagesPostOK struct {
	Payload *models.Image
}

PcloudCloudinstancesImagesPostOK handles this case with default header values.

OK

func NewPcloudCloudinstancesImagesPostOK

func NewPcloudCloudinstancesImagesPostOK() *PcloudCloudinstancesImagesPostOK

NewPcloudCloudinstancesImagesPostOK creates a PcloudCloudinstancesImagesPostOK with default headers values

func (*PcloudCloudinstancesImagesPostOK) Error

type PcloudCloudinstancesImagesPostParams

type PcloudCloudinstancesImagesPostParams struct {

	/*Body
	  Parameters for the creation of a new image from available images

	*/
	Body *models.CreateImage
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

PcloudCloudinstancesImagesPostParams contains all the parameters to send to the API endpoint for the pcloud cloudinstances images post operation typically these are written to a http.Request

func NewPcloudCloudinstancesImagesPostParams

func NewPcloudCloudinstancesImagesPostParams() *PcloudCloudinstancesImagesPostParams

NewPcloudCloudinstancesImagesPostParams creates a new PcloudCloudinstancesImagesPostParams object with the default values initialized.

func NewPcloudCloudinstancesImagesPostParamsWithContext

func NewPcloudCloudinstancesImagesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesImagesPostParams

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

func NewPcloudCloudinstancesImagesPostParamsWithHTTPClient

func NewPcloudCloudinstancesImagesPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesImagesPostParams

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

func NewPcloudCloudinstancesImagesPostParamsWithTimeout

func NewPcloudCloudinstancesImagesPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesImagesPostParams

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

func (*PcloudCloudinstancesImagesPostParams) SetBody

SetBody adds the body to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) SetCloudInstanceID

func (o *PcloudCloudinstancesImagesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) SetContext

SetContext adds the context to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithBody

WithBody adds the body to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithCloudInstanceID

func (o *PcloudCloudinstancesImagesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesImagesPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithContext

WithContext adds the context to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances images post params

func (*PcloudCloudinstancesImagesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesImagesPostReader

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

PcloudCloudinstancesImagesPostReader is a Reader for the PcloudCloudinstancesImagesPost structure.

func (*PcloudCloudinstancesImagesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesImagesPostUnprocessableEntity

type PcloudCloudinstancesImagesPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudCloudinstancesImagesPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudCloudinstancesImagesPostUnprocessableEntity

func NewPcloudCloudinstancesImagesPostUnprocessableEntity() *PcloudCloudinstancesImagesPostUnprocessableEntity

NewPcloudCloudinstancesImagesPostUnprocessableEntity creates a PcloudCloudinstancesImagesPostUnprocessableEntity with default headers values

func (*PcloudCloudinstancesImagesPostUnprocessableEntity) Error

type PcloudImagesGetBadRequest

type PcloudImagesGetBadRequest struct {
	Payload *models.Error
}

PcloudImagesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudImagesGetBadRequest

func NewPcloudImagesGetBadRequest() *PcloudImagesGetBadRequest

NewPcloudImagesGetBadRequest creates a PcloudImagesGetBadRequest with default headers values

func (*PcloudImagesGetBadRequest) Error

func (o *PcloudImagesGetBadRequest) Error() string

type PcloudImagesGetInternalServerError

type PcloudImagesGetInternalServerError struct {
	Payload *models.Error
}

PcloudImagesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudImagesGetInternalServerError

func NewPcloudImagesGetInternalServerError() *PcloudImagesGetInternalServerError

NewPcloudImagesGetInternalServerError creates a PcloudImagesGetInternalServerError with default headers values

func (*PcloudImagesGetInternalServerError) Error

type PcloudImagesGetNotFound

type PcloudImagesGetNotFound struct {
	Payload *models.Error
}

PcloudImagesGetNotFound handles this case with default header values.

Not Found

func NewPcloudImagesGetNotFound

func NewPcloudImagesGetNotFound() *PcloudImagesGetNotFound

NewPcloudImagesGetNotFound creates a PcloudImagesGetNotFound with default headers values

func (*PcloudImagesGetNotFound) Error

func (o *PcloudImagesGetNotFound) Error() string

type PcloudImagesGetOK

type PcloudImagesGetOK struct {
	Payload *models.Image
}

PcloudImagesGetOK handles this case with default header values.

OK

func NewPcloudImagesGetOK

func NewPcloudImagesGetOK() *PcloudImagesGetOK

NewPcloudImagesGetOK creates a PcloudImagesGetOK with default headers values

func (*PcloudImagesGetOK) Error

func (o *PcloudImagesGetOK) Error() string

type PcloudImagesGetParams

type PcloudImagesGetParams struct {

	/*ImageID
	  Image ID of a image

	*/
	ImageID string

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

PcloudImagesGetParams contains all the parameters to send to the API endpoint for the pcloud images get operation typically these are written to a http.Request

func NewPcloudImagesGetParams

func NewPcloudImagesGetParams() *PcloudImagesGetParams

NewPcloudImagesGetParams creates a new PcloudImagesGetParams object with the default values initialized.

func NewPcloudImagesGetParamsWithContext

func NewPcloudImagesGetParamsWithContext(ctx context.Context) *PcloudImagesGetParams

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

func NewPcloudImagesGetParamsWithHTTPClient

func NewPcloudImagesGetParamsWithHTTPClient(client *http.Client) *PcloudImagesGetParams

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

func NewPcloudImagesGetParamsWithTimeout

func NewPcloudImagesGetParamsWithTimeout(timeout time.Duration) *PcloudImagesGetParams

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

func (*PcloudImagesGetParams) SetContext

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

SetContext adds the context to the pcloud images get params

func (*PcloudImagesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud images get params

func (*PcloudImagesGetParams) SetImageID

func (o *PcloudImagesGetParams) SetImageID(imageID string)

SetImageID adds the imageId to the pcloud images get params

func (*PcloudImagesGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud images get params

func (*PcloudImagesGetParams) WithContext

WithContext adds the context to the pcloud images get params

func (*PcloudImagesGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pcloud images get params

func (*PcloudImagesGetParams) WithImageID

func (o *PcloudImagesGetParams) WithImageID(imageID string) *PcloudImagesGetParams

WithImageID adds the imageID to the pcloud images get params

func (*PcloudImagesGetParams) WithTimeout

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

WithTimeout adds the timeout to the pcloud images get params

func (*PcloudImagesGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PcloudImagesGetReader

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

PcloudImagesGetReader is a Reader for the PcloudImagesGet structure.

func (*PcloudImagesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudImagesGetallBadRequest

type PcloudImagesGetallBadRequest struct {
	Payload *models.Error
}

PcloudImagesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudImagesGetallBadRequest

func NewPcloudImagesGetallBadRequest() *PcloudImagesGetallBadRequest

NewPcloudImagesGetallBadRequest creates a PcloudImagesGetallBadRequest with default headers values

func (*PcloudImagesGetallBadRequest) Error

type PcloudImagesGetallInternalServerError

type PcloudImagesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudImagesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudImagesGetallInternalServerError

func NewPcloudImagesGetallInternalServerError() *PcloudImagesGetallInternalServerError

NewPcloudImagesGetallInternalServerError creates a PcloudImagesGetallInternalServerError with default headers values

func (*PcloudImagesGetallInternalServerError) Error

type PcloudImagesGetallNotFound

type PcloudImagesGetallNotFound struct {
	Payload *models.Error
}

PcloudImagesGetallNotFound handles this case with default header values.

Not Found

func NewPcloudImagesGetallNotFound

func NewPcloudImagesGetallNotFound() *PcloudImagesGetallNotFound

NewPcloudImagesGetallNotFound creates a PcloudImagesGetallNotFound with default headers values

func (*PcloudImagesGetallNotFound) Error

type PcloudImagesGetallOK

type PcloudImagesGetallOK struct {
	Payload *models.Images
}

PcloudImagesGetallOK handles this case with default header values.

OK

func NewPcloudImagesGetallOK

func NewPcloudImagesGetallOK() *PcloudImagesGetallOK

NewPcloudImagesGetallOK creates a PcloudImagesGetallOK with default headers values

func (*PcloudImagesGetallOK) Error

func (o *PcloudImagesGetallOK) Error() string

type PcloudImagesGetallParams

type PcloudImagesGetallParams struct {

	/*Sap
	  Include SAP images with get available stock images

	*/
	Sap *bool

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

PcloudImagesGetallParams contains all the parameters to send to the API endpoint for the pcloud images getall operation typically these are written to a http.Request

func NewPcloudImagesGetallParams

func NewPcloudImagesGetallParams() *PcloudImagesGetallParams

NewPcloudImagesGetallParams creates a new PcloudImagesGetallParams object with the default values initialized.

func NewPcloudImagesGetallParamsWithContext

func NewPcloudImagesGetallParamsWithContext(ctx context.Context) *PcloudImagesGetallParams

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

func NewPcloudImagesGetallParamsWithHTTPClient

func NewPcloudImagesGetallParamsWithHTTPClient(client *http.Client) *PcloudImagesGetallParams

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

func NewPcloudImagesGetallParamsWithTimeout

func NewPcloudImagesGetallParamsWithTimeout(timeout time.Duration) *PcloudImagesGetallParams

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

func (*PcloudImagesGetallParams) SetContext

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

SetContext adds the context to the pcloud images getall params

func (*PcloudImagesGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud images getall params

func (*PcloudImagesGetallParams) SetSap added in v1.0.10

func (o *PcloudImagesGetallParams) SetSap(sap *bool)

SetSap adds the sap to the pcloud images getall params

func (*PcloudImagesGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud images getall params

func (*PcloudImagesGetallParams) WithContext

WithContext adds the context to the pcloud images getall params

func (*PcloudImagesGetallParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pcloud images getall params

func (*PcloudImagesGetallParams) WithSap added in v1.0.10

WithSap adds the sap to the pcloud images getall params

func (*PcloudImagesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud images getall params

func (*PcloudImagesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudImagesGetallReader

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

PcloudImagesGetallReader is a Reader for the PcloudImagesGetall structure.

func (*PcloudImagesGetallReader) ReadResponse

func (o *PcloudImagesGetallReader) 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