Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudCloudinstancesJobsDelete(params *PcloudCloudinstancesJobsDeleteParams, ...) (*PcloudCloudinstancesJobsDeleteOK, error)
- func (a *Client) PcloudCloudinstancesJobsGet(params *PcloudCloudinstancesJobsGetParams, ...) (*PcloudCloudinstancesJobsGetOK, error)
- func (a *Client) PcloudCloudinstancesJobsGetall(params *PcloudCloudinstancesJobsGetallParams, ...) (*PcloudCloudinstancesJobsGetallOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudCloudinstancesJobsDeleteBadRequest
- type PcloudCloudinstancesJobsDeleteConflict
- type PcloudCloudinstancesJobsDeleteInternalServerError
- type PcloudCloudinstancesJobsDeleteNotFound
- type PcloudCloudinstancesJobsDeleteOK
- type PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParams() *PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
- func NewPcloudCloudinstancesJobsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetDefaults()
- func (o *PcloudCloudinstancesJobsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetJobID(jobID string)
- func (o *PcloudCloudinstancesJobsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesJobsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithDefaults() *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithJobID(jobID string) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
- func (o *PcloudCloudinstancesJobsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesJobsDeleteReader
- type PcloudCloudinstancesJobsDeleteUnauthorized
- type PcloudCloudinstancesJobsGetBadRequest
- type PcloudCloudinstancesJobsGetInternalServerError
- type PcloudCloudinstancesJobsGetNotFound
- type PcloudCloudinstancesJobsGetOK
- type PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParams() *PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
- func NewPcloudCloudinstancesJobsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesJobsGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesJobsGetParams) SetDefaults()
- func (o *PcloudCloudinstancesJobsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesJobsGetParams) SetJobID(jobID string)
- func (o *PcloudCloudinstancesJobsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesJobsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithDefaults() *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithJobID(jobID string) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
- func (o *PcloudCloudinstancesJobsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesJobsGetReader
- type PcloudCloudinstancesJobsGetUnauthorized
- type PcloudCloudinstancesJobsGetallBadRequest
- type PcloudCloudinstancesJobsGetallInternalServerError
- type PcloudCloudinstancesJobsGetallNotFound
- type PcloudCloudinstancesJobsGetallOK
- type PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParams() *PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
- func NewPcloudCloudinstancesJobsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesJobsGetallParams) SetDefaults()
- func (o *PcloudCloudinstancesJobsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesJobsGetallParams) SetOperationAction(operationAction *string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetOperationID(operationID *string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetOperationTarget(operationTarget *string)
- func (o *PcloudCloudinstancesJobsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesJobsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithDefaults() *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithOperationAction(operationAction *string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithOperationID(operationID *string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithOperationTarget(operationTarget *string) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
- func (o *PcloudCloudinstancesJobsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesJobsGetallReader
- type PcloudCloudinstancesJobsGetallUnauthorized
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 jobs API
func (*Client) PcloudCloudinstancesJobsDelete ¶
func (a *Client) PcloudCloudinstancesJobsDelete(params *PcloudCloudinstancesJobsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsDeleteOK, error)
PcloudCloudinstancesJobsDelete deletes a cloud instance job
func (*Client) PcloudCloudinstancesJobsGet ¶
func (a *Client) PcloudCloudinstancesJobsGet(params *PcloudCloudinstancesJobsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsGetOK, error)
PcloudCloudinstancesJobsGet lists the detail of a job
func (*Client) PcloudCloudinstancesJobsGetall ¶
func (a *Client) PcloudCloudinstancesJobsGetall(params *PcloudCloudinstancesJobsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsGetallOK, error)
PcloudCloudinstancesJobsGetall lists up to the last 5 jobs initiated by the cloud instance
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudCloudinstancesJobsDelete(params *PcloudCloudinstancesJobsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsDeleteOK, error) PcloudCloudinstancesJobsGet(params *PcloudCloudinstancesJobsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsGetOK, error) PcloudCloudinstancesJobsGetall(params *PcloudCloudinstancesJobsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesJobsGetallOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new p cloud jobs API client.
type PcloudCloudinstancesJobsDeleteBadRequest ¶
PcloudCloudinstancesJobsDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesJobsDeleteBadRequest ¶
func NewPcloudCloudinstancesJobsDeleteBadRequest() *PcloudCloudinstancesJobsDeleteBadRequest
NewPcloudCloudinstancesJobsDeleteBadRequest creates a PcloudCloudinstancesJobsDeleteBadRequest with default headers values
func (*PcloudCloudinstancesJobsDeleteBadRequest) Error ¶
func (o *PcloudCloudinstancesJobsDeleteBadRequest) Error() string
func (*PcloudCloudinstancesJobsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesJobsDeleteConflict ¶
PcloudCloudinstancesJobsDeleteConflict describes a response with status code 409, with default header values.
Conflict
func NewPcloudCloudinstancesJobsDeleteConflict ¶
func NewPcloudCloudinstancesJobsDeleteConflict() *PcloudCloudinstancesJobsDeleteConflict
NewPcloudCloudinstancesJobsDeleteConflict creates a PcloudCloudinstancesJobsDeleteConflict with default headers values
func (*PcloudCloudinstancesJobsDeleteConflict) Error ¶
func (o *PcloudCloudinstancesJobsDeleteConflict) Error() string
func (*PcloudCloudinstancesJobsDeleteConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteConflict) GetPayload() *models.Error
type PcloudCloudinstancesJobsDeleteInternalServerError ¶
PcloudCloudinstancesJobsDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesJobsDeleteInternalServerError ¶
func NewPcloudCloudinstancesJobsDeleteInternalServerError() *PcloudCloudinstancesJobsDeleteInternalServerError
NewPcloudCloudinstancesJobsDeleteInternalServerError creates a PcloudCloudinstancesJobsDeleteInternalServerError with default headers values
func (*PcloudCloudinstancesJobsDeleteInternalServerError) Error ¶
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) Error() string
func (*PcloudCloudinstancesJobsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesJobsDeleteNotFound ¶
PcloudCloudinstancesJobsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesJobsDeleteNotFound ¶
func NewPcloudCloudinstancesJobsDeleteNotFound() *PcloudCloudinstancesJobsDeleteNotFound
NewPcloudCloudinstancesJobsDeleteNotFound creates a PcloudCloudinstancesJobsDeleteNotFound with default headers values
func (*PcloudCloudinstancesJobsDeleteNotFound) Error ¶
func (o *PcloudCloudinstancesJobsDeleteNotFound) Error() string
func (*PcloudCloudinstancesJobsDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteNotFound) GetPayload() *models.Error
type PcloudCloudinstancesJobsDeleteOK ¶
PcloudCloudinstancesJobsDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesJobsDeleteOK ¶
func NewPcloudCloudinstancesJobsDeleteOK() *PcloudCloudinstancesJobsDeleteOK
NewPcloudCloudinstancesJobsDeleteOK creates a PcloudCloudinstancesJobsDeleteOK with default headers values
func (*PcloudCloudinstancesJobsDeleteOK) Error ¶
func (o *PcloudCloudinstancesJobsDeleteOK) Error() string
func (*PcloudCloudinstancesJobsDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteOK) GetPayload() models.Object
type PcloudCloudinstancesJobsDeleteParams ¶
type PcloudCloudinstancesJobsDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* JobID. PCloud Job ID */ JobID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesJobsDeleteParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances jobs delete operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesJobsDeleteParams ¶
func NewPcloudCloudinstancesJobsDeleteParams() *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParams creates a new PcloudCloudinstancesJobsDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudCloudinstancesJobsDeleteParamsWithContext ¶
func NewPcloudCloudinstancesJobsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParamsWithContext creates a new PcloudCloudinstancesJobsDeleteParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient ¶
func NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesJobsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesJobsDeleteParamsWithTimeout ¶
func NewPcloudCloudinstancesJobsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
NewPcloudCloudinstancesJobsDeleteParamsWithTimeout creates a new PcloudCloudinstancesJobsDeleteParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesJobsDeleteParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetContext ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances jobs delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsDeleteParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetJobID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetJobID(jobID string)
SetJobID adds the jobId to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) SetTimeout ¶
func (o *PcloudCloudinstancesJobsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithContext ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsDeleteParams
WithContext adds the context to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteParams) WithDefaults() *PcloudCloudinstancesJobsDeleteParams
WithDefaults hydrates default values in the pcloud cloudinstances jobs delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsDeleteParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithJobID ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithJobID(jobID string) *PcloudCloudinstancesJobsDeleteParams
WithJobID adds the jobID to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WithTimeout ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsDeleteParams
WithTimeout adds the timeout to the pcloud cloudinstances jobs delete params
func (*PcloudCloudinstancesJobsDeleteParams) WriteToRequest ¶
func (o *PcloudCloudinstancesJobsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesJobsDeleteReader ¶
type PcloudCloudinstancesJobsDeleteReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesJobsDeleteReader is a Reader for the PcloudCloudinstancesJobsDelete structure.
func (*PcloudCloudinstancesJobsDeleteReader) ReadResponse ¶
func (o *PcloudCloudinstancesJobsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesJobsDeleteUnauthorized ¶
type PcloudCloudinstancesJobsDeleteUnauthorized struct {
}PcloudCloudinstancesJobsDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesJobsDeleteUnauthorized ¶
func NewPcloudCloudinstancesJobsDeleteUnauthorized() *PcloudCloudinstancesJobsDeleteUnauthorized
NewPcloudCloudinstancesJobsDeleteUnauthorized creates a PcloudCloudinstancesJobsDeleteUnauthorized with default headers values
func (*PcloudCloudinstancesJobsDeleteUnauthorized) Error ¶
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) Error() string
func (*PcloudCloudinstancesJobsDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsDeleteUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesJobsGetBadRequest ¶
PcloudCloudinstancesJobsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesJobsGetBadRequest ¶
func NewPcloudCloudinstancesJobsGetBadRequest() *PcloudCloudinstancesJobsGetBadRequest
NewPcloudCloudinstancesJobsGetBadRequest creates a PcloudCloudinstancesJobsGetBadRequest with default headers values
func (*PcloudCloudinstancesJobsGetBadRequest) Error ¶
func (o *PcloudCloudinstancesJobsGetBadRequest) Error() string
func (*PcloudCloudinstancesJobsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesJobsGetInternalServerError ¶
PcloudCloudinstancesJobsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesJobsGetInternalServerError ¶
func NewPcloudCloudinstancesJobsGetInternalServerError() *PcloudCloudinstancesJobsGetInternalServerError
NewPcloudCloudinstancesJobsGetInternalServerError creates a PcloudCloudinstancesJobsGetInternalServerError with default headers values
func (*PcloudCloudinstancesJobsGetInternalServerError) Error ¶
func (o *PcloudCloudinstancesJobsGetInternalServerError) Error() string
func (*PcloudCloudinstancesJobsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesJobsGetNotFound ¶
PcloudCloudinstancesJobsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesJobsGetNotFound ¶
func NewPcloudCloudinstancesJobsGetNotFound() *PcloudCloudinstancesJobsGetNotFound
NewPcloudCloudinstancesJobsGetNotFound creates a PcloudCloudinstancesJobsGetNotFound with default headers values
func (*PcloudCloudinstancesJobsGetNotFound) Error ¶
func (o *PcloudCloudinstancesJobsGetNotFound) Error() string
func (*PcloudCloudinstancesJobsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetNotFound) GetPayload() *models.Error
type PcloudCloudinstancesJobsGetOK ¶
PcloudCloudinstancesJobsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesJobsGetOK ¶
func NewPcloudCloudinstancesJobsGetOK() *PcloudCloudinstancesJobsGetOK
NewPcloudCloudinstancesJobsGetOK creates a PcloudCloudinstancesJobsGetOK with default headers values
func (*PcloudCloudinstancesJobsGetOK) Error ¶
func (o *PcloudCloudinstancesJobsGetOK) Error() string
func (*PcloudCloudinstancesJobsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetOK) GetPayload() *models.Job
type PcloudCloudinstancesJobsGetParams ¶
type PcloudCloudinstancesJobsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* JobID. PCloud Job ID */ JobID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesJobsGetParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances jobs get operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesJobsGetParams ¶
func NewPcloudCloudinstancesJobsGetParams() *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParams creates a new PcloudCloudinstancesJobsGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudCloudinstancesJobsGetParamsWithContext ¶
func NewPcloudCloudinstancesJobsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParamsWithContext creates a new PcloudCloudinstancesJobsGetParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesJobsGetParamsWithHTTPClient ¶
func NewPcloudCloudinstancesJobsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParamsWithHTTPClient creates a new PcloudCloudinstancesJobsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesJobsGetParamsWithTimeout ¶
func NewPcloudCloudinstancesJobsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
NewPcloudCloudinstancesJobsGetParamsWithTimeout creates a new PcloudCloudinstancesJobsGetParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesJobsGetParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetContext ¶
func (o *PcloudCloudinstancesJobsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances jobs get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsGetParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetJobID ¶
func (o *PcloudCloudinstancesJobsGetParams) SetJobID(jobID string)
SetJobID adds the jobId to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) SetTimeout ¶
func (o *PcloudCloudinstancesJobsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithContext ¶
func (o *PcloudCloudinstancesJobsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetParams
WithContext adds the context to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetParams) WithDefaults() *PcloudCloudinstancesJobsGetParams
WithDefaults hydrates default values in the pcloud cloudinstances jobs get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsGetParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithJobID ¶
func (o *PcloudCloudinstancesJobsGetParams) WithJobID(jobID string) *PcloudCloudinstancesJobsGetParams
WithJobID adds the jobID to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WithTimeout ¶
func (o *PcloudCloudinstancesJobsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetParams
WithTimeout adds the timeout to the pcloud cloudinstances jobs get params
func (*PcloudCloudinstancesJobsGetParams) WriteToRequest ¶
func (o *PcloudCloudinstancesJobsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesJobsGetReader ¶
type PcloudCloudinstancesJobsGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesJobsGetReader is a Reader for the PcloudCloudinstancesJobsGet structure.
func (*PcloudCloudinstancesJobsGetReader) ReadResponse ¶
func (o *PcloudCloudinstancesJobsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesJobsGetUnauthorized ¶
type PcloudCloudinstancesJobsGetUnauthorized struct {
}PcloudCloudinstancesJobsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesJobsGetUnauthorized ¶
func NewPcloudCloudinstancesJobsGetUnauthorized() *PcloudCloudinstancesJobsGetUnauthorized
NewPcloudCloudinstancesJobsGetUnauthorized creates a PcloudCloudinstancesJobsGetUnauthorized with default headers values
func (*PcloudCloudinstancesJobsGetUnauthorized) Error ¶
func (o *PcloudCloudinstancesJobsGetUnauthorized) Error() string
func (*PcloudCloudinstancesJobsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesJobsGetallBadRequest ¶
PcloudCloudinstancesJobsGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesJobsGetallBadRequest ¶
func NewPcloudCloudinstancesJobsGetallBadRequest() *PcloudCloudinstancesJobsGetallBadRequest
NewPcloudCloudinstancesJobsGetallBadRequest creates a PcloudCloudinstancesJobsGetallBadRequest with default headers values
func (*PcloudCloudinstancesJobsGetallBadRequest) Error ¶
func (o *PcloudCloudinstancesJobsGetallBadRequest) Error() string
func (*PcloudCloudinstancesJobsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesJobsGetallInternalServerError ¶
PcloudCloudinstancesJobsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesJobsGetallInternalServerError ¶
func NewPcloudCloudinstancesJobsGetallInternalServerError() *PcloudCloudinstancesJobsGetallInternalServerError
NewPcloudCloudinstancesJobsGetallInternalServerError creates a PcloudCloudinstancesJobsGetallInternalServerError with default headers values
func (*PcloudCloudinstancesJobsGetallInternalServerError) Error ¶
func (o *PcloudCloudinstancesJobsGetallInternalServerError) Error() string
func (*PcloudCloudinstancesJobsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesJobsGetallNotFound ¶
PcloudCloudinstancesJobsGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesJobsGetallNotFound ¶
func NewPcloudCloudinstancesJobsGetallNotFound() *PcloudCloudinstancesJobsGetallNotFound
NewPcloudCloudinstancesJobsGetallNotFound creates a PcloudCloudinstancesJobsGetallNotFound with default headers values
func (*PcloudCloudinstancesJobsGetallNotFound) Error ¶
func (o *PcloudCloudinstancesJobsGetallNotFound) Error() string
func (*PcloudCloudinstancesJobsGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallNotFound) GetPayload() *models.Error
type PcloudCloudinstancesJobsGetallOK ¶
PcloudCloudinstancesJobsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesJobsGetallOK ¶
func NewPcloudCloudinstancesJobsGetallOK() *PcloudCloudinstancesJobsGetallOK
NewPcloudCloudinstancesJobsGetallOK creates a PcloudCloudinstancesJobsGetallOK with default headers values
func (*PcloudCloudinstancesJobsGetallOK) Error ¶
func (o *PcloudCloudinstancesJobsGetallOK) Error() string
func (*PcloudCloudinstancesJobsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallOK) GetPayload() *models.Jobs
type PcloudCloudinstancesJobsGetallParams ¶
type PcloudCloudinstancesJobsGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* OperationAction. Operation action to filter jobs (optional) vmCapture - includes operation action value (vmCapture) imageExport - includes operation action value (imageExport) imageImport - includes operation action value (imageImport) storage - includes operation action values (vmCapture,imageExport,imageImport) */ OperationAction *string /* OperationID. Operation ID to filter jobs (optional) */ OperationID *string /* OperationTarget. Operation target to filter jobs (optional) */ OperationTarget *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesJobsGetallParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances jobs getall operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesJobsGetallParams ¶
func NewPcloudCloudinstancesJobsGetallParams() *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParams creates a new PcloudCloudinstancesJobsGetallParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudCloudinstancesJobsGetallParamsWithContext ¶
func NewPcloudCloudinstancesJobsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParamsWithContext creates a new PcloudCloudinstancesJobsGetallParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient ¶
func NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParamsWithHTTPClient creates a new PcloudCloudinstancesJobsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesJobsGetallParamsWithTimeout ¶
func NewPcloudCloudinstancesJobsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
NewPcloudCloudinstancesJobsGetallParamsWithTimeout creates a new PcloudCloudinstancesJobsGetallParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesJobsGetallParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetContext ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances jobs getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsGetallParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetOperationAction ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetOperationAction(operationAction *string)
SetOperationAction adds the operationAction to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetOperationID ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetOperationID(operationID *string)
SetOperationID adds the operationId to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetOperationTarget ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetOperationTarget(operationTarget *string)
SetOperationTarget adds the operationTarget to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) SetTimeout ¶
func (o *PcloudCloudinstancesJobsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesJobsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithContext ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesJobsGetallParams
WithContext adds the context to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallParams) WithDefaults() *PcloudCloudinstancesJobsGetallParams
WithDefaults hydrates default values in the pcloud cloudinstances jobs getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesJobsGetallParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesJobsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithOperationAction ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithOperationAction(operationAction *string) *PcloudCloudinstancesJobsGetallParams
WithOperationAction adds the operationAction to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithOperationID ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithOperationID(operationID *string) *PcloudCloudinstancesJobsGetallParams
WithOperationID adds the operationID to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithOperationTarget ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithOperationTarget(operationTarget *string) *PcloudCloudinstancesJobsGetallParams
WithOperationTarget adds the operationTarget to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WithTimeout ¶
func (o *PcloudCloudinstancesJobsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesJobsGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances jobs getall params
func (*PcloudCloudinstancesJobsGetallParams) WriteToRequest ¶
func (o *PcloudCloudinstancesJobsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesJobsGetallReader ¶
type PcloudCloudinstancesJobsGetallReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesJobsGetallReader is a Reader for the PcloudCloudinstancesJobsGetall structure.
func (*PcloudCloudinstancesJobsGetallReader) ReadResponse ¶
func (o *PcloudCloudinstancesJobsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesJobsGetallUnauthorized ¶
type PcloudCloudinstancesJobsGetallUnauthorized struct {
}PcloudCloudinstancesJobsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesJobsGetallUnauthorized ¶
func NewPcloudCloudinstancesJobsGetallUnauthorized() *PcloudCloudinstancesJobsGetallUnauthorized
NewPcloudCloudinstancesJobsGetallUnauthorized creates a PcloudCloudinstancesJobsGetallUnauthorized with default headers values
func (*PcloudCloudinstancesJobsGetallUnauthorized) Error ¶
func (o *PcloudCloudinstancesJobsGetallUnauthorized) Error() string
func (*PcloudCloudinstancesJobsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesJobsGetallUnauthorized) GetPayload() *models.Error
Source Files ¶
- p_cloud_jobs_client.go
- pcloud_cloudinstances_jobs_delete_parameters.go
- pcloud_cloudinstances_jobs_delete_responses.go
- pcloud_cloudinstances_jobs_get_parameters.go
- pcloud_cloudinstances_jobs_get_responses.go
- pcloud_cloudinstances_jobs_getall_parameters.go
- pcloud_cloudinstances_jobs_getall_responses.go