Documentation
¶
Index ¶
- type Client
- type GetReadyDefault
- type GetReadyOK
- type GetReadyParams
- func (o *GetReadyParams) SetContext(ctx context.Context)
- func (o *GetReadyParams) SetHTTPClient(client *http.Client)
- func (o *GetReadyParams) SetTimeout(timeout time.Duration)
- func (o *GetReadyParams) WithContext(ctx context.Context) *GetReadyParams
- func (o *GetReadyParams) WithHTTPClient(client *http.Client) *GetReadyParams
- func (o *GetReadyParams) WithTimeout(timeout time.Duration) *GetReadyParams
- func (o *GetReadyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReadyReader
- type GetReadyServiceUnavailable
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 readiness API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new readiness API client.
func (*Client) GetReady ¶
func (a *Client) GetReady(params *GetReadyParams) (*GetReadyOK, error)
GetReady get ready API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetReadyDefault ¶
GetReadyDefault handles this case with default header values.
generic error response
func NewGetReadyDefault ¶
func NewGetReadyDefault(code int) *GetReadyDefault
NewGetReadyDefault creates a GetReadyDefault with default headers values
func (*GetReadyDefault) Code ¶
func (o *GetReadyDefault) Code() int
Code gets the status code for the get ready default response
func (*GetReadyDefault) Error ¶
func (o *GetReadyDefault) Error() string
type GetReadyOK ¶
type GetReadyOK struct { }
GetReadyOK handles this case with default header values.
readiness probe
func NewGetReadyOK ¶
func NewGetReadyOK() *GetReadyOK
NewGetReadyOK creates a GetReadyOK with default headers values
func (*GetReadyOK) Error ¶
func (o *GetReadyOK) Error() string
type GetReadyParams ¶
type GetReadyParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReadyParams contains all the parameters to send to the API endpoint for the get ready operation typically these are written to a http.Request
func NewGetReadyParams ¶
func NewGetReadyParams() *GetReadyParams
NewGetReadyParams creates a new GetReadyParams object with the default values initialized.
func NewGetReadyParamsWithContext ¶
func NewGetReadyParamsWithContext(ctx context.Context) *GetReadyParams
NewGetReadyParamsWithContext creates a new GetReadyParams object with the default values initialized, and the ability to set a context for a request
func NewGetReadyParamsWithHTTPClient ¶
func NewGetReadyParamsWithHTTPClient(client *http.Client) *GetReadyParams
NewGetReadyParamsWithHTTPClient creates a new GetReadyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetReadyParamsWithTimeout ¶
func NewGetReadyParamsWithTimeout(timeout time.Duration) *GetReadyParams
NewGetReadyParamsWithTimeout creates a new GetReadyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetReadyParams) SetContext ¶
func (o *GetReadyParams) SetContext(ctx context.Context)
SetContext adds the context to the get ready params
func (*GetReadyParams) SetHTTPClient ¶
func (o *GetReadyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ready params
func (*GetReadyParams) SetTimeout ¶
func (o *GetReadyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ready params
func (*GetReadyParams) WithContext ¶
func (o *GetReadyParams) WithContext(ctx context.Context) *GetReadyParams
WithContext adds the context to the get ready params
func (*GetReadyParams) WithHTTPClient ¶
func (o *GetReadyParams) WithHTTPClient(client *http.Client) *GetReadyParams
WithHTTPClient adds the HTTPClient to the get ready params
func (*GetReadyParams) WithTimeout ¶
func (o *GetReadyParams) WithTimeout(timeout time.Duration) *GetReadyParams
WithTimeout adds the timeout to the get ready params
func (*GetReadyParams) WriteToRequest ¶
func (o *GetReadyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReadyReader ¶
type GetReadyReader struct {
// contains filtered or unexported fields
}
GetReadyReader is a Reader for the GetReady structure.
func (*GetReadyReader) ReadResponse ¶
func (o *GetReadyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReadyServiceUnavailable ¶
type GetReadyServiceUnavailable struct {
}GetReadyServiceUnavailable handles this case with default header values.
if not ready
func NewGetReadyServiceUnavailable ¶
func NewGetReadyServiceUnavailable() *GetReadyServiceUnavailable
NewGetReadyServiceUnavailable creates a GetReadyServiceUnavailable with default headers values
func (*GetReadyServiceUnavailable) Error ¶
func (o *GetReadyServiceUnavailable) Error() string