internal_power_v_s_instances

package
v0.0.0-...-32f6bd3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 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 internal power v s instances API

func (*Client) InternalV1PowervsInstancesGet

func (a *Client) InternalV1PowervsInstancesGet(params *InternalV1PowervsInstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1PowervsInstancesGetOK, error)

InternalV1PowervsInstancesGet gets list of power private cloud cloud instances

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 {
	InternalV1PowervsInstancesGet(params *InternalV1PowervsInstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1PowervsInstancesGetOK, 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 internal power v s instances API client.

type InternalV1PowervsInstancesGetForbidden

type InternalV1PowervsInstancesGetForbidden struct {
	Payload *models.Error
}

InternalV1PowervsInstancesGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewInternalV1PowervsInstancesGetForbidden

func NewInternalV1PowervsInstancesGetForbidden() *InternalV1PowervsInstancesGetForbidden

NewInternalV1PowervsInstancesGetForbidden creates a InternalV1PowervsInstancesGetForbidden with default headers values

func (*InternalV1PowervsInstancesGetForbidden) Code

Code gets the status code for the internal v1 powervs instances get forbidden response

func (*InternalV1PowervsInstancesGetForbidden) Error

func (*InternalV1PowervsInstancesGetForbidden) GetPayload

func (*InternalV1PowervsInstancesGetForbidden) IsClientError

func (o *InternalV1PowervsInstancesGetForbidden) IsClientError() bool

IsClientError returns true when this internal v1 powervs instances get forbidden response has a 4xx status code

func (*InternalV1PowervsInstancesGetForbidden) IsCode

IsCode returns true when this internal v1 powervs instances get forbidden response a status code equal to that given

func (*InternalV1PowervsInstancesGetForbidden) IsRedirect

IsRedirect returns true when this internal v1 powervs instances get forbidden response has a 3xx status code

func (*InternalV1PowervsInstancesGetForbidden) IsServerError

func (o *InternalV1PowervsInstancesGetForbidden) IsServerError() bool

IsServerError returns true when this internal v1 powervs instances get forbidden response has a 5xx status code

func (*InternalV1PowervsInstancesGetForbidden) IsSuccess

IsSuccess returns true when this internal v1 powervs instances get forbidden response has a 2xx status code

func (*InternalV1PowervsInstancesGetForbidden) String

type InternalV1PowervsInstancesGetInternalServerError

type InternalV1PowervsInstancesGetInternalServerError struct {
	Payload *models.Error
}

InternalV1PowervsInstancesGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewInternalV1PowervsInstancesGetInternalServerError

func NewInternalV1PowervsInstancesGetInternalServerError() *InternalV1PowervsInstancesGetInternalServerError

NewInternalV1PowervsInstancesGetInternalServerError creates a InternalV1PowervsInstancesGetInternalServerError with default headers values

func (*InternalV1PowervsInstancesGetInternalServerError) Code

Code gets the status code for the internal v1 powervs instances get internal server error response

func (*InternalV1PowervsInstancesGetInternalServerError) Error

func (*InternalV1PowervsInstancesGetInternalServerError) GetPayload

func (*InternalV1PowervsInstancesGetInternalServerError) IsClientError

IsClientError returns true when this internal v1 powervs instances get internal server error response has a 4xx status code

func (*InternalV1PowervsInstancesGetInternalServerError) IsCode

IsCode returns true when this internal v1 powervs instances get internal server error response a status code equal to that given

func (*InternalV1PowervsInstancesGetInternalServerError) IsRedirect

IsRedirect returns true when this internal v1 powervs instances get internal server error response has a 3xx status code

func (*InternalV1PowervsInstancesGetInternalServerError) IsServerError

IsServerError returns true when this internal v1 powervs instances get internal server error response has a 5xx status code

func (*InternalV1PowervsInstancesGetInternalServerError) IsSuccess

IsSuccess returns true when this internal v1 powervs instances get internal server error response has a 2xx status code

func (*InternalV1PowervsInstancesGetInternalServerError) String

type InternalV1PowervsInstancesGetOK

type InternalV1PowervsInstancesGetOK struct {
	Payload *models.PowerVSInstances
}

InternalV1PowervsInstancesGetOK describes a response with status code 200, with default header values.

OK

func NewInternalV1PowervsInstancesGetOK

func NewInternalV1PowervsInstancesGetOK() *InternalV1PowervsInstancesGetOK

NewInternalV1PowervsInstancesGetOK creates a InternalV1PowervsInstancesGetOK with default headers values

func (*InternalV1PowervsInstancesGetOK) Code

Code gets the status code for the internal v1 powervs instances get o k response

func (*InternalV1PowervsInstancesGetOK) Error

func (*InternalV1PowervsInstancesGetOK) GetPayload

func (*InternalV1PowervsInstancesGetOK) IsClientError

func (o *InternalV1PowervsInstancesGetOK) IsClientError() bool

IsClientError returns true when this internal v1 powervs instances get o k response has a 4xx status code

func (*InternalV1PowervsInstancesGetOK) IsCode

func (o *InternalV1PowervsInstancesGetOK) IsCode(code int) bool

IsCode returns true when this internal v1 powervs instances get o k response a status code equal to that given

func (*InternalV1PowervsInstancesGetOK) IsRedirect

func (o *InternalV1PowervsInstancesGetOK) IsRedirect() bool

IsRedirect returns true when this internal v1 powervs instances get o k response has a 3xx status code

func (*InternalV1PowervsInstancesGetOK) IsServerError

func (o *InternalV1PowervsInstancesGetOK) IsServerError() bool

IsServerError returns true when this internal v1 powervs instances get o k response has a 5xx status code

func (*InternalV1PowervsInstancesGetOK) IsSuccess

func (o *InternalV1PowervsInstancesGetOK) IsSuccess() bool

IsSuccess returns true when this internal v1 powervs instances get o k response has a 2xx status code

func (*InternalV1PowervsInstancesGetOK) String

type InternalV1PowervsInstancesGetParams

type InternalV1PowervsInstancesGetParams struct {

	/* PowervsLocation.

	   The Power Private Cloud Location
	*/
	PowervsLocation *string

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

InternalV1PowervsInstancesGetParams contains all the parameters to send to the API endpoint

for the internal v1 powervs instances get operation.

Typically these are written to a http.Request.

func NewInternalV1PowervsInstancesGetParams

func NewInternalV1PowervsInstancesGetParams() *InternalV1PowervsInstancesGetParams

NewInternalV1PowervsInstancesGetParams creates a new InternalV1PowervsInstancesGetParams 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 NewInternalV1PowervsInstancesGetParamsWithContext

func NewInternalV1PowervsInstancesGetParamsWithContext(ctx context.Context) *InternalV1PowervsInstancesGetParams

NewInternalV1PowervsInstancesGetParamsWithContext creates a new InternalV1PowervsInstancesGetParams object with the ability to set a context for a request.

func NewInternalV1PowervsInstancesGetParamsWithHTTPClient

func NewInternalV1PowervsInstancesGetParamsWithHTTPClient(client *http.Client) *InternalV1PowervsInstancesGetParams

NewInternalV1PowervsInstancesGetParamsWithHTTPClient creates a new InternalV1PowervsInstancesGetParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1PowervsInstancesGetParamsWithTimeout

func NewInternalV1PowervsInstancesGetParamsWithTimeout(timeout time.Duration) *InternalV1PowervsInstancesGetParams

NewInternalV1PowervsInstancesGetParamsWithTimeout creates a new InternalV1PowervsInstancesGetParams object with the ability to set a timeout on a request.

func (*InternalV1PowervsInstancesGetParams) SetContext

SetContext adds the context to the internal v1 powervs instances get params

func (*InternalV1PowervsInstancesGetParams) SetDefaults

func (o *InternalV1PowervsInstancesGetParams) SetDefaults()

SetDefaults hydrates default values in the internal v1 powervs instances get params (not the query body).

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

func (*InternalV1PowervsInstancesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the internal v1 powervs instances get params

func (*InternalV1PowervsInstancesGetParams) SetPowervsLocation

func (o *InternalV1PowervsInstancesGetParams) SetPowervsLocation(powervsLocation *string)

SetPowervsLocation adds the powervsLocation to the internal v1 powervs instances get params

func (*InternalV1PowervsInstancesGetParams) SetTimeout

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

SetTimeout adds the timeout to the internal v1 powervs instances get params

func (*InternalV1PowervsInstancesGetParams) WithContext

WithContext adds the context to the internal v1 powervs instances get params

func (*InternalV1PowervsInstancesGetParams) WithDefaults

WithDefaults hydrates default values in the internal v1 powervs instances get params (not the query body).

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

func (*InternalV1PowervsInstancesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 powervs instances get params

func (*InternalV1PowervsInstancesGetParams) WithPowervsLocation

func (o *InternalV1PowervsInstancesGetParams) WithPowervsLocation(powervsLocation *string) *InternalV1PowervsInstancesGetParams

WithPowervsLocation adds the powervsLocation to the internal v1 powervs instances get params

func (*InternalV1PowervsInstancesGetParams) WithTimeout

WithTimeout adds the timeout to the internal v1 powervs instances get params

func (*InternalV1PowervsInstancesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1PowervsInstancesGetReader

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

InternalV1PowervsInstancesGetReader is a Reader for the InternalV1PowervsInstancesGet structure.

func (*InternalV1PowervsInstancesGetReader) ReadResponse

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