pools

package
v0.0.0-...-cfedc03 Latest Latest
Warning

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

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

func (*Client) CreatePool

func (a *Client) CreatePool(params *CreatePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePoolCreated, error)

CreatePool creates pool

Create an engine pool.

func (*Client) DeletePool

DeletePool deletes pool

Delete an engine pool by name.

func (*Client) GetPool

func (a *Client) GetPool(params *GetPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPoolOK, error)

GetPool gets pool

Retrieve pool by name.

func (*Client) ListPools

func (a *Client) ListPools(params *ListPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPoolsOK, error)

ListPools lists pools

List all existing pools.

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 {
	CreatePool(params *CreatePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePoolCreated, error)

	DeletePool(params *DeletePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePoolOK, *DeletePoolNoContent, error)

	GetPool(params *GetPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPoolOK, error)

	ListPools(params *ListPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPoolsOK, 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 pools API client.

type CreatePoolBadRequest

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

bad request

func NewCreatePoolBadRequest

func NewCreatePoolBadRequest() *CreatePoolBadRequest

NewCreatePoolBadRequest creates a CreatePoolBadRequest with default headers values

func (*CreatePoolBadRequest) Error

func (o *CreatePoolBadRequest) Error() string

func (*CreatePoolBadRequest) GetPayload

func (o *CreatePoolBadRequest) GetPayload() *models.HTTPError

func (*CreatePoolBadRequest) IsClientError

func (o *CreatePoolBadRequest) IsClientError() bool

IsClientError returns true when this create pool bad request response has a 4xx status code

func (*CreatePoolBadRequest) IsCode

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

IsCode returns true when this create pool bad request response a status code equal to that given

func (*CreatePoolBadRequest) IsRedirect

func (o *CreatePoolBadRequest) IsRedirect() bool

IsRedirect returns true when this create pool bad request response has a 3xx status code

func (*CreatePoolBadRequest) IsServerError

func (o *CreatePoolBadRequest) IsServerError() bool

IsServerError returns true when this create pool bad request response has a 5xx status code

func (*CreatePoolBadRequest) IsSuccess

func (o *CreatePoolBadRequest) IsSuccess() bool

IsSuccess returns true when this create pool bad request response has a 2xx status code

func (*CreatePoolBadRequest) String

func (o *CreatePoolBadRequest) String() string

type CreatePoolCreated

type CreatePoolCreated struct {
	Payload *models.Pool
}
CreatePoolCreated describes a response with status code 201, with default header values.

no error

func NewCreatePoolCreated

func NewCreatePoolCreated() *CreatePoolCreated

NewCreatePoolCreated creates a CreatePoolCreated with default headers values

func (*CreatePoolCreated) Error

func (o *CreatePoolCreated) Error() string

func (*CreatePoolCreated) GetPayload

func (o *CreatePoolCreated) GetPayload() *models.Pool

func (*CreatePoolCreated) IsClientError

func (o *CreatePoolCreated) IsClientError() bool

IsClientError returns true when this create pool created response has a 4xx status code

func (*CreatePoolCreated) IsCode

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

IsCode returns true when this create pool created response a status code equal to that given

func (*CreatePoolCreated) IsRedirect

func (o *CreatePoolCreated) IsRedirect() bool

IsRedirect returns true when this create pool created response has a 3xx status code

func (*CreatePoolCreated) IsServerError

func (o *CreatePoolCreated) IsServerError() bool

IsServerError returns true when this create pool created response has a 5xx status code

func (*CreatePoolCreated) IsSuccess

func (o *CreatePoolCreated) IsSuccess() bool

IsSuccess returns true when this create pool created response has a 2xx status code

func (*CreatePoolCreated) String

func (o *CreatePoolCreated) String() string

type CreatePoolForbidden

type CreatePoolForbidden struct {
	Payload *models.HTTPError
}
CreatePoolForbidden describes a response with status code 403, with default header values.

forbidden

func NewCreatePoolForbidden

func NewCreatePoolForbidden() *CreatePoolForbidden

NewCreatePoolForbidden creates a CreatePoolForbidden with default headers values

func (*CreatePoolForbidden) Error

func (o *CreatePoolForbidden) Error() string

func (*CreatePoolForbidden) GetPayload

func (o *CreatePoolForbidden) GetPayload() *models.HTTPError

func (*CreatePoolForbidden) IsClientError

func (o *CreatePoolForbidden) IsClientError() bool

IsClientError returns true when this create pool forbidden response has a 4xx status code

func (*CreatePoolForbidden) IsCode

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

IsCode returns true when this create pool forbidden response a status code equal to that given

func (*CreatePoolForbidden) IsRedirect

func (o *CreatePoolForbidden) IsRedirect() bool

IsRedirect returns true when this create pool forbidden response has a 3xx status code

func (*CreatePoolForbidden) IsServerError

func (o *CreatePoolForbidden) IsServerError() bool

IsServerError returns true when this create pool forbidden response has a 5xx status code

func (*CreatePoolForbidden) IsSuccess

func (o *CreatePoolForbidden) IsSuccess() bool

IsSuccess returns true when this create pool forbidden response has a 2xx status code

func (*CreatePoolForbidden) String

func (o *CreatePoolForbidden) String() string

type CreatePoolInternalServerError

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

server error

func NewCreatePoolInternalServerError

func NewCreatePoolInternalServerError() *CreatePoolInternalServerError

NewCreatePoolInternalServerError creates a CreatePoolInternalServerError with default headers values

func (*CreatePoolInternalServerError) Error

func (*CreatePoolInternalServerError) GetPayload

func (*CreatePoolInternalServerError) IsClientError

func (o *CreatePoolInternalServerError) IsClientError() bool

IsClientError returns true when this create pool internal server error response has a 4xx status code

func (*CreatePoolInternalServerError) IsCode

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

IsCode returns true when this create pool internal server error response a status code equal to that given

func (*CreatePoolInternalServerError) IsRedirect

func (o *CreatePoolInternalServerError) IsRedirect() bool

IsRedirect returns true when this create pool internal server error response has a 3xx status code

func (*CreatePoolInternalServerError) IsServerError

func (o *CreatePoolInternalServerError) IsServerError() bool

IsServerError returns true when this create pool internal server error response has a 5xx status code

func (*CreatePoolInternalServerError) IsSuccess

func (o *CreatePoolInternalServerError) IsSuccess() bool

IsSuccess returns true when this create pool internal server error response has a 2xx status code

func (*CreatePoolInternalServerError) String

type CreatePoolNotFound

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

not found

func NewCreatePoolNotFound

func NewCreatePoolNotFound() *CreatePoolNotFound

NewCreatePoolNotFound creates a CreatePoolNotFound with default headers values

func (*CreatePoolNotFound) Error

func (o *CreatePoolNotFound) Error() string

func (*CreatePoolNotFound) GetPayload

func (o *CreatePoolNotFound) GetPayload() *models.HTTPError

func (*CreatePoolNotFound) IsClientError

func (o *CreatePoolNotFound) IsClientError() bool

IsClientError returns true when this create pool not found response has a 4xx status code

func (*CreatePoolNotFound) IsCode

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

IsCode returns true when this create pool not found response a status code equal to that given

func (*CreatePoolNotFound) IsRedirect

func (o *CreatePoolNotFound) IsRedirect() bool

IsRedirect returns true when this create pool not found response has a 3xx status code

func (*CreatePoolNotFound) IsServerError

func (o *CreatePoolNotFound) IsServerError() bool

IsServerError returns true when this create pool not found response has a 5xx status code

func (*CreatePoolNotFound) IsSuccess

func (o *CreatePoolNotFound) IsSuccess() bool

IsSuccess returns true when this create pool not found response has a 2xx status code

func (*CreatePoolNotFound) String

func (o *CreatePoolNotFound) String() string

type CreatePoolParams

type CreatePoolParams struct {

	// Body.
	Body *models.PoolCreate

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

CreatePoolParams contains all the parameters to send to the API endpoint

for the create pool operation.

Typically these are written to a http.Request.

func NewCreatePoolParams

func NewCreatePoolParams() *CreatePoolParams

NewCreatePoolParams creates a new CreatePoolParams 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 NewCreatePoolParamsWithContext

func NewCreatePoolParamsWithContext(ctx context.Context) *CreatePoolParams

NewCreatePoolParamsWithContext creates a new CreatePoolParams object with the ability to set a context for a request.

func NewCreatePoolParamsWithHTTPClient

func NewCreatePoolParamsWithHTTPClient(client *http.Client) *CreatePoolParams

NewCreatePoolParamsWithHTTPClient creates a new CreatePoolParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePoolParamsWithTimeout

func NewCreatePoolParamsWithTimeout(timeout time.Duration) *CreatePoolParams

NewCreatePoolParamsWithTimeout creates a new CreatePoolParams object with the ability to set a timeout on a request.

func (*CreatePoolParams) SetBody

func (o *CreatePoolParams) SetBody(body *models.PoolCreate)

SetBody adds the body to the create pool params

func (*CreatePoolParams) SetContext

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

SetContext adds the context to the create pool params

func (*CreatePoolParams) SetDefaults

func (o *CreatePoolParams) SetDefaults()

SetDefaults hydrates default values in the create pool params (not the query body).

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

func (*CreatePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create pool params

func (*CreatePoolParams) SetTimeout

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

SetTimeout adds the timeout to the create pool params

func (*CreatePoolParams) WithBody

func (o *CreatePoolParams) WithBody(body *models.PoolCreate) *CreatePoolParams

WithBody adds the body to the create pool params

func (*CreatePoolParams) WithContext

func (o *CreatePoolParams) WithContext(ctx context.Context) *CreatePoolParams

WithContext adds the context to the create pool params

func (*CreatePoolParams) WithDefaults

func (o *CreatePoolParams) WithDefaults() *CreatePoolParams

WithDefaults hydrates default values in the create pool params (not the query body).

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

func (*CreatePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create pool params

func (*CreatePoolParams) WithTimeout

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

WithTimeout adds the timeout to the create pool params

func (*CreatePoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreatePoolReader

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

CreatePoolReader is a Reader for the CreatePool structure.

func (*CreatePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePoolUnauthorized

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

unauthorized

func NewCreatePoolUnauthorized

func NewCreatePoolUnauthorized() *CreatePoolUnauthorized

NewCreatePoolUnauthorized creates a CreatePoolUnauthorized with default headers values

func (*CreatePoolUnauthorized) Error

func (o *CreatePoolUnauthorized) Error() string

func (*CreatePoolUnauthorized) GetPayload

func (o *CreatePoolUnauthorized) GetPayload() *models.HTTPError

func (*CreatePoolUnauthorized) IsClientError

func (o *CreatePoolUnauthorized) IsClientError() bool

IsClientError returns true when this create pool unauthorized response has a 4xx status code

func (*CreatePoolUnauthorized) IsCode

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

IsCode returns true when this create pool unauthorized response a status code equal to that given

func (*CreatePoolUnauthorized) IsRedirect

func (o *CreatePoolUnauthorized) IsRedirect() bool

IsRedirect returns true when this create pool unauthorized response has a 3xx status code

func (*CreatePoolUnauthorized) IsServerError

func (o *CreatePoolUnauthorized) IsServerError() bool

IsServerError returns true when this create pool unauthorized response has a 5xx status code

func (*CreatePoolUnauthorized) IsSuccess

func (o *CreatePoolUnauthorized) IsSuccess() bool

IsSuccess returns true when this create pool unauthorized response has a 2xx status code

func (*CreatePoolUnauthorized) String

func (o *CreatePoolUnauthorized) String() string

type DeletePoolBadRequest

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

bad request

func NewDeletePoolBadRequest

func NewDeletePoolBadRequest() *DeletePoolBadRequest

NewDeletePoolBadRequest creates a DeletePoolBadRequest with default headers values

func (*DeletePoolBadRequest) Error

func (o *DeletePoolBadRequest) Error() string

func (*DeletePoolBadRequest) GetPayload

func (o *DeletePoolBadRequest) GetPayload() *models.HTTPError

func (*DeletePoolBadRequest) IsClientError

func (o *DeletePoolBadRequest) IsClientError() bool

IsClientError returns true when this delete pool bad request response has a 4xx status code

func (*DeletePoolBadRequest) IsCode

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

IsCode returns true when this delete pool bad request response a status code equal to that given

func (*DeletePoolBadRequest) IsRedirect

func (o *DeletePoolBadRequest) IsRedirect() bool

IsRedirect returns true when this delete pool bad request response has a 3xx status code

func (*DeletePoolBadRequest) IsServerError

func (o *DeletePoolBadRequest) IsServerError() bool

IsServerError returns true when this delete pool bad request response has a 5xx status code

func (*DeletePoolBadRequest) IsSuccess

func (o *DeletePoolBadRequest) IsSuccess() bool

IsSuccess returns true when this delete pool bad request response has a 2xx status code

func (*DeletePoolBadRequest) String

func (o *DeletePoolBadRequest) String() string

type DeletePoolForbidden

type DeletePoolForbidden struct {
	Payload *models.HTTPError
}
DeletePoolForbidden describes a response with status code 403, with default header values.

forbidden

func NewDeletePoolForbidden

func NewDeletePoolForbidden() *DeletePoolForbidden

NewDeletePoolForbidden creates a DeletePoolForbidden with default headers values

func (*DeletePoolForbidden) Error

func (o *DeletePoolForbidden) Error() string

func (*DeletePoolForbidden) GetPayload

func (o *DeletePoolForbidden) GetPayload() *models.HTTPError

func (*DeletePoolForbidden) IsClientError

func (o *DeletePoolForbidden) IsClientError() bool

IsClientError returns true when this delete pool forbidden response has a 4xx status code

func (*DeletePoolForbidden) IsCode

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

IsCode returns true when this delete pool forbidden response a status code equal to that given

func (*DeletePoolForbidden) IsRedirect

func (o *DeletePoolForbidden) IsRedirect() bool

IsRedirect returns true when this delete pool forbidden response has a 3xx status code

func (*DeletePoolForbidden) IsServerError

func (o *DeletePoolForbidden) IsServerError() bool

IsServerError returns true when this delete pool forbidden response has a 5xx status code

func (*DeletePoolForbidden) IsSuccess

func (o *DeletePoolForbidden) IsSuccess() bool

IsSuccess returns true when this delete pool forbidden response has a 2xx status code

func (*DeletePoolForbidden) String

func (o *DeletePoolForbidden) String() string

type DeletePoolInternalServerError

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

server error

func NewDeletePoolInternalServerError

func NewDeletePoolInternalServerError() *DeletePoolInternalServerError

NewDeletePoolInternalServerError creates a DeletePoolInternalServerError with default headers values

func (*DeletePoolInternalServerError) Error

func (*DeletePoolInternalServerError) GetPayload

func (*DeletePoolInternalServerError) IsClientError

func (o *DeletePoolInternalServerError) IsClientError() bool

IsClientError returns true when this delete pool internal server error response has a 4xx status code

func (*DeletePoolInternalServerError) IsCode

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

IsCode returns true when this delete pool internal server error response a status code equal to that given

func (*DeletePoolInternalServerError) IsRedirect

func (o *DeletePoolInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete pool internal server error response has a 3xx status code

func (*DeletePoolInternalServerError) IsServerError

func (o *DeletePoolInternalServerError) IsServerError() bool

IsServerError returns true when this delete pool internal server error response has a 5xx status code

func (*DeletePoolInternalServerError) IsSuccess

func (o *DeletePoolInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete pool internal server error response has a 2xx status code

func (*DeletePoolInternalServerError) String

type DeletePoolNoContent

type DeletePoolNoContent struct {
}
DeletePoolNoContent describes a response with status code 204, with default header values.

no error

func NewDeletePoolNoContent

func NewDeletePoolNoContent() *DeletePoolNoContent

NewDeletePoolNoContent creates a DeletePoolNoContent with default headers values

func (*DeletePoolNoContent) Error

func (o *DeletePoolNoContent) Error() string

func (*DeletePoolNoContent) IsClientError

func (o *DeletePoolNoContent) IsClientError() bool

IsClientError returns true when this delete pool no content response has a 4xx status code

func (*DeletePoolNoContent) IsCode

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

IsCode returns true when this delete pool no content response a status code equal to that given

func (*DeletePoolNoContent) IsRedirect

func (o *DeletePoolNoContent) IsRedirect() bool

IsRedirect returns true when this delete pool no content response has a 3xx status code

func (*DeletePoolNoContent) IsServerError

func (o *DeletePoolNoContent) IsServerError() bool

IsServerError returns true when this delete pool no content response has a 5xx status code

func (*DeletePoolNoContent) IsSuccess

func (o *DeletePoolNoContent) IsSuccess() bool

IsSuccess returns true when this delete pool no content response has a 2xx status code

func (*DeletePoolNoContent) String

func (o *DeletePoolNoContent) String() string

type DeletePoolNotFound

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

not found

func NewDeletePoolNotFound

func NewDeletePoolNotFound() *DeletePoolNotFound

NewDeletePoolNotFound creates a DeletePoolNotFound with default headers values

func (*DeletePoolNotFound) Error

func (o *DeletePoolNotFound) Error() string

func (*DeletePoolNotFound) GetPayload

func (o *DeletePoolNotFound) GetPayload() *models.HTTPError

func (*DeletePoolNotFound) IsClientError

func (o *DeletePoolNotFound) IsClientError() bool

IsClientError returns true when this delete pool not found response has a 4xx status code

func (*DeletePoolNotFound) IsCode

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

IsCode returns true when this delete pool not found response a status code equal to that given

func (*DeletePoolNotFound) IsRedirect

func (o *DeletePoolNotFound) IsRedirect() bool

IsRedirect returns true when this delete pool not found response has a 3xx status code

func (*DeletePoolNotFound) IsServerError

func (o *DeletePoolNotFound) IsServerError() bool

IsServerError returns true when this delete pool not found response has a 5xx status code

func (*DeletePoolNotFound) IsSuccess

func (o *DeletePoolNotFound) IsSuccess() bool

IsSuccess returns true when this delete pool not found response has a 2xx status code

func (*DeletePoolNotFound) String

func (o *DeletePoolNotFound) String() string

type DeletePoolOK

type DeletePoolOK struct {
	Payload *models.MessageResponse
}
DeletePoolOK describes a response with status code 200, with default header values.

no error

func NewDeletePoolOK

func NewDeletePoolOK() *DeletePoolOK

NewDeletePoolOK creates a DeletePoolOK with default headers values

func (*DeletePoolOK) Error

func (o *DeletePoolOK) Error() string

func (*DeletePoolOK) GetPayload

func (o *DeletePoolOK) GetPayload() *models.MessageResponse

func (*DeletePoolOK) IsClientError

func (o *DeletePoolOK) IsClientError() bool

IsClientError returns true when this delete pool o k response has a 4xx status code

func (*DeletePoolOK) IsCode

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

IsCode returns true when this delete pool o k response a status code equal to that given

func (*DeletePoolOK) IsRedirect

func (o *DeletePoolOK) IsRedirect() bool

IsRedirect returns true when this delete pool o k response has a 3xx status code

func (*DeletePoolOK) IsServerError

func (o *DeletePoolOK) IsServerError() bool

IsServerError returns true when this delete pool o k response has a 5xx status code

func (*DeletePoolOK) IsSuccess

func (o *DeletePoolOK) IsSuccess() bool

IsSuccess returns true when this delete pool o k response has a 2xx status code

func (*DeletePoolOK) String

func (o *DeletePoolOK) String() string

type DeletePoolParams

type DeletePoolParams struct {

	/* Name.

	   Name to lookup path by
	*/
	Name string

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

DeletePoolParams contains all the parameters to send to the API endpoint

for the delete pool operation.

Typically these are written to a http.Request.

func NewDeletePoolParams

func NewDeletePoolParams() *DeletePoolParams

NewDeletePoolParams creates a new DeletePoolParams 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 NewDeletePoolParamsWithContext

func NewDeletePoolParamsWithContext(ctx context.Context) *DeletePoolParams

NewDeletePoolParamsWithContext creates a new DeletePoolParams object with the ability to set a context for a request.

func NewDeletePoolParamsWithHTTPClient

func NewDeletePoolParamsWithHTTPClient(client *http.Client) *DeletePoolParams

NewDeletePoolParamsWithHTTPClient creates a new DeletePoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePoolParamsWithTimeout

func NewDeletePoolParamsWithTimeout(timeout time.Duration) *DeletePoolParams

NewDeletePoolParamsWithTimeout creates a new DeletePoolParams object with the ability to set a timeout on a request.

func (*DeletePoolParams) SetContext

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

SetContext adds the context to the delete pool params

func (*DeletePoolParams) SetDefaults

func (o *DeletePoolParams) SetDefaults()

SetDefaults hydrates default values in the delete pool params (not the query body).

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

func (*DeletePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete pool params

func (*DeletePoolParams) SetName

func (o *DeletePoolParams) SetName(name string)

SetName adds the name to the delete pool params

func (*DeletePoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete pool params

func (*DeletePoolParams) WithContext

func (o *DeletePoolParams) WithContext(ctx context.Context) *DeletePoolParams

WithContext adds the context to the delete pool params

func (*DeletePoolParams) WithDefaults

func (o *DeletePoolParams) WithDefaults() *DeletePoolParams

WithDefaults hydrates default values in the delete pool params (not the query body).

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

func (*DeletePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete pool params

func (*DeletePoolParams) WithName

func (o *DeletePoolParams) WithName(name string) *DeletePoolParams

WithName adds the name to the delete pool params

func (*DeletePoolParams) WithTimeout

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

WithTimeout adds the timeout to the delete pool params

func (*DeletePoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeletePoolReader

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

DeletePoolReader is a Reader for the DeletePool structure.

func (*DeletePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePoolUnauthorized

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

unauthorized

func NewDeletePoolUnauthorized

func NewDeletePoolUnauthorized() *DeletePoolUnauthorized

NewDeletePoolUnauthorized creates a DeletePoolUnauthorized with default headers values

func (*DeletePoolUnauthorized) Error

func (o *DeletePoolUnauthorized) Error() string

func (*DeletePoolUnauthorized) GetPayload

func (o *DeletePoolUnauthorized) GetPayload() *models.HTTPError

func (*DeletePoolUnauthorized) IsClientError

func (o *DeletePoolUnauthorized) IsClientError() bool

IsClientError returns true when this delete pool unauthorized response has a 4xx status code

func (*DeletePoolUnauthorized) IsCode

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

IsCode returns true when this delete pool unauthorized response a status code equal to that given

func (*DeletePoolUnauthorized) IsRedirect

func (o *DeletePoolUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete pool unauthorized response has a 3xx status code

func (*DeletePoolUnauthorized) IsServerError

func (o *DeletePoolUnauthorized) IsServerError() bool

IsServerError returns true when this delete pool unauthorized response has a 5xx status code

func (*DeletePoolUnauthorized) IsSuccess

func (o *DeletePoolUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete pool unauthorized response has a 2xx status code

func (*DeletePoolUnauthorized) String

func (o *DeletePoolUnauthorized) String() string

type GetPoolBadRequest

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

bad request

func NewGetPoolBadRequest

func NewGetPoolBadRequest() *GetPoolBadRequest

NewGetPoolBadRequest creates a GetPoolBadRequest with default headers values

func (*GetPoolBadRequest) Error

func (o *GetPoolBadRequest) Error() string

func (*GetPoolBadRequest) GetPayload

func (o *GetPoolBadRequest) GetPayload() *models.HTTPError

func (*GetPoolBadRequest) IsClientError

func (o *GetPoolBadRequest) IsClientError() bool

IsClientError returns true when this get pool bad request response has a 4xx status code

func (*GetPoolBadRequest) IsCode

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

IsCode returns true when this get pool bad request response a status code equal to that given

func (*GetPoolBadRequest) IsRedirect

func (o *GetPoolBadRequest) IsRedirect() bool

IsRedirect returns true when this get pool bad request response has a 3xx status code

func (*GetPoolBadRequest) IsServerError

func (o *GetPoolBadRequest) IsServerError() bool

IsServerError returns true when this get pool bad request response has a 5xx status code

func (*GetPoolBadRequest) IsSuccess

func (o *GetPoolBadRequest) IsSuccess() bool

IsSuccess returns true when this get pool bad request response has a 2xx status code

func (*GetPoolBadRequest) String

func (o *GetPoolBadRequest) String() string

type GetPoolForbidden

type GetPoolForbidden struct {
	Payload *models.HTTPError
}
GetPoolForbidden describes a response with status code 403, with default header values.

forbidden

func NewGetPoolForbidden

func NewGetPoolForbidden() *GetPoolForbidden

NewGetPoolForbidden creates a GetPoolForbidden with default headers values

func (*GetPoolForbidden) Error

func (o *GetPoolForbidden) Error() string

func (*GetPoolForbidden) GetPayload

func (o *GetPoolForbidden) GetPayload() *models.HTTPError

func (*GetPoolForbidden) IsClientError

func (o *GetPoolForbidden) IsClientError() bool

IsClientError returns true when this get pool forbidden response has a 4xx status code

func (*GetPoolForbidden) IsCode

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

IsCode returns true when this get pool forbidden response a status code equal to that given

func (*GetPoolForbidden) IsRedirect

func (o *GetPoolForbidden) IsRedirect() bool

IsRedirect returns true when this get pool forbidden response has a 3xx status code

func (*GetPoolForbidden) IsServerError

func (o *GetPoolForbidden) IsServerError() bool

IsServerError returns true when this get pool forbidden response has a 5xx status code

func (*GetPoolForbidden) IsSuccess

func (o *GetPoolForbidden) IsSuccess() bool

IsSuccess returns true when this get pool forbidden response has a 2xx status code

func (*GetPoolForbidden) String

func (o *GetPoolForbidden) String() string

type GetPoolInternalServerError

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

server error

func NewGetPoolInternalServerError

func NewGetPoolInternalServerError() *GetPoolInternalServerError

NewGetPoolInternalServerError creates a GetPoolInternalServerError with default headers values

func (*GetPoolInternalServerError) Error

func (*GetPoolInternalServerError) GetPayload

func (o *GetPoolInternalServerError) GetPayload() *models.HTTPError

func (*GetPoolInternalServerError) IsClientError

func (o *GetPoolInternalServerError) IsClientError() bool

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

func (*GetPoolInternalServerError) IsCode

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

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

func (*GetPoolInternalServerError) IsRedirect

func (o *GetPoolInternalServerError) IsRedirect() bool

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

func (*GetPoolInternalServerError) IsServerError

func (o *GetPoolInternalServerError) IsServerError() bool

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

func (*GetPoolInternalServerError) IsSuccess

func (o *GetPoolInternalServerError) IsSuccess() bool

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

func (*GetPoolInternalServerError) String

func (o *GetPoolInternalServerError) String() string

type GetPoolNotFound

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

not found

func NewGetPoolNotFound

func NewGetPoolNotFound() *GetPoolNotFound

NewGetPoolNotFound creates a GetPoolNotFound with default headers values

func (*GetPoolNotFound) Error

func (o *GetPoolNotFound) Error() string

func (*GetPoolNotFound) GetPayload

func (o *GetPoolNotFound) GetPayload() *models.HTTPError

func (*GetPoolNotFound) IsClientError

func (o *GetPoolNotFound) IsClientError() bool

IsClientError returns true when this get pool not found response has a 4xx status code

func (*GetPoolNotFound) IsCode

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

IsCode returns true when this get pool not found response a status code equal to that given

func (*GetPoolNotFound) IsRedirect

func (o *GetPoolNotFound) IsRedirect() bool

IsRedirect returns true when this get pool not found response has a 3xx status code

func (*GetPoolNotFound) IsServerError

func (o *GetPoolNotFound) IsServerError() bool

IsServerError returns true when this get pool not found response has a 5xx status code

func (*GetPoolNotFound) IsSuccess

func (o *GetPoolNotFound) IsSuccess() bool

IsSuccess returns true when this get pool not found response has a 2xx status code

func (*GetPoolNotFound) String

func (o *GetPoolNotFound) String() string

type GetPoolOK

type GetPoolOK struct {
	Payload *models.Pool
}
GetPoolOK describes a response with status code 200, with default header values.

no error

func NewGetPoolOK

func NewGetPoolOK() *GetPoolOK

NewGetPoolOK creates a GetPoolOK with default headers values

func (*GetPoolOK) Error

func (o *GetPoolOK) Error() string

func (*GetPoolOK) GetPayload

func (o *GetPoolOK) GetPayload() *models.Pool

func (*GetPoolOK) IsClientError

func (o *GetPoolOK) IsClientError() bool

IsClientError returns true when this get pool o k response has a 4xx status code

func (*GetPoolOK) IsCode

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

IsCode returns true when this get pool o k response a status code equal to that given

func (*GetPoolOK) IsRedirect

func (o *GetPoolOK) IsRedirect() bool

IsRedirect returns true when this get pool o k response has a 3xx status code

func (*GetPoolOK) IsServerError

func (o *GetPoolOK) IsServerError() bool

IsServerError returns true when this get pool o k response has a 5xx status code

func (*GetPoolOK) IsSuccess

func (o *GetPoolOK) IsSuccess() bool

IsSuccess returns true when this get pool o k response has a 2xx status code

func (*GetPoolOK) String

func (o *GetPoolOK) String() string

type GetPoolParams

type GetPoolParams struct {

	/* Name.

	   Name to lookup path by
	*/
	Name string

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

GetPoolParams contains all the parameters to send to the API endpoint

for the get pool operation.

Typically these are written to a http.Request.

func NewGetPoolParams

func NewGetPoolParams() *GetPoolParams

NewGetPoolParams creates a new GetPoolParams 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 NewGetPoolParamsWithContext

func NewGetPoolParamsWithContext(ctx context.Context) *GetPoolParams

NewGetPoolParamsWithContext creates a new GetPoolParams object with the ability to set a context for a request.

func NewGetPoolParamsWithHTTPClient

func NewGetPoolParamsWithHTTPClient(client *http.Client) *GetPoolParams

NewGetPoolParamsWithHTTPClient creates a new GetPoolParams object with the ability to set a custom HTTPClient for a request.

func NewGetPoolParamsWithTimeout

func NewGetPoolParamsWithTimeout(timeout time.Duration) *GetPoolParams

NewGetPoolParamsWithTimeout creates a new GetPoolParams object with the ability to set a timeout on a request.

func (*GetPoolParams) SetContext

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

SetContext adds the context to the get pool params

func (*GetPoolParams) SetDefaults

func (o *GetPoolParams) SetDefaults()

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

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

func (*GetPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get pool params

func (*GetPoolParams) SetName

func (o *GetPoolParams) SetName(name string)

SetName adds the name to the get pool params

func (*GetPoolParams) SetTimeout

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

SetTimeout adds the timeout to the get pool params

func (*GetPoolParams) WithContext

func (o *GetPoolParams) WithContext(ctx context.Context) *GetPoolParams

WithContext adds the context to the get pool params

func (*GetPoolParams) WithDefaults

func (o *GetPoolParams) WithDefaults() *GetPoolParams

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

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

func (*GetPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get pool params

func (*GetPoolParams) WithName

func (o *GetPoolParams) WithName(name string) *GetPoolParams

WithName adds the name to the get pool params

func (*GetPoolParams) WithTimeout

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

WithTimeout adds the timeout to the get pool params

func (*GetPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPoolReader

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

GetPoolReader is a Reader for the GetPool structure.

func (*GetPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPoolUnauthorized

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

unauthorized

func NewGetPoolUnauthorized

func NewGetPoolUnauthorized() *GetPoolUnauthorized

NewGetPoolUnauthorized creates a GetPoolUnauthorized with default headers values

func (*GetPoolUnauthorized) Error

func (o *GetPoolUnauthorized) Error() string

func (*GetPoolUnauthorized) GetPayload

func (o *GetPoolUnauthorized) GetPayload() *models.HTTPError

func (*GetPoolUnauthorized) IsClientError

func (o *GetPoolUnauthorized) IsClientError() bool

IsClientError returns true when this get pool unauthorized response has a 4xx status code

func (*GetPoolUnauthorized) IsCode

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

IsCode returns true when this get pool unauthorized response a status code equal to that given

func (*GetPoolUnauthorized) IsRedirect

func (o *GetPoolUnauthorized) IsRedirect() bool

IsRedirect returns true when this get pool unauthorized response has a 3xx status code

func (*GetPoolUnauthorized) IsServerError

func (o *GetPoolUnauthorized) IsServerError() bool

IsServerError returns true when this get pool unauthorized response has a 5xx status code

func (*GetPoolUnauthorized) IsSuccess

func (o *GetPoolUnauthorized) IsSuccess() bool

IsSuccess returns true when this get pool unauthorized response has a 2xx status code

func (*GetPoolUnauthorized) String

func (o *GetPoolUnauthorized) String() string

type ListPoolsBadRequest

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

bad request

func NewListPoolsBadRequest

func NewListPoolsBadRequest() *ListPoolsBadRequest

NewListPoolsBadRequest creates a ListPoolsBadRequest with default headers values

func (*ListPoolsBadRequest) Error

func (o *ListPoolsBadRequest) Error() string

func (*ListPoolsBadRequest) GetPayload

func (o *ListPoolsBadRequest) GetPayload() *models.HTTPError

func (*ListPoolsBadRequest) IsClientError

func (o *ListPoolsBadRequest) IsClientError() bool

IsClientError returns true when this list pools bad request response has a 4xx status code

func (*ListPoolsBadRequest) IsCode

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

IsCode returns true when this list pools bad request response a status code equal to that given

func (*ListPoolsBadRequest) IsRedirect

func (o *ListPoolsBadRequest) IsRedirect() bool

IsRedirect returns true when this list pools bad request response has a 3xx status code

func (*ListPoolsBadRequest) IsServerError

func (o *ListPoolsBadRequest) IsServerError() bool

IsServerError returns true when this list pools bad request response has a 5xx status code

func (*ListPoolsBadRequest) IsSuccess

func (o *ListPoolsBadRequest) IsSuccess() bool

IsSuccess returns true when this list pools bad request response has a 2xx status code

func (*ListPoolsBadRequest) String

func (o *ListPoolsBadRequest) String() string

type ListPoolsForbidden

type ListPoolsForbidden struct {
	Payload *models.HTTPError
}
ListPoolsForbidden describes a response with status code 403, with default header values.

forbidden

func NewListPoolsForbidden

func NewListPoolsForbidden() *ListPoolsForbidden

NewListPoolsForbidden creates a ListPoolsForbidden with default headers values

func (*ListPoolsForbidden) Error

func (o *ListPoolsForbidden) Error() string

func (*ListPoolsForbidden) GetPayload

func (o *ListPoolsForbidden) GetPayload() *models.HTTPError

func (*ListPoolsForbidden) IsClientError

func (o *ListPoolsForbidden) IsClientError() bool

IsClientError returns true when this list pools forbidden response has a 4xx status code

func (*ListPoolsForbidden) IsCode

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

IsCode returns true when this list pools forbidden response a status code equal to that given

func (*ListPoolsForbidden) IsRedirect

func (o *ListPoolsForbidden) IsRedirect() bool

IsRedirect returns true when this list pools forbidden response has a 3xx status code

func (*ListPoolsForbidden) IsServerError

func (o *ListPoolsForbidden) IsServerError() bool

IsServerError returns true when this list pools forbidden response has a 5xx status code

func (*ListPoolsForbidden) IsSuccess

func (o *ListPoolsForbidden) IsSuccess() bool

IsSuccess returns true when this list pools forbidden response has a 2xx status code

func (*ListPoolsForbidden) String

func (o *ListPoolsForbidden) String() string

type ListPoolsInternalServerError

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

server error

func NewListPoolsInternalServerError

func NewListPoolsInternalServerError() *ListPoolsInternalServerError

NewListPoolsInternalServerError creates a ListPoolsInternalServerError with default headers values

func (*ListPoolsInternalServerError) Error

func (*ListPoolsInternalServerError) GetPayload

func (*ListPoolsInternalServerError) IsClientError

func (o *ListPoolsInternalServerError) IsClientError() bool

IsClientError returns true when this list pools internal server error response has a 4xx status code

func (*ListPoolsInternalServerError) IsCode

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

IsCode returns true when this list pools internal server error response a status code equal to that given

func (*ListPoolsInternalServerError) IsRedirect

func (o *ListPoolsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list pools internal server error response has a 3xx status code

func (*ListPoolsInternalServerError) IsServerError

func (o *ListPoolsInternalServerError) IsServerError() bool

IsServerError returns true when this list pools internal server error response has a 5xx status code

func (*ListPoolsInternalServerError) IsSuccess

func (o *ListPoolsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list pools internal server error response has a 2xx status code

func (*ListPoolsInternalServerError) String

type ListPoolsNotFound

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

not found

func NewListPoolsNotFound

func NewListPoolsNotFound() *ListPoolsNotFound

NewListPoolsNotFound creates a ListPoolsNotFound with default headers values

func (*ListPoolsNotFound) Error

func (o *ListPoolsNotFound) Error() string

func (*ListPoolsNotFound) GetPayload

func (o *ListPoolsNotFound) GetPayload() *models.HTTPError

func (*ListPoolsNotFound) IsClientError

func (o *ListPoolsNotFound) IsClientError() bool

IsClientError returns true when this list pools not found response has a 4xx status code

func (*ListPoolsNotFound) IsCode

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

IsCode returns true when this list pools not found response a status code equal to that given

func (*ListPoolsNotFound) IsRedirect

func (o *ListPoolsNotFound) IsRedirect() bool

IsRedirect returns true when this list pools not found response has a 3xx status code

func (*ListPoolsNotFound) IsServerError

func (o *ListPoolsNotFound) IsServerError() bool

IsServerError returns true when this list pools not found response has a 5xx status code

func (*ListPoolsNotFound) IsSuccess

func (o *ListPoolsNotFound) IsSuccess() bool

IsSuccess returns true when this list pools not found response has a 2xx status code

func (*ListPoolsNotFound) String

func (o *ListPoolsNotFound) String() string

type ListPoolsOK

type ListPoolsOK struct {
	Payload *models.PoolListResult
}
ListPoolsOK describes a response with status code 200, with default header values.

no error

func NewListPoolsOK

func NewListPoolsOK() *ListPoolsOK

NewListPoolsOK creates a ListPoolsOK with default headers values

func (*ListPoolsOK) Error

func (o *ListPoolsOK) Error() string

func (*ListPoolsOK) GetPayload

func (o *ListPoolsOK) GetPayload() *models.PoolListResult

func (*ListPoolsOK) IsClientError

func (o *ListPoolsOK) IsClientError() bool

IsClientError returns true when this list pools o k response has a 4xx status code

func (*ListPoolsOK) IsCode

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

IsCode returns true when this list pools o k response a status code equal to that given

func (*ListPoolsOK) IsRedirect

func (o *ListPoolsOK) IsRedirect() bool

IsRedirect returns true when this list pools o k response has a 3xx status code

func (*ListPoolsOK) IsServerError

func (o *ListPoolsOK) IsServerError() bool

IsServerError returns true when this list pools o k response has a 5xx status code

func (*ListPoolsOK) IsSuccess

func (o *ListPoolsOK) IsSuccess() bool

IsSuccess returns true when this list pools o k response has a 2xx status code

func (*ListPoolsOK) String

func (o *ListPoolsOK) String() string

type ListPoolsParams

type ListPoolsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPoolsParams contains all the parameters to send to the API endpoint

for the list pools operation.

Typically these are written to a http.Request.

func NewListPoolsParams

func NewListPoolsParams() *ListPoolsParams

NewListPoolsParams creates a new ListPoolsParams 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 NewListPoolsParamsWithContext

func NewListPoolsParamsWithContext(ctx context.Context) *ListPoolsParams

NewListPoolsParamsWithContext creates a new ListPoolsParams object with the ability to set a context for a request.

func NewListPoolsParamsWithHTTPClient

func NewListPoolsParamsWithHTTPClient(client *http.Client) *ListPoolsParams

NewListPoolsParamsWithHTTPClient creates a new ListPoolsParams object with the ability to set a custom HTTPClient for a request.

func NewListPoolsParamsWithTimeout

func NewListPoolsParamsWithTimeout(timeout time.Duration) *ListPoolsParams

NewListPoolsParamsWithTimeout creates a new ListPoolsParams object with the ability to set a timeout on a request.

func (*ListPoolsParams) SetContext

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

SetContext adds the context to the list pools params

func (*ListPoolsParams) SetDefaults

func (o *ListPoolsParams) SetDefaults()

SetDefaults hydrates default values in the list pools params (not the query body).

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

func (*ListPoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list pools params

func (*ListPoolsParams) SetTimeout

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

SetTimeout adds the timeout to the list pools params

func (*ListPoolsParams) WithContext

func (o *ListPoolsParams) WithContext(ctx context.Context) *ListPoolsParams

WithContext adds the context to the list pools params

func (*ListPoolsParams) WithDefaults

func (o *ListPoolsParams) WithDefaults() *ListPoolsParams

WithDefaults hydrates default values in the list pools params (not the query body).

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

func (*ListPoolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list pools params

func (*ListPoolsParams) WithTimeout

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

WithTimeout adds the timeout to the list pools params

func (*ListPoolsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListPoolsReader

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

ListPoolsReader is a Reader for the ListPools structure.

func (*ListPoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPoolsUnauthorized

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

unauthorized

func NewListPoolsUnauthorized

func NewListPoolsUnauthorized() *ListPoolsUnauthorized

NewListPoolsUnauthorized creates a ListPoolsUnauthorized with default headers values

func (*ListPoolsUnauthorized) Error

func (o *ListPoolsUnauthorized) Error() string

func (*ListPoolsUnauthorized) GetPayload

func (o *ListPoolsUnauthorized) GetPayload() *models.HTTPError

func (*ListPoolsUnauthorized) IsClientError

func (o *ListPoolsUnauthorized) IsClientError() bool

IsClientError returns true when this list pools unauthorized response has a 4xx status code

func (*ListPoolsUnauthorized) IsCode

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

IsCode returns true when this list pools unauthorized response a status code equal to that given

func (*ListPoolsUnauthorized) IsRedirect

func (o *ListPoolsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list pools unauthorized response has a 3xx status code

func (*ListPoolsUnauthorized) IsServerError

func (o *ListPoolsUnauthorized) IsServerError() bool

IsServerError returns true when this list pools unauthorized response has a 5xx status code

func (*ListPoolsUnauthorized) IsSuccess

func (o *ListPoolsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list pools unauthorized response has a 2xx status code

func (*ListPoolsUnauthorized) String

func (o *ListPoolsUnauthorized) String() string

Jump to

Keyboard shortcuts

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