Documentation
¶
Index ¶
- type CheckReadinessOK
- type CheckReadinessParams
- func NewCheckReadinessParams() *CheckReadinessParams
- func NewCheckReadinessParamsWithContext(ctx context.Context) *CheckReadinessParams
- func NewCheckReadinessParamsWithHTTPClient(client *http.Client) *CheckReadinessParams
- func NewCheckReadinessParamsWithTimeout(timeout time.Duration) *CheckReadinessParams
- func (o *CheckReadinessParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CheckReadinessParams) SetContext(ctx context.Context)
- func (o *CheckReadinessParams) SetHTTPClient(client *http.Client)
- func (o *CheckReadinessParams) SetTimeout(timeout time.Duration)
- func (o *CheckReadinessParams) WithContext(ctx context.Context) *CheckReadinessParams
- func (o *CheckReadinessParams) WithHTTPClient(client *http.Client) *CheckReadinessParams
- func (o *CheckReadinessParams) WithTimeout(timeout time.Duration) *CheckReadinessParams
- func (o *CheckReadinessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckReadinessReader
- type Client
- func (a *Client) CheckReadiness(params *CheckReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*CheckReadinessOK, error)
- func (a *Client) CheckReadinessShort(params *CheckReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*CheckReadinessOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckReadinessOK ¶
type CheckReadinessOK struct {
Payload *legalclientmodels.LegalReadinessStatusResponse
}
CheckReadinessOK handles this case with default header values.
successful operation
func NewCheckReadinessOK ¶
func NewCheckReadinessOK() *CheckReadinessOK
NewCheckReadinessOK creates a CheckReadinessOK with default headers values
func (*CheckReadinessOK) Error ¶
func (o *CheckReadinessOK) Error() string
func (*CheckReadinessOK) GetPayload ¶
func (o *CheckReadinessOK) GetPayload() *legalclientmodels.LegalReadinessStatusResponse
type CheckReadinessParams ¶
type CheckReadinessParams struct { AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckReadinessParams contains all the parameters to send to the API endpoint for the check readiness operation typically these are written to a http.Request
func NewCheckReadinessParams ¶
func NewCheckReadinessParams() *CheckReadinessParams
NewCheckReadinessParams creates a new CheckReadinessParams object with the default values initialized.
func NewCheckReadinessParamsWithContext ¶
func NewCheckReadinessParamsWithContext(ctx context.Context) *CheckReadinessParams
NewCheckReadinessParamsWithContext creates a new CheckReadinessParams object with the default values initialized, and the ability to set a context for a request
func NewCheckReadinessParamsWithHTTPClient ¶
func NewCheckReadinessParamsWithHTTPClient(client *http.Client) *CheckReadinessParams
NewCheckReadinessParamsWithHTTPClient creates a new CheckReadinessParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCheckReadinessParamsWithTimeout ¶
func NewCheckReadinessParamsWithTimeout(timeout time.Duration) *CheckReadinessParams
NewCheckReadinessParamsWithTimeout creates a new CheckReadinessParams object with the default values initialized, and the ability to set a timeout on a request
func (*CheckReadinessParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CheckReadinessParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the check readiness params
func (*CheckReadinessParams) SetContext ¶
func (o *CheckReadinessParams) SetContext(ctx context.Context)
SetContext adds the context to the check readiness params
func (*CheckReadinessParams) SetHTTPClient ¶
func (o *CheckReadinessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check readiness params
func (*CheckReadinessParams) SetTimeout ¶
func (o *CheckReadinessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check readiness params
func (*CheckReadinessParams) WithContext ¶
func (o *CheckReadinessParams) WithContext(ctx context.Context) *CheckReadinessParams
WithContext adds the context to the check readiness params
func (*CheckReadinessParams) WithHTTPClient ¶
func (o *CheckReadinessParams) WithHTTPClient(client *http.Client) *CheckReadinessParams
WithHTTPClient adds the HTTPClient to the check readiness params
func (*CheckReadinessParams) WithTimeout ¶
func (o *CheckReadinessParams) WithTimeout(timeout time.Duration) *CheckReadinessParams
WithTimeout adds the timeout to the check readiness params
func (*CheckReadinessParams) WriteToRequest ¶
func (o *CheckReadinessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckReadinessReader ¶
type CheckReadinessReader struct {
// contains filtered or unexported fields
}
CheckReadinessReader is a Reader for the CheckReadiness structure.
func (*CheckReadinessReader) ReadResponse ¶
func (o *CheckReadinessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for utility API
func (*Client) CheckReadiness ¶
func (a *Client) CheckReadiness(params *CheckReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*CheckReadinessOK, error)
CheckReadiness checks legal data readiness
Readiness status defined as at least one legal basePolicy is present and having active basePolicy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:LEGAL", action=2 (READ)</li></ul>
func (*Client) CheckReadinessShort ¶ added in v0.8.0
func (a *Client) CheckReadinessShort(params *CheckReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*CheckReadinessOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CheckReadiness(params *CheckReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*CheckReadinessOK, error) CheckReadinessShort(params *CheckReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*CheckReadinessOK, 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 utility API client.