Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type PatchUsingPATCHOK
- type PatchUsingPATCHParams
- func NewPatchUsingPATCHParams() *PatchUsingPATCHParams
- func NewPatchUsingPATCHParamsWithContext(ctx context.Context) *PatchUsingPATCHParams
- func NewPatchUsingPATCHParamsWithHTTPClient(client *http.Client) *PatchUsingPATCHParams
- func NewPatchUsingPATCHParamsWithTimeout(timeout time.Duration) *PatchUsingPATCHParams
- func (o *PatchUsingPATCHParams) SetContext(ctx context.Context)
- func (o *PatchUsingPATCHParams) SetDefaults()
- func (o *PatchUsingPATCHParams) SetHTTPClient(client *http.Client)
- func (o *PatchUsingPATCHParams) SetRr(rr *models.ResumeRequest)
- func (o *PatchUsingPATCHParams) SetTimeout(timeout time.Duration)
- func (o *PatchUsingPATCHParams) WithContext(ctx context.Context) *PatchUsingPATCHParams
- func (o *PatchUsingPATCHParams) WithDefaults() *PatchUsingPATCHParams
- func (o *PatchUsingPATCHParams) WithHTTPClient(client *http.Client) *PatchUsingPATCHParams
- func (o *PatchUsingPATCHParams) WithRr(rr *models.ResumeRequest) *PatchUsingPATCHParams
- func (o *PatchUsingPATCHParams) WithTimeout(timeout time.Duration) *PatchUsingPATCHParams
- func (o *PatchUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchUsingPATCHReader
- type PostUsingPOSTOK
- type PostUsingPOSTParams
- func (o *PostUsingPOSTParams) SetContext(ctx context.Context)
- func (o *PostUsingPOSTParams) SetDefaults()
- func (o *PostUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *PostUsingPOSTParams) SetRequest(request *models.ResourceRequest)
- func (o *PostUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *PostUsingPOSTParams) WithContext(ctx context.Context) *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WithDefaults() *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WithHTTPClient(client *http.Client) *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WithRequest(request *models.ResourceRequest) *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WithTimeout(timeout time.Duration) *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostUsingPOSTReader
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 provider requests API
func (*Client) PatchUsingPATCH ¶
func (a *Client) PatchUsingPATCH(params *PatchUsingPATCHParams, opts ...ClientOption) (*PatchUsingPATCHOK, error)
PatchUsingPATCH handles unfinished requests
Handles unfinished requests that are stopped because of service shutdown or a service outage.
func (*Client) PostUsingPOST ¶
func (a *Client) PostUsingPOST(params *PostUsingPOSTParams, opts ...ClientOption) (*PostUsingPOSTOK, error)
PostUsingPOST handles blueprint resources requests
Handles blueprint requests for resource operations - allocation, provisioning, removal
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { PatchUsingPATCH(params *PatchUsingPATCHParams, opts ...ClientOption) (*PatchUsingPATCHOK, error) PostUsingPOST(params *PostUsingPOSTParams, opts ...ClientOption) (*PostUsingPOSTOK, 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 provider requests API client.
type PatchUsingPATCHOK ¶
type PatchUsingPATCHOK struct {
Payload *models.ResourceResponse
}
PatchUsingPATCHOK describes a response with status code 200, with default header values.
OK
func NewPatchUsingPATCHOK ¶
func NewPatchUsingPATCHOK() *PatchUsingPATCHOK
NewPatchUsingPATCHOK creates a PatchUsingPATCHOK with default headers values
func (*PatchUsingPATCHOK) Error ¶
func (o *PatchUsingPATCHOK) Error() string
func (*PatchUsingPATCHOK) GetPayload ¶
func (o *PatchUsingPATCHOK) GetPayload() *models.ResourceResponse
type PatchUsingPATCHParams ¶
type PatchUsingPATCHParams struct { /* Rr. rr */ Rr *models.ResumeRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchUsingPATCHParams contains all the parameters to send to the API endpoint
for the patch using p a t c h operation. Typically these are written to a http.Request.
func NewPatchUsingPATCHParams ¶
func NewPatchUsingPATCHParams() *PatchUsingPATCHParams
NewPatchUsingPATCHParams creates a new PatchUsingPATCHParams 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 NewPatchUsingPATCHParamsWithContext ¶
func NewPatchUsingPATCHParamsWithContext(ctx context.Context) *PatchUsingPATCHParams
NewPatchUsingPATCHParamsWithContext creates a new PatchUsingPATCHParams object with the ability to set a context for a request.
func NewPatchUsingPATCHParamsWithHTTPClient ¶
func NewPatchUsingPATCHParamsWithHTTPClient(client *http.Client) *PatchUsingPATCHParams
NewPatchUsingPATCHParamsWithHTTPClient creates a new PatchUsingPATCHParams object with the ability to set a custom HTTPClient for a request.
func NewPatchUsingPATCHParamsWithTimeout ¶
func NewPatchUsingPATCHParamsWithTimeout(timeout time.Duration) *PatchUsingPATCHParams
NewPatchUsingPATCHParamsWithTimeout creates a new PatchUsingPATCHParams object with the ability to set a timeout on a request.
func (*PatchUsingPATCHParams) SetContext ¶
func (o *PatchUsingPATCHParams) SetContext(ctx context.Context)
SetContext adds the context to the patch using p a t c h params
func (*PatchUsingPATCHParams) SetDefaults ¶
func (o *PatchUsingPATCHParams) SetDefaults()
SetDefaults hydrates default values in the patch using p a t c h params (not the query body).
All values with no default are reset to their zero value.
func (*PatchUsingPATCHParams) SetHTTPClient ¶
func (o *PatchUsingPATCHParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch using p a t c h params
func (*PatchUsingPATCHParams) SetRr ¶
func (o *PatchUsingPATCHParams) SetRr(rr *models.ResumeRequest)
SetRr adds the rr to the patch using p a t c h params
func (*PatchUsingPATCHParams) SetTimeout ¶
func (o *PatchUsingPATCHParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch using p a t c h params
func (*PatchUsingPATCHParams) WithContext ¶
func (o *PatchUsingPATCHParams) WithContext(ctx context.Context) *PatchUsingPATCHParams
WithContext adds the context to the patch using p a t c h params
func (*PatchUsingPATCHParams) WithDefaults ¶
func (o *PatchUsingPATCHParams) WithDefaults() *PatchUsingPATCHParams
WithDefaults hydrates default values in the patch using p a t c h params (not the query body).
All values with no default are reset to their zero value.
func (*PatchUsingPATCHParams) WithHTTPClient ¶
func (o *PatchUsingPATCHParams) WithHTTPClient(client *http.Client) *PatchUsingPATCHParams
WithHTTPClient adds the HTTPClient to the patch using p a t c h params
func (*PatchUsingPATCHParams) WithRr ¶
func (o *PatchUsingPATCHParams) WithRr(rr *models.ResumeRequest) *PatchUsingPATCHParams
WithRr adds the rr to the patch using p a t c h params
func (*PatchUsingPATCHParams) WithTimeout ¶
func (o *PatchUsingPATCHParams) WithTimeout(timeout time.Duration) *PatchUsingPATCHParams
WithTimeout adds the timeout to the patch using p a t c h params
func (*PatchUsingPATCHParams) WriteToRequest ¶
func (o *PatchUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchUsingPATCHReader ¶
type PatchUsingPATCHReader struct {
// contains filtered or unexported fields
}
PatchUsingPATCHReader is a Reader for the PatchUsingPATCH structure.
func (*PatchUsingPATCHReader) ReadResponse ¶
func (o *PatchUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostUsingPOSTOK ¶
type PostUsingPOSTOK struct {
Payload *models.ResourceResponse
}
PostUsingPOSTOK describes a response with status code 200, with default header values.
OK
func NewPostUsingPOSTOK ¶
func NewPostUsingPOSTOK() *PostUsingPOSTOK
NewPostUsingPOSTOK creates a PostUsingPOSTOK with default headers values
func (*PostUsingPOSTOK) Error ¶
func (o *PostUsingPOSTOK) Error() string
func (*PostUsingPOSTOK) GetPayload ¶
func (o *PostUsingPOSTOK) GetPayload() *models.ResourceResponse
type PostUsingPOSTParams ¶
type PostUsingPOSTParams struct { /* Request. request */ Request *models.ResourceRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostUsingPOSTParams contains all the parameters to send to the API endpoint
for the post using p o s t operation. Typically these are written to a http.Request.
func NewPostUsingPOSTParams ¶
func NewPostUsingPOSTParams() *PostUsingPOSTParams
NewPostUsingPOSTParams creates a new PostUsingPOSTParams 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 NewPostUsingPOSTParamsWithContext ¶
func NewPostUsingPOSTParamsWithContext(ctx context.Context) *PostUsingPOSTParams
NewPostUsingPOSTParamsWithContext creates a new PostUsingPOSTParams object with the ability to set a context for a request.
func NewPostUsingPOSTParamsWithHTTPClient ¶
func NewPostUsingPOSTParamsWithHTTPClient(client *http.Client) *PostUsingPOSTParams
NewPostUsingPOSTParamsWithHTTPClient creates a new PostUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewPostUsingPOSTParamsWithTimeout ¶
func NewPostUsingPOSTParamsWithTimeout(timeout time.Duration) *PostUsingPOSTParams
NewPostUsingPOSTParamsWithTimeout creates a new PostUsingPOSTParams object with the ability to set a timeout on a request.
func (*PostUsingPOSTParams) SetContext ¶
func (o *PostUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the post using p o s t params
func (*PostUsingPOSTParams) SetDefaults ¶
func (o *PostUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the post using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*PostUsingPOSTParams) SetHTTPClient ¶
func (o *PostUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post using p o s t params
func (*PostUsingPOSTParams) SetRequest ¶
func (o *PostUsingPOSTParams) SetRequest(request *models.ResourceRequest)
SetRequest adds the request to the post using p o s t params
func (*PostUsingPOSTParams) SetTimeout ¶
func (o *PostUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post using p o s t params
func (*PostUsingPOSTParams) WithContext ¶
func (o *PostUsingPOSTParams) WithContext(ctx context.Context) *PostUsingPOSTParams
WithContext adds the context to the post using p o s t params
func (*PostUsingPOSTParams) WithDefaults ¶
func (o *PostUsingPOSTParams) WithDefaults() *PostUsingPOSTParams
WithDefaults hydrates default values in the post using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*PostUsingPOSTParams) WithHTTPClient ¶
func (o *PostUsingPOSTParams) WithHTTPClient(client *http.Client) *PostUsingPOSTParams
WithHTTPClient adds the HTTPClient to the post using p o s t params
func (*PostUsingPOSTParams) WithRequest ¶
func (o *PostUsingPOSTParams) WithRequest(request *models.ResourceRequest) *PostUsingPOSTParams
WithRequest adds the request to the post using p o s t params
func (*PostUsingPOSTParams) WithTimeout ¶
func (o *PostUsingPOSTParams) WithTimeout(timeout time.Duration) *PostUsingPOSTParams
WithTimeout adds the timeout to the post using p o s t params
func (*PostUsingPOSTParams) WriteToRequest ¶
func (o *PostUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostUsingPOSTReader ¶
type PostUsingPOSTReader struct {
// contains filtered or unexported fields
}
PostUsingPOSTReader is a Reader for the PostUsingPOST structure.
func (*PostUsingPOSTReader) ReadResponse ¶
func (o *PostUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.