p_cloud_volume_onboarding

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 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 volume onboarding API

func (*Client) PcloudVolumeOnboardingGet

func (a *Client) PcloudVolumeOnboardingGet(params *PcloudVolumeOnboardingGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetOK, error)

PcloudVolumeOnboardingGet gets the information of volume onboarding operation

func (*Client) PcloudVolumeOnboardingGetall

func (a *Client) PcloudVolumeOnboardingGetall(params *PcloudVolumeOnboardingGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetallOK, error)

PcloudVolumeOnboardingGetall lists all volume onboardings for this cloud instance

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	PcloudVolumeOnboardingGet(params *PcloudVolumeOnboardingGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetOK, error)

	PcloudVolumeOnboardingGetall(params *PcloudVolumeOnboardingGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumeOnboardingGetallOK, 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 volume onboarding API client.

type PcloudVolumeOnboardingGetBadRequest

type PcloudVolumeOnboardingGetBadRequest struct {
	Payload *models.Error
}
PcloudVolumeOnboardingGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudVolumeOnboardingGetBadRequest

func NewPcloudVolumeOnboardingGetBadRequest() *PcloudVolumeOnboardingGetBadRequest

NewPcloudVolumeOnboardingGetBadRequest creates a PcloudVolumeOnboardingGetBadRequest with default headers values

func (*PcloudVolumeOnboardingGetBadRequest) Error

func (*PcloudVolumeOnboardingGetBadRequest) GetPayload

type PcloudVolumeOnboardingGetInternalServerError

type PcloudVolumeOnboardingGetInternalServerError struct {
	Payload *models.Error
}
PcloudVolumeOnboardingGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudVolumeOnboardingGetInternalServerError

func NewPcloudVolumeOnboardingGetInternalServerError() *PcloudVolumeOnboardingGetInternalServerError

NewPcloudVolumeOnboardingGetInternalServerError creates a PcloudVolumeOnboardingGetInternalServerError with default headers values

func (*PcloudVolumeOnboardingGetInternalServerError) Error

func (*PcloudVolumeOnboardingGetInternalServerError) GetPayload

type PcloudVolumeOnboardingGetNotFound

type PcloudVolumeOnboardingGetNotFound struct {
	Payload *models.Error
}
PcloudVolumeOnboardingGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudVolumeOnboardingGetNotFound

func NewPcloudVolumeOnboardingGetNotFound() *PcloudVolumeOnboardingGetNotFound

NewPcloudVolumeOnboardingGetNotFound creates a PcloudVolumeOnboardingGetNotFound with default headers values

func (*PcloudVolumeOnboardingGetNotFound) Error

func (*PcloudVolumeOnboardingGetNotFound) GetPayload

type PcloudVolumeOnboardingGetOK

type PcloudVolumeOnboardingGetOK struct {
	Payload models.VolumeOnboardings
}
PcloudVolumeOnboardingGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudVolumeOnboardingGetOK

func NewPcloudVolumeOnboardingGetOK() *PcloudVolumeOnboardingGetOK

NewPcloudVolumeOnboardingGetOK creates a PcloudVolumeOnboardingGetOK with default headers values

func (*PcloudVolumeOnboardingGetOK) Error

func (*PcloudVolumeOnboardingGetOK) GetPayload

type PcloudVolumeOnboardingGetParams

type PcloudVolumeOnboardingGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumeOnboardingID.

	   Indicates volume onboarding operation id
	*/
	VolumeOnboardingID string

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

PcloudVolumeOnboardingGetParams contains all the parameters to send to the API endpoint

for the pcloud volume onboarding get operation.

Typically these are written to a http.Request.

func NewPcloudVolumeOnboardingGetParams

func NewPcloudVolumeOnboardingGetParams() *PcloudVolumeOnboardingGetParams

NewPcloudVolumeOnboardingGetParams creates a new PcloudVolumeOnboardingGetParams 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 NewPcloudVolumeOnboardingGetParamsWithContext

func NewPcloudVolumeOnboardingGetParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingGetParams

NewPcloudVolumeOnboardingGetParamsWithContext creates a new PcloudVolumeOnboardingGetParams object with the ability to set a context for a request.

func NewPcloudVolumeOnboardingGetParamsWithHTTPClient

func NewPcloudVolumeOnboardingGetParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetParams

NewPcloudVolumeOnboardingGetParamsWithHTTPClient creates a new PcloudVolumeOnboardingGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVolumeOnboardingGetParamsWithTimeout

func NewPcloudVolumeOnboardingGetParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetParams

NewPcloudVolumeOnboardingGetParamsWithTimeout creates a new PcloudVolumeOnboardingGetParams object with the ability to set a timeout on a request.

func (*PcloudVolumeOnboardingGetParams) SetCloudInstanceID

func (o *PcloudVolumeOnboardingGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) SetContext

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

SetContext adds the context to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) SetDefaults

func (o *PcloudVolumeOnboardingGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud volume onboarding get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudVolumeOnboardingGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) SetVolumeOnboardingID

func (o *PcloudVolumeOnboardingGetParams) SetVolumeOnboardingID(volumeOnboardingID string)

SetVolumeOnboardingID adds the volumeOnboardingId to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithContext

WithContext adds the context to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud volume onboarding get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudVolumeOnboardingGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WithVolumeOnboardingID

func (o *PcloudVolumeOnboardingGetParams) WithVolumeOnboardingID(volumeOnboardingID string) *PcloudVolumeOnboardingGetParams

WithVolumeOnboardingID adds the volumeOnboardingID to the pcloud volume onboarding get params

func (*PcloudVolumeOnboardingGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVolumeOnboardingGetReader

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

PcloudVolumeOnboardingGetReader is a Reader for the PcloudVolumeOnboardingGet structure.

func (*PcloudVolumeOnboardingGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVolumeOnboardingGetUnauthorized

type PcloudVolumeOnboardingGetUnauthorized struct {
	Payload *models.Error
}
PcloudVolumeOnboardingGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVolumeOnboardingGetUnauthorized

func NewPcloudVolumeOnboardingGetUnauthorized() *PcloudVolumeOnboardingGetUnauthorized

NewPcloudVolumeOnboardingGetUnauthorized creates a PcloudVolumeOnboardingGetUnauthorized with default headers values

func (*PcloudVolumeOnboardingGetUnauthorized) Error

func (*PcloudVolumeOnboardingGetUnauthorized) GetPayload

type PcloudVolumeOnboardingGetallBadRequest

type PcloudVolumeOnboardingGetallBadRequest struct {
	Payload *models.Error
}
PcloudVolumeOnboardingGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudVolumeOnboardingGetallBadRequest

func NewPcloudVolumeOnboardingGetallBadRequest() *PcloudVolumeOnboardingGetallBadRequest

NewPcloudVolumeOnboardingGetallBadRequest creates a PcloudVolumeOnboardingGetallBadRequest with default headers values

func (*PcloudVolumeOnboardingGetallBadRequest) Error

func (*PcloudVolumeOnboardingGetallBadRequest) GetPayload

type PcloudVolumeOnboardingGetallInternalServerError

type PcloudVolumeOnboardingGetallInternalServerError struct {
	Payload *models.Error
}
PcloudVolumeOnboardingGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudVolumeOnboardingGetallInternalServerError

func NewPcloudVolumeOnboardingGetallInternalServerError() *PcloudVolumeOnboardingGetallInternalServerError

NewPcloudVolumeOnboardingGetallInternalServerError creates a PcloudVolumeOnboardingGetallInternalServerError with default headers values

func (*PcloudVolumeOnboardingGetallInternalServerError) Error

func (*PcloudVolumeOnboardingGetallInternalServerError) GetPayload

type PcloudVolumeOnboardingGetallNotFound

type PcloudVolumeOnboardingGetallNotFound struct {
	Payload *models.Error
}
PcloudVolumeOnboardingGetallNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudVolumeOnboardingGetallNotFound

func NewPcloudVolumeOnboardingGetallNotFound() *PcloudVolumeOnboardingGetallNotFound

NewPcloudVolumeOnboardingGetallNotFound creates a PcloudVolumeOnboardingGetallNotFound with default headers values

func (*PcloudVolumeOnboardingGetallNotFound) Error

func (*PcloudVolumeOnboardingGetallNotFound) GetPayload

type PcloudVolumeOnboardingGetallOK

type PcloudVolumeOnboardingGetallOK struct {
	Payload models.VolumeOnboardings
}
PcloudVolumeOnboardingGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudVolumeOnboardingGetallOK

func NewPcloudVolumeOnboardingGetallOK() *PcloudVolumeOnboardingGetallOK

NewPcloudVolumeOnboardingGetallOK creates a PcloudVolumeOnboardingGetallOK with default headers values

func (*PcloudVolumeOnboardingGetallOK) Error

func (*PcloudVolumeOnboardingGetallOK) GetPayload

type PcloudVolumeOnboardingGetallParams

type PcloudVolumeOnboardingGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudVolumeOnboardingGetallParams contains all the parameters to send to the API endpoint

for the pcloud volume onboarding getall operation.

Typically these are written to a http.Request.

func NewPcloudVolumeOnboardingGetallParams

func NewPcloudVolumeOnboardingGetallParams() *PcloudVolumeOnboardingGetallParams

NewPcloudVolumeOnboardingGetallParams creates a new PcloudVolumeOnboardingGetallParams 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 NewPcloudVolumeOnboardingGetallParamsWithContext

func NewPcloudVolumeOnboardingGetallParamsWithContext(ctx context.Context) *PcloudVolumeOnboardingGetallParams

NewPcloudVolumeOnboardingGetallParamsWithContext creates a new PcloudVolumeOnboardingGetallParams object with the ability to set a context for a request.

func NewPcloudVolumeOnboardingGetallParamsWithHTTPClient

func NewPcloudVolumeOnboardingGetallParamsWithHTTPClient(client *http.Client) *PcloudVolumeOnboardingGetallParams

NewPcloudVolumeOnboardingGetallParamsWithHTTPClient creates a new PcloudVolumeOnboardingGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVolumeOnboardingGetallParamsWithTimeout

func NewPcloudVolumeOnboardingGetallParamsWithTimeout(timeout time.Duration) *PcloudVolumeOnboardingGetallParams

NewPcloudVolumeOnboardingGetallParamsWithTimeout creates a new PcloudVolumeOnboardingGetallParams object with the ability to set a timeout on a request.

func (*PcloudVolumeOnboardingGetallParams) SetCloudInstanceID

func (o *PcloudVolumeOnboardingGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) SetContext

SetContext adds the context to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) SetDefaults

func (o *PcloudVolumeOnboardingGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud volume onboarding getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudVolumeOnboardingGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WithContext

WithContext adds the context to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WithDefaults

WithDefaults hydrates default values in the pcloud volume onboarding getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudVolumeOnboardingGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud volume onboarding getall params

func (*PcloudVolumeOnboardingGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVolumeOnboardingGetallReader

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

PcloudVolumeOnboardingGetallReader is a Reader for the PcloudVolumeOnboardingGetall structure.

func (*PcloudVolumeOnboardingGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVolumeOnboardingGetallUnauthorized

type PcloudVolumeOnboardingGetallUnauthorized struct {
	Payload *models.Error
}
PcloudVolumeOnboardingGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVolumeOnboardingGetallUnauthorized

func NewPcloudVolumeOnboardingGetallUnauthorized() *PcloudVolumeOnboardingGetallUnauthorized

NewPcloudVolumeOnboardingGetallUnauthorized creates a PcloudVolumeOnboardingGetallUnauthorized with default headers values

func (*PcloudVolumeOnboardingGetallUnauthorized) Error

func (*PcloudVolumeOnboardingGetallUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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