Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCloudPool(params *CreateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCloudPoolCreated, error)
- func (a *Client) DeleteCloudPool(params *DeleteCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCloudPoolOK, error)
- func (a *Client) ListCloudPool(params *ListCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ListCloudPoolOK, error)
- func (a *Client) ReadCloudPool(params *ReadCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ReadCloudPoolOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCloudPool(params *UpdateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCloudPoolOK, error)
- type ClientService
- type CreateCloudPoolBadRequest
- type CreateCloudPoolConflict
- type CreateCloudPoolCreated
- type CreateCloudPoolForbidden
- type CreateCloudPoolInternalServerError
- type CreateCloudPoolNotFound
- type CreateCloudPoolParams
- func NewCreateCloudPoolParams() *CreateCloudPoolParams
- func NewCreateCloudPoolParamsWithContext(ctx context.Context) *CreateCloudPoolParams
- func NewCreateCloudPoolParamsWithHTTPClient(client *http.Client) *CreateCloudPoolParams
- func NewCreateCloudPoolParamsWithTimeout(timeout time.Duration) *CreateCloudPoolParams
- func (o *CreateCloudPoolParams) SetContext(ctx context.Context)
- func (o *CreateCloudPoolParams) SetHTTPClient(client *http.Client)
- func (o *CreateCloudPoolParams) SetResource(resource *models.CloudPool)
- func (o *CreateCloudPoolParams) SetTimeout(timeout time.Duration)
- func (o *CreateCloudPoolParams) WithContext(ctx context.Context) *CreateCloudPoolParams
- func (o *CreateCloudPoolParams) WithHTTPClient(client *http.Client) *CreateCloudPoolParams
- func (o *CreateCloudPoolParams) WithResource(resource *models.CloudPool) *CreateCloudPoolParams
- func (o *CreateCloudPoolParams) WithTimeout(timeout time.Duration) *CreateCloudPoolParams
- func (o *CreateCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCloudPoolReader
- type CreateCloudPoolUnauthorized
- type DeleteCloudPoolBadRequest
- type DeleteCloudPoolConflict
- type DeleteCloudPoolForbidden
- type DeleteCloudPoolInternalServerError
- type DeleteCloudPoolNotFound
- type DeleteCloudPoolOK
- type DeleteCloudPoolParams
- func NewDeleteCloudPoolParams() *DeleteCloudPoolParams
- func NewDeleteCloudPoolParamsWithContext(ctx context.Context) *DeleteCloudPoolParams
- func NewDeleteCloudPoolParamsWithHTTPClient(client *http.Client) *DeleteCloudPoolParams
- func NewDeleteCloudPoolParamsWithTimeout(timeout time.Duration) *DeleteCloudPoolParams
- func (o *DeleteCloudPoolParams) SetContext(ctx context.Context)
- func (o *DeleteCloudPoolParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCloudPoolParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCloudPoolParams) SetUUID(uuid string)
- func (o *DeleteCloudPoolParams) WithContext(ctx context.Context) *DeleteCloudPoolParams
- func (o *DeleteCloudPoolParams) WithHTTPClient(client *http.Client) *DeleteCloudPoolParams
- func (o *DeleteCloudPoolParams) WithTimeout(timeout time.Duration) *DeleteCloudPoolParams
- func (o *DeleteCloudPoolParams) WithUUID(uuid string) *DeleteCloudPoolParams
- func (o *DeleteCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCloudPoolReader
- type DeleteCloudPoolUnauthorized
- type ListCloudPoolBadRequest
- type ListCloudPoolConflict
- type ListCloudPoolForbidden
- type ListCloudPoolInternalServerError
- type ListCloudPoolNotFound
- type ListCloudPoolOK
- type ListCloudPoolParams
- func (o *ListCloudPoolParams) SetContext(ctx context.Context)
- func (o *ListCloudPoolParams) SetFields(fields *string)
- func (o *ListCloudPoolParams) SetFulltextsearch(fulltextsearch *bool)
- func (o *ListCloudPoolParams) SetHTTPClient(client *http.Client)
- func (o *ListCloudPoolParams) SetLimit(limit *int32)
- func (o *ListCloudPoolParams) SetOrderby(orderby *string)
- func (o *ListCloudPoolParams) SetQ(q *string)
- func (o *ListCloudPoolParams) SetStart(start *int32)
- func (o *ListCloudPoolParams) SetTimeout(timeout time.Duration)
- func (o *ListCloudPoolParams) WithContext(ctx context.Context) *ListCloudPoolParams
- func (o *ListCloudPoolParams) WithFields(fields *string) *ListCloudPoolParams
- func (o *ListCloudPoolParams) WithFulltextsearch(fulltextsearch *bool) *ListCloudPoolParams
- func (o *ListCloudPoolParams) WithHTTPClient(client *http.Client) *ListCloudPoolParams
- func (o *ListCloudPoolParams) WithLimit(limit *int32) *ListCloudPoolParams
- func (o *ListCloudPoolParams) WithOrderby(orderby *string) *ListCloudPoolParams
- func (o *ListCloudPoolParams) WithQ(q *string) *ListCloudPoolParams
- func (o *ListCloudPoolParams) WithStart(start *int32) *ListCloudPoolParams
- func (o *ListCloudPoolParams) WithTimeout(timeout time.Duration) *ListCloudPoolParams
- func (o *ListCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCloudPoolReader
- type ListCloudPoolUnauthorized
- type ReadCloudPoolBadRequest
- type ReadCloudPoolConflict
- type ReadCloudPoolForbidden
- type ReadCloudPoolInternalServerError
- type ReadCloudPoolNotFound
- type ReadCloudPoolOK
- type ReadCloudPoolParams
- func (o *ReadCloudPoolParams) SetContext(ctx context.Context)
- func (o *ReadCloudPoolParams) SetFields(fields *string)
- func (o *ReadCloudPoolParams) SetHTTPClient(client *http.Client)
- func (o *ReadCloudPoolParams) SetTimeout(timeout time.Duration)
- func (o *ReadCloudPoolParams) SetUUID(uuid string)
- func (o *ReadCloudPoolParams) WithContext(ctx context.Context) *ReadCloudPoolParams
- func (o *ReadCloudPoolParams) WithFields(fields *string) *ReadCloudPoolParams
- func (o *ReadCloudPoolParams) WithHTTPClient(client *http.Client) *ReadCloudPoolParams
- func (o *ReadCloudPoolParams) WithTimeout(timeout time.Duration) *ReadCloudPoolParams
- func (o *ReadCloudPoolParams) WithUUID(uuid string) *ReadCloudPoolParams
- func (o *ReadCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadCloudPoolReader
- type ReadCloudPoolUnauthorized
- type UpdateCloudPoolBadRequest
- type UpdateCloudPoolConflict
- type UpdateCloudPoolForbidden
- type UpdateCloudPoolInternalServerError
- type UpdateCloudPoolNotFound
- type UpdateCloudPoolOK
- type UpdateCloudPoolParams
- func NewUpdateCloudPoolParams() *UpdateCloudPoolParams
- func NewUpdateCloudPoolParamsWithContext(ctx context.Context) *UpdateCloudPoolParams
- func NewUpdateCloudPoolParamsWithHTTPClient(client *http.Client) *UpdateCloudPoolParams
- func NewUpdateCloudPoolParamsWithTimeout(timeout time.Duration) *UpdateCloudPoolParams
- func (o *UpdateCloudPoolParams) SetContext(ctx context.Context)
- func (o *UpdateCloudPoolParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCloudPoolParams) SetResource(resource *models.CloudPool)
- func (o *UpdateCloudPoolParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCloudPoolParams) SetUUID(uuid string)
- func (o *UpdateCloudPoolParams) WithContext(ctx context.Context) *UpdateCloudPoolParams
- func (o *UpdateCloudPoolParams) WithHTTPClient(client *http.Client) *UpdateCloudPoolParams
- func (o *UpdateCloudPoolParams) WithResource(resource *models.CloudPool) *UpdateCloudPoolParams
- func (o *UpdateCloudPoolParams) WithTimeout(timeout time.Duration) *UpdateCloudPoolParams
- func (o *UpdateCloudPoolParams) WithUUID(uuid string) *UpdateCloudPoolParams
- func (o *UpdateCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCloudPoolReader
- type UpdateCloudPoolUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for cloud pool controller API
func (*Client) CreateCloudPool ¶
func (a *Client) CreateCloudPool(params *CreateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCloudPoolCreated, error)
CreateCloudPool creates
func (*Client) DeleteCloudPool ¶
func (a *Client) DeleteCloudPool(params *DeleteCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCloudPoolOK, error)
DeleteCloudPool deletes
func (*Client) ListCloudPool ¶
func (a *Client) ListCloudPool(params *ListCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ListCloudPoolOK, error)
ListCloudPool lists
func (*Client) ReadCloudPool ¶
func (a *Client) ReadCloudPool(params *ReadCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ReadCloudPoolOK, error)
ReadCloudPool reads
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCloudPool ¶
func (a *Client) UpdateCloudPool(params *UpdateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCloudPoolOK, error)
UpdateCloudPool updates
type ClientService ¶
type ClientService interface { CreateCloudPool(params *CreateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCloudPoolCreated, error) DeleteCloudPool(params *DeleteCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCloudPoolOK, error) ListCloudPool(params *ListCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ListCloudPoolOK, error) ReadCloudPool(params *ReadCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*ReadCloudPoolOK, error) UpdateCloudPool(params *UpdateCloudPoolParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCloudPoolOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new cloud pool controller API client.
type CreateCloudPoolBadRequest ¶
CreateCloudPoolBadRequest handles this case with default header values.
Bad Request
func NewCreateCloudPoolBadRequest ¶
func NewCreateCloudPoolBadRequest() *CreateCloudPoolBadRequest
NewCreateCloudPoolBadRequest creates a CreateCloudPoolBadRequest with default headers values
func (*CreateCloudPoolBadRequest) Error ¶
func (o *CreateCloudPoolBadRequest) Error() string
func (*CreateCloudPoolBadRequest) GetPayload ¶
func (o *CreateCloudPoolBadRequest) GetPayload() *models.APIResult
type CreateCloudPoolConflict ¶
CreateCloudPoolConflict handles this case with default header values.
Conflict
func NewCreateCloudPoolConflict ¶
func NewCreateCloudPoolConflict() *CreateCloudPoolConflict
NewCreateCloudPoolConflict creates a CreateCloudPoolConflict with default headers values
func (*CreateCloudPoolConflict) Error ¶
func (o *CreateCloudPoolConflict) Error() string
func (*CreateCloudPoolConflict) GetPayload ¶
func (o *CreateCloudPoolConflict) GetPayload() *models.APIResult
type CreateCloudPoolCreated ¶
type CreateCloudPoolCreated struct {
Payload *models.APIResultCloudPool
}
CreateCloudPoolCreated handles this case with default header values.
Created
func NewCreateCloudPoolCreated ¶
func NewCreateCloudPoolCreated() *CreateCloudPoolCreated
NewCreateCloudPoolCreated creates a CreateCloudPoolCreated with default headers values
func (*CreateCloudPoolCreated) Error ¶
func (o *CreateCloudPoolCreated) Error() string
func (*CreateCloudPoolCreated) GetPayload ¶
func (o *CreateCloudPoolCreated) GetPayload() *models.APIResultCloudPool
type CreateCloudPoolForbidden ¶
CreateCloudPoolForbidden handles this case with default header values.
Forbidden
func NewCreateCloudPoolForbidden ¶
func NewCreateCloudPoolForbidden() *CreateCloudPoolForbidden
NewCreateCloudPoolForbidden creates a CreateCloudPoolForbidden with default headers values
func (*CreateCloudPoolForbidden) Error ¶
func (o *CreateCloudPoolForbidden) Error() string
func (*CreateCloudPoolForbidden) GetPayload ¶
func (o *CreateCloudPoolForbidden) GetPayload() *models.APIResult
type CreateCloudPoolInternalServerError ¶
CreateCloudPoolInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateCloudPoolInternalServerError ¶
func NewCreateCloudPoolInternalServerError() *CreateCloudPoolInternalServerError
NewCreateCloudPoolInternalServerError creates a CreateCloudPoolInternalServerError with default headers values
func (*CreateCloudPoolInternalServerError) Error ¶
func (o *CreateCloudPoolInternalServerError) Error() string
func (*CreateCloudPoolInternalServerError) GetPayload ¶
func (o *CreateCloudPoolInternalServerError) GetPayload() *models.APIResult
type CreateCloudPoolNotFound ¶
CreateCloudPoolNotFound handles this case with default header values.
Not Found
func NewCreateCloudPoolNotFound ¶
func NewCreateCloudPoolNotFound() *CreateCloudPoolNotFound
NewCreateCloudPoolNotFound creates a CreateCloudPoolNotFound with default headers values
func (*CreateCloudPoolNotFound) Error ¶
func (o *CreateCloudPoolNotFound) Error() string
func (*CreateCloudPoolNotFound) GetPayload ¶
func (o *CreateCloudPoolNotFound) GetPayload() *models.APIResult
type CreateCloudPoolParams ¶
type CreateCloudPoolParams struct { /*Resource resource */ Resource *models.CloudPool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCloudPoolParams contains all the parameters to send to the API endpoint for the create cloud pool operation typically these are written to a http.Request
func NewCreateCloudPoolParams ¶
func NewCreateCloudPoolParams() *CreateCloudPoolParams
NewCreateCloudPoolParams creates a new CreateCloudPoolParams object with the default values initialized.
func NewCreateCloudPoolParamsWithContext ¶
func NewCreateCloudPoolParamsWithContext(ctx context.Context) *CreateCloudPoolParams
NewCreateCloudPoolParamsWithContext creates a new CreateCloudPoolParams object with the default values initialized, and the ability to set a context for a request
func NewCreateCloudPoolParamsWithHTTPClient ¶
func NewCreateCloudPoolParamsWithHTTPClient(client *http.Client) *CreateCloudPoolParams
NewCreateCloudPoolParamsWithHTTPClient creates a new CreateCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateCloudPoolParamsWithTimeout ¶
func NewCreateCloudPoolParamsWithTimeout(timeout time.Duration) *CreateCloudPoolParams
NewCreateCloudPoolParamsWithTimeout creates a new CreateCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateCloudPoolParams) SetContext ¶
func (o *CreateCloudPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the create cloud pool params
func (*CreateCloudPoolParams) SetHTTPClient ¶
func (o *CreateCloudPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cloud pool params
func (*CreateCloudPoolParams) SetResource ¶
func (o *CreateCloudPoolParams) SetResource(resource *models.CloudPool)
SetResource adds the resource to the create cloud pool params
func (*CreateCloudPoolParams) SetTimeout ¶
func (o *CreateCloudPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cloud pool params
func (*CreateCloudPoolParams) WithContext ¶
func (o *CreateCloudPoolParams) WithContext(ctx context.Context) *CreateCloudPoolParams
WithContext adds the context to the create cloud pool params
func (*CreateCloudPoolParams) WithHTTPClient ¶
func (o *CreateCloudPoolParams) WithHTTPClient(client *http.Client) *CreateCloudPoolParams
WithHTTPClient adds the HTTPClient to the create cloud pool params
func (*CreateCloudPoolParams) WithResource ¶
func (o *CreateCloudPoolParams) WithResource(resource *models.CloudPool) *CreateCloudPoolParams
WithResource adds the resource to the create cloud pool params
func (*CreateCloudPoolParams) WithTimeout ¶
func (o *CreateCloudPoolParams) WithTimeout(timeout time.Duration) *CreateCloudPoolParams
WithTimeout adds the timeout to the create cloud pool params
func (*CreateCloudPoolParams) WriteToRequest ¶
func (o *CreateCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCloudPoolReader ¶
type CreateCloudPoolReader struct {
// contains filtered or unexported fields
}
CreateCloudPoolReader is a Reader for the CreateCloudPool structure.
func (*CreateCloudPoolReader) ReadResponse ¶
func (o *CreateCloudPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateCloudPoolUnauthorized ¶
type CreateCloudPoolUnauthorized struct {
}CreateCloudPoolUnauthorized handles this case with default header values.
Unauthorized
func NewCreateCloudPoolUnauthorized ¶
func NewCreateCloudPoolUnauthorized() *CreateCloudPoolUnauthorized
NewCreateCloudPoolUnauthorized creates a CreateCloudPoolUnauthorized with default headers values
func (*CreateCloudPoolUnauthorized) Error ¶
func (o *CreateCloudPoolUnauthorized) Error() string
func (*CreateCloudPoolUnauthorized) GetPayload ¶
func (o *CreateCloudPoolUnauthorized) GetPayload() *models.APIResult
type DeleteCloudPoolBadRequest ¶
DeleteCloudPoolBadRequest handles this case with default header values.
Bad Request
func NewDeleteCloudPoolBadRequest ¶
func NewDeleteCloudPoolBadRequest() *DeleteCloudPoolBadRequest
NewDeleteCloudPoolBadRequest creates a DeleteCloudPoolBadRequest with default headers values
func (*DeleteCloudPoolBadRequest) Error ¶
func (o *DeleteCloudPoolBadRequest) Error() string
func (*DeleteCloudPoolBadRequest) GetPayload ¶
func (o *DeleteCloudPoolBadRequest) GetPayload() *models.APIResult
type DeleteCloudPoolConflict ¶
DeleteCloudPoolConflict handles this case with default header values.
Conflict
func NewDeleteCloudPoolConflict ¶
func NewDeleteCloudPoolConflict() *DeleteCloudPoolConflict
NewDeleteCloudPoolConflict creates a DeleteCloudPoolConflict with default headers values
func (*DeleteCloudPoolConflict) Error ¶
func (o *DeleteCloudPoolConflict) Error() string
func (*DeleteCloudPoolConflict) GetPayload ¶
func (o *DeleteCloudPoolConflict) GetPayload() *models.APIResult
type DeleteCloudPoolForbidden ¶
DeleteCloudPoolForbidden handles this case with default header values.
Forbidden
func NewDeleteCloudPoolForbidden ¶
func NewDeleteCloudPoolForbidden() *DeleteCloudPoolForbidden
NewDeleteCloudPoolForbidden creates a DeleteCloudPoolForbidden with default headers values
func (*DeleteCloudPoolForbidden) Error ¶
func (o *DeleteCloudPoolForbidden) Error() string
func (*DeleteCloudPoolForbidden) GetPayload ¶
func (o *DeleteCloudPoolForbidden) GetPayload() *models.APIResult
type DeleteCloudPoolInternalServerError ¶
DeleteCloudPoolInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteCloudPoolInternalServerError ¶
func NewDeleteCloudPoolInternalServerError() *DeleteCloudPoolInternalServerError
NewDeleteCloudPoolInternalServerError creates a DeleteCloudPoolInternalServerError with default headers values
func (*DeleteCloudPoolInternalServerError) Error ¶
func (o *DeleteCloudPoolInternalServerError) Error() string
func (*DeleteCloudPoolInternalServerError) GetPayload ¶
func (o *DeleteCloudPoolInternalServerError) GetPayload() *models.APIResult
type DeleteCloudPoolNotFound ¶
DeleteCloudPoolNotFound handles this case with default header values.
Not Found
func NewDeleteCloudPoolNotFound ¶
func NewDeleteCloudPoolNotFound() *DeleteCloudPoolNotFound
NewDeleteCloudPoolNotFound creates a DeleteCloudPoolNotFound with default headers values
func (*DeleteCloudPoolNotFound) Error ¶
func (o *DeleteCloudPoolNotFound) Error() string
func (*DeleteCloudPoolNotFound) GetPayload ¶
func (o *DeleteCloudPoolNotFound) GetPayload() *models.APIResult
type DeleteCloudPoolOK ¶
type DeleteCloudPoolOK struct {
Payload *models.APIResultVoid
}
DeleteCloudPoolOK handles this case with default header values.
OK
func NewDeleteCloudPoolOK ¶
func NewDeleteCloudPoolOK() *DeleteCloudPoolOK
NewDeleteCloudPoolOK creates a DeleteCloudPoolOK with default headers values
func (*DeleteCloudPoolOK) Error ¶
func (o *DeleteCloudPoolOK) Error() string
func (*DeleteCloudPoolOK) GetPayload ¶
func (o *DeleteCloudPoolOK) GetPayload() *models.APIResultVoid
type DeleteCloudPoolParams ¶
type DeleteCloudPoolParams struct { /*UUID uuid */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCloudPoolParams contains all the parameters to send to the API endpoint for the delete cloud pool operation typically these are written to a http.Request
func NewDeleteCloudPoolParams ¶
func NewDeleteCloudPoolParams() *DeleteCloudPoolParams
NewDeleteCloudPoolParams creates a new DeleteCloudPoolParams object with the default values initialized.
func NewDeleteCloudPoolParamsWithContext ¶
func NewDeleteCloudPoolParamsWithContext(ctx context.Context) *DeleteCloudPoolParams
NewDeleteCloudPoolParamsWithContext creates a new DeleteCloudPoolParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteCloudPoolParamsWithHTTPClient ¶
func NewDeleteCloudPoolParamsWithHTTPClient(client *http.Client) *DeleteCloudPoolParams
NewDeleteCloudPoolParamsWithHTTPClient creates a new DeleteCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteCloudPoolParamsWithTimeout ¶
func NewDeleteCloudPoolParamsWithTimeout(timeout time.Duration) *DeleteCloudPoolParams
NewDeleteCloudPoolParamsWithTimeout creates a new DeleteCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteCloudPoolParams) SetContext ¶
func (o *DeleteCloudPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cloud pool params
func (*DeleteCloudPoolParams) SetHTTPClient ¶
func (o *DeleteCloudPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cloud pool params
func (*DeleteCloudPoolParams) SetTimeout ¶
func (o *DeleteCloudPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cloud pool params
func (*DeleteCloudPoolParams) SetUUID ¶
func (o *DeleteCloudPoolParams) SetUUID(uuid string)
SetUUID adds the uuid to the delete cloud pool params
func (*DeleteCloudPoolParams) WithContext ¶
func (o *DeleteCloudPoolParams) WithContext(ctx context.Context) *DeleteCloudPoolParams
WithContext adds the context to the delete cloud pool params
func (*DeleteCloudPoolParams) WithHTTPClient ¶
func (o *DeleteCloudPoolParams) WithHTTPClient(client *http.Client) *DeleteCloudPoolParams
WithHTTPClient adds the HTTPClient to the delete cloud pool params
func (*DeleteCloudPoolParams) WithTimeout ¶
func (o *DeleteCloudPoolParams) WithTimeout(timeout time.Duration) *DeleteCloudPoolParams
WithTimeout adds the timeout to the delete cloud pool params
func (*DeleteCloudPoolParams) WithUUID ¶
func (o *DeleteCloudPoolParams) WithUUID(uuid string) *DeleteCloudPoolParams
WithUUID adds the uuid to the delete cloud pool params
func (*DeleteCloudPoolParams) WriteToRequest ¶
func (o *DeleteCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCloudPoolReader ¶
type DeleteCloudPoolReader struct {
// contains filtered or unexported fields
}
DeleteCloudPoolReader is a Reader for the DeleteCloudPool structure.
func (*DeleteCloudPoolReader) ReadResponse ¶
func (o *DeleteCloudPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCloudPoolUnauthorized ¶
type DeleteCloudPoolUnauthorized struct {
}DeleteCloudPoolUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteCloudPoolUnauthorized ¶
func NewDeleteCloudPoolUnauthorized() *DeleteCloudPoolUnauthorized
NewDeleteCloudPoolUnauthorized creates a DeleteCloudPoolUnauthorized with default headers values
func (*DeleteCloudPoolUnauthorized) Error ¶
func (o *DeleteCloudPoolUnauthorized) Error() string
func (*DeleteCloudPoolUnauthorized) GetPayload ¶
func (o *DeleteCloudPoolUnauthorized) GetPayload() *models.APIResult
type ListCloudPoolBadRequest ¶
ListCloudPoolBadRequest handles this case with default header values.
Bad Request
func NewListCloudPoolBadRequest ¶
func NewListCloudPoolBadRequest() *ListCloudPoolBadRequest
NewListCloudPoolBadRequest creates a ListCloudPoolBadRequest with default headers values
func (*ListCloudPoolBadRequest) Error ¶
func (o *ListCloudPoolBadRequest) Error() string
func (*ListCloudPoolBadRequest) GetPayload ¶
func (o *ListCloudPoolBadRequest) GetPayload() *models.APIResult
type ListCloudPoolConflict ¶
ListCloudPoolConflict handles this case with default header values.
Conflict
func NewListCloudPoolConflict ¶
func NewListCloudPoolConflict() *ListCloudPoolConflict
NewListCloudPoolConflict creates a ListCloudPoolConflict with default headers values
func (*ListCloudPoolConflict) Error ¶
func (o *ListCloudPoolConflict) Error() string
func (*ListCloudPoolConflict) GetPayload ¶
func (o *ListCloudPoolConflict) GetPayload() *models.APIResult
type ListCloudPoolForbidden ¶
ListCloudPoolForbidden handles this case with default header values.
Forbidden
func NewListCloudPoolForbidden ¶
func NewListCloudPoolForbidden() *ListCloudPoolForbidden
NewListCloudPoolForbidden creates a ListCloudPoolForbidden with default headers values
func (*ListCloudPoolForbidden) Error ¶
func (o *ListCloudPoolForbidden) Error() string
func (*ListCloudPoolForbidden) GetPayload ¶
func (o *ListCloudPoolForbidden) GetPayload() *models.APIResult
type ListCloudPoolInternalServerError ¶
ListCloudPoolInternalServerError handles this case with default header values.
Internal Server Error
func NewListCloudPoolInternalServerError ¶
func NewListCloudPoolInternalServerError() *ListCloudPoolInternalServerError
NewListCloudPoolInternalServerError creates a ListCloudPoolInternalServerError with default headers values
func (*ListCloudPoolInternalServerError) Error ¶
func (o *ListCloudPoolInternalServerError) Error() string
func (*ListCloudPoolInternalServerError) GetPayload ¶
func (o *ListCloudPoolInternalServerError) GetPayload() *models.APIResult
type ListCloudPoolNotFound ¶
ListCloudPoolNotFound handles this case with default header values.
Not Found
func NewListCloudPoolNotFound ¶
func NewListCloudPoolNotFound() *ListCloudPoolNotFound
NewListCloudPoolNotFound creates a ListCloudPoolNotFound with default headers values
func (*ListCloudPoolNotFound) Error ¶
func (o *ListCloudPoolNotFound) Error() string
func (*ListCloudPoolNotFound) GetPayload ¶
func (o *ListCloudPoolNotFound) GetPayload() *models.APIResult
type ListCloudPoolOK ¶
type ListCloudPoolOK struct {
Payload *models.APIResultListCloudPool
}
ListCloudPoolOK handles this case with default header values.
OK
func NewListCloudPoolOK ¶
func NewListCloudPoolOK() *ListCloudPoolOK
NewListCloudPoolOK creates a ListCloudPoolOK with default headers values
func (*ListCloudPoolOK) Error ¶
func (o *ListCloudPoolOK) Error() string
func (*ListCloudPoolOK) GetPayload ¶
func (o *ListCloudPoolOK) GetPayload() *models.APIResultListCloudPool
type ListCloudPoolParams ¶
type ListCloudPoolParams struct { /*Fields Output fields */ Fields *string /*Fulltextsearch If 'true', interpret 'q' parameter as full text search query, defaults to 'false' */ Fulltextsearch *bool /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*Orderby Fields to order by */ Orderby *string /*Q A search-spec of full text search query (see fulltextsearch parameter) */ Q *string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListCloudPoolParams contains all the parameters to send to the API endpoint for the list cloud pool operation typically these are written to a http.Request
func NewListCloudPoolParams ¶
func NewListCloudPoolParams() *ListCloudPoolParams
NewListCloudPoolParams creates a new ListCloudPoolParams object with the default values initialized.
func NewListCloudPoolParamsWithContext ¶
func NewListCloudPoolParamsWithContext(ctx context.Context) *ListCloudPoolParams
NewListCloudPoolParamsWithContext creates a new ListCloudPoolParams object with the default values initialized, and the ability to set a context for a request
func NewListCloudPoolParamsWithHTTPClient ¶
func NewListCloudPoolParamsWithHTTPClient(client *http.Client) *ListCloudPoolParams
NewListCloudPoolParamsWithHTTPClient creates a new ListCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListCloudPoolParamsWithTimeout ¶
func NewListCloudPoolParamsWithTimeout(timeout time.Duration) *ListCloudPoolParams
NewListCloudPoolParamsWithTimeout creates a new ListCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListCloudPoolParams) SetContext ¶
func (o *ListCloudPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the list cloud pool params
func (*ListCloudPoolParams) SetFields ¶
func (o *ListCloudPoolParams) SetFields(fields *string)
SetFields adds the fields to the list cloud pool params
func (*ListCloudPoolParams) SetFulltextsearch ¶
func (o *ListCloudPoolParams) SetFulltextsearch(fulltextsearch *bool)
SetFulltextsearch adds the fulltextsearch to the list cloud pool params
func (*ListCloudPoolParams) SetHTTPClient ¶
func (o *ListCloudPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list cloud pool params
func (*ListCloudPoolParams) SetLimit ¶
func (o *ListCloudPoolParams) SetLimit(limit *int32)
SetLimit adds the limit to the list cloud pool params
func (*ListCloudPoolParams) SetOrderby ¶
func (o *ListCloudPoolParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the list cloud pool params
func (*ListCloudPoolParams) SetQ ¶
func (o *ListCloudPoolParams) SetQ(q *string)
SetQ adds the q to the list cloud pool params
func (*ListCloudPoolParams) SetStart ¶
func (o *ListCloudPoolParams) SetStart(start *int32)
SetStart adds the start to the list cloud pool params
func (*ListCloudPoolParams) SetTimeout ¶
func (o *ListCloudPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list cloud pool params
func (*ListCloudPoolParams) WithContext ¶
func (o *ListCloudPoolParams) WithContext(ctx context.Context) *ListCloudPoolParams
WithContext adds the context to the list cloud pool params
func (*ListCloudPoolParams) WithFields ¶
func (o *ListCloudPoolParams) WithFields(fields *string) *ListCloudPoolParams
WithFields adds the fields to the list cloud pool params
func (*ListCloudPoolParams) WithFulltextsearch ¶
func (o *ListCloudPoolParams) WithFulltextsearch(fulltextsearch *bool) *ListCloudPoolParams
WithFulltextsearch adds the fulltextsearch to the list cloud pool params
func (*ListCloudPoolParams) WithHTTPClient ¶
func (o *ListCloudPoolParams) WithHTTPClient(client *http.Client) *ListCloudPoolParams
WithHTTPClient adds the HTTPClient to the list cloud pool params
func (*ListCloudPoolParams) WithLimit ¶
func (o *ListCloudPoolParams) WithLimit(limit *int32) *ListCloudPoolParams
WithLimit adds the limit to the list cloud pool params
func (*ListCloudPoolParams) WithOrderby ¶
func (o *ListCloudPoolParams) WithOrderby(orderby *string) *ListCloudPoolParams
WithOrderby adds the orderby to the list cloud pool params
func (*ListCloudPoolParams) WithQ ¶
func (o *ListCloudPoolParams) WithQ(q *string) *ListCloudPoolParams
WithQ adds the q to the list cloud pool params
func (*ListCloudPoolParams) WithStart ¶
func (o *ListCloudPoolParams) WithStart(start *int32) *ListCloudPoolParams
WithStart adds the start to the list cloud pool params
func (*ListCloudPoolParams) WithTimeout ¶
func (o *ListCloudPoolParams) WithTimeout(timeout time.Duration) *ListCloudPoolParams
WithTimeout adds the timeout to the list cloud pool params
func (*ListCloudPoolParams) WriteToRequest ¶
func (o *ListCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCloudPoolReader ¶
type ListCloudPoolReader struct {
// contains filtered or unexported fields
}
ListCloudPoolReader is a Reader for the ListCloudPool structure.
func (*ListCloudPoolReader) ReadResponse ¶
func (o *ListCloudPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListCloudPoolUnauthorized ¶
type ListCloudPoolUnauthorized struct {
}ListCloudPoolUnauthorized handles this case with default header values.
Unauthorized
func NewListCloudPoolUnauthorized ¶
func NewListCloudPoolUnauthorized() *ListCloudPoolUnauthorized
NewListCloudPoolUnauthorized creates a ListCloudPoolUnauthorized with default headers values
func (*ListCloudPoolUnauthorized) Error ¶
func (o *ListCloudPoolUnauthorized) Error() string
func (*ListCloudPoolUnauthorized) GetPayload ¶
func (o *ListCloudPoolUnauthorized) GetPayload() *models.APIResult
type ReadCloudPoolBadRequest ¶
ReadCloudPoolBadRequest handles this case with default header values.
Bad Request
func NewReadCloudPoolBadRequest ¶
func NewReadCloudPoolBadRequest() *ReadCloudPoolBadRequest
NewReadCloudPoolBadRequest creates a ReadCloudPoolBadRequest with default headers values
func (*ReadCloudPoolBadRequest) Error ¶
func (o *ReadCloudPoolBadRequest) Error() string
func (*ReadCloudPoolBadRequest) GetPayload ¶
func (o *ReadCloudPoolBadRequest) GetPayload() *models.APIResult
type ReadCloudPoolConflict ¶
ReadCloudPoolConflict handles this case with default header values.
Conflict
func NewReadCloudPoolConflict ¶
func NewReadCloudPoolConflict() *ReadCloudPoolConflict
NewReadCloudPoolConflict creates a ReadCloudPoolConflict with default headers values
func (*ReadCloudPoolConflict) Error ¶
func (o *ReadCloudPoolConflict) Error() string
func (*ReadCloudPoolConflict) GetPayload ¶
func (o *ReadCloudPoolConflict) GetPayload() *models.APIResult
type ReadCloudPoolForbidden ¶
ReadCloudPoolForbidden handles this case with default header values.
Forbidden
func NewReadCloudPoolForbidden ¶
func NewReadCloudPoolForbidden() *ReadCloudPoolForbidden
NewReadCloudPoolForbidden creates a ReadCloudPoolForbidden with default headers values
func (*ReadCloudPoolForbidden) Error ¶
func (o *ReadCloudPoolForbidden) Error() string
func (*ReadCloudPoolForbidden) GetPayload ¶
func (o *ReadCloudPoolForbidden) GetPayload() *models.APIResult
type ReadCloudPoolInternalServerError ¶
ReadCloudPoolInternalServerError handles this case with default header values.
Internal Server Error
func NewReadCloudPoolInternalServerError ¶
func NewReadCloudPoolInternalServerError() *ReadCloudPoolInternalServerError
NewReadCloudPoolInternalServerError creates a ReadCloudPoolInternalServerError with default headers values
func (*ReadCloudPoolInternalServerError) Error ¶
func (o *ReadCloudPoolInternalServerError) Error() string
func (*ReadCloudPoolInternalServerError) GetPayload ¶
func (o *ReadCloudPoolInternalServerError) GetPayload() *models.APIResult
type ReadCloudPoolNotFound ¶
ReadCloudPoolNotFound handles this case with default header values.
Not Found
func NewReadCloudPoolNotFound ¶
func NewReadCloudPoolNotFound() *ReadCloudPoolNotFound
NewReadCloudPoolNotFound creates a ReadCloudPoolNotFound with default headers values
func (*ReadCloudPoolNotFound) Error ¶
func (o *ReadCloudPoolNotFound) Error() string
func (*ReadCloudPoolNotFound) GetPayload ¶
func (o *ReadCloudPoolNotFound) GetPayload() *models.APIResult
type ReadCloudPoolOK ¶
type ReadCloudPoolOK struct {
Payload *models.APIResultCloudPool
}
ReadCloudPoolOK handles this case with default header values.
OK
func NewReadCloudPoolOK ¶
func NewReadCloudPoolOK() *ReadCloudPoolOK
NewReadCloudPoolOK creates a ReadCloudPoolOK with default headers values
func (*ReadCloudPoolOK) Error ¶
func (o *ReadCloudPoolOK) Error() string
func (*ReadCloudPoolOK) GetPayload ¶
func (o *ReadCloudPoolOK) GetPayload() *models.APIResultCloudPool
type ReadCloudPoolParams ¶
type ReadCloudPoolParams struct { /*Fields Output fields */ Fields *string /*UUID uuid */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadCloudPoolParams contains all the parameters to send to the API endpoint for the read cloud pool operation typically these are written to a http.Request
func NewReadCloudPoolParams ¶
func NewReadCloudPoolParams() *ReadCloudPoolParams
NewReadCloudPoolParams creates a new ReadCloudPoolParams object with the default values initialized.
func NewReadCloudPoolParamsWithContext ¶
func NewReadCloudPoolParamsWithContext(ctx context.Context) *ReadCloudPoolParams
NewReadCloudPoolParamsWithContext creates a new ReadCloudPoolParams object with the default values initialized, and the ability to set a context for a request
func NewReadCloudPoolParamsWithHTTPClient ¶
func NewReadCloudPoolParamsWithHTTPClient(client *http.Client) *ReadCloudPoolParams
NewReadCloudPoolParamsWithHTTPClient creates a new ReadCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadCloudPoolParamsWithTimeout ¶
func NewReadCloudPoolParamsWithTimeout(timeout time.Duration) *ReadCloudPoolParams
NewReadCloudPoolParamsWithTimeout creates a new ReadCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadCloudPoolParams) SetContext ¶
func (o *ReadCloudPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the read cloud pool params
func (*ReadCloudPoolParams) SetFields ¶
func (o *ReadCloudPoolParams) SetFields(fields *string)
SetFields adds the fields to the read cloud pool params
func (*ReadCloudPoolParams) SetHTTPClient ¶
func (o *ReadCloudPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read cloud pool params
func (*ReadCloudPoolParams) SetTimeout ¶
func (o *ReadCloudPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read cloud pool params
func (*ReadCloudPoolParams) SetUUID ¶
func (o *ReadCloudPoolParams) SetUUID(uuid string)
SetUUID adds the uuid to the read cloud pool params
func (*ReadCloudPoolParams) WithContext ¶
func (o *ReadCloudPoolParams) WithContext(ctx context.Context) *ReadCloudPoolParams
WithContext adds the context to the read cloud pool params
func (*ReadCloudPoolParams) WithFields ¶
func (o *ReadCloudPoolParams) WithFields(fields *string) *ReadCloudPoolParams
WithFields adds the fields to the read cloud pool params
func (*ReadCloudPoolParams) WithHTTPClient ¶
func (o *ReadCloudPoolParams) WithHTTPClient(client *http.Client) *ReadCloudPoolParams
WithHTTPClient adds the HTTPClient to the read cloud pool params
func (*ReadCloudPoolParams) WithTimeout ¶
func (o *ReadCloudPoolParams) WithTimeout(timeout time.Duration) *ReadCloudPoolParams
WithTimeout adds the timeout to the read cloud pool params
func (*ReadCloudPoolParams) WithUUID ¶
func (o *ReadCloudPoolParams) WithUUID(uuid string) *ReadCloudPoolParams
WithUUID adds the uuid to the read cloud pool params
func (*ReadCloudPoolParams) WriteToRequest ¶
func (o *ReadCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadCloudPoolReader ¶
type ReadCloudPoolReader struct {
// contains filtered or unexported fields
}
ReadCloudPoolReader is a Reader for the ReadCloudPool structure.
func (*ReadCloudPoolReader) ReadResponse ¶
func (o *ReadCloudPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadCloudPoolUnauthorized ¶
type ReadCloudPoolUnauthorized struct {
}ReadCloudPoolUnauthorized handles this case with default header values.
Unauthorized
func NewReadCloudPoolUnauthorized ¶
func NewReadCloudPoolUnauthorized() *ReadCloudPoolUnauthorized
NewReadCloudPoolUnauthorized creates a ReadCloudPoolUnauthorized with default headers values
func (*ReadCloudPoolUnauthorized) Error ¶
func (o *ReadCloudPoolUnauthorized) Error() string
func (*ReadCloudPoolUnauthorized) GetPayload ¶
func (o *ReadCloudPoolUnauthorized) GetPayload() *models.APIResult
type UpdateCloudPoolBadRequest ¶
UpdateCloudPoolBadRequest handles this case with default header values.
Bad Request
func NewUpdateCloudPoolBadRequest ¶
func NewUpdateCloudPoolBadRequest() *UpdateCloudPoolBadRequest
NewUpdateCloudPoolBadRequest creates a UpdateCloudPoolBadRequest with default headers values
func (*UpdateCloudPoolBadRequest) Error ¶
func (o *UpdateCloudPoolBadRequest) Error() string
func (*UpdateCloudPoolBadRequest) GetPayload ¶
func (o *UpdateCloudPoolBadRequest) GetPayload() *models.APIResult
type UpdateCloudPoolConflict ¶
UpdateCloudPoolConflict handles this case with default header values.
Conflict
func NewUpdateCloudPoolConflict ¶
func NewUpdateCloudPoolConflict() *UpdateCloudPoolConflict
NewUpdateCloudPoolConflict creates a UpdateCloudPoolConflict with default headers values
func (*UpdateCloudPoolConflict) Error ¶
func (o *UpdateCloudPoolConflict) Error() string
func (*UpdateCloudPoolConflict) GetPayload ¶
func (o *UpdateCloudPoolConflict) GetPayload() *models.APIResult
type UpdateCloudPoolForbidden ¶
UpdateCloudPoolForbidden handles this case with default header values.
Forbidden
func NewUpdateCloudPoolForbidden ¶
func NewUpdateCloudPoolForbidden() *UpdateCloudPoolForbidden
NewUpdateCloudPoolForbidden creates a UpdateCloudPoolForbidden with default headers values
func (*UpdateCloudPoolForbidden) Error ¶
func (o *UpdateCloudPoolForbidden) Error() string
func (*UpdateCloudPoolForbidden) GetPayload ¶
func (o *UpdateCloudPoolForbidden) GetPayload() *models.APIResult
type UpdateCloudPoolInternalServerError ¶
UpdateCloudPoolInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateCloudPoolInternalServerError ¶
func NewUpdateCloudPoolInternalServerError() *UpdateCloudPoolInternalServerError
NewUpdateCloudPoolInternalServerError creates a UpdateCloudPoolInternalServerError with default headers values
func (*UpdateCloudPoolInternalServerError) Error ¶
func (o *UpdateCloudPoolInternalServerError) Error() string
func (*UpdateCloudPoolInternalServerError) GetPayload ¶
func (o *UpdateCloudPoolInternalServerError) GetPayload() *models.APIResult
type UpdateCloudPoolNotFound ¶
UpdateCloudPoolNotFound handles this case with default header values.
Not Found
func NewUpdateCloudPoolNotFound ¶
func NewUpdateCloudPoolNotFound() *UpdateCloudPoolNotFound
NewUpdateCloudPoolNotFound creates a UpdateCloudPoolNotFound with default headers values
func (*UpdateCloudPoolNotFound) Error ¶
func (o *UpdateCloudPoolNotFound) Error() string
func (*UpdateCloudPoolNotFound) GetPayload ¶
func (o *UpdateCloudPoolNotFound) GetPayload() *models.APIResult
type UpdateCloudPoolOK ¶
type UpdateCloudPoolOK struct {
Payload *models.APIResultCloudPool
}
UpdateCloudPoolOK handles this case with default header values.
OK
func NewUpdateCloudPoolOK ¶
func NewUpdateCloudPoolOK() *UpdateCloudPoolOK
NewUpdateCloudPoolOK creates a UpdateCloudPoolOK with default headers values
func (*UpdateCloudPoolOK) Error ¶
func (o *UpdateCloudPoolOK) Error() string
func (*UpdateCloudPoolOK) GetPayload ¶
func (o *UpdateCloudPoolOK) GetPayload() *models.APIResultCloudPool
type UpdateCloudPoolParams ¶
type UpdateCloudPoolParams struct { /*Resource resource */ Resource *models.CloudPool /*UUID uuid */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCloudPoolParams contains all the parameters to send to the API endpoint for the update cloud pool operation typically these are written to a http.Request
func NewUpdateCloudPoolParams ¶
func NewUpdateCloudPoolParams() *UpdateCloudPoolParams
NewUpdateCloudPoolParams creates a new UpdateCloudPoolParams object with the default values initialized.
func NewUpdateCloudPoolParamsWithContext ¶
func NewUpdateCloudPoolParamsWithContext(ctx context.Context) *UpdateCloudPoolParams
NewUpdateCloudPoolParamsWithContext creates a new UpdateCloudPoolParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateCloudPoolParamsWithHTTPClient ¶
func NewUpdateCloudPoolParamsWithHTTPClient(client *http.Client) *UpdateCloudPoolParams
NewUpdateCloudPoolParamsWithHTTPClient creates a new UpdateCloudPoolParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateCloudPoolParamsWithTimeout ¶
func NewUpdateCloudPoolParamsWithTimeout(timeout time.Duration) *UpdateCloudPoolParams
NewUpdateCloudPoolParamsWithTimeout creates a new UpdateCloudPoolParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateCloudPoolParams) SetContext ¶
func (o *UpdateCloudPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the update cloud pool params
func (*UpdateCloudPoolParams) SetHTTPClient ¶
func (o *UpdateCloudPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update cloud pool params
func (*UpdateCloudPoolParams) SetResource ¶
func (o *UpdateCloudPoolParams) SetResource(resource *models.CloudPool)
SetResource adds the resource to the update cloud pool params
func (*UpdateCloudPoolParams) SetTimeout ¶
func (o *UpdateCloudPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cloud pool params
func (*UpdateCloudPoolParams) SetUUID ¶
func (o *UpdateCloudPoolParams) SetUUID(uuid string)
SetUUID adds the uuid to the update cloud pool params
func (*UpdateCloudPoolParams) WithContext ¶
func (o *UpdateCloudPoolParams) WithContext(ctx context.Context) *UpdateCloudPoolParams
WithContext adds the context to the update cloud pool params
func (*UpdateCloudPoolParams) WithHTTPClient ¶
func (o *UpdateCloudPoolParams) WithHTTPClient(client *http.Client) *UpdateCloudPoolParams
WithHTTPClient adds the HTTPClient to the update cloud pool params
func (*UpdateCloudPoolParams) WithResource ¶
func (o *UpdateCloudPoolParams) WithResource(resource *models.CloudPool) *UpdateCloudPoolParams
WithResource adds the resource to the update cloud pool params
func (*UpdateCloudPoolParams) WithTimeout ¶
func (o *UpdateCloudPoolParams) WithTimeout(timeout time.Duration) *UpdateCloudPoolParams
WithTimeout adds the timeout to the update cloud pool params
func (*UpdateCloudPoolParams) WithUUID ¶
func (o *UpdateCloudPoolParams) WithUUID(uuid string) *UpdateCloudPoolParams
WithUUID adds the uuid to the update cloud pool params
func (*UpdateCloudPoolParams) WriteToRequest ¶
func (o *UpdateCloudPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCloudPoolReader ¶
type UpdateCloudPoolReader struct {
// contains filtered or unexported fields
}
UpdateCloudPoolReader is a Reader for the UpdateCloudPool structure.
func (*UpdateCloudPoolReader) ReadResponse ¶
func (o *UpdateCloudPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCloudPoolUnauthorized ¶
type UpdateCloudPoolUnauthorized struct {
}UpdateCloudPoolUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateCloudPoolUnauthorized ¶
func NewUpdateCloudPoolUnauthorized() *UpdateCloudPoolUnauthorized
NewUpdateCloudPoolUnauthorized creates a UpdateCloudPoolUnauthorized with default headers values
func (*UpdateCloudPoolUnauthorized) Error ¶
func (o *UpdateCloudPoolUnauthorized) Error() string
func (*UpdateCloudPoolUnauthorized) GetPayload ¶
func (o *UpdateCloudPoolUnauthorized) GetPayload() *models.APIResult
Source Files ¶
- cloud_pool_controller_client.go
- create_cloud_pool_parameters.go
- create_cloud_pool_responses.go
- delete_cloud_pool_parameters.go
- delete_cloud_pool_responses.go
- list_cloud_pool_parameters.go
- list_cloud_pool_responses.go
- read_cloud_pool_parameters.go
- read_cloud_pool_responses.go
- update_cloud_pool_parameters.go
- update_cloud_pool_responses.go