Documentation ¶
Index ¶
- type Client
- type PcloudSystempoolsGetInternalServerError
- type PcloudSystempoolsGetOK
- type PcloudSystempoolsGetParams
- func NewPcloudSystempoolsGetParams() *PcloudSystempoolsGetParams
- func NewPcloudSystempoolsGetParamsWithContext(ctx context.Context) *PcloudSystempoolsGetParams
- func NewPcloudSystempoolsGetParamsWithHTTPClient(client *http.Client) *PcloudSystempoolsGetParams
- func NewPcloudSystempoolsGetParamsWithTimeout(timeout time.Duration) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudSystempoolsGetParams) SetContext(ctx context.Context)
- func (o *PcloudSystempoolsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudSystempoolsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudSystempoolsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) WithContext(ctx context.Context) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) WithHTTPClient(client *http.Client) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) WithTimeout(timeout time.Duration) *PcloudSystempoolsGetParams
- func (o *PcloudSystempoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudSystempoolsGetReader
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud system pools API client.
func (*Client) PcloudSystempoolsGet ¶
func (a *Client) PcloudSystempoolsGet(params *PcloudSystempoolsGetParams, authInfo runtime.ClientAuthInfoWriter) (*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 PcloudSystempoolsGetInternalServerError ¶
PcloudSystempoolsGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudSystempoolsGetInternalServerError ¶
func NewPcloudSystempoolsGetInternalServerError() *PcloudSystempoolsGetInternalServerError
NewPcloudSystempoolsGetInternalServerError creates a PcloudSystempoolsGetInternalServerError with default headers values
func (*PcloudSystempoolsGetInternalServerError) Error ¶
func (o *PcloudSystempoolsGetInternalServerError) Error() string
type PcloudSystempoolsGetOK ¶
type PcloudSystempoolsGetOK struct {
Payload models.SystemPools
}
PcloudSystempoolsGetOK handles this case 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
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 values initialized.
func NewPcloudSystempoolsGetParamsWithContext ¶
func NewPcloudSystempoolsGetParamsWithContext(ctx context.Context) *PcloudSystempoolsGetParams
NewPcloudSystempoolsGetParamsWithContext creates a new PcloudSystempoolsGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *PcloudSystempoolsGetParams) WithContext(ctx context.Context) *PcloudSystempoolsGetParams
WithContext adds the context to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) WithHTTPClient ¶
func (o *PcloudSystempoolsGetParams) WithHTTPClient(client *http.Client) *PcloudSystempoolsGetParams
WithHTTPClient adds the HTTPClient to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) WithTimeout ¶
func (o *PcloudSystempoolsGetParams) WithTimeout(timeout time.Duration) *PcloudSystempoolsGetParams
WithTimeout adds the timeout to the pcloud systempools get params
func (*PcloudSystempoolsGetParams) WriteToRequest ¶
func (o *PcloudSystempoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.