cloud_pool_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 11 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 cloud pool controller API

func (*Client) CreateCloudPool

func (a *Client) CreateCloudPool(params *CreateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCloudPoolCreated, error)

CreateCloudPool creates

func (*Client) DeleteCloudPool

func (a *Client) DeleteCloudPool(params *DeleteCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCloudPoolOK, error)

DeleteCloudPool deletes

func (*Client) ListCloudPool

func (a *Client) ListCloudPool(params *ListCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ListCloudPoolOK, error)

ListCloudPool lists

func (*Client) ReadCloudPool

func (a *Client) ReadCloudPool(params *ReadCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ReadCloudPoolOK, error)

ReadCloudPool reads

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCloudPool

func (a *Client) UpdateCloudPool(params *UpdateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCloudPoolOK, error)

UpdateCloudPool updates

type ClientService

type ClientService interface {
	CreateCloudPool(params *CreateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCloudPoolCreated, error)

	DeleteCloudPool(params *DeleteCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCloudPoolOK, error)

	ListCloudPool(params *ListCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ListCloudPoolOK, error)

	ReadCloudPool(params *ReadCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ReadCloudPoolOK, error)

	UpdateCloudPool(params *UpdateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCloudPoolOK, 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 cloud pool controller API client.

type CreateCloudPoolBadRequest

type CreateCloudPoolBadRequest struct {
	Payload *models.APIResult
}

CreateCloudPoolBadRequest handles this case with default header values.

Bad Request

func NewCreateCloudPoolBadRequest

func NewCreateCloudPoolBadRequest() *CreateCloudPoolBadRequest

NewCreateCloudPoolBadRequest creates a CreateCloudPoolBadRequest with default headers values

func (*CreateCloudPoolBadRequest) Error

func (o *CreateCloudPoolBadRequest) Error() string

func (*CreateCloudPoolBadRequest) GetPayload

func (o *CreateCloudPoolBadRequest) GetPayload() *models.APIResult

type CreateCloudPoolConflict

type CreateCloudPoolConflict struct {
	Payload *models.APIResult
}

CreateCloudPoolConflict handles this case with default header values.

Conflict

func NewCreateCloudPoolConflict

func NewCreateCloudPoolConflict() *CreateCloudPoolConflict

NewCreateCloudPoolConflict creates a CreateCloudPoolConflict with default headers values

func (*CreateCloudPoolConflict) Error

func (o *CreateCloudPoolConflict) Error() string

func (*CreateCloudPoolConflict) GetPayload

func (o *CreateCloudPoolConflict) GetPayload() *models.APIResult

type CreateCloudPoolCreated

type CreateCloudPoolCreated struct {
	Payload *models.APIResultCloudPool
}

CreateCloudPoolCreated handles this case with default header values.

Created

func NewCreateCloudPoolCreated

func NewCreateCloudPoolCreated() *CreateCloudPoolCreated

NewCreateCloudPoolCreated creates a CreateCloudPoolCreated with default headers values

func (*CreateCloudPoolCreated) Error

func (o *CreateCloudPoolCreated) Error() string

func (*CreateCloudPoolCreated) GetPayload

type CreateCloudPoolForbidden

type CreateCloudPoolForbidden struct {
	Payload *models.APIResult
}

CreateCloudPoolForbidden handles this case with default header values.

Forbidden

func NewCreateCloudPoolForbidden

func NewCreateCloudPoolForbidden() *CreateCloudPoolForbidden

NewCreateCloudPoolForbidden creates a CreateCloudPoolForbidden with default headers values

func (*CreateCloudPoolForbidden) Error

func (o *CreateCloudPoolForbidden) Error() string

func (*CreateCloudPoolForbidden) GetPayload

func (o *CreateCloudPoolForbidden) GetPayload() *models.APIResult

type CreateCloudPoolInternalServerError

type CreateCloudPoolInternalServerError struct {
	Payload *models.APIResult
}

CreateCloudPoolInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateCloudPoolInternalServerError

func NewCreateCloudPoolInternalServerError() *CreateCloudPoolInternalServerError

NewCreateCloudPoolInternalServerError creates a CreateCloudPoolInternalServerError with default headers values

func (*CreateCloudPoolInternalServerError) Error

func (*CreateCloudPoolInternalServerError) GetPayload

type CreateCloudPoolNotFound

type CreateCloudPoolNotFound struct {
	Payload *models.APIResult
}

CreateCloudPoolNotFound handles this case with default header values.

Not Found

func NewCreateCloudPoolNotFound

func NewCreateCloudPoolNotFound() *CreateCloudPoolNotFound

NewCreateCloudPoolNotFound creates a CreateCloudPoolNotFound with default headers values

func (*CreateCloudPoolNotFound) Error

func (o *CreateCloudPoolNotFound) Error() string

func (*CreateCloudPoolNotFound) GetPayload

func (o *CreateCloudPoolNotFound) GetPayload() *models.APIResult

type CreateCloudPoolParams

type CreateCloudPoolParams struct {

	/*Resource
	  resource

	*/
	Resource *models.CloudPool

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

CreateCloudPoolParams contains all the parameters to send to the API endpoint for the create cloud pool operation typically these are written to a http.Request

func NewCreateCloudPoolParams

func NewCreateCloudPoolParams() *CreateCloudPoolParams

NewCreateCloudPoolParams creates a new CreateCloudPoolParams object with the default values initialized.

func NewCreateCloudPoolParamsWithContext

func NewCreateCloudPoolParamsWithContext(ctx context.Context) *CreateCloudPoolParams

NewCreateCloudPoolParamsWithContext creates a new CreateCloudPoolParams object with the default values initialized, and the ability to set a context for a request

func NewCreateCloudPoolParamsWithHTTPClient

func NewCreateCloudPoolParamsWithHTTPClient(client *http.Client) *CreateCloudPoolParams

NewCreateCloudPoolParamsWithHTTPClient creates a new CreateCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateCloudPoolParamsWithTimeout

func NewCreateCloudPoolParamsWithTimeout(timeout time.Duration) *CreateCloudPoolParams

NewCreateCloudPoolParamsWithTimeout creates a new CreateCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateCloudPoolParams) SetContext

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

SetContext adds the context to the create cloud pool params

func (*CreateCloudPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create cloud pool params

func (*CreateCloudPoolParams) SetResource

func (o *CreateCloudPoolParams) SetResource(resource *models.CloudPool)

SetResource adds the resource to the create cloud pool params

func (*CreateCloudPoolParams) SetTimeout

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

SetTimeout adds the timeout to the create cloud pool params

func (*CreateCloudPoolParams) WithContext

WithContext adds the context to the create cloud pool params

func (*CreateCloudPoolParams) WithHTTPClient

func (o *CreateCloudPoolParams) WithHTTPClient(client *http.Client) *CreateCloudPoolParams

WithHTTPClient adds the HTTPClient to the create cloud pool params

func (*CreateCloudPoolParams) WithResource

func (o *CreateCloudPoolParams) WithResource(resource *models.CloudPool) *CreateCloudPoolParams

WithResource adds the resource to the create cloud pool params

func (*CreateCloudPoolParams) WithTimeout

func (o *CreateCloudPoolParams) WithTimeout(timeout time.Duration) *CreateCloudPoolParams

WithTimeout adds the timeout to the create cloud pool params

func (*CreateCloudPoolParams) WriteToRequest

func (o *CreateCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateCloudPoolReader

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

CreateCloudPoolReader is a Reader for the CreateCloudPool structure.

func (*CreateCloudPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCloudPoolUnauthorized

type CreateCloudPoolUnauthorized struct {
	Payload *models.APIResult
}

CreateCloudPoolUnauthorized handles this case with default header values.

Unauthorized

func NewCreateCloudPoolUnauthorized

func NewCreateCloudPoolUnauthorized() *CreateCloudPoolUnauthorized

NewCreateCloudPoolUnauthorized creates a CreateCloudPoolUnauthorized with default headers values

func (*CreateCloudPoolUnauthorized) Error

func (*CreateCloudPoolUnauthorized) GetPayload

func (o *CreateCloudPoolUnauthorized) GetPayload() *models.APIResult

type DeleteCloudPoolBadRequest

type DeleteCloudPoolBadRequest struct {
	Payload *models.APIResult
}

DeleteCloudPoolBadRequest handles this case with default header values.

Bad Request

func NewDeleteCloudPoolBadRequest

func NewDeleteCloudPoolBadRequest() *DeleteCloudPoolBadRequest

NewDeleteCloudPoolBadRequest creates a DeleteCloudPoolBadRequest with default headers values

func (*DeleteCloudPoolBadRequest) Error

func (o *DeleteCloudPoolBadRequest) Error() string

func (*DeleteCloudPoolBadRequest) GetPayload

func (o *DeleteCloudPoolBadRequest) GetPayload() *models.APIResult

type DeleteCloudPoolConflict

type DeleteCloudPoolConflict struct {
	Payload *models.APIResult
}

DeleteCloudPoolConflict handles this case with default header values.

Conflict

func NewDeleteCloudPoolConflict

func NewDeleteCloudPoolConflict() *DeleteCloudPoolConflict

NewDeleteCloudPoolConflict creates a DeleteCloudPoolConflict with default headers values

func (*DeleteCloudPoolConflict) Error

func (o *DeleteCloudPoolConflict) Error() string

func (*DeleteCloudPoolConflict) GetPayload

func (o *DeleteCloudPoolConflict) GetPayload() *models.APIResult

type DeleteCloudPoolForbidden

type DeleteCloudPoolForbidden struct {
	Payload *models.APIResult
}

DeleteCloudPoolForbidden handles this case with default header values.

Forbidden

func NewDeleteCloudPoolForbidden

func NewDeleteCloudPoolForbidden() *DeleteCloudPoolForbidden

NewDeleteCloudPoolForbidden creates a DeleteCloudPoolForbidden with default headers values

func (*DeleteCloudPoolForbidden) Error

func (o *DeleteCloudPoolForbidden) Error() string

func (*DeleteCloudPoolForbidden) GetPayload

func (o *DeleteCloudPoolForbidden) GetPayload() *models.APIResult

type DeleteCloudPoolInternalServerError

type DeleteCloudPoolInternalServerError struct {
	Payload *models.APIResult
}

DeleteCloudPoolInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteCloudPoolInternalServerError

func NewDeleteCloudPoolInternalServerError() *DeleteCloudPoolInternalServerError

NewDeleteCloudPoolInternalServerError creates a DeleteCloudPoolInternalServerError with default headers values

func (*DeleteCloudPoolInternalServerError) Error

func (*DeleteCloudPoolInternalServerError) GetPayload

type DeleteCloudPoolNotFound

type DeleteCloudPoolNotFound struct {
	Payload *models.APIResult
}

DeleteCloudPoolNotFound handles this case with default header values.

Not Found

func NewDeleteCloudPoolNotFound

func NewDeleteCloudPoolNotFound() *DeleteCloudPoolNotFound

NewDeleteCloudPoolNotFound creates a DeleteCloudPoolNotFound with default headers values

func (*DeleteCloudPoolNotFound) Error

func (o *DeleteCloudPoolNotFound) Error() string

func (*DeleteCloudPoolNotFound) GetPayload

func (o *DeleteCloudPoolNotFound) GetPayload() *models.APIResult

type DeleteCloudPoolOK

type DeleteCloudPoolOK struct {
	Payload *models.APIResultVoid
}

DeleteCloudPoolOK handles this case with default header values.

OK

func NewDeleteCloudPoolOK

func NewDeleteCloudPoolOK() *DeleteCloudPoolOK

NewDeleteCloudPoolOK creates a DeleteCloudPoolOK with default headers values

func (*DeleteCloudPoolOK) Error

func (o *DeleteCloudPoolOK) Error() string

func (*DeleteCloudPoolOK) GetPayload

func (o *DeleteCloudPoolOK) GetPayload() *models.APIResultVoid

type DeleteCloudPoolParams

type DeleteCloudPoolParams struct {

	/*UUID
	  uuid

	*/
	UUID string

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

DeleteCloudPoolParams contains all the parameters to send to the API endpoint for the delete cloud pool operation typically these are written to a http.Request

func NewDeleteCloudPoolParams

func NewDeleteCloudPoolParams() *DeleteCloudPoolParams

NewDeleteCloudPoolParams creates a new DeleteCloudPoolParams object with the default values initialized.

func NewDeleteCloudPoolParamsWithContext

func NewDeleteCloudPoolParamsWithContext(ctx context.Context) *DeleteCloudPoolParams

NewDeleteCloudPoolParamsWithContext creates a new DeleteCloudPoolParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteCloudPoolParamsWithHTTPClient

func NewDeleteCloudPoolParamsWithHTTPClient(client *http.Client) *DeleteCloudPoolParams

NewDeleteCloudPoolParamsWithHTTPClient creates a new DeleteCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteCloudPoolParamsWithTimeout

func NewDeleteCloudPoolParamsWithTimeout(timeout time.Duration) *DeleteCloudPoolParams

NewDeleteCloudPoolParamsWithTimeout creates a new DeleteCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteCloudPoolParams) SetContext

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

SetContext adds the context to the delete cloud pool params

func (*DeleteCloudPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete cloud pool params

func (*DeleteCloudPoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete cloud pool params

func (*DeleteCloudPoolParams) SetUUID

func (o *DeleteCloudPoolParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete cloud pool params

func (*DeleteCloudPoolParams) WithContext

WithContext adds the context to the delete cloud pool params

func (*DeleteCloudPoolParams) WithHTTPClient

func (o *DeleteCloudPoolParams) WithHTTPClient(client *http.Client) *DeleteCloudPoolParams

WithHTTPClient adds the HTTPClient to the delete cloud pool params

func (*DeleteCloudPoolParams) WithTimeout

func (o *DeleteCloudPoolParams) WithTimeout(timeout time.Duration) *DeleteCloudPoolParams

WithTimeout adds the timeout to the delete cloud pool params

func (*DeleteCloudPoolParams) WithUUID

WithUUID adds the uuid to the delete cloud pool params

func (*DeleteCloudPoolParams) WriteToRequest

func (o *DeleteCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteCloudPoolReader

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

DeleteCloudPoolReader is a Reader for the DeleteCloudPool structure.

func (*DeleteCloudPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCloudPoolUnauthorized

type DeleteCloudPoolUnauthorized struct {
	Payload *models.APIResult
}

DeleteCloudPoolUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteCloudPoolUnauthorized

func NewDeleteCloudPoolUnauthorized() *DeleteCloudPoolUnauthorized

NewDeleteCloudPoolUnauthorized creates a DeleteCloudPoolUnauthorized with default headers values

func (*DeleteCloudPoolUnauthorized) Error

func (*DeleteCloudPoolUnauthorized) GetPayload

func (o *DeleteCloudPoolUnauthorized) GetPayload() *models.APIResult

type ListCloudPoolBadRequest

type ListCloudPoolBadRequest struct {
	Payload *models.APIResult
}

ListCloudPoolBadRequest handles this case with default header values.

Bad Request

func NewListCloudPoolBadRequest

func NewListCloudPoolBadRequest() *ListCloudPoolBadRequest

NewListCloudPoolBadRequest creates a ListCloudPoolBadRequest with default headers values

func (*ListCloudPoolBadRequest) Error

func (o *ListCloudPoolBadRequest) Error() string

func (*ListCloudPoolBadRequest) GetPayload

func (o *ListCloudPoolBadRequest) GetPayload() *models.APIResult

type ListCloudPoolConflict

type ListCloudPoolConflict struct {
	Payload *models.APIResult
}

ListCloudPoolConflict handles this case with default header values.

Conflict

func NewListCloudPoolConflict

func NewListCloudPoolConflict() *ListCloudPoolConflict

NewListCloudPoolConflict creates a ListCloudPoolConflict with default headers values

func (*ListCloudPoolConflict) Error

func (o *ListCloudPoolConflict) Error() string

func (*ListCloudPoolConflict) GetPayload

func (o *ListCloudPoolConflict) GetPayload() *models.APIResult

type ListCloudPoolForbidden

type ListCloudPoolForbidden struct {
	Payload *models.APIResult
}

ListCloudPoolForbidden handles this case with default header values.

Forbidden

func NewListCloudPoolForbidden

func NewListCloudPoolForbidden() *ListCloudPoolForbidden

NewListCloudPoolForbidden creates a ListCloudPoolForbidden with default headers values

func (*ListCloudPoolForbidden) Error

func (o *ListCloudPoolForbidden) Error() string

func (*ListCloudPoolForbidden) GetPayload

func (o *ListCloudPoolForbidden) GetPayload() *models.APIResult

type ListCloudPoolInternalServerError

type ListCloudPoolInternalServerError struct {
	Payload *models.APIResult
}

ListCloudPoolInternalServerError handles this case with default header values.

Internal Server Error

func NewListCloudPoolInternalServerError

func NewListCloudPoolInternalServerError() *ListCloudPoolInternalServerError

NewListCloudPoolInternalServerError creates a ListCloudPoolInternalServerError with default headers values

func (*ListCloudPoolInternalServerError) Error

func (*ListCloudPoolInternalServerError) GetPayload

type ListCloudPoolNotFound

type ListCloudPoolNotFound struct {
	Payload *models.APIResult
}

ListCloudPoolNotFound handles this case with default header values.

Not Found

func NewListCloudPoolNotFound

func NewListCloudPoolNotFound() *ListCloudPoolNotFound

NewListCloudPoolNotFound creates a ListCloudPoolNotFound with default headers values

func (*ListCloudPoolNotFound) Error

func (o *ListCloudPoolNotFound) Error() string

func (*ListCloudPoolNotFound) GetPayload

func (o *ListCloudPoolNotFound) GetPayload() *models.APIResult

type ListCloudPoolOK

type ListCloudPoolOK struct {
	Payload *models.APIResultListCloudPool
}

ListCloudPoolOK handles this case with default header values.

OK

func NewListCloudPoolOK

func NewListCloudPoolOK() *ListCloudPoolOK

NewListCloudPoolOK creates a ListCloudPoolOK with default headers values

func (*ListCloudPoolOK) Error

func (o *ListCloudPoolOK) Error() string

func (*ListCloudPoolOK) GetPayload

type ListCloudPoolParams

type ListCloudPoolParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*Fulltextsearch
	  If 'true', interpret 'q' parameter as full text search query, defaults to 'false'

	*/
	Fulltextsearch *bool
	/*Limit
	  A maximum number of returned objects in listing, if '-1' or '0' no limit is applied

	*/
	Limit *int32
	/*Orderby
	  Fields to order by

	*/
	Orderby *string
	/*Q
	  A search-spec of full text search query (see fulltextsearch parameter)

	*/
	Q *string
	/*Start
	  A start offset in object listing

	*/
	Start *int32

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

ListCloudPoolParams contains all the parameters to send to the API endpoint for the list cloud pool operation typically these are written to a http.Request

func NewListCloudPoolParams

func NewListCloudPoolParams() *ListCloudPoolParams

NewListCloudPoolParams creates a new ListCloudPoolParams object with the default values initialized.

func NewListCloudPoolParamsWithContext

func NewListCloudPoolParamsWithContext(ctx context.Context) *ListCloudPoolParams

NewListCloudPoolParamsWithContext creates a new ListCloudPoolParams object with the default values initialized, and the ability to set a context for a request

func NewListCloudPoolParamsWithHTTPClient

func NewListCloudPoolParamsWithHTTPClient(client *http.Client) *ListCloudPoolParams

NewListCloudPoolParamsWithHTTPClient creates a new ListCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListCloudPoolParamsWithTimeout

func NewListCloudPoolParamsWithTimeout(timeout time.Duration) *ListCloudPoolParams

NewListCloudPoolParamsWithTimeout creates a new ListCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListCloudPoolParams) SetContext

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

SetContext adds the context to the list cloud pool params

func (*ListCloudPoolParams) SetFields

func (o *ListCloudPoolParams) SetFields(fields *string)

SetFields adds the fields to the list cloud pool params

func (*ListCloudPoolParams) SetFulltextsearch

func (o *ListCloudPoolParams) SetFulltextsearch(fulltextsearch *bool)

SetFulltextsearch adds the fulltextsearch to the list cloud pool params

func (*ListCloudPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list cloud pool params

func (*ListCloudPoolParams) SetLimit

func (o *ListCloudPoolParams) SetLimit(limit *int32)

SetLimit adds the limit to the list cloud pool params

func (*ListCloudPoolParams) SetOrderby

func (o *ListCloudPoolParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the list cloud pool params

func (*ListCloudPoolParams) SetQ

func (o *ListCloudPoolParams) SetQ(q *string)

SetQ adds the q to the list cloud pool params

func (*ListCloudPoolParams) SetStart

func (o *ListCloudPoolParams) SetStart(start *int32)

SetStart adds the start to the list cloud pool params

func (*ListCloudPoolParams) SetTimeout

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

SetTimeout adds the timeout to the list cloud pool params

func (*ListCloudPoolParams) WithContext

WithContext adds the context to the list cloud pool params

func (*ListCloudPoolParams) WithFields

func (o *ListCloudPoolParams) WithFields(fields *string) *ListCloudPoolParams

WithFields adds the fields to the list cloud pool params

func (*ListCloudPoolParams) WithFulltextsearch

func (o *ListCloudPoolParams) WithFulltextsearch(fulltextsearch *bool) *ListCloudPoolParams

WithFulltextsearch adds the fulltextsearch to the list cloud pool params

func (*ListCloudPoolParams) WithHTTPClient

func (o *ListCloudPoolParams) WithHTTPClient(client *http.Client) *ListCloudPoolParams

WithHTTPClient adds the HTTPClient to the list cloud pool params

func (*ListCloudPoolParams) WithLimit

func (o *ListCloudPoolParams) WithLimit(limit *int32) *ListCloudPoolParams

WithLimit adds the limit to the list cloud pool params

func (*ListCloudPoolParams) WithOrderby

func (o *ListCloudPoolParams) WithOrderby(orderby *string) *ListCloudPoolParams

WithOrderby adds the orderby to the list cloud pool params

func (*ListCloudPoolParams) WithQ

WithQ adds the q to the list cloud pool params

func (*ListCloudPoolParams) WithStart

func (o *ListCloudPoolParams) WithStart(start *int32) *ListCloudPoolParams

WithStart adds the start to the list cloud pool params

func (*ListCloudPoolParams) WithTimeout

func (o *ListCloudPoolParams) WithTimeout(timeout time.Duration) *ListCloudPoolParams

WithTimeout adds the timeout to the list cloud pool params

func (*ListCloudPoolParams) WriteToRequest

func (o *ListCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListCloudPoolReader

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

ListCloudPoolReader is a Reader for the ListCloudPool structure.

func (*ListCloudPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCloudPoolUnauthorized

type ListCloudPoolUnauthorized struct {
	Payload *models.APIResult
}

ListCloudPoolUnauthorized handles this case with default header values.

Unauthorized

func NewListCloudPoolUnauthorized

func NewListCloudPoolUnauthorized() *ListCloudPoolUnauthorized

NewListCloudPoolUnauthorized creates a ListCloudPoolUnauthorized with default headers values

func (*ListCloudPoolUnauthorized) Error

func (o *ListCloudPoolUnauthorized) Error() string

func (*ListCloudPoolUnauthorized) GetPayload

func (o *ListCloudPoolUnauthorized) GetPayload() *models.APIResult

type ReadCloudPoolBadRequest

type ReadCloudPoolBadRequest struct {
	Payload *models.APIResult
}

ReadCloudPoolBadRequest handles this case with default header values.

Bad Request

func NewReadCloudPoolBadRequest

func NewReadCloudPoolBadRequest() *ReadCloudPoolBadRequest

NewReadCloudPoolBadRequest creates a ReadCloudPoolBadRequest with default headers values

func (*ReadCloudPoolBadRequest) Error

func (o *ReadCloudPoolBadRequest) Error() string

func (*ReadCloudPoolBadRequest) GetPayload

func (o *ReadCloudPoolBadRequest) GetPayload() *models.APIResult

type ReadCloudPoolConflict

type ReadCloudPoolConflict struct {
	Payload *models.APIResult
}

ReadCloudPoolConflict handles this case with default header values.

Conflict

func NewReadCloudPoolConflict

func NewReadCloudPoolConflict() *ReadCloudPoolConflict

NewReadCloudPoolConflict creates a ReadCloudPoolConflict with default headers values

func (*ReadCloudPoolConflict) Error

func (o *ReadCloudPoolConflict) Error() string

func (*ReadCloudPoolConflict) GetPayload

func (o *ReadCloudPoolConflict) GetPayload() *models.APIResult

type ReadCloudPoolForbidden

type ReadCloudPoolForbidden struct {
	Payload *models.APIResult
}

ReadCloudPoolForbidden handles this case with default header values.

Forbidden

func NewReadCloudPoolForbidden

func NewReadCloudPoolForbidden() *ReadCloudPoolForbidden

NewReadCloudPoolForbidden creates a ReadCloudPoolForbidden with default headers values

func (*ReadCloudPoolForbidden) Error

func (o *ReadCloudPoolForbidden) Error() string

func (*ReadCloudPoolForbidden) GetPayload

func (o *ReadCloudPoolForbidden) GetPayload() *models.APIResult

type ReadCloudPoolInternalServerError

type ReadCloudPoolInternalServerError struct {
	Payload *models.APIResult
}

ReadCloudPoolInternalServerError handles this case with default header values.

Internal Server Error

func NewReadCloudPoolInternalServerError

func NewReadCloudPoolInternalServerError() *ReadCloudPoolInternalServerError

NewReadCloudPoolInternalServerError creates a ReadCloudPoolInternalServerError with default headers values

func (*ReadCloudPoolInternalServerError) Error

func (*ReadCloudPoolInternalServerError) GetPayload

type ReadCloudPoolNotFound

type ReadCloudPoolNotFound struct {
	Payload *models.APIResult
}

ReadCloudPoolNotFound handles this case with default header values.

Not Found

func NewReadCloudPoolNotFound

func NewReadCloudPoolNotFound() *ReadCloudPoolNotFound

NewReadCloudPoolNotFound creates a ReadCloudPoolNotFound with default headers values

func (*ReadCloudPoolNotFound) Error

func (o *ReadCloudPoolNotFound) Error() string

func (*ReadCloudPoolNotFound) GetPayload

func (o *ReadCloudPoolNotFound) GetPayload() *models.APIResult

type ReadCloudPoolOK

type ReadCloudPoolOK struct {
	Payload *models.APIResultCloudPool
}

ReadCloudPoolOK handles this case with default header values.

OK

func NewReadCloudPoolOK

func NewReadCloudPoolOK() *ReadCloudPoolOK

NewReadCloudPoolOK creates a ReadCloudPoolOK with default headers values

func (*ReadCloudPoolOK) Error

func (o *ReadCloudPoolOK) Error() string

func (*ReadCloudPoolOK) GetPayload

func (o *ReadCloudPoolOK) GetPayload() *models.APIResultCloudPool

type ReadCloudPoolParams

type ReadCloudPoolParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*UUID
	  uuid

	*/
	UUID string

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

ReadCloudPoolParams contains all the parameters to send to the API endpoint for the read cloud pool operation typically these are written to a http.Request

func NewReadCloudPoolParams

func NewReadCloudPoolParams() *ReadCloudPoolParams

NewReadCloudPoolParams creates a new ReadCloudPoolParams object with the default values initialized.

func NewReadCloudPoolParamsWithContext

func NewReadCloudPoolParamsWithContext(ctx context.Context) *ReadCloudPoolParams

NewReadCloudPoolParamsWithContext creates a new ReadCloudPoolParams object with the default values initialized, and the ability to set a context for a request

func NewReadCloudPoolParamsWithHTTPClient

func NewReadCloudPoolParamsWithHTTPClient(client *http.Client) *ReadCloudPoolParams

NewReadCloudPoolParamsWithHTTPClient creates a new ReadCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReadCloudPoolParamsWithTimeout

func NewReadCloudPoolParamsWithTimeout(timeout time.Duration) *ReadCloudPoolParams

NewReadCloudPoolParamsWithTimeout creates a new ReadCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReadCloudPoolParams) SetContext

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

SetContext adds the context to the read cloud pool params

func (*ReadCloudPoolParams) SetFields

func (o *ReadCloudPoolParams) SetFields(fields *string)

SetFields adds the fields to the read cloud pool params

func (*ReadCloudPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read cloud pool params

func (*ReadCloudPoolParams) SetTimeout

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

SetTimeout adds the timeout to the read cloud pool params

func (*ReadCloudPoolParams) SetUUID

func (o *ReadCloudPoolParams) SetUUID(uuid string)

SetUUID adds the uuid to the read cloud pool params

func (*ReadCloudPoolParams) WithContext

WithContext adds the context to the read cloud pool params

func (*ReadCloudPoolParams) WithFields

func (o *ReadCloudPoolParams) WithFields(fields *string) *ReadCloudPoolParams

WithFields adds the fields to the read cloud pool params

func (*ReadCloudPoolParams) WithHTTPClient

func (o *ReadCloudPoolParams) WithHTTPClient(client *http.Client) *ReadCloudPoolParams

WithHTTPClient adds the HTTPClient to the read cloud pool params

func (*ReadCloudPoolParams) WithTimeout

func (o *ReadCloudPoolParams) WithTimeout(timeout time.Duration) *ReadCloudPoolParams

WithTimeout adds the timeout to the read cloud pool params

func (*ReadCloudPoolParams) WithUUID

func (o *ReadCloudPoolParams) WithUUID(uuid string) *ReadCloudPoolParams

WithUUID adds the uuid to the read cloud pool params

func (*ReadCloudPoolParams) WriteToRequest

func (o *ReadCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadCloudPoolReader

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

ReadCloudPoolReader is a Reader for the ReadCloudPool structure.

func (*ReadCloudPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadCloudPoolUnauthorized

type ReadCloudPoolUnauthorized struct {
	Payload *models.APIResult
}

ReadCloudPoolUnauthorized handles this case with default header values.

Unauthorized

func NewReadCloudPoolUnauthorized

func NewReadCloudPoolUnauthorized() *ReadCloudPoolUnauthorized

NewReadCloudPoolUnauthorized creates a ReadCloudPoolUnauthorized with default headers values

func (*ReadCloudPoolUnauthorized) Error

func (o *ReadCloudPoolUnauthorized) Error() string

func (*ReadCloudPoolUnauthorized) GetPayload

func (o *ReadCloudPoolUnauthorized) GetPayload() *models.APIResult

type UpdateCloudPoolBadRequest

type UpdateCloudPoolBadRequest struct {
	Payload *models.APIResult
}

UpdateCloudPoolBadRequest handles this case with default header values.

Bad Request

func NewUpdateCloudPoolBadRequest

func NewUpdateCloudPoolBadRequest() *UpdateCloudPoolBadRequest

NewUpdateCloudPoolBadRequest creates a UpdateCloudPoolBadRequest with default headers values

func (*UpdateCloudPoolBadRequest) Error

func (o *UpdateCloudPoolBadRequest) Error() string

func (*UpdateCloudPoolBadRequest) GetPayload

func (o *UpdateCloudPoolBadRequest) GetPayload() *models.APIResult

type UpdateCloudPoolConflict

type UpdateCloudPoolConflict struct {
	Payload *models.APIResult
}

UpdateCloudPoolConflict handles this case with default header values.

Conflict

func NewUpdateCloudPoolConflict

func NewUpdateCloudPoolConflict() *UpdateCloudPoolConflict

NewUpdateCloudPoolConflict creates a UpdateCloudPoolConflict with default headers values

func (*UpdateCloudPoolConflict) Error

func (o *UpdateCloudPoolConflict) Error() string

func (*UpdateCloudPoolConflict) GetPayload

func (o *UpdateCloudPoolConflict) GetPayload() *models.APIResult

type UpdateCloudPoolForbidden

type UpdateCloudPoolForbidden struct {
	Payload *models.APIResult
}

UpdateCloudPoolForbidden handles this case with default header values.

Forbidden

func NewUpdateCloudPoolForbidden

func NewUpdateCloudPoolForbidden() *UpdateCloudPoolForbidden

NewUpdateCloudPoolForbidden creates a UpdateCloudPoolForbidden with default headers values

func (*UpdateCloudPoolForbidden) Error

func (o *UpdateCloudPoolForbidden) Error() string

func (*UpdateCloudPoolForbidden) GetPayload

func (o *UpdateCloudPoolForbidden) GetPayload() *models.APIResult

type UpdateCloudPoolInternalServerError

type UpdateCloudPoolInternalServerError struct {
	Payload *models.APIResult
}

UpdateCloudPoolInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateCloudPoolInternalServerError

func NewUpdateCloudPoolInternalServerError() *UpdateCloudPoolInternalServerError

NewUpdateCloudPoolInternalServerError creates a UpdateCloudPoolInternalServerError with default headers values

func (*UpdateCloudPoolInternalServerError) Error

func (*UpdateCloudPoolInternalServerError) GetPayload

type UpdateCloudPoolNotFound

type UpdateCloudPoolNotFound struct {
	Payload *models.APIResult
}

UpdateCloudPoolNotFound handles this case with default header values.

Not Found

func NewUpdateCloudPoolNotFound

func NewUpdateCloudPoolNotFound() *UpdateCloudPoolNotFound

NewUpdateCloudPoolNotFound creates a UpdateCloudPoolNotFound with default headers values

func (*UpdateCloudPoolNotFound) Error

func (o *UpdateCloudPoolNotFound) Error() string

func (*UpdateCloudPoolNotFound) GetPayload

func (o *UpdateCloudPoolNotFound) GetPayload() *models.APIResult

type UpdateCloudPoolOK

type UpdateCloudPoolOK struct {
	Payload *models.APIResultCloudPool
}

UpdateCloudPoolOK handles this case with default header values.

OK

func NewUpdateCloudPoolOK

func NewUpdateCloudPoolOK() *UpdateCloudPoolOK

NewUpdateCloudPoolOK creates a UpdateCloudPoolOK with default headers values

func (*UpdateCloudPoolOK) Error

func (o *UpdateCloudPoolOK) Error() string

func (*UpdateCloudPoolOK) GetPayload

func (o *UpdateCloudPoolOK) GetPayload() *models.APIResultCloudPool

type UpdateCloudPoolParams

type UpdateCloudPoolParams struct {

	/*Resource
	  resource

	*/
	Resource *models.CloudPool
	/*UUID
	  uuid

	*/
	UUID string

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

UpdateCloudPoolParams contains all the parameters to send to the API endpoint for the update cloud pool operation typically these are written to a http.Request

func NewUpdateCloudPoolParams

func NewUpdateCloudPoolParams() *UpdateCloudPoolParams

NewUpdateCloudPoolParams creates a new UpdateCloudPoolParams object with the default values initialized.

func NewUpdateCloudPoolParamsWithContext

func NewUpdateCloudPoolParamsWithContext(ctx context.Context) *UpdateCloudPoolParams

NewUpdateCloudPoolParamsWithContext creates a new UpdateCloudPoolParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateCloudPoolParamsWithHTTPClient

func NewUpdateCloudPoolParamsWithHTTPClient(client *http.Client) *UpdateCloudPoolParams

NewUpdateCloudPoolParamsWithHTTPClient creates a new UpdateCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateCloudPoolParamsWithTimeout

func NewUpdateCloudPoolParamsWithTimeout(timeout time.Duration) *UpdateCloudPoolParams

NewUpdateCloudPoolParamsWithTimeout creates a new UpdateCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateCloudPoolParams) SetContext

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

SetContext adds the context to the update cloud pool params

func (*UpdateCloudPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update cloud pool params

func (*UpdateCloudPoolParams) SetResource

func (o *UpdateCloudPoolParams) SetResource(resource *models.CloudPool)

SetResource adds the resource to the update cloud pool params

func (*UpdateCloudPoolParams) SetTimeout

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

SetTimeout adds the timeout to the update cloud pool params

func (*UpdateCloudPoolParams) SetUUID

func (o *UpdateCloudPoolParams) SetUUID(uuid string)

SetUUID adds the uuid to the update cloud pool params

func (*UpdateCloudPoolParams) WithContext

WithContext adds the context to the update cloud pool params

func (*UpdateCloudPoolParams) WithHTTPClient

func (o *UpdateCloudPoolParams) WithHTTPClient(client *http.Client) *UpdateCloudPoolParams

WithHTTPClient adds the HTTPClient to the update cloud pool params

func (*UpdateCloudPoolParams) WithResource

func (o *UpdateCloudPoolParams) WithResource(resource *models.CloudPool) *UpdateCloudPoolParams

WithResource adds the resource to the update cloud pool params

func (*UpdateCloudPoolParams) WithTimeout

func (o *UpdateCloudPoolParams) WithTimeout(timeout time.Duration) *UpdateCloudPoolParams

WithTimeout adds the timeout to the update cloud pool params

func (*UpdateCloudPoolParams) WithUUID

WithUUID adds the uuid to the update cloud pool params

func (*UpdateCloudPoolParams) WriteToRequest

func (o *UpdateCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateCloudPoolReader

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

UpdateCloudPoolReader is a Reader for the UpdateCloudPool structure.

func (*UpdateCloudPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCloudPoolUnauthorized

type UpdateCloudPoolUnauthorized struct {
	Payload *models.APIResult
}

UpdateCloudPoolUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateCloudPoolUnauthorized

func NewUpdateCloudPoolUnauthorized() *UpdateCloudPoolUnauthorized

NewUpdateCloudPoolUnauthorized creates a UpdateCloudPoolUnauthorized with default headers values

func (*UpdateCloudPoolUnauthorized) Error

func (*UpdateCloudPoolUnauthorized) GetPayload

func (o *UpdateCloudPoolUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

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