healthz_service

package
v0.0.0-...-13f83cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

Code gets the status code for the healthz service get healthz default response

func (*HealthzServiceGetHealthzDefault) Error

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

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

WithContext adds the context to the healthz service get healthz params

func (*HealthzServiceGetHealthzParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the healthz service get healthz params

func (*HealthzServiceGetHealthzParams) WithTimeout

WithTimeout adds the timeout to the healthz service get healthz params

func (*HealthzServiceGetHealthzParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL