p_cloud_system_pools

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 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 system pools API

func (*Client) PcloudSystempoolsGet

func (a *Client) PcloudSystempoolsGet(params *PcloudSystempoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSystempoolsGetOK, error)

PcloudSystempoolsGet lists of available system pools within a particular data center

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 {
	PcloudSystempoolsGet(params *PcloudSystempoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudSystempoolsGetOK, 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 system pools API client.

type PcloudSystempoolsGetInternalServerError

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

Internal Server Error

func NewPcloudSystempoolsGetInternalServerError

func NewPcloudSystempoolsGetInternalServerError() *PcloudSystempoolsGetInternalServerError

NewPcloudSystempoolsGetInternalServerError creates a PcloudSystempoolsGetInternalServerError with default headers values

func (*PcloudSystempoolsGetInternalServerError) Error

func (*PcloudSystempoolsGetInternalServerError) GetPayload added in v1.1.0

type PcloudSystempoolsGetOK

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

OK

func NewPcloudSystempoolsGetOK

func NewPcloudSystempoolsGetOK() *PcloudSystempoolsGetOK

NewPcloudSystempoolsGetOK creates a PcloudSystempoolsGetOK with default headers values

func (*PcloudSystempoolsGetOK) Error

func (o *PcloudSystempoolsGetOK) Error() string

func (*PcloudSystempoolsGetOK) GetPayload added in v1.1.0

func (o *PcloudSystempoolsGetOK) GetPayload() models.SystemPools

type PcloudSystempoolsGetParams

type PcloudSystempoolsGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudSystempoolsGetParams contains all the parameters to send to the API endpoint

for the pcloud systempools get operation.

Typically these are written to a http.Request.

func NewPcloudSystempoolsGetParams

func NewPcloudSystempoolsGetParams() *PcloudSystempoolsGetParams

NewPcloudSystempoolsGetParams creates a new PcloudSystempoolsGetParams 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 NewPcloudSystempoolsGetParamsWithContext

func NewPcloudSystempoolsGetParamsWithContext(ctx context.Context) *PcloudSystempoolsGetParams

NewPcloudSystempoolsGetParamsWithContext creates a new PcloudSystempoolsGetParams object with the ability to set a context for a request.

func NewPcloudSystempoolsGetParamsWithHTTPClient

func NewPcloudSystempoolsGetParamsWithHTTPClient(client *http.Client) *PcloudSystempoolsGetParams

NewPcloudSystempoolsGetParamsWithHTTPClient creates a new PcloudSystempoolsGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudSystempoolsGetParamsWithTimeout

func NewPcloudSystempoolsGetParamsWithTimeout(timeout time.Duration) *PcloudSystempoolsGetParams

NewPcloudSystempoolsGetParamsWithTimeout creates a new PcloudSystempoolsGetParams object with the ability to set a timeout on a request.

func (*PcloudSystempoolsGetParams) SetCloudInstanceID

func (o *PcloudSystempoolsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud systempools get params

func (*PcloudSystempoolsGetParams) SetContext

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

SetContext adds the context to the pcloud systempools get params

func (*PcloudSystempoolsGetParams) SetDefaults added in v1.1.0

func (o *PcloudSystempoolsGetParams) SetDefaults()

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

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

func (*PcloudSystempoolsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud systempools get params

func (*PcloudSystempoolsGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud systempools get params

func (*PcloudSystempoolsGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud systempools get params

func (*PcloudSystempoolsGetParams) WithContext

WithContext adds the context to the pcloud systempools get params

func (*PcloudSystempoolsGetParams) WithDefaults added in v1.1.0

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

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

func (*PcloudSystempoolsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud systempools get params

func (*PcloudSystempoolsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud systempools get params

func (*PcloudSystempoolsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudSystempoolsGetReader

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

PcloudSystempoolsGetReader is a Reader for the PcloudSystempoolsGet structure.

func (*PcloudSystempoolsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudSystempoolsGetUnauthorized added in v1.0.59

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

Unauthorized

func NewPcloudSystempoolsGetUnauthorized added in v1.0.59

func NewPcloudSystempoolsGetUnauthorized() *PcloudSystempoolsGetUnauthorized

NewPcloudSystempoolsGetUnauthorized creates a PcloudSystempoolsGetUnauthorized with default headers values

func (*PcloudSystempoolsGetUnauthorized) Error added in v1.0.59

func (*PcloudSystempoolsGetUnauthorized) GetPayload added in v1.1.0

Jump to

Keyboard shortcuts

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