Documentation ¶
Index ¶
- type Client
- func (a *Client) GetLiveness(params *GetLivenessParams, authInfo runtime.ClientAuthInfoWriter) (*GetLivenessOK, error)
- func (a *Client) GetReadiness(params *GetReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*GetReadinessOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetLivenessDefault
- type GetLivenessNotFound
- type GetLivenessOK
- type GetLivenessParams
- func (o *GetLivenessParams) SetContext(ctx context.Context)
- func (o *GetLivenessParams) SetHTTPClient(client *http.Client)
- func (o *GetLivenessParams) SetTimeout(timeout time.Duration)
- func (o *GetLivenessParams) WithContext(ctx context.Context) *GetLivenessParams
- func (o *GetLivenessParams) WithHTTPClient(client *http.Client) *GetLivenessParams
- func (o *GetLivenessParams) WithTimeout(timeout time.Duration) *GetLivenessParams
- func (o *GetLivenessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLivenessReader
- type GetLivenessUnauthorized
- type GetReadinessDefault
- type GetReadinessNotFound
- type GetReadinessOK
- type GetReadinessParams
- func (o *GetReadinessParams) SetContext(ctx context.Context)
- func (o *GetReadinessParams) SetHTTPClient(client *http.Client)
- func (o *GetReadinessParams) SetTimeout(timeout time.Duration)
- func (o *GetReadinessParams) WithContext(ctx context.Context) *GetReadinessParams
- func (o *GetReadinessParams) WithHTTPClient(client *http.Client) *GetReadinessParams
- func (o *GetReadinessParams) WithTimeout(timeout time.Duration) *GetReadinessParams
- func (o *GetReadinessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReadinessReader
- type GetReadinessUnauthorized
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 healthz API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new healthz API client.
func (*Client) GetLiveness ¶
func (a *Client) GetLiveness(params *GetLivenessParams, authInfo runtime.ClientAuthInfoWriter) (*GetLivenessOK, error)
GetLiveness get liveness API
func (*Client) GetReadiness ¶
func (a *Client) GetReadiness(params *GetReadinessParams, authInfo runtime.ClientAuthInfoWriter) (*GetReadinessOK, error)
GetReadiness get readiness API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetLivenessDefault ¶
GetLivenessDefault handles this case with default header values.
generic error response
func NewGetLivenessDefault ¶
func NewGetLivenessDefault(code int) *GetLivenessDefault
NewGetLivenessDefault creates a GetLivenessDefault with default headers values
func (*GetLivenessDefault) Code ¶
func (o *GetLivenessDefault) Code() int
Code gets the status code for the get liveness default response
func (*GetLivenessDefault) Error ¶
func (o *GetLivenessDefault) Error() string
type GetLivenessNotFound ¶
GetLivenessNotFound handles this case with default header values.
resource not found
func NewGetLivenessNotFound ¶
func NewGetLivenessNotFound() *GetLivenessNotFound
NewGetLivenessNotFound creates a GetLivenessNotFound with default headers values
func (*GetLivenessNotFound) Error ¶
func (o *GetLivenessNotFound) Error() string
type GetLivenessOK ¶
GetLivenessOK handles this case with default header values.
return the liveness of app
func NewGetLivenessOK ¶
func NewGetLivenessOK() *GetLivenessOK
NewGetLivenessOK creates a GetLivenessOK with default headers values
func (*GetLivenessOK) Error ¶
func (o *GetLivenessOK) Error() string
type GetLivenessParams ¶
type GetLivenessParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLivenessParams contains all the parameters to send to the API endpoint for the get liveness operation typically these are written to a http.Request
func NewGetLivenessParams ¶
func NewGetLivenessParams() *GetLivenessParams
NewGetLivenessParams creates a new GetLivenessParams object with the default values initialized.
func NewGetLivenessParamsWithContext ¶
func NewGetLivenessParamsWithContext(ctx context.Context) *GetLivenessParams
NewGetLivenessParamsWithContext creates a new GetLivenessParams object with the default values initialized, and the ability to set a context for a request
func NewGetLivenessParamsWithHTTPClient ¶
func NewGetLivenessParamsWithHTTPClient(client *http.Client) *GetLivenessParams
NewGetLivenessParamsWithHTTPClient creates a new GetLivenessParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLivenessParamsWithTimeout ¶
func NewGetLivenessParamsWithTimeout(timeout time.Duration) *GetLivenessParams
NewGetLivenessParamsWithTimeout creates a new GetLivenessParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLivenessParams) SetContext ¶
func (o *GetLivenessParams) SetContext(ctx context.Context)
SetContext adds the context to the get liveness params
func (*GetLivenessParams) SetHTTPClient ¶
func (o *GetLivenessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get liveness params
func (*GetLivenessParams) SetTimeout ¶
func (o *GetLivenessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get liveness params
func (*GetLivenessParams) WithContext ¶
func (o *GetLivenessParams) WithContext(ctx context.Context) *GetLivenessParams
WithContext adds the context to the get liveness params
func (*GetLivenessParams) WithHTTPClient ¶
func (o *GetLivenessParams) WithHTTPClient(client *http.Client) *GetLivenessParams
WithHTTPClient adds the HTTPClient to the get liveness params
func (*GetLivenessParams) WithTimeout ¶
func (o *GetLivenessParams) WithTimeout(timeout time.Duration) *GetLivenessParams
WithTimeout adds the timeout to the get liveness params
func (*GetLivenessParams) WriteToRequest ¶
func (o *GetLivenessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLivenessReader ¶
type GetLivenessReader struct {
// contains filtered or unexported fields
}
GetLivenessReader is a Reader for the GetLiveness structure.
func (*GetLivenessReader) ReadResponse ¶
func (o *GetLivenessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLivenessUnauthorized ¶
type GetLivenessUnauthorized struct {
}GetLivenessUnauthorized handles this case with default header values.
unauthorized
func NewGetLivenessUnauthorized ¶
func NewGetLivenessUnauthorized() *GetLivenessUnauthorized
NewGetLivenessUnauthorized creates a GetLivenessUnauthorized with default headers values
func (*GetLivenessUnauthorized) Error ¶
func (o *GetLivenessUnauthorized) Error() string
type GetReadinessDefault ¶
GetReadinessDefault handles this case with default header values.
generic error response
func NewGetReadinessDefault ¶
func NewGetReadinessDefault(code int) *GetReadinessDefault
NewGetReadinessDefault creates a GetReadinessDefault with default headers values
func (*GetReadinessDefault) Code ¶
func (o *GetReadinessDefault) Code() int
Code gets the status code for the get readiness default response
func (*GetReadinessDefault) Error ¶
func (o *GetReadinessDefault) Error() string
type GetReadinessNotFound ¶
GetReadinessNotFound handles this case with default header values.
resource not found
func NewGetReadinessNotFound ¶
func NewGetReadinessNotFound() *GetReadinessNotFound
NewGetReadinessNotFound creates a GetReadinessNotFound with default headers values
func (*GetReadinessNotFound) Error ¶
func (o *GetReadinessNotFound) Error() string
type GetReadinessOK ¶
GetReadinessOK handles this case with default header values.
return the readiness of app
func NewGetReadinessOK ¶
func NewGetReadinessOK() *GetReadinessOK
NewGetReadinessOK creates a GetReadinessOK with default headers values
func (*GetReadinessOK) Error ¶
func (o *GetReadinessOK) Error() string
type GetReadinessParams ¶
type GetReadinessParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReadinessParams contains all the parameters to send to the API endpoint for the get readiness operation typically these are written to a http.Request
func NewGetReadinessParams ¶
func NewGetReadinessParams() *GetReadinessParams
NewGetReadinessParams creates a new GetReadinessParams object with the default values initialized.
func NewGetReadinessParamsWithContext ¶
func NewGetReadinessParamsWithContext(ctx context.Context) *GetReadinessParams
NewGetReadinessParamsWithContext creates a new GetReadinessParams object with the default values initialized, and the ability to set a context for a request
func NewGetReadinessParamsWithHTTPClient ¶
func NewGetReadinessParamsWithHTTPClient(client *http.Client) *GetReadinessParams
NewGetReadinessParamsWithHTTPClient creates a new GetReadinessParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetReadinessParamsWithTimeout ¶
func NewGetReadinessParamsWithTimeout(timeout time.Duration) *GetReadinessParams
NewGetReadinessParamsWithTimeout creates a new GetReadinessParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetReadinessParams) SetContext ¶
func (o *GetReadinessParams) SetContext(ctx context.Context)
SetContext adds the context to the get readiness params
func (*GetReadinessParams) SetHTTPClient ¶
func (o *GetReadinessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get readiness params
func (*GetReadinessParams) SetTimeout ¶
func (o *GetReadinessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get readiness params
func (*GetReadinessParams) WithContext ¶
func (o *GetReadinessParams) WithContext(ctx context.Context) *GetReadinessParams
WithContext adds the context to the get readiness params
func (*GetReadinessParams) WithHTTPClient ¶
func (o *GetReadinessParams) WithHTTPClient(client *http.Client) *GetReadinessParams
WithHTTPClient adds the HTTPClient to the get readiness params
func (*GetReadinessParams) WithTimeout ¶
func (o *GetReadinessParams) WithTimeout(timeout time.Duration) *GetReadinessParams
WithTimeout adds the timeout to the get readiness params
func (*GetReadinessParams) WriteToRequest ¶
func (o *GetReadinessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReadinessReader ¶
type GetReadinessReader struct {
// contains filtered or unexported fields
}
GetReadinessReader is a Reader for the GetReadiness structure.
func (*GetReadinessReader) ReadResponse ¶
func (o *GetReadinessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReadinessUnauthorized ¶
type GetReadinessUnauthorized struct {
}GetReadinessUnauthorized handles this case with default header values.
unauthorized
func NewGetReadinessUnauthorized ¶
func NewGetReadinessUnauthorized() *GetReadinessUnauthorized
NewGetReadinessUnauthorized creates a GetReadinessUnauthorized with default headers values
func (*GetReadinessUnauthorized) Error ¶
func (o *GetReadinessUnauthorized) Error() string