Documentation ¶
Index ¶
- type Client
- func (a *Client) GetRuntimeLiveness(params *GetRuntimeLivenessParams, opts ...ClientOption) (*GetRuntimeLivenessOK, error)
- func (a *Client) GetRuntimeReadiness(params *GetRuntimeReadinessParams, opts ...ClientOption) (*GetRuntimeReadinessOK, error)
- func (a *Client) GetRuntimeStartup(params *GetRuntimeStartupParams, opts ...ClientOption) (*GetRuntimeStartupOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetRuntimeLivenessInternalServerError
- type GetRuntimeLivenessOK
- type GetRuntimeLivenessParams
- func NewGetRuntimeLivenessParams() *GetRuntimeLivenessParams
- func NewGetRuntimeLivenessParamsWithContext(ctx context.Context) *GetRuntimeLivenessParams
- func NewGetRuntimeLivenessParamsWithHTTPClient(client *http.Client) *GetRuntimeLivenessParams
- func NewGetRuntimeLivenessParamsWithTimeout(timeout time.Duration) *GetRuntimeLivenessParams
- func (o *GetRuntimeLivenessParams) SetContext(ctx context.Context)
- func (o *GetRuntimeLivenessParams) SetDefaults()
- func (o *GetRuntimeLivenessParams) SetHTTPClient(client *http.Client)
- func (o *GetRuntimeLivenessParams) SetTimeout(timeout time.Duration)
- func (o *GetRuntimeLivenessParams) WithContext(ctx context.Context) *GetRuntimeLivenessParams
- func (o *GetRuntimeLivenessParams) WithDefaults() *GetRuntimeLivenessParams
- func (o *GetRuntimeLivenessParams) WithHTTPClient(client *http.Client) *GetRuntimeLivenessParams
- func (o *GetRuntimeLivenessParams) WithTimeout(timeout time.Duration) *GetRuntimeLivenessParams
- func (o *GetRuntimeLivenessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuntimeLivenessReader
- type GetRuntimeReadinessInternalServerError
- type GetRuntimeReadinessOK
- type GetRuntimeReadinessParams
- func NewGetRuntimeReadinessParams() *GetRuntimeReadinessParams
- func NewGetRuntimeReadinessParamsWithContext(ctx context.Context) *GetRuntimeReadinessParams
- func NewGetRuntimeReadinessParamsWithHTTPClient(client *http.Client) *GetRuntimeReadinessParams
- func NewGetRuntimeReadinessParamsWithTimeout(timeout time.Duration) *GetRuntimeReadinessParams
- func (o *GetRuntimeReadinessParams) SetContext(ctx context.Context)
- func (o *GetRuntimeReadinessParams) SetDefaults()
- func (o *GetRuntimeReadinessParams) SetHTTPClient(client *http.Client)
- func (o *GetRuntimeReadinessParams) SetTimeout(timeout time.Duration)
- func (o *GetRuntimeReadinessParams) WithContext(ctx context.Context) *GetRuntimeReadinessParams
- func (o *GetRuntimeReadinessParams) WithDefaults() *GetRuntimeReadinessParams
- func (o *GetRuntimeReadinessParams) WithHTTPClient(client *http.Client) *GetRuntimeReadinessParams
- func (o *GetRuntimeReadinessParams) WithTimeout(timeout time.Duration) *GetRuntimeReadinessParams
- func (o *GetRuntimeReadinessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuntimeReadinessReader
- type GetRuntimeStartupInternalServerError
- type GetRuntimeStartupOK
- type GetRuntimeStartupParams
- func NewGetRuntimeStartupParams() *GetRuntimeStartupParams
- func NewGetRuntimeStartupParamsWithContext(ctx context.Context) *GetRuntimeStartupParams
- func NewGetRuntimeStartupParamsWithHTTPClient(client *http.Client) *GetRuntimeStartupParams
- func NewGetRuntimeStartupParamsWithTimeout(timeout time.Duration) *GetRuntimeStartupParams
- func (o *GetRuntimeStartupParams) SetContext(ctx context.Context)
- func (o *GetRuntimeStartupParams) SetDefaults()
- func (o *GetRuntimeStartupParams) SetHTTPClient(client *http.Client)
- func (o *GetRuntimeStartupParams) SetTimeout(timeout time.Duration)
- func (o *GetRuntimeStartupParams) WithContext(ctx context.Context) *GetRuntimeStartupParams
- func (o *GetRuntimeStartupParams) WithDefaults() *GetRuntimeStartupParams
- func (o *GetRuntimeStartupParams) WithHTTPClient(client *http.Client) *GetRuntimeStartupParams
- func (o *GetRuntimeStartupParams) WithTimeout(timeout time.Duration) *GetRuntimeStartupParams
- func (o *GetRuntimeStartupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuntimeStartupReader
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 runtime API
func (*Client) GetRuntimeLiveness ¶
func (a *Client) GetRuntimeLiveness(params *GetRuntimeLivenessParams, opts ...ClientOption) (*GetRuntimeLivenessOK, error)
GetRuntimeLiveness livenesses probe
Check pod liveness probe
func (*Client) GetRuntimeReadiness ¶
func (a *Client) GetRuntimeReadiness(params *GetRuntimeReadinessParams, opts ...ClientOption) (*GetRuntimeReadinessOK, error)
GetRuntimeReadiness readinesses probe
Check pod readiness probe
func (*Client) GetRuntimeStartup ¶
func (a *Client) GetRuntimeStartup(params *GetRuntimeStartupParams, opts ...ClientOption) (*GetRuntimeStartupOK, error)
GetRuntimeStartup startups probe
Check pod startup probe
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 { GetRuntimeLiveness(params *GetRuntimeLivenessParams, opts ...ClientOption) (*GetRuntimeLivenessOK, error) GetRuntimeReadiness(params *GetRuntimeReadinessParams, opts ...ClientOption) (*GetRuntimeReadinessOK, error) GetRuntimeStartup(params *GetRuntimeStartupParams, opts ...ClientOption) (*GetRuntimeStartupOK, 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 runtime API client.
type GetRuntimeLivenessInternalServerError ¶
type GetRuntimeLivenessInternalServerError struct { }
GetRuntimeLivenessInternalServerError describes a response with status code 500, with default header values.
Failed
func NewGetRuntimeLivenessInternalServerError ¶
func NewGetRuntimeLivenessInternalServerError() *GetRuntimeLivenessInternalServerError
NewGetRuntimeLivenessInternalServerError creates a GetRuntimeLivenessInternalServerError with default headers values
func (*GetRuntimeLivenessInternalServerError) Error ¶
func (o *GetRuntimeLivenessInternalServerError) Error() string
type GetRuntimeLivenessOK ¶
type GetRuntimeLivenessOK struct { }
GetRuntimeLivenessOK describes a response with status code 200, with default header values.
Success
func NewGetRuntimeLivenessOK ¶
func NewGetRuntimeLivenessOK() *GetRuntimeLivenessOK
NewGetRuntimeLivenessOK creates a GetRuntimeLivenessOK with default headers values
func (*GetRuntimeLivenessOK) Error ¶
func (o *GetRuntimeLivenessOK) Error() string
type GetRuntimeLivenessParams ¶
type GetRuntimeLivenessParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuntimeLivenessParams contains all the parameters to send to the API endpoint
for the get runtime liveness operation. Typically these are written to a http.Request.
func NewGetRuntimeLivenessParams ¶
func NewGetRuntimeLivenessParams() *GetRuntimeLivenessParams
NewGetRuntimeLivenessParams creates a new GetRuntimeLivenessParams 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 NewGetRuntimeLivenessParamsWithContext ¶
func NewGetRuntimeLivenessParamsWithContext(ctx context.Context) *GetRuntimeLivenessParams
NewGetRuntimeLivenessParamsWithContext creates a new GetRuntimeLivenessParams object with the ability to set a context for a request.
func NewGetRuntimeLivenessParamsWithHTTPClient ¶
func NewGetRuntimeLivenessParamsWithHTTPClient(client *http.Client) *GetRuntimeLivenessParams
NewGetRuntimeLivenessParamsWithHTTPClient creates a new GetRuntimeLivenessParams object with the ability to set a custom HTTPClient for a request.
func NewGetRuntimeLivenessParamsWithTimeout ¶
func NewGetRuntimeLivenessParamsWithTimeout(timeout time.Duration) *GetRuntimeLivenessParams
NewGetRuntimeLivenessParamsWithTimeout creates a new GetRuntimeLivenessParams object with the ability to set a timeout on a request.
func (*GetRuntimeLivenessParams) SetContext ¶
func (o *GetRuntimeLivenessParams) SetContext(ctx context.Context)
SetContext adds the context to the get runtime liveness params
func (*GetRuntimeLivenessParams) SetDefaults ¶
func (o *GetRuntimeLivenessParams) SetDefaults()
SetDefaults hydrates default values in the get runtime liveness params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeLivenessParams) SetHTTPClient ¶
func (o *GetRuntimeLivenessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get runtime liveness params
func (*GetRuntimeLivenessParams) SetTimeout ¶
func (o *GetRuntimeLivenessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get runtime liveness params
func (*GetRuntimeLivenessParams) WithContext ¶
func (o *GetRuntimeLivenessParams) WithContext(ctx context.Context) *GetRuntimeLivenessParams
WithContext adds the context to the get runtime liveness params
func (*GetRuntimeLivenessParams) WithDefaults ¶
func (o *GetRuntimeLivenessParams) WithDefaults() *GetRuntimeLivenessParams
WithDefaults hydrates default values in the get runtime liveness params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeLivenessParams) WithHTTPClient ¶
func (o *GetRuntimeLivenessParams) WithHTTPClient(client *http.Client) *GetRuntimeLivenessParams
WithHTTPClient adds the HTTPClient to the get runtime liveness params
func (*GetRuntimeLivenessParams) WithTimeout ¶
func (o *GetRuntimeLivenessParams) WithTimeout(timeout time.Duration) *GetRuntimeLivenessParams
WithTimeout adds the timeout to the get runtime liveness params
func (*GetRuntimeLivenessParams) WriteToRequest ¶
func (o *GetRuntimeLivenessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuntimeLivenessReader ¶
type GetRuntimeLivenessReader struct {
// contains filtered or unexported fields
}
GetRuntimeLivenessReader is a Reader for the GetRuntimeLiveness structure.
func (*GetRuntimeLivenessReader) ReadResponse ¶
func (o *GetRuntimeLivenessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuntimeReadinessInternalServerError ¶
type GetRuntimeReadinessInternalServerError struct { }
GetRuntimeReadinessInternalServerError describes a response with status code 500, with default header values.
Failed
func NewGetRuntimeReadinessInternalServerError ¶
func NewGetRuntimeReadinessInternalServerError() *GetRuntimeReadinessInternalServerError
NewGetRuntimeReadinessInternalServerError creates a GetRuntimeReadinessInternalServerError with default headers values
func (*GetRuntimeReadinessInternalServerError) Error ¶
func (o *GetRuntimeReadinessInternalServerError) Error() string
type GetRuntimeReadinessOK ¶
type GetRuntimeReadinessOK struct { }
GetRuntimeReadinessOK describes a response with status code 200, with default header values.
Success
func NewGetRuntimeReadinessOK ¶
func NewGetRuntimeReadinessOK() *GetRuntimeReadinessOK
NewGetRuntimeReadinessOK creates a GetRuntimeReadinessOK with default headers values
func (*GetRuntimeReadinessOK) Error ¶
func (o *GetRuntimeReadinessOK) Error() string
type GetRuntimeReadinessParams ¶
type GetRuntimeReadinessParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuntimeReadinessParams contains all the parameters to send to the API endpoint
for the get runtime readiness operation. Typically these are written to a http.Request.
func NewGetRuntimeReadinessParams ¶
func NewGetRuntimeReadinessParams() *GetRuntimeReadinessParams
NewGetRuntimeReadinessParams creates a new GetRuntimeReadinessParams 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 NewGetRuntimeReadinessParamsWithContext ¶
func NewGetRuntimeReadinessParamsWithContext(ctx context.Context) *GetRuntimeReadinessParams
NewGetRuntimeReadinessParamsWithContext creates a new GetRuntimeReadinessParams object with the ability to set a context for a request.
func NewGetRuntimeReadinessParamsWithHTTPClient ¶
func NewGetRuntimeReadinessParamsWithHTTPClient(client *http.Client) *GetRuntimeReadinessParams
NewGetRuntimeReadinessParamsWithHTTPClient creates a new GetRuntimeReadinessParams object with the ability to set a custom HTTPClient for a request.
func NewGetRuntimeReadinessParamsWithTimeout ¶
func NewGetRuntimeReadinessParamsWithTimeout(timeout time.Duration) *GetRuntimeReadinessParams
NewGetRuntimeReadinessParamsWithTimeout creates a new GetRuntimeReadinessParams object with the ability to set a timeout on a request.
func (*GetRuntimeReadinessParams) SetContext ¶
func (o *GetRuntimeReadinessParams) SetContext(ctx context.Context)
SetContext adds the context to the get runtime readiness params
func (*GetRuntimeReadinessParams) SetDefaults ¶
func (o *GetRuntimeReadinessParams) SetDefaults()
SetDefaults hydrates default values in the get runtime readiness params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeReadinessParams) SetHTTPClient ¶
func (o *GetRuntimeReadinessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get runtime readiness params
func (*GetRuntimeReadinessParams) SetTimeout ¶
func (o *GetRuntimeReadinessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get runtime readiness params
func (*GetRuntimeReadinessParams) WithContext ¶
func (o *GetRuntimeReadinessParams) WithContext(ctx context.Context) *GetRuntimeReadinessParams
WithContext adds the context to the get runtime readiness params
func (*GetRuntimeReadinessParams) WithDefaults ¶
func (o *GetRuntimeReadinessParams) WithDefaults() *GetRuntimeReadinessParams
WithDefaults hydrates default values in the get runtime readiness params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeReadinessParams) WithHTTPClient ¶
func (o *GetRuntimeReadinessParams) WithHTTPClient(client *http.Client) *GetRuntimeReadinessParams
WithHTTPClient adds the HTTPClient to the get runtime readiness params
func (*GetRuntimeReadinessParams) WithTimeout ¶
func (o *GetRuntimeReadinessParams) WithTimeout(timeout time.Duration) *GetRuntimeReadinessParams
WithTimeout adds the timeout to the get runtime readiness params
func (*GetRuntimeReadinessParams) WriteToRequest ¶
func (o *GetRuntimeReadinessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuntimeReadinessReader ¶
type GetRuntimeReadinessReader struct {
// contains filtered or unexported fields
}
GetRuntimeReadinessReader is a Reader for the GetRuntimeReadiness structure.
func (*GetRuntimeReadinessReader) ReadResponse ¶
func (o *GetRuntimeReadinessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuntimeStartupInternalServerError ¶
type GetRuntimeStartupInternalServerError struct { }
GetRuntimeStartupInternalServerError describes a response with status code 500, with default header values.
Failed
func NewGetRuntimeStartupInternalServerError ¶
func NewGetRuntimeStartupInternalServerError() *GetRuntimeStartupInternalServerError
NewGetRuntimeStartupInternalServerError creates a GetRuntimeStartupInternalServerError with default headers values
func (*GetRuntimeStartupInternalServerError) Error ¶
func (o *GetRuntimeStartupInternalServerError) Error() string
type GetRuntimeStartupOK ¶
type GetRuntimeStartupOK struct { }
GetRuntimeStartupOK describes a response with status code 200, with default header values.
Success
func NewGetRuntimeStartupOK ¶
func NewGetRuntimeStartupOK() *GetRuntimeStartupOK
NewGetRuntimeStartupOK creates a GetRuntimeStartupOK with default headers values
func (*GetRuntimeStartupOK) Error ¶
func (o *GetRuntimeStartupOK) Error() string
type GetRuntimeStartupParams ¶
type GetRuntimeStartupParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuntimeStartupParams contains all the parameters to send to the API endpoint
for the get runtime startup operation. Typically these are written to a http.Request.
func NewGetRuntimeStartupParams ¶
func NewGetRuntimeStartupParams() *GetRuntimeStartupParams
NewGetRuntimeStartupParams creates a new GetRuntimeStartupParams 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 NewGetRuntimeStartupParamsWithContext ¶
func NewGetRuntimeStartupParamsWithContext(ctx context.Context) *GetRuntimeStartupParams
NewGetRuntimeStartupParamsWithContext creates a new GetRuntimeStartupParams object with the ability to set a context for a request.
func NewGetRuntimeStartupParamsWithHTTPClient ¶
func NewGetRuntimeStartupParamsWithHTTPClient(client *http.Client) *GetRuntimeStartupParams
NewGetRuntimeStartupParamsWithHTTPClient creates a new GetRuntimeStartupParams object with the ability to set a custom HTTPClient for a request.
func NewGetRuntimeStartupParamsWithTimeout ¶
func NewGetRuntimeStartupParamsWithTimeout(timeout time.Duration) *GetRuntimeStartupParams
NewGetRuntimeStartupParamsWithTimeout creates a new GetRuntimeStartupParams object with the ability to set a timeout on a request.
func (*GetRuntimeStartupParams) SetContext ¶
func (o *GetRuntimeStartupParams) SetContext(ctx context.Context)
SetContext adds the context to the get runtime startup params
func (*GetRuntimeStartupParams) SetDefaults ¶
func (o *GetRuntimeStartupParams) SetDefaults()
SetDefaults hydrates default values in the get runtime startup params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeStartupParams) SetHTTPClient ¶
func (o *GetRuntimeStartupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get runtime startup params
func (*GetRuntimeStartupParams) SetTimeout ¶
func (o *GetRuntimeStartupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get runtime startup params
func (*GetRuntimeStartupParams) WithContext ¶
func (o *GetRuntimeStartupParams) WithContext(ctx context.Context) *GetRuntimeStartupParams
WithContext adds the context to the get runtime startup params
func (*GetRuntimeStartupParams) WithDefaults ¶
func (o *GetRuntimeStartupParams) WithDefaults() *GetRuntimeStartupParams
WithDefaults hydrates default values in the get runtime startup params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeStartupParams) WithHTTPClient ¶
func (o *GetRuntimeStartupParams) WithHTTPClient(client *http.Client) *GetRuntimeStartupParams
WithHTTPClient adds the HTTPClient to the get runtime startup params
func (*GetRuntimeStartupParams) WithTimeout ¶
func (o *GetRuntimeStartupParams) WithTimeout(timeout time.Duration) *GetRuntimeStartupParams
WithTimeout adds the timeout to the get runtime startup params
func (*GetRuntimeStartupParams) WriteToRequest ¶
func (o *GetRuntimeStartupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuntimeStartupReader ¶
type GetRuntimeStartupReader struct {
// contains filtered or unexported fields
}
GetRuntimeStartupReader is a Reader for the GetRuntimeStartup structure.
func (*GetRuntimeStartupReader) ReadResponse ¶
func (o *GetRuntimeStartupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.