Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateResourcePools(params *CreateResourcePoolsParams, opts ...ClientOption) (*CreateResourcePoolsOK, error)
- func (a *Client) DeleteResourcePools(params *DeleteResourcePoolsParams, opts ...ClientOption) (*DeleteResourcePoolsOK, error)
- func (a *Client) ReadResourcePools(params *ReadResourcePoolsParams, opts ...ClientOption) (*ReadResourcePoolsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateResourcePools(params *UpdateResourcePoolsParams, opts ...ClientOption) (*UpdateResourcePoolsOK, error)
- type ClientOption
- type ClientService
- type CreateResourcePoolsBadRequest
- func (o *CreateResourcePoolsBadRequest) Code() int
- func (o *CreateResourcePoolsBadRequest) Error() string
- func (o *CreateResourcePoolsBadRequest) GetPayload() *models.APIError
- func (o *CreateResourcePoolsBadRequest) IsClientError() bool
- func (o *CreateResourcePoolsBadRequest) IsCode(code int) bool
- func (o *CreateResourcePoolsBadRequest) IsRedirect() bool
- func (o *CreateResourcePoolsBadRequest) IsServerError() bool
- func (o *CreateResourcePoolsBadRequest) IsSuccess() bool
- func (o *CreateResourcePoolsBadRequest) String() string
- type CreateResourcePoolsConflict
- func (o *CreateResourcePoolsConflict) Code() int
- func (o *CreateResourcePoolsConflict) Error() string
- func (o *CreateResourcePoolsConflict) GetPayload() *models.APIError
- func (o *CreateResourcePoolsConflict) IsClientError() bool
- func (o *CreateResourcePoolsConflict) IsCode(code int) bool
- func (o *CreateResourcePoolsConflict) IsRedirect() bool
- func (o *CreateResourcePoolsConflict) IsServerError() bool
- func (o *CreateResourcePoolsConflict) IsSuccess() bool
- func (o *CreateResourcePoolsConflict) String() string
- type CreateResourcePoolsDefault
- func (o *CreateResourcePoolsDefault) Code() int
- func (o *CreateResourcePoolsDefault) Error() string
- func (o *CreateResourcePoolsDefault) GetPayload() models.GenericError
- func (o *CreateResourcePoolsDefault) IsClientError() bool
- func (o *CreateResourcePoolsDefault) IsCode(code int) bool
- func (o *CreateResourcePoolsDefault) IsRedirect() bool
- func (o *CreateResourcePoolsDefault) IsServerError() bool
- func (o *CreateResourcePoolsDefault) IsSuccess() bool
- func (o *CreateResourcePoolsDefault) String() string
- type CreateResourcePoolsInternalServerError
- func (o *CreateResourcePoolsInternalServerError) Code() int
- func (o *CreateResourcePoolsInternalServerError) Error() string
- func (o *CreateResourcePoolsInternalServerError) GetPayload() *models.APIError
- func (o *CreateResourcePoolsInternalServerError) IsClientError() bool
- func (o *CreateResourcePoolsInternalServerError) IsCode(code int) bool
- func (o *CreateResourcePoolsInternalServerError) IsRedirect() bool
- func (o *CreateResourcePoolsInternalServerError) IsServerError() bool
- func (o *CreateResourcePoolsInternalServerError) IsSuccess() bool
- func (o *CreateResourcePoolsInternalServerError) String() string
- type CreateResourcePoolsOK
- func (o *CreateResourcePoolsOK) Code() int
- func (o *CreateResourcePoolsOK) Error() string
- func (o *CreateResourcePoolsOK) GetPayload() *models.Configv1CreateResourcePoolsResponse
- func (o *CreateResourcePoolsOK) IsClientError() bool
- func (o *CreateResourcePoolsOK) IsCode(code int) bool
- func (o *CreateResourcePoolsOK) IsRedirect() bool
- func (o *CreateResourcePoolsOK) IsServerError() bool
- func (o *CreateResourcePoolsOK) IsSuccess() bool
- func (o *CreateResourcePoolsOK) String() string
- type CreateResourcePoolsParams
- func NewCreateResourcePoolsParams() *CreateResourcePoolsParams
- func NewCreateResourcePoolsParamsWithContext(ctx context.Context) *CreateResourcePoolsParams
- func NewCreateResourcePoolsParamsWithHTTPClient(client *http.Client) *CreateResourcePoolsParams
- func NewCreateResourcePoolsParamsWithTimeout(timeout time.Duration) *CreateResourcePoolsParams
- func (o *CreateResourcePoolsParams) SetBody(body *models.Configv1CreateResourcePoolsRequest)
- func (o *CreateResourcePoolsParams) SetContext(ctx context.Context)
- func (o *CreateResourcePoolsParams) SetDefaults()
- func (o *CreateResourcePoolsParams) SetHTTPClient(client *http.Client)
- func (o *CreateResourcePoolsParams) SetTimeout(timeout time.Duration)
- func (o *CreateResourcePoolsParams) WithBody(body *models.Configv1CreateResourcePoolsRequest) *CreateResourcePoolsParams
- func (o *CreateResourcePoolsParams) WithContext(ctx context.Context) *CreateResourcePoolsParams
- func (o *CreateResourcePoolsParams) WithDefaults() *CreateResourcePoolsParams
- func (o *CreateResourcePoolsParams) WithHTTPClient(client *http.Client) *CreateResourcePoolsParams
- func (o *CreateResourcePoolsParams) WithTimeout(timeout time.Duration) *CreateResourcePoolsParams
- func (o *CreateResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateResourcePoolsReader
- type DeleteResourcePoolsBadRequest
- func (o *DeleteResourcePoolsBadRequest) Code() int
- func (o *DeleteResourcePoolsBadRequest) Error() string
- func (o *DeleteResourcePoolsBadRequest) GetPayload() *models.APIError
- func (o *DeleteResourcePoolsBadRequest) IsClientError() bool
- func (o *DeleteResourcePoolsBadRequest) IsCode(code int) bool
- func (o *DeleteResourcePoolsBadRequest) IsRedirect() bool
- func (o *DeleteResourcePoolsBadRequest) IsServerError() bool
- func (o *DeleteResourcePoolsBadRequest) IsSuccess() bool
- func (o *DeleteResourcePoolsBadRequest) String() string
- type DeleteResourcePoolsDefault
- func (o *DeleteResourcePoolsDefault) Code() int
- func (o *DeleteResourcePoolsDefault) Error() string
- func (o *DeleteResourcePoolsDefault) GetPayload() models.GenericError
- func (o *DeleteResourcePoolsDefault) IsClientError() bool
- func (o *DeleteResourcePoolsDefault) IsCode(code int) bool
- func (o *DeleteResourcePoolsDefault) IsRedirect() bool
- func (o *DeleteResourcePoolsDefault) IsServerError() bool
- func (o *DeleteResourcePoolsDefault) IsSuccess() bool
- func (o *DeleteResourcePoolsDefault) String() string
- type DeleteResourcePoolsInternalServerError
- func (o *DeleteResourcePoolsInternalServerError) Code() int
- func (o *DeleteResourcePoolsInternalServerError) Error() string
- func (o *DeleteResourcePoolsInternalServerError) GetPayload() *models.APIError
- func (o *DeleteResourcePoolsInternalServerError) IsClientError() bool
- func (o *DeleteResourcePoolsInternalServerError) IsCode(code int) bool
- func (o *DeleteResourcePoolsInternalServerError) IsRedirect() bool
- func (o *DeleteResourcePoolsInternalServerError) IsServerError() bool
- func (o *DeleteResourcePoolsInternalServerError) IsSuccess() bool
- func (o *DeleteResourcePoolsInternalServerError) String() string
- type DeleteResourcePoolsNotFound
- func (o *DeleteResourcePoolsNotFound) Code() int
- func (o *DeleteResourcePoolsNotFound) Error() string
- func (o *DeleteResourcePoolsNotFound) GetPayload() *models.APIError
- func (o *DeleteResourcePoolsNotFound) IsClientError() bool
- func (o *DeleteResourcePoolsNotFound) IsCode(code int) bool
- func (o *DeleteResourcePoolsNotFound) IsRedirect() bool
- func (o *DeleteResourcePoolsNotFound) IsServerError() bool
- func (o *DeleteResourcePoolsNotFound) IsSuccess() bool
- func (o *DeleteResourcePoolsNotFound) String() string
- type DeleteResourcePoolsOK
- func (o *DeleteResourcePoolsOK) Code() int
- func (o *DeleteResourcePoolsOK) Error() string
- func (o *DeleteResourcePoolsOK) GetPayload() models.Configv1DeleteResourcePoolsResponse
- func (o *DeleteResourcePoolsOK) IsClientError() bool
- func (o *DeleteResourcePoolsOK) IsCode(code int) bool
- func (o *DeleteResourcePoolsOK) IsRedirect() bool
- func (o *DeleteResourcePoolsOK) IsServerError() bool
- func (o *DeleteResourcePoolsOK) IsSuccess() bool
- func (o *DeleteResourcePoolsOK) String() string
- type DeleteResourcePoolsParams
- func NewDeleteResourcePoolsParams() *DeleteResourcePoolsParams
- func NewDeleteResourcePoolsParamsWithContext(ctx context.Context) *DeleteResourcePoolsParams
- func NewDeleteResourcePoolsParamsWithHTTPClient(client *http.Client) *DeleteResourcePoolsParams
- func NewDeleteResourcePoolsParamsWithTimeout(timeout time.Duration) *DeleteResourcePoolsParams
- func (o *DeleteResourcePoolsParams) SetContext(ctx context.Context)
- func (o *DeleteResourcePoolsParams) SetDefaults()
- func (o *DeleteResourcePoolsParams) SetDryRun(dryRun *bool)
- func (o *DeleteResourcePoolsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteResourcePoolsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteResourcePoolsParams) WithContext(ctx context.Context) *DeleteResourcePoolsParams
- func (o *DeleteResourcePoolsParams) WithDefaults() *DeleteResourcePoolsParams
- func (o *DeleteResourcePoolsParams) WithDryRun(dryRun *bool) *DeleteResourcePoolsParams
- func (o *DeleteResourcePoolsParams) WithHTTPClient(client *http.Client) *DeleteResourcePoolsParams
- func (o *DeleteResourcePoolsParams) WithTimeout(timeout time.Duration) *DeleteResourcePoolsParams
- func (o *DeleteResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteResourcePoolsReader
- type ReadResourcePoolsDefault
- func (o *ReadResourcePoolsDefault) Code() int
- func (o *ReadResourcePoolsDefault) Error() string
- func (o *ReadResourcePoolsDefault) GetPayload() models.GenericError
- func (o *ReadResourcePoolsDefault) IsClientError() bool
- func (o *ReadResourcePoolsDefault) IsCode(code int) bool
- func (o *ReadResourcePoolsDefault) IsRedirect() bool
- func (o *ReadResourcePoolsDefault) IsServerError() bool
- func (o *ReadResourcePoolsDefault) IsSuccess() bool
- func (o *ReadResourcePoolsDefault) String() string
- type ReadResourcePoolsInternalServerError
- func (o *ReadResourcePoolsInternalServerError) Code() int
- func (o *ReadResourcePoolsInternalServerError) Error() string
- func (o *ReadResourcePoolsInternalServerError) GetPayload() *models.APIError
- func (o *ReadResourcePoolsInternalServerError) IsClientError() bool
- func (o *ReadResourcePoolsInternalServerError) IsCode(code int) bool
- func (o *ReadResourcePoolsInternalServerError) IsRedirect() bool
- func (o *ReadResourcePoolsInternalServerError) IsServerError() bool
- func (o *ReadResourcePoolsInternalServerError) IsSuccess() bool
- func (o *ReadResourcePoolsInternalServerError) String() string
- type ReadResourcePoolsNotFound
- func (o *ReadResourcePoolsNotFound) Code() int
- func (o *ReadResourcePoolsNotFound) Error() string
- func (o *ReadResourcePoolsNotFound) GetPayload() *models.APIError
- func (o *ReadResourcePoolsNotFound) IsClientError() bool
- func (o *ReadResourcePoolsNotFound) IsCode(code int) bool
- func (o *ReadResourcePoolsNotFound) IsRedirect() bool
- func (o *ReadResourcePoolsNotFound) IsServerError() bool
- func (o *ReadResourcePoolsNotFound) IsSuccess() bool
- func (o *ReadResourcePoolsNotFound) String() string
- type ReadResourcePoolsOK
- func (o *ReadResourcePoolsOK) Code() int
- func (o *ReadResourcePoolsOK) Error() string
- func (o *ReadResourcePoolsOK) GetPayload() *models.Configv1ReadResourcePoolsResponse
- func (o *ReadResourcePoolsOK) IsClientError() bool
- func (o *ReadResourcePoolsOK) IsCode(code int) bool
- func (o *ReadResourcePoolsOK) IsRedirect() bool
- func (o *ReadResourcePoolsOK) IsServerError() bool
- func (o *ReadResourcePoolsOK) IsSuccess() bool
- func (o *ReadResourcePoolsOK) String() string
- type ReadResourcePoolsParams
- func NewReadResourcePoolsParams() *ReadResourcePoolsParams
- func NewReadResourcePoolsParamsWithContext(ctx context.Context) *ReadResourcePoolsParams
- func NewReadResourcePoolsParamsWithHTTPClient(client *http.Client) *ReadResourcePoolsParams
- func NewReadResourcePoolsParamsWithTimeout(timeout time.Duration) *ReadResourcePoolsParams
- func (o *ReadResourcePoolsParams) SetContext(ctx context.Context)
- func (o *ReadResourcePoolsParams) SetDefaults()
- func (o *ReadResourcePoolsParams) SetHTTPClient(client *http.Client)
- func (o *ReadResourcePoolsParams) SetTimeout(timeout time.Duration)
- func (o *ReadResourcePoolsParams) WithContext(ctx context.Context) *ReadResourcePoolsParams
- func (o *ReadResourcePoolsParams) WithDefaults() *ReadResourcePoolsParams
- func (o *ReadResourcePoolsParams) WithHTTPClient(client *http.Client) *ReadResourcePoolsParams
- func (o *ReadResourcePoolsParams) WithTimeout(timeout time.Duration) *ReadResourcePoolsParams
- func (o *ReadResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadResourcePoolsReader
- type UpdateResourcePoolsBadRequest
- func (o *UpdateResourcePoolsBadRequest) Code() int
- func (o *UpdateResourcePoolsBadRequest) Error() string
- func (o *UpdateResourcePoolsBadRequest) GetPayload() *models.APIError
- func (o *UpdateResourcePoolsBadRequest) IsClientError() bool
- func (o *UpdateResourcePoolsBadRequest) IsCode(code int) bool
- func (o *UpdateResourcePoolsBadRequest) IsRedirect() bool
- func (o *UpdateResourcePoolsBadRequest) IsServerError() bool
- func (o *UpdateResourcePoolsBadRequest) IsSuccess() bool
- func (o *UpdateResourcePoolsBadRequest) String() string
- type UpdateResourcePoolsDefault
- func (o *UpdateResourcePoolsDefault) Code() int
- func (o *UpdateResourcePoolsDefault) Error() string
- func (o *UpdateResourcePoolsDefault) GetPayload() models.GenericError
- func (o *UpdateResourcePoolsDefault) IsClientError() bool
- func (o *UpdateResourcePoolsDefault) IsCode(code int) bool
- func (o *UpdateResourcePoolsDefault) IsRedirect() bool
- func (o *UpdateResourcePoolsDefault) IsServerError() bool
- func (o *UpdateResourcePoolsDefault) IsSuccess() bool
- func (o *UpdateResourcePoolsDefault) String() string
- type UpdateResourcePoolsInternalServerError
- func (o *UpdateResourcePoolsInternalServerError) Code() int
- func (o *UpdateResourcePoolsInternalServerError) Error() string
- func (o *UpdateResourcePoolsInternalServerError) GetPayload() *models.APIError
- func (o *UpdateResourcePoolsInternalServerError) IsClientError() bool
- func (o *UpdateResourcePoolsInternalServerError) IsCode(code int) bool
- func (o *UpdateResourcePoolsInternalServerError) IsRedirect() bool
- func (o *UpdateResourcePoolsInternalServerError) IsServerError() bool
- func (o *UpdateResourcePoolsInternalServerError) IsSuccess() bool
- func (o *UpdateResourcePoolsInternalServerError) String() string
- type UpdateResourcePoolsNotFound
- func (o *UpdateResourcePoolsNotFound) Code() int
- func (o *UpdateResourcePoolsNotFound) Error() string
- func (o *UpdateResourcePoolsNotFound) GetPayload() *models.APIError
- func (o *UpdateResourcePoolsNotFound) IsClientError() bool
- func (o *UpdateResourcePoolsNotFound) IsCode(code int) bool
- func (o *UpdateResourcePoolsNotFound) IsRedirect() bool
- func (o *UpdateResourcePoolsNotFound) IsServerError() bool
- func (o *UpdateResourcePoolsNotFound) IsSuccess() bool
- func (o *UpdateResourcePoolsNotFound) String() string
- type UpdateResourcePoolsOK
- func (o *UpdateResourcePoolsOK) Code() int
- func (o *UpdateResourcePoolsOK) Error() string
- func (o *UpdateResourcePoolsOK) GetPayload() *models.Configv1UpdateResourcePoolsResponse
- func (o *UpdateResourcePoolsOK) IsClientError() bool
- func (o *UpdateResourcePoolsOK) IsCode(code int) bool
- func (o *UpdateResourcePoolsOK) IsRedirect() bool
- func (o *UpdateResourcePoolsOK) IsServerError() bool
- func (o *UpdateResourcePoolsOK) IsSuccess() bool
- func (o *UpdateResourcePoolsOK) String() string
- type UpdateResourcePoolsParams
- func NewUpdateResourcePoolsParams() *UpdateResourcePoolsParams
- func NewUpdateResourcePoolsParamsWithContext(ctx context.Context) *UpdateResourcePoolsParams
- func NewUpdateResourcePoolsParamsWithHTTPClient(client *http.Client) *UpdateResourcePoolsParams
- func NewUpdateResourcePoolsParamsWithTimeout(timeout time.Duration) *UpdateResourcePoolsParams
- func (o *UpdateResourcePoolsParams) SetBody(body *models.Configv1UpdateResourcePoolsRequest)
- func (o *UpdateResourcePoolsParams) SetContext(ctx context.Context)
- func (o *UpdateResourcePoolsParams) SetDefaults()
- func (o *UpdateResourcePoolsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateResourcePoolsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateResourcePoolsParams) WithBody(body *models.Configv1UpdateResourcePoolsRequest) *UpdateResourcePoolsParams
- func (o *UpdateResourcePoolsParams) WithContext(ctx context.Context) *UpdateResourcePoolsParams
- func (o *UpdateResourcePoolsParams) WithDefaults() *UpdateResourcePoolsParams
- func (o *UpdateResourcePoolsParams) WithHTTPClient(client *http.Client) *UpdateResourcePoolsParams
- func (o *UpdateResourcePoolsParams) WithTimeout(timeout time.Duration) *UpdateResourcePoolsParams
- func (o *UpdateResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateResourcePoolsReader
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 resource pools API
func (*Client) CreateResourcePools ¶
func (a *Client) CreateResourcePools(params *CreateResourcePoolsParams, opts ...ClientOption) (*CreateResourcePoolsOK, error)
CreateResourcePools ResourcePools CRUD (subset for singleton objects)
func (*Client) DeleteResourcePools ¶
func (a *Client) DeleteResourcePools(params *DeleteResourcePoolsParams, opts ...ClientOption) (*DeleteResourcePoolsOK, error)
DeleteResourcePools delete resource pools API
func (*Client) ReadResourcePools ¶
func (a *Client) ReadResourcePools(params *ReadResourcePoolsParams, opts ...ClientOption) (*ReadResourcePoolsOK, error)
ReadResourcePools read resource pools API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateResourcePools ¶
func (a *Client) UpdateResourcePools(params *UpdateResourcePoolsParams, opts ...ClientOption) (*UpdateResourcePoolsOK, error)
UpdateResourcePools update resource pools API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateResourcePools(params *CreateResourcePoolsParams, opts ...ClientOption) (*CreateResourcePoolsOK, error) DeleteResourcePools(params *DeleteResourcePoolsParams, opts ...ClientOption) (*DeleteResourcePoolsOK, error) ReadResourcePools(params *ReadResourcePoolsParams, opts ...ClientOption) (*ReadResourcePoolsOK, error) UpdateResourcePools(params *UpdateResourcePoolsParams, opts ...ClientOption) (*UpdateResourcePoolsOK, 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 resource pools API client.
type CreateResourcePoolsBadRequest ¶
CreateResourcePoolsBadRequest describes a response with status code 400, with default header values.
Cannot create the ResourcePools because the request is invalid.
func NewCreateResourcePoolsBadRequest ¶
func NewCreateResourcePoolsBadRequest() *CreateResourcePoolsBadRequest
NewCreateResourcePoolsBadRequest creates a CreateResourcePoolsBadRequest with default headers values
func (*CreateResourcePoolsBadRequest) Code ¶
func (o *CreateResourcePoolsBadRequest) Code() int
Code gets the status code for the create resource pools bad request response
func (*CreateResourcePoolsBadRequest) Error ¶
func (o *CreateResourcePoolsBadRequest) Error() string
func (*CreateResourcePoolsBadRequest) GetPayload ¶
func (o *CreateResourcePoolsBadRequest) GetPayload() *models.APIError
func (*CreateResourcePoolsBadRequest) IsClientError ¶
func (o *CreateResourcePoolsBadRequest) IsClientError() bool
IsClientError returns true when this create resource pools bad request response has a 4xx status code
func (*CreateResourcePoolsBadRequest) IsCode ¶
func (o *CreateResourcePoolsBadRequest) IsCode(code int) bool
IsCode returns true when this create resource pools bad request response a status code equal to that given
func (*CreateResourcePoolsBadRequest) IsRedirect ¶
func (o *CreateResourcePoolsBadRequest) IsRedirect() bool
IsRedirect returns true when this create resource pools bad request response has a 3xx status code
func (*CreateResourcePoolsBadRequest) IsServerError ¶
func (o *CreateResourcePoolsBadRequest) IsServerError() bool
IsServerError returns true when this create resource pools bad request response has a 5xx status code
func (*CreateResourcePoolsBadRequest) IsSuccess ¶
func (o *CreateResourcePoolsBadRequest) IsSuccess() bool
IsSuccess returns true when this create resource pools bad request response has a 2xx status code
func (*CreateResourcePoolsBadRequest) String ¶
func (o *CreateResourcePoolsBadRequest) String() string
type CreateResourcePoolsConflict ¶
CreateResourcePoolsConflict describes a response with status code 409, with default header values.
Cannot create the ResourcePools because there is a conflict with an existing ResourcePools.
func NewCreateResourcePoolsConflict ¶
func NewCreateResourcePoolsConflict() *CreateResourcePoolsConflict
NewCreateResourcePoolsConflict creates a CreateResourcePoolsConflict with default headers values
func (*CreateResourcePoolsConflict) Code ¶
func (o *CreateResourcePoolsConflict) Code() int
Code gets the status code for the create resource pools conflict response
func (*CreateResourcePoolsConflict) Error ¶
func (o *CreateResourcePoolsConflict) Error() string
func (*CreateResourcePoolsConflict) GetPayload ¶
func (o *CreateResourcePoolsConflict) GetPayload() *models.APIError
func (*CreateResourcePoolsConflict) IsClientError ¶
func (o *CreateResourcePoolsConflict) IsClientError() bool
IsClientError returns true when this create resource pools conflict response has a 4xx status code
func (*CreateResourcePoolsConflict) IsCode ¶
func (o *CreateResourcePoolsConflict) IsCode(code int) bool
IsCode returns true when this create resource pools conflict response a status code equal to that given
func (*CreateResourcePoolsConflict) IsRedirect ¶
func (o *CreateResourcePoolsConflict) IsRedirect() bool
IsRedirect returns true when this create resource pools conflict response has a 3xx status code
func (*CreateResourcePoolsConflict) IsServerError ¶
func (o *CreateResourcePoolsConflict) IsServerError() bool
IsServerError returns true when this create resource pools conflict response has a 5xx status code
func (*CreateResourcePoolsConflict) IsSuccess ¶
func (o *CreateResourcePoolsConflict) IsSuccess() bool
IsSuccess returns true when this create resource pools conflict response has a 2xx status code
func (*CreateResourcePoolsConflict) String ¶
func (o *CreateResourcePoolsConflict) String() string
type CreateResourcePoolsDefault ¶
type CreateResourcePoolsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateResourcePoolsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateResourcePoolsDefault ¶
func NewCreateResourcePoolsDefault(code int) *CreateResourcePoolsDefault
NewCreateResourcePoolsDefault creates a CreateResourcePoolsDefault with default headers values
func (*CreateResourcePoolsDefault) Code ¶
func (o *CreateResourcePoolsDefault) Code() int
Code gets the status code for the create resource pools default response
func (*CreateResourcePoolsDefault) Error ¶
func (o *CreateResourcePoolsDefault) Error() string
func (*CreateResourcePoolsDefault) GetPayload ¶
func (o *CreateResourcePoolsDefault) GetPayload() models.GenericError
func (*CreateResourcePoolsDefault) IsClientError ¶
func (o *CreateResourcePoolsDefault) IsClientError() bool
IsClientError returns true when this create resource pools default response has a 4xx status code
func (*CreateResourcePoolsDefault) IsCode ¶
func (o *CreateResourcePoolsDefault) IsCode(code int) bool
IsCode returns true when this create resource pools default response a status code equal to that given
func (*CreateResourcePoolsDefault) IsRedirect ¶
func (o *CreateResourcePoolsDefault) IsRedirect() bool
IsRedirect returns true when this create resource pools default response has a 3xx status code
func (*CreateResourcePoolsDefault) IsServerError ¶
func (o *CreateResourcePoolsDefault) IsServerError() bool
IsServerError returns true when this create resource pools default response has a 5xx status code
func (*CreateResourcePoolsDefault) IsSuccess ¶
func (o *CreateResourcePoolsDefault) IsSuccess() bool
IsSuccess returns true when this create resource pools default response has a 2xx status code
func (*CreateResourcePoolsDefault) String ¶
func (o *CreateResourcePoolsDefault) String() string
type CreateResourcePoolsInternalServerError ¶
CreateResourcePoolsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateResourcePoolsInternalServerError ¶
func NewCreateResourcePoolsInternalServerError() *CreateResourcePoolsInternalServerError
NewCreateResourcePoolsInternalServerError creates a CreateResourcePoolsInternalServerError with default headers values
func (*CreateResourcePoolsInternalServerError) Code ¶
func (o *CreateResourcePoolsInternalServerError) Code() int
Code gets the status code for the create resource pools internal server error response
func (*CreateResourcePoolsInternalServerError) Error ¶
func (o *CreateResourcePoolsInternalServerError) Error() string
func (*CreateResourcePoolsInternalServerError) GetPayload ¶
func (o *CreateResourcePoolsInternalServerError) GetPayload() *models.APIError
func (*CreateResourcePoolsInternalServerError) IsClientError ¶
func (o *CreateResourcePoolsInternalServerError) IsClientError() bool
IsClientError returns true when this create resource pools internal server error response has a 4xx status code
func (*CreateResourcePoolsInternalServerError) IsCode ¶
func (o *CreateResourcePoolsInternalServerError) IsCode(code int) bool
IsCode returns true when this create resource pools internal server error response a status code equal to that given
func (*CreateResourcePoolsInternalServerError) IsRedirect ¶
func (o *CreateResourcePoolsInternalServerError) IsRedirect() bool
IsRedirect returns true when this create resource pools internal server error response has a 3xx status code
func (*CreateResourcePoolsInternalServerError) IsServerError ¶
func (o *CreateResourcePoolsInternalServerError) IsServerError() bool
IsServerError returns true when this create resource pools internal server error response has a 5xx status code
func (*CreateResourcePoolsInternalServerError) IsSuccess ¶
func (o *CreateResourcePoolsInternalServerError) IsSuccess() bool
IsSuccess returns true when this create resource pools internal server error response has a 2xx status code
func (*CreateResourcePoolsInternalServerError) String ¶
func (o *CreateResourcePoolsInternalServerError) String() string
type CreateResourcePoolsOK ¶
type CreateResourcePoolsOK struct {
Payload *models.Configv1CreateResourcePoolsResponse
}
CreateResourcePoolsOK describes a response with status code 200, with default header values.
A successful response containing the created ResourcePools.
func NewCreateResourcePoolsOK ¶
func NewCreateResourcePoolsOK() *CreateResourcePoolsOK
NewCreateResourcePoolsOK creates a CreateResourcePoolsOK with default headers values
func (*CreateResourcePoolsOK) Code ¶
func (o *CreateResourcePoolsOK) Code() int
Code gets the status code for the create resource pools o k response
func (*CreateResourcePoolsOK) Error ¶
func (o *CreateResourcePoolsOK) Error() string
func (*CreateResourcePoolsOK) GetPayload ¶
func (o *CreateResourcePoolsOK) GetPayload() *models.Configv1CreateResourcePoolsResponse
func (*CreateResourcePoolsOK) IsClientError ¶
func (o *CreateResourcePoolsOK) IsClientError() bool
IsClientError returns true when this create resource pools o k response has a 4xx status code
func (*CreateResourcePoolsOK) IsCode ¶
func (o *CreateResourcePoolsOK) IsCode(code int) bool
IsCode returns true when this create resource pools o k response a status code equal to that given
func (*CreateResourcePoolsOK) IsRedirect ¶
func (o *CreateResourcePoolsOK) IsRedirect() bool
IsRedirect returns true when this create resource pools o k response has a 3xx status code
func (*CreateResourcePoolsOK) IsServerError ¶
func (o *CreateResourcePoolsOK) IsServerError() bool
IsServerError returns true when this create resource pools o k response has a 5xx status code
func (*CreateResourcePoolsOK) IsSuccess ¶
func (o *CreateResourcePoolsOK) IsSuccess() bool
IsSuccess returns true when this create resource pools o k response has a 2xx status code
func (*CreateResourcePoolsOK) String ¶
func (o *CreateResourcePoolsOK) String() string
type CreateResourcePoolsParams ¶
type CreateResourcePoolsParams struct { // Body. Body *models.Configv1CreateResourcePoolsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateResourcePoolsParams contains all the parameters to send to the API endpoint
for the create resource pools operation. Typically these are written to a http.Request.
func NewCreateResourcePoolsParams ¶
func NewCreateResourcePoolsParams() *CreateResourcePoolsParams
NewCreateResourcePoolsParams creates a new CreateResourcePoolsParams 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 NewCreateResourcePoolsParamsWithContext ¶
func NewCreateResourcePoolsParamsWithContext(ctx context.Context) *CreateResourcePoolsParams
NewCreateResourcePoolsParamsWithContext creates a new CreateResourcePoolsParams object with the ability to set a context for a request.
func NewCreateResourcePoolsParamsWithHTTPClient ¶
func NewCreateResourcePoolsParamsWithHTTPClient(client *http.Client) *CreateResourcePoolsParams
NewCreateResourcePoolsParamsWithHTTPClient creates a new CreateResourcePoolsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateResourcePoolsParamsWithTimeout ¶
func NewCreateResourcePoolsParamsWithTimeout(timeout time.Duration) *CreateResourcePoolsParams
NewCreateResourcePoolsParamsWithTimeout creates a new CreateResourcePoolsParams object with the ability to set a timeout on a request.
func (*CreateResourcePoolsParams) SetBody ¶
func (o *CreateResourcePoolsParams) SetBody(body *models.Configv1CreateResourcePoolsRequest)
SetBody adds the body to the create resource pools params
func (*CreateResourcePoolsParams) SetContext ¶
func (o *CreateResourcePoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the create resource pools params
func (*CreateResourcePoolsParams) SetDefaults ¶
func (o *CreateResourcePoolsParams) SetDefaults()
SetDefaults hydrates default values in the create resource pools params (not the query body).
All values with no default are reset to their zero value.
func (*CreateResourcePoolsParams) SetHTTPClient ¶
func (o *CreateResourcePoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create resource pools params
func (*CreateResourcePoolsParams) SetTimeout ¶
func (o *CreateResourcePoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create resource pools params
func (*CreateResourcePoolsParams) WithBody ¶
func (o *CreateResourcePoolsParams) WithBody(body *models.Configv1CreateResourcePoolsRequest) *CreateResourcePoolsParams
WithBody adds the body to the create resource pools params
func (*CreateResourcePoolsParams) WithContext ¶
func (o *CreateResourcePoolsParams) WithContext(ctx context.Context) *CreateResourcePoolsParams
WithContext adds the context to the create resource pools params
func (*CreateResourcePoolsParams) WithDefaults ¶
func (o *CreateResourcePoolsParams) WithDefaults() *CreateResourcePoolsParams
WithDefaults hydrates default values in the create resource pools params (not the query body).
All values with no default are reset to their zero value.
func (*CreateResourcePoolsParams) WithHTTPClient ¶
func (o *CreateResourcePoolsParams) WithHTTPClient(client *http.Client) *CreateResourcePoolsParams
WithHTTPClient adds the HTTPClient to the create resource pools params
func (*CreateResourcePoolsParams) WithTimeout ¶
func (o *CreateResourcePoolsParams) WithTimeout(timeout time.Duration) *CreateResourcePoolsParams
WithTimeout adds the timeout to the create resource pools params
func (*CreateResourcePoolsParams) WriteToRequest ¶
func (o *CreateResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateResourcePoolsReader ¶
type CreateResourcePoolsReader struct {
// contains filtered or unexported fields
}
CreateResourcePoolsReader is a Reader for the CreateResourcePools structure.
func (*CreateResourcePoolsReader) ReadResponse ¶
func (o *CreateResourcePoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteResourcePoolsBadRequest ¶
DeleteResourcePoolsBadRequest describes a response with status code 400, with default header values.
Cannot delete the ResourcePools because it is in use.
func NewDeleteResourcePoolsBadRequest ¶
func NewDeleteResourcePoolsBadRequest() *DeleteResourcePoolsBadRequest
NewDeleteResourcePoolsBadRequest creates a DeleteResourcePoolsBadRequest with default headers values
func (*DeleteResourcePoolsBadRequest) Code ¶
func (o *DeleteResourcePoolsBadRequest) Code() int
Code gets the status code for the delete resource pools bad request response
func (*DeleteResourcePoolsBadRequest) Error ¶
func (o *DeleteResourcePoolsBadRequest) Error() string
func (*DeleteResourcePoolsBadRequest) GetPayload ¶
func (o *DeleteResourcePoolsBadRequest) GetPayload() *models.APIError
func (*DeleteResourcePoolsBadRequest) IsClientError ¶
func (o *DeleteResourcePoolsBadRequest) IsClientError() bool
IsClientError returns true when this delete resource pools bad request response has a 4xx status code
func (*DeleteResourcePoolsBadRequest) IsCode ¶
func (o *DeleteResourcePoolsBadRequest) IsCode(code int) bool
IsCode returns true when this delete resource pools bad request response a status code equal to that given
func (*DeleteResourcePoolsBadRequest) IsRedirect ¶
func (o *DeleteResourcePoolsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete resource pools bad request response has a 3xx status code
func (*DeleteResourcePoolsBadRequest) IsServerError ¶
func (o *DeleteResourcePoolsBadRequest) IsServerError() bool
IsServerError returns true when this delete resource pools bad request response has a 5xx status code
func (*DeleteResourcePoolsBadRequest) IsSuccess ¶
func (o *DeleteResourcePoolsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete resource pools bad request response has a 2xx status code
func (*DeleteResourcePoolsBadRequest) String ¶
func (o *DeleteResourcePoolsBadRequest) String() string
type DeleteResourcePoolsDefault ¶
type DeleteResourcePoolsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteResourcePoolsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteResourcePoolsDefault ¶
func NewDeleteResourcePoolsDefault(code int) *DeleteResourcePoolsDefault
NewDeleteResourcePoolsDefault creates a DeleteResourcePoolsDefault with default headers values
func (*DeleteResourcePoolsDefault) Code ¶
func (o *DeleteResourcePoolsDefault) Code() int
Code gets the status code for the delete resource pools default response
func (*DeleteResourcePoolsDefault) Error ¶
func (o *DeleteResourcePoolsDefault) Error() string
func (*DeleteResourcePoolsDefault) GetPayload ¶
func (o *DeleteResourcePoolsDefault) GetPayload() models.GenericError
func (*DeleteResourcePoolsDefault) IsClientError ¶
func (o *DeleteResourcePoolsDefault) IsClientError() bool
IsClientError returns true when this delete resource pools default response has a 4xx status code
func (*DeleteResourcePoolsDefault) IsCode ¶
func (o *DeleteResourcePoolsDefault) IsCode(code int) bool
IsCode returns true when this delete resource pools default response a status code equal to that given
func (*DeleteResourcePoolsDefault) IsRedirect ¶
func (o *DeleteResourcePoolsDefault) IsRedirect() bool
IsRedirect returns true when this delete resource pools default response has a 3xx status code
func (*DeleteResourcePoolsDefault) IsServerError ¶
func (o *DeleteResourcePoolsDefault) IsServerError() bool
IsServerError returns true when this delete resource pools default response has a 5xx status code
func (*DeleteResourcePoolsDefault) IsSuccess ¶
func (o *DeleteResourcePoolsDefault) IsSuccess() bool
IsSuccess returns true when this delete resource pools default response has a 2xx status code
func (*DeleteResourcePoolsDefault) String ¶
func (o *DeleteResourcePoolsDefault) String() string
type DeleteResourcePoolsInternalServerError ¶
DeleteResourcePoolsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteResourcePoolsInternalServerError ¶
func NewDeleteResourcePoolsInternalServerError() *DeleteResourcePoolsInternalServerError
NewDeleteResourcePoolsInternalServerError creates a DeleteResourcePoolsInternalServerError with default headers values
func (*DeleteResourcePoolsInternalServerError) Code ¶
func (o *DeleteResourcePoolsInternalServerError) Code() int
Code gets the status code for the delete resource pools internal server error response
func (*DeleteResourcePoolsInternalServerError) Error ¶
func (o *DeleteResourcePoolsInternalServerError) Error() string
func (*DeleteResourcePoolsInternalServerError) GetPayload ¶
func (o *DeleteResourcePoolsInternalServerError) GetPayload() *models.APIError
func (*DeleteResourcePoolsInternalServerError) IsClientError ¶
func (o *DeleteResourcePoolsInternalServerError) IsClientError() bool
IsClientError returns true when this delete resource pools internal server error response has a 4xx status code
func (*DeleteResourcePoolsInternalServerError) IsCode ¶
func (o *DeleteResourcePoolsInternalServerError) IsCode(code int) bool
IsCode returns true when this delete resource pools internal server error response a status code equal to that given
func (*DeleteResourcePoolsInternalServerError) IsRedirect ¶
func (o *DeleteResourcePoolsInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete resource pools internal server error response has a 3xx status code
func (*DeleteResourcePoolsInternalServerError) IsServerError ¶
func (o *DeleteResourcePoolsInternalServerError) IsServerError() bool
IsServerError returns true when this delete resource pools internal server error response has a 5xx status code
func (*DeleteResourcePoolsInternalServerError) IsSuccess ¶
func (o *DeleteResourcePoolsInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete resource pools internal server error response has a 2xx status code
func (*DeleteResourcePoolsInternalServerError) String ¶
func (o *DeleteResourcePoolsInternalServerError) String() string
type DeleteResourcePoolsNotFound ¶
DeleteResourcePoolsNotFound describes a response with status code 404, with default header values.
Cannot delete the ResourcePools because the slug does not exist.
func NewDeleteResourcePoolsNotFound ¶
func NewDeleteResourcePoolsNotFound() *DeleteResourcePoolsNotFound
NewDeleteResourcePoolsNotFound creates a DeleteResourcePoolsNotFound with default headers values
func (*DeleteResourcePoolsNotFound) Code ¶
func (o *DeleteResourcePoolsNotFound) Code() int
Code gets the status code for the delete resource pools not found response
func (*DeleteResourcePoolsNotFound) Error ¶
func (o *DeleteResourcePoolsNotFound) Error() string
func (*DeleteResourcePoolsNotFound) GetPayload ¶
func (o *DeleteResourcePoolsNotFound) GetPayload() *models.APIError
func (*DeleteResourcePoolsNotFound) IsClientError ¶
func (o *DeleteResourcePoolsNotFound) IsClientError() bool
IsClientError returns true when this delete resource pools not found response has a 4xx status code
func (*DeleteResourcePoolsNotFound) IsCode ¶
func (o *DeleteResourcePoolsNotFound) IsCode(code int) bool
IsCode returns true when this delete resource pools not found response a status code equal to that given
func (*DeleteResourcePoolsNotFound) IsRedirect ¶
func (o *DeleteResourcePoolsNotFound) IsRedirect() bool
IsRedirect returns true when this delete resource pools not found response has a 3xx status code
func (*DeleteResourcePoolsNotFound) IsServerError ¶
func (o *DeleteResourcePoolsNotFound) IsServerError() bool
IsServerError returns true when this delete resource pools not found response has a 5xx status code
func (*DeleteResourcePoolsNotFound) IsSuccess ¶
func (o *DeleteResourcePoolsNotFound) IsSuccess() bool
IsSuccess returns true when this delete resource pools not found response has a 2xx status code
func (*DeleteResourcePoolsNotFound) String ¶
func (o *DeleteResourcePoolsNotFound) String() string
type DeleteResourcePoolsOK ¶
type DeleteResourcePoolsOK struct {
Payload models.Configv1DeleteResourcePoolsResponse
}
DeleteResourcePoolsOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteResourcePoolsOK ¶
func NewDeleteResourcePoolsOK() *DeleteResourcePoolsOK
NewDeleteResourcePoolsOK creates a DeleteResourcePoolsOK with default headers values
func (*DeleteResourcePoolsOK) Code ¶
func (o *DeleteResourcePoolsOK) Code() int
Code gets the status code for the delete resource pools o k response
func (*DeleteResourcePoolsOK) Error ¶
func (o *DeleteResourcePoolsOK) Error() string
func (*DeleteResourcePoolsOK) GetPayload ¶
func (o *DeleteResourcePoolsOK) GetPayload() models.Configv1DeleteResourcePoolsResponse
func (*DeleteResourcePoolsOK) IsClientError ¶
func (o *DeleteResourcePoolsOK) IsClientError() bool
IsClientError returns true when this delete resource pools o k response has a 4xx status code
func (*DeleteResourcePoolsOK) IsCode ¶
func (o *DeleteResourcePoolsOK) IsCode(code int) bool
IsCode returns true when this delete resource pools o k response a status code equal to that given
func (*DeleteResourcePoolsOK) IsRedirect ¶
func (o *DeleteResourcePoolsOK) IsRedirect() bool
IsRedirect returns true when this delete resource pools o k response has a 3xx status code
func (*DeleteResourcePoolsOK) IsServerError ¶
func (o *DeleteResourcePoolsOK) IsServerError() bool
IsServerError returns true when this delete resource pools o k response has a 5xx status code
func (*DeleteResourcePoolsOK) IsSuccess ¶
func (o *DeleteResourcePoolsOK) IsSuccess() bool
IsSuccess returns true when this delete resource pools o k response has a 2xx status code
func (*DeleteResourcePoolsOK) String ¶
func (o *DeleteResourcePoolsOK) String() string
type DeleteResourcePoolsParams ¶
type DeleteResourcePoolsParams struct { // DryRun. DryRun *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteResourcePoolsParams contains all the parameters to send to the API endpoint
for the delete resource pools operation. Typically these are written to a http.Request.
func NewDeleteResourcePoolsParams ¶
func NewDeleteResourcePoolsParams() *DeleteResourcePoolsParams
NewDeleteResourcePoolsParams creates a new DeleteResourcePoolsParams 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 NewDeleteResourcePoolsParamsWithContext ¶
func NewDeleteResourcePoolsParamsWithContext(ctx context.Context) *DeleteResourcePoolsParams
NewDeleteResourcePoolsParamsWithContext creates a new DeleteResourcePoolsParams object with the ability to set a context for a request.
func NewDeleteResourcePoolsParamsWithHTTPClient ¶
func NewDeleteResourcePoolsParamsWithHTTPClient(client *http.Client) *DeleteResourcePoolsParams
NewDeleteResourcePoolsParamsWithHTTPClient creates a new DeleteResourcePoolsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteResourcePoolsParamsWithTimeout ¶
func NewDeleteResourcePoolsParamsWithTimeout(timeout time.Duration) *DeleteResourcePoolsParams
NewDeleteResourcePoolsParamsWithTimeout creates a new DeleteResourcePoolsParams object with the ability to set a timeout on a request.
func (*DeleteResourcePoolsParams) SetContext ¶
func (o *DeleteResourcePoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete resource pools params
func (*DeleteResourcePoolsParams) SetDefaults ¶
func (o *DeleteResourcePoolsParams) SetDefaults()
SetDefaults hydrates default values in the delete resource pools params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteResourcePoolsParams) SetDryRun ¶
func (o *DeleteResourcePoolsParams) SetDryRun(dryRun *bool)
SetDryRun adds the dryRun to the delete resource pools params
func (*DeleteResourcePoolsParams) SetHTTPClient ¶
func (o *DeleteResourcePoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete resource pools params
func (*DeleteResourcePoolsParams) SetTimeout ¶
func (o *DeleteResourcePoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete resource pools params
func (*DeleteResourcePoolsParams) WithContext ¶
func (o *DeleteResourcePoolsParams) WithContext(ctx context.Context) *DeleteResourcePoolsParams
WithContext adds the context to the delete resource pools params
func (*DeleteResourcePoolsParams) WithDefaults ¶
func (o *DeleteResourcePoolsParams) WithDefaults() *DeleteResourcePoolsParams
WithDefaults hydrates default values in the delete resource pools params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteResourcePoolsParams) WithDryRun ¶
func (o *DeleteResourcePoolsParams) WithDryRun(dryRun *bool) *DeleteResourcePoolsParams
WithDryRun adds the dryRun to the delete resource pools params
func (*DeleteResourcePoolsParams) WithHTTPClient ¶
func (o *DeleteResourcePoolsParams) WithHTTPClient(client *http.Client) *DeleteResourcePoolsParams
WithHTTPClient adds the HTTPClient to the delete resource pools params
func (*DeleteResourcePoolsParams) WithTimeout ¶
func (o *DeleteResourcePoolsParams) WithTimeout(timeout time.Duration) *DeleteResourcePoolsParams
WithTimeout adds the timeout to the delete resource pools params
func (*DeleteResourcePoolsParams) WriteToRequest ¶
func (o *DeleteResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteResourcePoolsReader ¶
type DeleteResourcePoolsReader struct {
// contains filtered or unexported fields
}
DeleteResourcePoolsReader is a Reader for the DeleteResourcePools structure.
func (*DeleteResourcePoolsReader) ReadResponse ¶
func (o *DeleteResourcePoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadResourcePoolsDefault ¶
type ReadResourcePoolsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadResourcePoolsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadResourcePoolsDefault ¶
func NewReadResourcePoolsDefault(code int) *ReadResourcePoolsDefault
NewReadResourcePoolsDefault creates a ReadResourcePoolsDefault with default headers values
func (*ReadResourcePoolsDefault) Code ¶
func (o *ReadResourcePoolsDefault) Code() int
Code gets the status code for the read resource pools default response
func (*ReadResourcePoolsDefault) Error ¶
func (o *ReadResourcePoolsDefault) Error() string
func (*ReadResourcePoolsDefault) GetPayload ¶
func (o *ReadResourcePoolsDefault) GetPayload() models.GenericError
func (*ReadResourcePoolsDefault) IsClientError ¶
func (o *ReadResourcePoolsDefault) IsClientError() bool
IsClientError returns true when this read resource pools default response has a 4xx status code
func (*ReadResourcePoolsDefault) IsCode ¶
func (o *ReadResourcePoolsDefault) IsCode(code int) bool
IsCode returns true when this read resource pools default response a status code equal to that given
func (*ReadResourcePoolsDefault) IsRedirect ¶
func (o *ReadResourcePoolsDefault) IsRedirect() bool
IsRedirect returns true when this read resource pools default response has a 3xx status code
func (*ReadResourcePoolsDefault) IsServerError ¶
func (o *ReadResourcePoolsDefault) IsServerError() bool
IsServerError returns true when this read resource pools default response has a 5xx status code
func (*ReadResourcePoolsDefault) IsSuccess ¶
func (o *ReadResourcePoolsDefault) IsSuccess() bool
IsSuccess returns true when this read resource pools default response has a 2xx status code
func (*ReadResourcePoolsDefault) String ¶
func (o *ReadResourcePoolsDefault) String() string
type ReadResourcePoolsInternalServerError ¶
ReadResourcePoolsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadResourcePoolsInternalServerError ¶
func NewReadResourcePoolsInternalServerError() *ReadResourcePoolsInternalServerError
NewReadResourcePoolsInternalServerError creates a ReadResourcePoolsInternalServerError with default headers values
func (*ReadResourcePoolsInternalServerError) Code ¶
func (o *ReadResourcePoolsInternalServerError) Code() int
Code gets the status code for the read resource pools internal server error response
func (*ReadResourcePoolsInternalServerError) Error ¶
func (o *ReadResourcePoolsInternalServerError) Error() string
func (*ReadResourcePoolsInternalServerError) GetPayload ¶
func (o *ReadResourcePoolsInternalServerError) GetPayload() *models.APIError
func (*ReadResourcePoolsInternalServerError) IsClientError ¶
func (o *ReadResourcePoolsInternalServerError) IsClientError() bool
IsClientError returns true when this read resource pools internal server error response has a 4xx status code
func (*ReadResourcePoolsInternalServerError) IsCode ¶
func (o *ReadResourcePoolsInternalServerError) IsCode(code int) bool
IsCode returns true when this read resource pools internal server error response a status code equal to that given
func (*ReadResourcePoolsInternalServerError) IsRedirect ¶
func (o *ReadResourcePoolsInternalServerError) IsRedirect() bool
IsRedirect returns true when this read resource pools internal server error response has a 3xx status code
func (*ReadResourcePoolsInternalServerError) IsServerError ¶
func (o *ReadResourcePoolsInternalServerError) IsServerError() bool
IsServerError returns true when this read resource pools internal server error response has a 5xx status code
func (*ReadResourcePoolsInternalServerError) IsSuccess ¶
func (o *ReadResourcePoolsInternalServerError) IsSuccess() bool
IsSuccess returns true when this read resource pools internal server error response has a 2xx status code
func (*ReadResourcePoolsInternalServerError) String ¶
func (o *ReadResourcePoolsInternalServerError) String() string
type ReadResourcePoolsNotFound ¶
ReadResourcePoolsNotFound describes a response with status code 404, with default header values.
Cannot read the ResourcePools because ResourcePools has not been created.
func NewReadResourcePoolsNotFound ¶
func NewReadResourcePoolsNotFound() *ReadResourcePoolsNotFound
NewReadResourcePoolsNotFound creates a ReadResourcePoolsNotFound with default headers values
func (*ReadResourcePoolsNotFound) Code ¶
func (o *ReadResourcePoolsNotFound) Code() int
Code gets the status code for the read resource pools not found response
func (*ReadResourcePoolsNotFound) Error ¶
func (o *ReadResourcePoolsNotFound) Error() string
func (*ReadResourcePoolsNotFound) GetPayload ¶
func (o *ReadResourcePoolsNotFound) GetPayload() *models.APIError
func (*ReadResourcePoolsNotFound) IsClientError ¶
func (o *ReadResourcePoolsNotFound) IsClientError() bool
IsClientError returns true when this read resource pools not found response has a 4xx status code
func (*ReadResourcePoolsNotFound) IsCode ¶
func (o *ReadResourcePoolsNotFound) IsCode(code int) bool
IsCode returns true when this read resource pools not found response a status code equal to that given
func (*ReadResourcePoolsNotFound) IsRedirect ¶
func (o *ReadResourcePoolsNotFound) IsRedirect() bool
IsRedirect returns true when this read resource pools not found response has a 3xx status code
func (*ReadResourcePoolsNotFound) IsServerError ¶
func (o *ReadResourcePoolsNotFound) IsServerError() bool
IsServerError returns true when this read resource pools not found response has a 5xx status code
func (*ReadResourcePoolsNotFound) IsSuccess ¶
func (o *ReadResourcePoolsNotFound) IsSuccess() bool
IsSuccess returns true when this read resource pools not found response has a 2xx status code
func (*ReadResourcePoolsNotFound) String ¶
func (o *ReadResourcePoolsNotFound) String() string
type ReadResourcePoolsOK ¶
type ReadResourcePoolsOK struct {
Payload *models.Configv1ReadResourcePoolsResponse
}
ReadResourcePoolsOK describes a response with status code 200, with default header values.
A successful response.
func NewReadResourcePoolsOK ¶
func NewReadResourcePoolsOK() *ReadResourcePoolsOK
NewReadResourcePoolsOK creates a ReadResourcePoolsOK with default headers values
func (*ReadResourcePoolsOK) Code ¶
func (o *ReadResourcePoolsOK) Code() int
Code gets the status code for the read resource pools o k response
func (*ReadResourcePoolsOK) Error ¶
func (o *ReadResourcePoolsOK) Error() string
func (*ReadResourcePoolsOK) GetPayload ¶
func (o *ReadResourcePoolsOK) GetPayload() *models.Configv1ReadResourcePoolsResponse
func (*ReadResourcePoolsOK) IsClientError ¶
func (o *ReadResourcePoolsOK) IsClientError() bool
IsClientError returns true when this read resource pools o k response has a 4xx status code
func (*ReadResourcePoolsOK) IsCode ¶
func (o *ReadResourcePoolsOK) IsCode(code int) bool
IsCode returns true when this read resource pools o k response a status code equal to that given
func (*ReadResourcePoolsOK) IsRedirect ¶
func (o *ReadResourcePoolsOK) IsRedirect() bool
IsRedirect returns true when this read resource pools o k response has a 3xx status code
func (*ReadResourcePoolsOK) IsServerError ¶
func (o *ReadResourcePoolsOK) IsServerError() bool
IsServerError returns true when this read resource pools o k response has a 5xx status code
func (*ReadResourcePoolsOK) IsSuccess ¶
func (o *ReadResourcePoolsOK) IsSuccess() bool
IsSuccess returns true when this read resource pools o k response has a 2xx status code
func (*ReadResourcePoolsOK) String ¶
func (o *ReadResourcePoolsOK) String() string
type ReadResourcePoolsParams ¶
type ReadResourcePoolsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadResourcePoolsParams contains all the parameters to send to the API endpoint
for the read resource pools operation. Typically these are written to a http.Request.
func NewReadResourcePoolsParams ¶
func NewReadResourcePoolsParams() *ReadResourcePoolsParams
NewReadResourcePoolsParams creates a new ReadResourcePoolsParams 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 NewReadResourcePoolsParamsWithContext ¶
func NewReadResourcePoolsParamsWithContext(ctx context.Context) *ReadResourcePoolsParams
NewReadResourcePoolsParamsWithContext creates a new ReadResourcePoolsParams object with the ability to set a context for a request.
func NewReadResourcePoolsParamsWithHTTPClient ¶
func NewReadResourcePoolsParamsWithHTTPClient(client *http.Client) *ReadResourcePoolsParams
NewReadResourcePoolsParamsWithHTTPClient creates a new ReadResourcePoolsParams object with the ability to set a custom HTTPClient for a request.
func NewReadResourcePoolsParamsWithTimeout ¶
func NewReadResourcePoolsParamsWithTimeout(timeout time.Duration) *ReadResourcePoolsParams
NewReadResourcePoolsParamsWithTimeout creates a new ReadResourcePoolsParams object with the ability to set a timeout on a request.
func (*ReadResourcePoolsParams) SetContext ¶
func (o *ReadResourcePoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the read resource pools params
func (*ReadResourcePoolsParams) SetDefaults ¶
func (o *ReadResourcePoolsParams) SetDefaults()
SetDefaults hydrates default values in the read resource pools params (not the query body).
All values with no default are reset to their zero value.
func (*ReadResourcePoolsParams) SetHTTPClient ¶
func (o *ReadResourcePoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read resource pools params
func (*ReadResourcePoolsParams) SetTimeout ¶
func (o *ReadResourcePoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read resource pools params
func (*ReadResourcePoolsParams) WithContext ¶
func (o *ReadResourcePoolsParams) WithContext(ctx context.Context) *ReadResourcePoolsParams
WithContext adds the context to the read resource pools params
func (*ReadResourcePoolsParams) WithDefaults ¶
func (o *ReadResourcePoolsParams) WithDefaults() *ReadResourcePoolsParams
WithDefaults hydrates default values in the read resource pools params (not the query body).
All values with no default are reset to their zero value.
func (*ReadResourcePoolsParams) WithHTTPClient ¶
func (o *ReadResourcePoolsParams) WithHTTPClient(client *http.Client) *ReadResourcePoolsParams
WithHTTPClient adds the HTTPClient to the read resource pools params
func (*ReadResourcePoolsParams) WithTimeout ¶
func (o *ReadResourcePoolsParams) WithTimeout(timeout time.Duration) *ReadResourcePoolsParams
WithTimeout adds the timeout to the read resource pools params
func (*ReadResourcePoolsParams) WriteToRequest ¶
func (o *ReadResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadResourcePoolsReader ¶
type ReadResourcePoolsReader struct {
// contains filtered or unexported fields
}
ReadResourcePoolsReader is a Reader for the ReadResourcePools structure.
func (*ReadResourcePoolsReader) ReadResponse ¶
func (o *ReadResourcePoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateResourcePoolsBadRequest ¶
UpdateResourcePoolsBadRequest describes a response with status code 400, with default header values.
Cannot update the ResourcePools because the request is invalid.
func NewUpdateResourcePoolsBadRequest ¶
func NewUpdateResourcePoolsBadRequest() *UpdateResourcePoolsBadRequest
NewUpdateResourcePoolsBadRequest creates a UpdateResourcePoolsBadRequest with default headers values
func (*UpdateResourcePoolsBadRequest) Code ¶
func (o *UpdateResourcePoolsBadRequest) Code() int
Code gets the status code for the update resource pools bad request response
func (*UpdateResourcePoolsBadRequest) Error ¶
func (o *UpdateResourcePoolsBadRequest) Error() string
func (*UpdateResourcePoolsBadRequest) GetPayload ¶
func (o *UpdateResourcePoolsBadRequest) GetPayload() *models.APIError
func (*UpdateResourcePoolsBadRequest) IsClientError ¶
func (o *UpdateResourcePoolsBadRequest) IsClientError() bool
IsClientError returns true when this update resource pools bad request response has a 4xx status code
func (*UpdateResourcePoolsBadRequest) IsCode ¶
func (o *UpdateResourcePoolsBadRequest) IsCode(code int) bool
IsCode returns true when this update resource pools bad request response a status code equal to that given
func (*UpdateResourcePoolsBadRequest) IsRedirect ¶
func (o *UpdateResourcePoolsBadRequest) IsRedirect() bool
IsRedirect returns true when this update resource pools bad request response has a 3xx status code
func (*UpdateResourcePoolsBadRequest) IsServerError ¶
func (o *UpdateResourcePoolsBadRequest) IsServerError() bool
IsServerError returns true when this update resource pools bad request response has a 5xx status code
func (*UpdateResourcePoolsBadRequest) IsSuccess ¶
func (o *UpdateResourcePoolsBadRequest) IsSuccess() bool
IsSuccess returns true when this update resource pools bad request response has a 2xx status code
func (*UpdateResourcePoolsBadRequest) String ¶
func (o *UpdateResourcePoolsBadRequest) String() string
type UpdateResourcePoolsDefault ¶
type UpdateResourcePoolsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateResourcePoolsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateResourcePoolsDefault ¶
func NewUpdateResourcePoolsDefault(code int) *UpdateResourcePoolsDefault
NewUpdateResourcePoolsDefault creates a UpdateResourcePoolsDefault with default headers values
func (*UpdateResourcePoolsDefault) Code ¶
func (o *UpdateResourcePoolsDefault) Code() int
Code gets the status code for the update resource pools default response
func (*UpdateResourcePoolsDefault) Error ¶
func (o *UpdateResourcePoolsDefault) Error() string
func (*UpdateResourcePoolsDefault) GetPayload ¶
func (o *UpdateResourcePoolsDefault) GetPayload() models.GenericError
func (*UpdateResourcePoolsDefault) IsClientError ¶
func (o *UpdateResourcePoolsDefault) IsClientError() bool
IsClientError returns true when this update resource pools default response has a 4xx status code
func (*UpdateResourcePoolsDefault) IsCode ¶
func (o *UpdateResourcePoolsDefault) IsCode(code int) bool
IsCode returns true when this update resource pools default response a status code equal to that given
func (*UpdateResourcePoolsDefault) IsRedirect ¶
func (o *UpdateResourcePoolsDefault) IsRedirect() bool
IsRedirect returns true when this update resource pools default response has a 3xx status code
func (*UpdateResourcePoolsDefault) IsServerError ¶
func (o *UpdateResourcePoolsDefault) IsServerError() bool
IsServerError returns true when this update resource pools default response has a 5xx status code
func (*UpdateResourcePoolsDefault) IsSuccess ¶
func (o *UpdateResourcePoolsDefault) IsSuccess() bool
IsSuccess returns true when this update resource pools default response has a 2xx status code
func (*UpdateResourcePoolsDefault) String ¶
func (o *UpdateResourcePoolsDefault) String() string
type UpdateResourcePoolsInternalServerError ¶
UpdateResourcePoolsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateResourcePoolsInternalServerError ¶
func NewUpdateResourcePoolsInternalServerError() *UpdateResourcePoolsInternalServerError
NewUpdateResourcePoolsInternalServerError creates a UpdateResourcePoolsInternalServerError with default headers values
func (*UpdateResourcePoolsInternalServerError) Code ¶
func (o *UpdateResourcePoolsInternalServerError) Code() int
Code gets the status code for the update resource pools internal server error response
func (*UpdateResourcePoolsInternalServerError) Error ¶
func (o *UpdateResourcePoolsInternalServerError) Error() string
func (*UpdateResourcePoolsInternalServerError) GetPayload ¶
func (o *UpdateResourcePoolsInternalServerError) GetPayload() *models.APIError
func (*UpdateResourcePoolsInternalServerError) IsClientError ¶
func (o *UpdateResourcePoolsInternalServerError) IsClientError() bool
IsClientError returns true when this update resource pools internal server error response has a 4xx status code
func (*UpdateResourcePoolsInternalServerError) IsCode ¶
func (o *UpdateResourcePoolsInternalServerError) IsCode(code int) bool
IsCode returns true when this update resource pools internal server error response a status code equal to that given
func (*UpdateResourcePoolsInternalServerError) IsRedirect ¶
func (o *UpdateResourcePoolsInternalServerError) IsRedirect() bool
IsRedirect returns true when this update resource pools internal server error response has a 3xx status code
func (*UpdateResourcePoolsInternalServerError) IsServerError ¶
func (o *UpdateResourcePoolsInternalServerError) IsServerError() bool
IsServerError returns true when this update resource pools internal server error response has a 5xx status code
func (*UpdateResourcePoolsInternalServerError) IsSuccess ¶
func (o *UpdateResourcePoolsInternalServerError) IsSuccess() bool
IsSuccess returns true when this update resource pools internal server error response has a 2xx status code
func (*UpdateResourcePoolsInternalServerError) String ¶
func (o *UpdateResourcePoolsInternalServerError) String() string
type UpdateResourcePoolsNotFound ¶
UpdateResourcePoolsNotFound describes a response with status code 404, with default header values.
Cannot update the ResourcePools because ResourcePools has not been created.
func NewUpdateResourcePoolsNotFound ¶
func NewUpdateResourcePoolsNotFound() *UpdateResourcePoolsNotFound
NewUpdateResourcePoolsNotFound creates a UpdateResourcePoolsNotFound with default headers values
func (*UpdateResourcePoolsNotFound) Code ¶
func (o *UpdateResourcePoolsNotFound) Code() int
Code gets the status code for the update resource pools not found response
func (*UpdateResourcePoolsNotFound) Error ¶
func (o *UpdateResourcePoolsNotFound) Error() string
func (*UpdateResourcePoolsNotFound) GetPayload ¶
func (o *UpdateResourcePoolsNotFound) GetPayload() *models.APIError
func (*UpdateResourcePoolsNotFound) IsClientError ¶
func (o *UpdateResourcePoolsNotFound) IsClientError() bool
IsClientError returns true when this update resource pools not found response has a 4xx status code
func (*UpdateResourcePoolsNotFound) IsCode ¶
func (o *UpdateResourcePoolsNotFound) IsCode(code int) bool
IsCode returns true when this update resource pools not found response a status code equal to that given
func (*UpdateResourcePoolsNotFound) IsRedirect ¶
func (o *UpdateResourcePoolsNotFound) IsRedirect() bool
IsRedirect returns true when this update resource pools not found response has a 3xx status code
func (*UpdateResourcePoolsNotFound) IsServerError ¶
func (o *UpdateResourcePoolsNotFound) IsServerError() bool
IsServerError returns true when this update resource pools not found response has a 5xx status code
func (*UpdateResourcePoolsNotFound) IsSuccess ¶
func (o *UpdateResourcePoolsNotFound) IsSuccess() bool
IsSuccess returns true when this update resource pools not found response has a 2xx status code
func (*UpdateResourcePoolsNotFound) String ¶
func (o *UpdateResourcePoolsNotFound) String() string
type UpdateResourcePoolsOK ¶
type UpdateResourcePoolsOK struct {
Payload *models.Configv1UpdateResourcePoolsResponse
}
UpdateResourcePoolsOK describes a response with status code 200, with default header values.
A successful response containing the updated ResourcePools.
func NewUpdateResourcePoolsOK ¶
func NewUpdateResourcePoolsOK() *UpdateResourcePoolsOK
NewUpdateResourcePoolsOK creates a UpdateResourcePoolsOK with default headers values
func (*UpdateResourcePoolsOK) Code ¶
func (o *UpdateResourcePoolsOK) Code() int
Code gets the status code for the update resource pools o k response
func (*UpdateResourcePoolsOK) Error ¶
func (o *UpdateResourcePoolsOK) Error() string
func (*UpdateResourcePoolsOK) GetPayload ¶
func (o *UpdateResourcePoolsOK) GetPayload() *models.Configv1UpdateResourcePoolsResponse
func (*UpdateResourcePoolsOK) IsClientError ¶
func (o *UpdateResourcePoolsOK) IsClientError() bool
IsClientError returns true when this update resource pools o k response has a 4xx status code
func (*UpdateResourcePoolsOK) IsCode ¶
func (o *UpdateResourcePoolsOK) IsCode(code int) bool
IsCode returns true when this update resource pools o k response a status code equal to that given
func (*UpdateResourcePoolsOK) IsRedirect ¶
func (o *UpdateResourcePoolsOK) IsRedirect() bool
IsRedirect returns true when this update resource pools o k response has a 3xx status code
func (*UpdateResourcePoolsOK) IsServerError ¶
func (o *UpdateResourcePoolsOK) IsServerError() bool
IsServerError returns true when this update resource pools o k response has a 5xx status code
func (*UpdateResourcePoolsOK) IsSuccess ¶
func (o *UpdateResourcePoolsOK) IsSuccess() bool
IsSuccess returns true when this update resource pools o k response has a 2xx status code
func (*UpdateResourcePoolsOK) String ¶
func (o *UpdateResourcePoolsOK) String() string
type UpdateResourcePoolsParams ¶
type UpdateResourcePoolsParams struct { // Body. Body *models.Configv1UpdateResourcePoolsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateResourcePoolsParams contains all the parameters to send to the API endpoint
for the update resource pools operation. Typically these are written to a http.Request.
func NewUpdateResourcePoolsParams ¶
func NewUpdateResourcePoolsParams() *UpdateResourcePoolsParams
NewUpdateResourcePoolsParams creates a new UpdateResourcePoolsParams 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 NewUpdateResourcePoolsParamsWithContext ¶
func NewUpdateResourcePoolsParamsWithContext(ctx context.Context) *UpdateResourcePoolsParams
NewUpdateResourcePoolsParamsWithContext creates a new UpdateResourcePoolsParams object with the ability to set a context for a request.
func NewUpdateResourcePoolsParamsWithHTTPClient ¶
func NewUpdateResourcePoolsParamsWithHTTPClient(client *http.Client) *UpdateResourcePoolsParams
NewUpdateResourcePoolsParamsWithHTTPClient creates a new UpdateResourcePoolsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateResourcePoolsParamsWithTimeout ¶
func NewUpdateResourcePoolsParamsWithTimeout(timeout time.Duration) *UpdateResourcePoolsParams
NewUpdateResourcePoolsParamsWithTimeout creates a new UpdateResourcePoolsParams object with the ability to set a timeout on a request.
func (*UpdateResourcePoolsParams) SetBody ¶
func (o *UpdateResourcePoolsParams) SetBody(body *models.Configv1UpdateResourcePoolsRequest)
SetBody adds the body to the update resource pools params
func (*UpdateResourcePoolsParams) SetContext ¶
func (o *UpdateResourcePoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the update resource pools params
func (*UpdateResourcePoolsParams) SetDefaults ¶
func (o *UpdateResourcePoolsParams) SetDefaults()
SetDefaults hydrates default values in the update resource pools params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateResourcePoolsParams) SetHTTPClient ¶
func (o *UpdateResourcePoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update resource pools params
func (*UpdateResourcePoolsParams) SetTimeout ¶
func (o *UpdateResourcePoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update resource pools params
func (*UpdateResourcePoolsParams) WithBody ¶
func (o *UpdateResourcePoolsParams) WithBody(body *models.Configv1UpdateResourcePoolsRequest) *UpdateResourcePoolsParams
WithBody adds the body to the update resource pools params
func (*UpdateResourcePoolsParams) WithContext ¶
func (o *UpdateResourcePoolsParams) WithContext(ctx context.Context) *UpdateResourcePoolsParams
WithContext adds the context to the update resource pools params
func (*UpdateResourcePoolsParams) WithDefaults ¶
func (o *UpdateResourcePoolsParams) WithDefaults() *UpdateResourcePoolsParams
WithDefaults hydrates default values in the update resource pools params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateResourcePoolsParams) WithHTTPClient ¶
func (o *UpdateResourcePoolsParams) WithHTTPClient(client *http.Client) *UpdateResourcePoolsParams
WithHTTPClient adds the HTTPClient to the update resource pools params
func (*UpdateResourcePoolsParams) WithTimeout ¶
func (o *UpdateResourcePoolsParams) WithTimeout(timeout time.Duration) *UpdateResourcePoolsParams
WithTimeout adds the timeout to the update resource pools params
func (*UpdateResourcePoolsParams) WriteToRequest ¶
func (o *UpdateResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateResourcePoolsReader ¶
type UpdateResourcePoolsReader struct {
// contains filtered or unexported fields
}
UpdateResourcePoolsReader is a Reader for the UpdateResourcePools structure.
func (*UpdateResourcePoolsReader) ReadResponse ¶
func (o *UpdateResourcePoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_resource_pools_parameters.go
- create_resource_pools_responses.go
- delete_resource_pools_parameters.go
- delete_resource_pools_responses.go
- read_resource_pools_parameters.go
- read_resource_pools_responses.go
- resource_pools_client.go
- update_resource_pools_parameters.go
- update_resource_pools_responses.go