Documentation ¶
Index ¶
- type Client
- type HealthzServiceGetHealthzDefault
- type HealthzServiceGetHealthzOK
- type HealthzServiceGetHealthzParams
- func NewHealthzServiceGetHealthzParams() *HealthzServiceGetHealthzParams
- func NewHealthzServiceGetHealthzParamsWithContext(ctx context.Context) *HealthzServiceGetHealthzParams
- func NewHealthzServiceGetHealthzParamsWithHTTPClient(client *http.Client) *HealthzServiceGetHealthzParams
- func NewHealthzServiceGetHealthzParamsWithTimeout(timeout time.Duration) *HealthzServiceGetHealthzParams
- func (o *HealthzServiceGetHealthzParams) SetContext(ctx context.Context)
- func (o *HealthzServiceGetHealthzParams) SetHTTPClient(client *http.Client)
- func (o *HealthzServiceGetHealthzParams) SetTimeout(timeout time.Duration)
- func (o *HealthzServiceGetHealthzParams) WithContext(ctx context.Context) *HealthzServiceGetHealthzParams
- func (o *HealthzServiceGetHealthzParams) WithHTTPClient(client *http.Client) *HealthzServiceGetHealthzParams
- func (o *HealthzServiceGetHealthzParams) WithTimeout(timeout time.Duration) *HealthzServiceGetHealthzParams
- func (o *HealthzServiceGetHealthzParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HealthzServiceGetHealthzReader
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 service API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new healthz service API client.
func (*Client) HealthzServiceGetHealthz ¶
func (a *Client) HealthzServiceGetHealthz(params *HealthzServiceGetHealthzParams, authInfo runtime.ClientAuthInfoWriter) (*HealthzServiceGetHealthzOK, error)
HealthzServiceGetHealthz gets healthz data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type HealthzServiceGetHealthzDefault ¶
type HealthzServiceGetHealthzDefault struct { Payload *healthz_model.RuntimeError // contains filtered or unexported fields }
HealthzServiceGetHealthzDefault handles this case with default header values.
An unexpected error response.
func NewHealthzServiceGetHealthzDefault ¶
func NewHealthzServiceGetHealthzDefault(code int) *HealthzServiceGetHealthzDefault
NewHealthzServiceGetHealthzDefault creates a HealthzServiceGetHealthzDefault with default headers values
func (*HealthzServiceGetHealthzDefault) Code ¶
func (o *HealthzServiceGetHealthzDefault) Code() int
Code gets the status code for the healthz service get healthz default response
func (*HealthzServiceGetHealthzDefault) Error ¶
func (o *HealthzServiceGetHealthzDefault) Error() string
type HealthzServiceGetHealthzOK ¶
type HealthzServiceGetHealthzOK struct {
Payload *healthz_model.V2beta1GetHealthzResponse
}
HealthzServiceGetHealthzOK handles this case with default header values.
A successful response.
func NewHealthzServiceGetHealthzOK ¶
func NewHealthzServiceGetHealthzOK() *HealthzServiceGetHealthzOK
NewHealthzServiceGetHealthzOK creates a HealthzServiceGetHealthzOK with default headers values
func (*HealthzServiceGetHealthzOK) Error ¶
func (o *HealthzServiceGetHealthzOK) Error() string
type HealthzServiceGetHealthzParams ¶
type HealthzServiceGetHealthzParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HealthzServiceGetHealthzParams contains all the parameters to send to the API endpoint for the healthz service get healthz operation typically these are written to a http.Request
func NewHealthzServiceGetHealthzParams ¶
func NewHealthzServiceGetHealthzParams() *HealthzServiceGetHealthzParams
NewHealthzServiceGetHealthzParams creates a new HealthzServiceGetHealthzParams object with the default values initialized.
func NewHealthzServiceGetHealthzParamsWithContext ¶
func NewHealthzServiceGetHealthzParamsWithContext(ctx context.Context) *HealthzServiceGetHealthzParams
NewHealthzServiceGetHealthzParamsWithContext creates a new HealthzServiceGetHealthzParams object with the default values initialized, and the ability to set a context for a request
func NewHealthzServiceGetHealthzParamsWithHTTPClient ¶
func NewHealthzServiceGetHealthzParamsWithHTTPClient(client *http.Client) *HealthzServiceGetHealthzParams
NewHealthzServiceGetHealthzParamsWithHTTPClient creates a new HealthzServiceGetHealthzParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewHealthzServiceGetHealthzParamsWithTimeout ¶
func NewHealthzServiceGetHealthzParamsWithTimeout(timeout time.Duration) *HealthzServiceGetHealthzParams
NewHealthzServiceGetHealthzParamsWithTimeout creates a new HealthzServiceGetHealthzParams object with the default values initialized, and the ability to set a timeout on a request
func (*HealthzServiceGetHealthzParams) SetContext ¶
func (o *HealthzServiceGetHealthzParams) SetContext(ctx context.Context)
SetContext adds the context to the healthz service get healthz params
func (*HealthzServiceGetHealthzParams) SetHTTPClient ¶
func (o *HealthzServiceGetHealthzParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the healthz service get healthz params
func (*HealthzServiceGetHealthzParams) SetTimeout ¶
func (o *HealthzServiceGetHealthzParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the healthz service get healthz params
func (*HealthzServiceGetHealthzParams) WithContext ¶
func (o *HealthzServiceGetHealthzParams) WithContext(ctx context.Context) *HealthzServiceGetHealthzParams
WithContext adds the context to the healthz service get healthz params
func (*HealthzServiceGetHealthzParams) WithHTTPClient ¶
func (o *HealthzServiceGetHealthzParams) WithHTTPClient(client *http.Client) *HealthzServiceGetHealthzParams
WithHTTPClient adds the HTTPClient to the healthz service get healthz params
func (*HealthzServiceGetHealthzParams) WithTimeout ¶
func (o *HealthzServiceGetHealthzParams) WithTimeout(timeout time.Duration) *HealthzServiceGetHealthzParams
WithTimeout adds the timeout to the healthz service get healthz params
func (*HealthzServiceGetHealthzParams) WriteToRequest ¶
func (o *HealthzServiceGetHealthzParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HealthzServiceGetHealthzReader ¶
type HealthzServiceGetHealthzReader struct {
// contains filtered or unexported fields
}
HealthzServiceGetHealthzReader is a Reader for the HealthzServiceGetHealthz structure.
func (*HealthzServiceGetHealthzReader) ReadResponse ¶
func (o *HealthzServiceGetHealthzReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.