resource_pools

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

type CreateResourcePoolsBadRequest struct {
	Payload *models.APIError
}

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

Code gets the status code for the create resource pools bad request response

func (*CreateResourcePoolsBadRequest) Error

func (*CreateResourcePoolsBadRequest) GetPayload

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

type CreateResourcePoolsConflict

type CreateResourcePoolsConflict struct {
	Payload *models.APIError
}

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 (*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 (*CreateResourcePoolsDefault) GetPayload

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

type CreateResourcePoolsInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the create resource pools internal server error response

func (*CreateResourcePoolsInternalServerError) Error

func (*CreateResourcePoolsInternalServerError) GetPayload

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

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

func (*CreateResourcePoolsInternalServerError) IsRedirect

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

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

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

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

WithBody adds the body to the create resource pools params

func (*CreateResourcePoolsParams) WithContext

WithContext adds the context to the create resource pools params

func (*CreateResourcePoolsParams) WithDefaults

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

WithTimeout adds the timeout to the create resource pools params

func (*CreateResourcePoolsParams) WriteToRequest

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

type DeleteResourcePoolsBadRequest struct {
	Payload *models.APIError
}

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

Code gets the status code for the delete resource pools bad request response

func (*DeleteResourcePoolsBadRequest) Error

func (*DeleteResourcePoolsBadRequest) GetPayload

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

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 (*DeleteResourcePoolsDefault) GetPayload

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

type DeleteResourcePoolsInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the delete resource pools internal server error response

func (*DeleteResourcePoolsInternalServerError) Error

func (*DeleteResourcePoolsInternalServerError) GetPayload

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

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

func (*DeleteResourcePoolsInternalServerError) IsRedirect

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

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

func (*DeleteResourcePoolsInternalServerError) String

type DeleteResourcePoolsNotFound

type DeleteResourcePoolsNotFound struct {
	Payload *models.APIError
}

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 (*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 (*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

WithContext adds the context to the delete resource pools params

func (*DeleteResourcePoolsParams) WithDefaults

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

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

WithTimeout adds the timeout to the delete resource pools params

func (*DeleteResourcePoolsParams) WriteToRequest

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 (*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

type ReadResourcePoolsInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the read resource pools internal server error response

func (*ReadResourcePoolsInternalServerError) Error

func (*ReadResourcePoolsInternalServerError) GetPayload

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

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

func (*ReadResourcePoolsInternalServerError) IsRedirect

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

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

func (*ReadResourcePoolsInternalServerError) String

type ReadResourcePoolsNotFound

type ReadResourcePoolsNotFound struct {
	Payload *models.APIError
}

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 (*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

WithContext adds the context to the read resource pools params

func (*ReadResourcePoolsParams) WithDefaults

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

WithTimeout adds the timeout to the read resource pools params

func (*ReadResourcePoolsParams) WriteToRequest

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

type UpdateResourcePoolsBadRequest struct {
	Payload *models.APIError
}

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

Code gets the status code for the update resource pools bad request response

func (*UpdateResourcePoolsBadRequest) Error

func (*UpdateResourcePoolsBadRequest) GetPayload

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

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 (*UpdateResourcePoolsDefault) GetPayload

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

type UpdateResourcePoolsInternalServerError struct {
	Payload *models.APIError
}

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

Code gets the status code for the update resource pools internal server error response

func (*UpdateResourcePoolsInternalServerError) Error

func (*UpdateResourcePoolsInternalServerError) GetPayload

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

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

func (*UpdateResourcePoolsInternalServerError) IsRedirect

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

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

func (*UpdateResourcePoolsInternalServerError) String

type UpdateResourcePoolsNotFound

type UpdateResourcePoolsNotFound struct {
	Payload *models.APIError
}

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 (*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 (*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

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

WithBody adds the body to the update resource pools params

func (*UpdateResourcePoolsParams) WithContext

WithContext adds the context to the update resource pools params

func (*UpdateResourcePoolsParams) WithDefaults

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

WithTimeout adds the timeout to the update resource pools params

func (*UpdateResourcePoolsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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