Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetHealthzInternalServerError
- func (o *GetHealthzInternalServerError) Error() string
- func (o *GetHealthzInternalServerError) GetPayload() string
- func (o *GetHealthzInternalServerError) IsClientError() bool
- func (o *GetHealthzInternalServerError) IsCode(code int) bool
- func (o *GetHealthzInternalServerError) IsRedirect() bool
- func (o *GetHealthzInternalServerError) IsServerError() bool
- func (o *GetHealthzInternalServerError) IsSuccess() bool
- func (o *GetHealthzInternalServerError) String() string
- type GetHealthzNotImplemented
- func (o *GetHealthzNotImplemented) Error() string
- func (o *GetHealthzNotImplemented) GetPayload() string
- func (o *GetHealthzNotImplemented) IsClientError() bool
- func (o *GetHealthzNotImplemented) IsCode(code int) bool
- func (o *GetHealthzNotImplemented) IsRedirect() bool
- func (o *GetHealthzNotImplemented) IsServerError() bool
- func (o *GetHealthzNotImplemented) IsSuccess() bool
- func (o *GetHealthzNotImplemented) String() string
- type GetHealthzOK
- func (o *GetHealthzOK) Error() string
- func (o *GetHealthzOK) GetPayload() string
- func (o *GetHealthzOK) IsClientError() bool
- func (o *GetHealthzOK) IsCode(code int) bool
- func (o *GetHealthzOK) IsRedirect() bool
- func (o *GetHealthzOK) IsServerError() bool
- func (o *GetHealthzOK) IsSuccess() bool
- func (o *GetHealthzOK) String() string
- type GetHealthzParams
- func (o *GetHealthzParams) SetContext(ctx context.Context)
- func (o *GetHealthzParams) SetDefaults()
- func (o *GetHealthzParams) SetHTTPClient(client *http.Client)
- func (o *GetHealthzParams) SetTimeout(timeout time.Duration)
- func (o *GetHealthzParams) WithContext(ctx context.Context) *GetHealthzParams
- func (o *GetHealthzParams) WithDefaults() *GetHealthzParams
- func (o *GetHealthzParams) WithHTTPClient(client *http.Client) *GetHealthzParams
- func (o *GetHealthzParams) WithTimeout(timeout time.Duration) *GetHealthzParams
- func (o *GetHealthzParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHealthzReader
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 operator API
func (*Client) GetHealthz ¶
func (a *Client) GetHealthz(params *GetHealthzParams, opts ...ClientOption) (*GetHealthzOK, error)
GetHealthz gets health of cilium operator
This path will return the status of cilium operator instance.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetHealthz(params *GetHealthzParams, opts ...ClientOption) (*GetHealthzOK, 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 operator API client.
type GetHealthzInternalServerError ¶
type GetHealthzInternalServerError struct {
Payload string
}
GetHealthzInternalServerError describes a response with status code 500, with default header values.
Cilium operator is not healthy
func NewGetHealthzInternalServerError ¶
func NewGetHealthzInternalServerError() *GetHealthzInternalServerError
NewGetHealthzInternalServerError creates a GetHealthzInternalServerError with default headers values
func (*GetHealthzInternalServerError) Error ¶
func (o *GetHealthzInternalServerError) Error() string
func (*GetHealthzInternalServerError) GetPayload ¶
func (o *GetHealthzInternalServerError) GetPayload() string
func (*GetHealthzInternalServerError) IsClientError ¶
func (o *GetHealthzInternalServerError) IsClientError() bool
IsClientError returns true when this get healthz internal server error response has a 4xx status code
func (*GetHealthzInternalServerError) IsCode ¶
func (o *GetHealthzInternalServerError) IsCode(code int) bool
IsCode returns true when this get healthz internal server error response a status code equal to that given
func (*GetHealthzInternalServerError) IsRedirect ¶
func (o *GetHealthzInternalServerError) IsRedirect() bool
IsRedirect returns true when this get healthz internal server error response has a 3xx status code
func (*GetHealthzInternalServerError) IsServerError ¶
func (o *GetHealthzInternalServerError) IsServerError() bool
IsServerError returns true when this get healthz internal server error response has a 5xx status code
func (*GetHealthzInternalServerError) IsSuccess ¶
func (o *GetHealthzInternalServerError) IsSuccess() bool
IsSuccess returns true when this get healthz internal server error response has a 2xx status code
func (*GetHealthzInternalServerError) String ¶
func (o *GetHealthzInternalServerError) String() string
type GetHealthzNotImplemented ¶
type GetHealthzNotImplemented struct {
Payload string
}
GetHealthzNotImplemented describes a response with status code 501, with default header values.
Cilium operator health status not available
func NewGetHealthzNotImplemented ¶
func NewGetHealthzNotImplemented() *GetHealthzNotImplemented
NewGetHealthzNotImplemented creates a GetHealthzNotImplemented with default headers values
func (*GetHealthzNotImplemented) Error ¶
func (o *GetHealthzNotImplemented) Error() string
func (*GetHealthzNotImplemented) GetPayload ¶
func (o *GetHealthzNotImplemented) GetPayload() string
func (*GetHealthzNotImplemented) IsClientError ¶
func (o *GetHealthzNotImplemented) IsClientError() bool
IsClientError returns true when this get healthz not implemented response has a 4xx status code
func (*GetHealthzNotImplemented) IsCode ¶
func (o *GetHealthzNotImplemented) IsCode(code int) bool
IsCode returns true when this get healthz not implemented response a status code equal to that given
func (*GetHealthzNotImplemented) IsRedirect ¶
func (o *GetHealthzNotImplemented) IsRedirect() bool
IsRedirect returns true when this get healthz not implemented response has a 3xx status code
func (*GetHealthzNotImplemented) IsServerError ¶
func (o *GetHealthzNotImplemented) IsServerError() bool
IsServerError returns true when this get healthz not implemented response has a 5xx status code
func (*GetHealthzNotImplemented) IsSuccess ¶
func (o *GetHealthzNotImplemented) IsSuccess() bool
IsSuccess returns true when this get healthz not implemented response has a 2xx status code
func (*GetHealthzNotImplemented) String ¶
func (o *GetHealthzNotImplemented) String() string
type GetHealthzOK ¶
type GetHealthzOK struct {
Payload string
}
GetHealthzOK describes a response with status code 200, with default header values.
Cilium operator is healthy
func NewGetHealthzOK ¶
func NewGetHealthzOK() *GetHealthzOK
NewGetHealthzOK creates a GetHealthzOK with default headers values
func (*GetHealthzOK) Error ¶
func (o *GetHealthzOK) Error() string
func (*GetHealthzOK) GetPayload ¶
func (o *GetHealthzOK) GetPayload() string
func (*GetHealthzOK) IsClientError ¶
func (o *GetHealthzOK) IsClientError() bool
IsClientError returns true when this get healthz o k response has a 4xx status code
func (*GetHealthzOK) IsCode ¶
func (o *GetHealthzOK) IsCode(code int) bool
IsCode returns true when this get healthz o k response a status code equal to that given
func (*GetHealthzOK) IsRedirect ¶
func (o *GetHealthzOK) IsRedirect() bool
IsRedirect returns true when this get healthz o k response has a 3xx status code
func (*GetHealthzOK) IsServerError ¶
func (o *GetHealthzOK) IsServerError() bool
IsServerError returns true when this get healthz o k response has a 5xx status code
func (*GetHealthzOK) IsSuccess ¶
func (o *GetHealthzOK) IsSuccess() bool
IsSuccess returns true when this get healthz o k response has a 2xx status code
func (*GetHealthzOK) String ¶
func (o *GetHealthzOK) String() string
type GetHealthzParams ¶
type GetHealthzParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHealthzParams contains all the parameters to send to the API endpoint
for the get healthz operation. Typically these are written to a http.Request.
func NewGetHealthzParams ¶
func NewGetHealthzParams() *GetHealthzParams
NewGetHealthzParams creates a new GetHealthzParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetHealthzParamsWithContext ¶
func NewGetHealthzParamsWithContext(ctx context.Context) *GetHealthzParams
NewGetHealthzParamsWithContext creates a new GetHealthzParams object with the ability to set a context for a request.
func NewGetHealthzParamsWithHTTPClient ¶
func NewGetHealthzParamsWithHTTPClient(client *http.Client) *GetHealthzParams
NewGetHealthzParamsWithHTTPClient creates a new GetHealthzParams object with the ability to set a custom HTTPClient for a request.
func NewGetHealthzParamsWithTimeout ¶
func NewGetHealthzParamsWithTimeout(timeout time.Duration) *GetHealthzParams
NewGetHealthzParamsWithTimeout creates a new GetHealthzParams object with the ability to set a timeout on a request.
func (*GetHealthzParams) SetContext ¶
func (o *GetHealthzParams) SetContext(ctx context.Context)
SetContext adds the context to the get healthz params
func (*GetHealthzParams) SetDefaults ¶
func (o *GetHealthzParams) SetDefaults()
SetDefaults hydrates default values in the get healthz params (not the query body).
All values with no default are reset to their zero value.
func (*GetHealthzParams) SetHTTPClient ¶
func (o *GetHealthzParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get healthz params
func (*GetHealthzParams) SetTimeout ¶
func (o *GetHealthzParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get healthz params
func (*GetHealthzParams) WithContext ¶
func (o *GetHealthzParams) WithContext(ctx context.Context) *GetHealthzParams
WithContext adds the context to the get healthz params
func (*GetHealthzParams) WithDefaults ¶
func (o *GetHealthzParams) WithDefaults() *GetHealthzParams
WithDefaults hydrates default values in the get healthz params (not the query body).
All values with no default are reset to their zero value.
func (*GetHealthzParams) WithHTTPClient ¶
func (o *GetHealthzParams) WithHTTPClient(client *http.Client) *GetHealthzParams
WithHTTPClient adds the HTTPClient to the get healthz params
func (*GetHealthzParams) WithTimeout ¶
func (o *GetHealthzParams) WithTimeout(timeout time.Duration) *GetHealthzParams
WithTimeout adds the timeout to the get healthz params
func (*GetHealthzParams) WriteToRequest ¶
func (o *GetHealthzParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHealthzReader ¶
type GetHealthzReader struct {
// contains filtered or unexported fields
}
GetHealthzReader is a Reader for the GetHealthz structure.
func (*GetHealthzReader) ReadResponse ¶
func (o *GetHealthzReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.