Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePool(params *CreatePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePoolCreated, error)
- func (a *Client) DeletePool(params *DeletePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePoolOK, *DeletePoolNoContent, error)
- func (a *Client) GetPool(params *GetPoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPoolOK, error)
- func (a *Client) ListPools(params *ListPoolsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPoolsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreatePoolBadRequest
- func (o *CreatePoolBadRequest) Error() string
- func (o *CreatePoolBadRequest) GetPayload() *models.HTTPError
- func (o *CreatePoolBadRequest) IsClientError() bool
- func (o *CreatePoolBadRequest) IsCode(code int) bool
- func (o *CreatePoolBadRequest) IsRedirect() bool
- func (o *CreatePoolBadRequest) IsServerError() bool
- func (o *CreatePoolBadRequest) IsSuccess() bool
- func (o *CreatePoolBadRequest) String() string
- type CreatePoolCreated
- func (o *CreatePoolCreated) Error() string
- func (o *CreatePoolCreated) GetPayload() *models.Pool
- func (o *CreatePoolCreated) IsClientError() bool
- func (o *CreatePoolCreated) IsCode(code int) bool
- func (o *CreatePoolCreated) IsRedirect() bool
- func (o *CreatePoolCreated) IsServerError() bool
- func (o *CreatePoolCreated) IsSuccess() bool
- func (o *CreatePoolCreated) String() string
- type CreatePoolForbidden
- func (o *CreatePoolForbidden) Error() string
- func (o *CreatePoolForbidden) GetPayload() *models.HTTPError
- func (o *CreatePoolForbidden) IsClientError() bool
- func (o *CreatePoolForbidden) IsCode(code int) bool
- func (o *CreatePoolForbidden) IsRedirect() bool
- func (o *CreatePoolForbidden) IsServerError() bool
- func (o *CreatePoolForbidden) IsSuccess() bool
- func (o *CreatePoolForbidden) String() string
- type CreatePoolInternalServerError
- func (o *CreatePoolInternalServerError) Error() string
- func (o *CreatePoolInternalServerError) GetPayload() *models.HTTPError
- func (o *CreatePoolInternalServerError) IsClientError() bool
- func (o *CreatePoolInternalServerError) IsCode(code int) bool
- func (o *CreatePoolInternalServerError) IsRedirect() bool
- func (o *CreatePoolInternalServerError) IsServerError() bool
- func (o *CreatePoolInternalServerError) IsSuccess() bool
- func (o *CreatePoolInternalServerError) String() string
- type CreatePoolNotFound
- func (o *CreatePoolNotFound) Error() string
- func (o *CreatePoolNotFound) GetPayload() *models.HTTPError
- func (o *CreatePoolNotFound) IsClientError() bool
- func (o *CreatePoolNotFound) IsCode(code int) bool
- func (o *CreatePoolNotFound) IsRedirect() bool
- func (o *CreatePoolNotFound) IsServerError() bool
- func (o *CreatePoolNotFound) IsSuccess() bool
- func (o *CreatePoolNotFound) String() string
- type CreatePoolParams
- func (o *CreatePoolParams) SetBody(body *models.PoolCreate)
- func (o *CreatePoolParams) SetContext(ctx context.Context)
- func (o *CreatePoolParams) SetDefaults()
- func (o *CreatePoolParams) SetHTTPClient(client *http.Client)
- func (o *CreatePoolParams) SetTimeout(timeout time.Duration)
- func (o *CreatePoolParams) WithBody(body *models.PoolCreate) *CreatePoolParams
- func (o *CreatePoolParams) WithContext(ctx context.Context) *CreatePoolParams
- func (o *CreatePoolParams) WithDefaults() *CreatePoolParams
- func (o *CreatePoolParams) WithHTTPClient(client *http.Client) *CreatePoolParams
- func (o *CreatePoolParams) WithTimeout(timeout time.Duration) *CreatePoolParams
- func (o *CreatePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePoolReader
- type CreatePoolUnauthorized
- func (o *CreatePoolUnauthorized) Error() string
- func (o *CreatePoolUnauthorized) GetPayload() *models.HTTPError
- func (o *CreatePoolUnauthorized) IsClientError() bool
- func (o *CreatePoolUnauthorized) IsCode(code int) bool
- func (o *CreatePoolUnauthorized) IsRedirect() bool
- func (o *CreatePoolUnauthorized) IsServerError() bool
- func (o *CreatePoolUnauthorized) IsSuccess() bool
- func (o *CreatePoolUnauthorized) String() string
- type DeletePoolBadRequest
- func (o *DeletePoolBadRequest) Error() string
- func (o *DeletePoolBadRequest) GetPayload() *models.HTTPError
- func (o *DeletePoolBadRequest) IsClientError() bool
- func (o *DeletePoolBadRequest) IsCode(code int) bool
- func (o *DeletePoolBadRequest) IsRedirect() bool
- func (o *DeletePoolBadRequest) IsServerError() bool
- func (o *DeletePoolBadRequest) IsSuccess() bool
- func (o *DeletePoolBadRequest) String() string
- type DeletePoolForbidden
- func (o *DeletePoolForbidden) Error() string
- func (o *DeletePoolForbidden) GetPayload() *models.HTTPError
- func (o *DeletePoolForbidden) IsClientError() bool
- func (o *DeletePoolForbidden) IsCode(code int) bool
- func (o *DeletePoolForbidden) IsRedirect() bool
- func (o *DeletePoolForbidden) IsServerError() bool
- func (o *DeletePoolForbidden) IsSuccess() bool
- func (o *DeletePoolForbidden) String() string
- type DeletePoolInternalServerError
- func (o *DeletePoolInternalServerError) Error() string
- func (o *DeletePoolInternalServerError) GetPayload() *models.HTTPError
- func (o *DeletePoolInternalServerError) IsClientError() bool
- func (o *DeletePoolInternalServerError) IsCode(code int) bool
- func (o *DeletePoolInternalServerError) IsRedirect() bool
- func (o *DeletePoolInternalServerError) IsServerError() bool
- func (o *DeletePoolInternalServerError) IsSuccess() bool
- func (o *DeletePoolInternalServerError) String() string
- type DeletePoolNoContent
- func (o *DeletePoolNoContent) Error() string
- func (o *DeletePoolNoContent) IsClientError() bool
- func (o *DeletePoolNoContent) IsCode(code int) bool
- func (o *DeletePoolNoContent) IsRedirect() bool
- func (o *DeletePoolNoContent) IsServerError() bool
- func (o *DeletePoolNoContent) IsSuccess() bool
- func (o *DeletePoolNoContent) String() string
- type DeletePoolNotFound
- func (o *DeletePoolNotFound) Error() string
- func (o *DeletePoolNotFound) GetPayload() *models.HTTPError
- func (o *DeletePoolNotFound) IsClientError() bool
- func (o *DeletePoolNotFound) IsCode(code int) bool
- func (o *DeletePoolNotFound) IsRedirect() bool
- func (o *DeletePoolNotFound) IsServerError() bool
- func (o *DeletePoolNotFound) IsSuccess() bool
- func (o *DeletePoolNotFound) String() string
- type DeletePoolOK
- func (o *DeletePoolOK) Error() string
- func (o *DeletePoolOK) GetPayload() *models.MessageResponse
- func (o *DeletePoolOK) IsClientError() bool
- func (o *DeletePoolOK) IsCode(code int) bool
- func (o *DeletePoolOK) IsRedirect() bool
- func (o *DeletePoolOK) IsServerError() bool
- func (o *DeletePoolOK) IsSuccess() bool
- func (o *DeletePoolOK) String() string
- type DeletePoolParams
- func (o *DeletePoolParams) SetContext(ctx context.Context)
- func (o *DeletePoolParams) SetDefaults()
- func (o *DeletePoolParams) SetHTTPClient(client *http.Client)
- func (o *DeletePoolParams) SetName(name string)
- func (o *DeletePoolParams) SetTimeout(timeout time.Duration)
- func (o *DeletePoolParams) WithContext(ctx context.Context) *DeletePoolParams
- func (o *DeletePoolParams) WithDefaults() *DeletePoolParams
- func (o *DeletePoolParams) WithHTTPClient(client *http.Client) *DeletePoolParams
- func (o *DeletePoolParams) WithName(name string) *DeletePoolParams
- func (o *DeletePoolParams) WithTimeout(timeout time.Duration) *DeletePoolParams
- func (o *DeletePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePoolReader
- type DeletePoolUnauthorized
- func (o *DeletePoolUnauthorized) Error() string
- func (o *DeletePoolUnauthorized) GetPayload() *models.HTTPError
- func (o *DeletePoolUnauthorized) IsClientError() bool
- func (o *DeletePoolUnauthorized) IsCode(code int) bool
- func (o *DeletePoolUnauthorized) IsRedirect() bool
- func (o *DeletePoolUnauthorized) IsServerError() bool
- func (o *DeletePoolUnauthorized) IsSuccess() bool
- func (o *DeletePoolUnauthorized) String() string
- type GetPoolBadRequest
- func (o *GetPoolBadRequest) Error() string
- func (o *GetPoolBadRequest) GetPayload() *models.HTTPError
- func (o *GetPoolBadRequest) IsClientError() bool
- func (o *GetPoolBadRequest) IsCode(code int) bool
- func (o *GetPoolBadRequest) IsRedirect() bool
- func (o *GetPoolBadRequest) IsServerError() bool
- func (o *GetPoolBadRequest) IsSuccess() bool
- func (o *GetPoolBadRequest) String() string
- type GetPoolForbidden
- func (o *GetPoolForbidden) Error() string
- func (o *GetPoolForbidden) GetPayload() *models.HTTPError
- func (o *GetPoolForbidden) IsClientError() bool
- func (o *GetPoolForbidden) IsCode(code int) bool
- func (o *GetPoolForbidden) IsRedirect() bool
- func (o *GetPoolForbidden) IsServerError() bool
- func (o *GetPoolForbidden) IsSuccess() bool
- func (o *GetPoolForbidden) String() string
- type GetPoolInternalServerError
- func (o *GetPoolInternalServerError) Error() string
- func (o *GetPoolInternalServerError) GetPayload() *models.HTTPError
- func (o *GetPoolInternalServerError) IsClientError() bool
- func (o *GetPoolInternalServerError) IsCode(code int) bool
- func (o *GetPoolInternalServerError) IsRedirect() bool
- func (o *GetPoolInternalServerError) IsServerError() bool
- func (o *GetPoolInternalServerError) IsSuccess() bool
- func (o *GetPoolInternalServerError) String() string
- type GetPoolNotFound
- func (o *GetPoolNotFound) Error() string
- func (o *GetPoolNotFound) GetPayload() *models.HTTPError
- func (o *GetPoolNotFound) IsClientError() bool
- func (o *GetPoolNotFound) IsCode(code int) bool
- func (o *GetPoolNotFound) IsRedirect() bool
- func (o *GetPoolNotFound) IsServerError() bool
- func (o *GetPoolNotFound) IsSuccess() bool
- func (o *GetPoolNotFound) String() string
- type GetPoolOK
- func (o *GetPoolOK) Error() string
- func (o *GetPoolOK) GetPayload() *models.Pool
- func (o *GetPoolOK) IsClientError() bool
- func (o *GetPoolOK) IsCode(code int) bool
- func (o *GetPoolOK) IsRedirect() bool
- func (o *GetPoolOK) IsServerError() bool
- func (o *GetPoolOK) IsSuccess() bool
- func (o *GetPoolOK) String() string
- type GetPoolParams
- func (o *GetPoolParams) SetContext(ctx context.Context)
- func (o *GetPoolParams) SetDefaults()
- func (o *GetPoolParams) SetHTTPClient(client *http.Client)
- func (o *GetPoolParams) SetName(name string)
- func (o *GetPoolParams) SetTimeout(timeout time.Duration)
- func (o *GetPoolParams) WithContext(ctx context.Context) *GetPoolParams
- func (o *GetPoolParams) WithDefaults() *GetPoolParams
- func (o *GetPoolParams) WithHTTPClient(client *http.Client) *GetPoolParams
- func (o *GetPoolParams) WithName(name string) *GetPoolParams
- func (o *GetPoolParams) WithTimeout(timeout time.Duration) *GetPoolParams
- func (o *GetPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPoolReader
- type GetPoolUnauthorized
- func (o *GetPoolUnauthorized) Error() string
- func (o *GetPoolUnauthorized) GetPayload() *models.HTTPError
- func (o *GetPoolUnauthorized) IsClientError() bool
- func (o *GetPoolUnauthorized) IsCode(code int) bool
- func (o *GetPoolUnauthorized) IsRedirect() bool
- func (o *GetPoolUnauthorized) IsServerError() bool
- func (o *GetPoolUnauthorized) IsSuccess() bool
- func (o *GetPoolUnauthorized) String() string
- type ListPoolsBadRequest
- func (o *ListPoolsBadRequest) Error() string
- func (o *ListPoolsBadRequest) GetPayload() *models.HTTPError
- func (o *ListPoolsBadRequest) IsClientError() bool
- func (o *ListPoolsBadRequest) IsCode(code int) bool
- func (o *ListPoolsBadRequest) IsRedirect() bool
- func (o *ListPoolsBadRequest) IsServerError() bool
- func (o *ListPoolsBadRequest) IsSuccess() bool
- func (o *ListPoolsBadRequest) String() string
- type ListPoolsForbidden
- func (o *ListPoolsForbidden) Error() string
- func (o *ListPoolsForbidden) GetPayload() *models.HTTPError
- func (o *ListPoolsForbidden) IsClientError() bool
- func (o *ListPoolsForbidden) IsCode(code int) bool
- func (o *ListPoolsForbidden) IsRedirect() bool
- func (o *ListPoolsForbidden) IsServerError() bool
- func (o *ListPoolsForbidden) IsSuccess() bool
- func (o *ListPoolsForbidden) String() string
- type ListPoolsInternalServerError
- func (o *ListPoolsInternalServerError) Error() string
- func (o *ListPoolsInternalServerError) GetPayload() *models.HTTPError
- func (o *ListPoolsInternalServerError) IsClientError() bool
- func (o *ListPoolsInternalServerError) IsCode(code int) bool
- func (o *ListPoolsInternalServerError) IsRedirect() bool
- func (o *ListPoolsInternalServerError) IsServerError() bool
- func (o *ListPoolsInternalServerError) IsSuccess() bool
- func (o *ListPoolsInternalServerError) String() string
- type ListPoolsNotFound
- func (o *ListPoolsNotFound) Error() string
- func (o *ListPoolsNotFound) GetPayload() *models.HTTPError
- func (o *ListPoolsNotFound) IsClientError() bool
- func (o *ListPoolsNotFound) IsCode(code int) bool
- func (o *ListPoolsNotFound) IsRedirect() bool
- func (o *ListPoolsNotFound) IsServerError() bool
- func (o *ListPoolsNotFound) IsSuccess() bool
- func (o *ListPoolsNotFound) String() string
- type ListPoolsOK
- func (o *ListPoolsOK) Error() string
- func (o *ListPoolsOK) GetPayload() *models.PoolListResult
- func (o *ListPoolsOK) IsClientError() bool
- func (o *ListPoolsOK) IsCode(code int) bool
- func (o *ListPoolsOK) IsRedirect() bool
- func (o *ListPoolsOK) IsServerError() bool
- func (o *ListPoolsOK) IsSuccess() bool
- func (o *ListPoolsOK) String() string
- type ListPoolsParams
- func (o *ListPoolsParams) SetContext(ctx context.Context)
- func (o *ListPoolsParams) SetDefaults()
- func (o *ListPoolsParams) SetHTTPClient(client *http.Client)
- func (o *ListPoolsParams) SetTimeout(timeout time.Duration)
- func (o *ListPoolsParams) WithContext(ctx context.Context) *ListPoolsParams
- func (o *ListPoolsParams) WithDefaults() *ListPoolsParams
- func (o *ListPoolsParams) WithHTTPClient(client *http.Client) *ListPoolsParams
- func (o *ListPoolsParams) WithTimeout(timeout time.Duration) *ListPoolsParams
- func (o *ListPoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPoolsReader
- type ListPoolsUnauthorized
- func (o *ListPoolsUnauthorized) Error() string
- func (o *ListPoolsUnauthorized) GetPayload() *models.HTTPError
- func (o *ListPoolsUnauthorized) IsClientError() bool
- func (o *ListPoolsUnauthorized) IsCode(code int) bool
- func (o *ListPoolsUnauthorized) IsRedirect() bool
- func (o *ListPoolsUnauthorized) IsServerError() bool
- func (o *ListPoolsUnauthorized) IsSuccess() bool
- func (o *ListPoolsUnauthorized) String() string
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 ¶
func (a *Client) DeletePool(params *DeletePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePoolOK, *DeletePoolNoContent, error)
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 ¶
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 ¶
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 ¶
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 ¶
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 (o *CreatePoolInternalServerError) Error() string
func (*CreatePoolInternalServerError) GetPayload ¶
func (o *CreatePoolInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *CreatePoolInternalServerError) String() string
type CreatePoolNotFound ¶
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 {
}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 ¶
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 ¶
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 ¶
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 (o *DeletePoolInternalServerError) Error() string
func (*DeletePoolInternalServerError) GetPayload ¶
func (o *DeletePoolInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *DeletePoolInternalServerError) String() 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 ¶
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 {
}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 ¶
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 ¶
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 ¶
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 (o *GetPoolInternalServerError) Error() string
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 ¶
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 ¶
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) GetPayload ¶
func (*GetPoolOK) IsClientError ¶
IsClientError returns true when this get pool o k response has a 4xx status code
func (*GetPoolOK) IsCode ¶
IsCode returns true when this get pool o k response a status code equal to that given
func (*GetPoolOK) IsRedirect ¶
IsRedirect returns true when this get pool o k response has a 3xx status code
func (*GetPoolOK) IsServerError ¶
IsServerError returns true when this get pool o k response has a 5xx status code
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 {
}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 ¶
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 ¶
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 ¶
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 (o *ListPoolsInternalServerError) Error() string
func (*ListPoolsInternalServerError) GetPayload ¶
func (o *ListPoolsInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *ListPoolsInternalServerError) String() string
type ListPoolsNotFound ¶
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 {
}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