Documentation ¶
Index ¶
- type Client
- func (a *Client) ClusterHealth(params *ClusterHealthParams, authInfo runtime.ClientAuthInfoWriter) (*ClusterHealthOK, error)
- func (a *Client) ClusterName(params *ClusterNameParams, authInfo runtime.ClientAuthInfoWriter) (*ClusterNameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClusterHealthOK
- type ClusterHealthParams
- func (o *ClusterHealthParams) SetContext(ctx context.Context)
- func (o *ClusterHealthParams) SetHTTPClient(client *http.Client)
- func (o *ClusterHealthParams) SetTimeout(timeout time.Duration)
- func (o *ClusterHealthParams) WithContext(ctx context.Context) *ClusterHealthParams
- func (o *ClusterHealthParams) WithHTTPClient(client *http.Client) *ClusterHealthParams
- func (o *ClusterHealthParams) WithTimeout(timeout time.Duration) *ClusterHealthParams
- func (o *ClusterHealthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterHealthReader
- type ClusterNameOK
- type ClusterNameParams
- func (o *ClusterNameParams) SetContext(ctx context.Context)
- func (o *ClusterNameParams) SetHTTPClient(client *http.Client)
- func (o *ClusterNameParams) SetTimeout(timeout time.Duration)
- func (o *ClusterNameParams) WithContext(ctx context.Context) *ClusterNameParams
- func (o *ClusterNameParams) WithHTTPClient(client *http.Client) *ClusterNameParams
- func (o *ClusterNameParams) WithTimeout(timeout time.Duration) *ClusterNameParams
- func (o *ClusterNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterNameReader
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 system indexer failures API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system indexer failures API client.
func (*Client) ClusterHealth ¶
func (a *Client) ClusterHealth(params *ClusterHealthParams, authInfo runtime.ClientAuthInfoWriter) (*ClusterHealthOK, error)
ClusterHealth gets cluster and shard health overview
func (*Client) ClusterName ¶
func (a *Client) ClusterName(params *ClusterNameParams, authInfo runtime.ClientAuthInfoWriter) (*ClusterNameOK, error)
ClusterName gets the cluster name
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClusterHealthOK ¶
type ClusterHealthOK struct {
Payload *models.ClusterHealth
}
ClusterHealthOK handles this case with default header values.
No response was specified
func NewClusterHealthOK ¶
func NewClusterHealthOK() *ClusterHealthOK
NewClusterHealthOK creates a ClusterHealthOK with default headers values
func (*ClusterHealthOK) Error ¶
func (o *ClusterHealthOK) Error() string
type ClusterHealthParams ¶
type ClusterHealthParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterHealthParams contains all the parameters to send to the API endpoint for the cluster health operation typically these are written to a http.Request
func NewClusterHealthParams ¶
func NewClusterHealthParams() *ClusterHealthParams
NewClusterHealthParams creates a new ClusterHealthParams object with the default values initialized.
func NewClusterHealthParamsWithContext ¶
func NewClusterHealthParamsWithContext(ctx context.Context) *ClusterHealthParams
NewClusterHealthParamsWithContext creates a new ClusterHealthParams object with the default values initialized, and the ability to set a context for a request
func NewClusterHealthParamsWithHTTPClient ¶
func NewClusterHealthParamsWithHTTPClient(client *http.Client) *ClusterHealthParams
NewClusterHealthParamsWithHTTPClient creates a new ClusterHealthParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewClusterHealthParamsWithTimeout ¶
func NewClusterHealthParamsWithTimeout(timeout time.Duration) *ClusterHealthParams
NewClusterHealthParamsWithTimeout creates a new ClusterHealthParams object with the default values initialized, and the ability to set a timeout on a request
func (*ClusterHealthParams) SetContext ¶
func (o *ClusterHealthParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster health params
func (*ClusterHealthParams) SetHTTPClient ¶
func (o *ClusterHealthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster health params
func (*ClusterHealthParams) SetTimeout ¶
func (o *ClusterHealthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster health params
func (*ClusterHealthParams) WithContext ¶
func (o *ClusterHealthParams) WithContext(ctx context.Context) *ClusterHealthParams
WithContext adds the context to the cluster health params
func (*ClusterHealthParams) WithHTTPClient ¶
func (o *ClusterHealthParams) WithHTTPClient(client *http.Client) *ClusterHealthParams
WithHTTPClient adds the HTTPClient to the cluster health params
func (*ClusterHealthParams) WithTimeout ¶
func (o *ClusterHealthParams) WithTimeout(timeout time.Duration) *ClusterHealthParams
WithTimeout adds the timeout to the cluster health params
func (*ClusterHealthParams) WriteToRequest ¶
func (o *ClusterHealthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterHealthReader ¶
type ClusterHealthReader struct {
// contains filtered or unexported fields
}
ClusterHealthReader is a Reader for the ClusterHealth structure.
func (*ClusterHealthReader) ReadResponse ¶
func (o *ClusterHealthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClusterNameOK ¶
type ClusterNameOK struct {
Payload *models.ClusterName
}
ClusterNameOK handles this case with default header values.
No response was specified
func NewClusterNameOK ¶
func NewClusterNameOK() *ClusterNameOK
NewClusterNameOK creates a ClusterNameOK with default headers values
func (*ClusterNameOK) Error ¶
func (o *ClusterNameOK) Error() string
type ClusterNameParams ¶
type ClusterNameParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterNameParams contains all the parameters to send to the API endpoint for the cluster name operation typically these are written to a http.Request
func NewClusterNameParams ¶
func NewClusterNameParams() *ClusterNameParams
NewClusterNameParams creates a new ClusterNameParams object with the default values initialized.
func NewClusterNameParamsWithContext ¶
func NewClusterNameParamsWithContext(ctx context.Context) *ClusterNameParams
NewClusterNameParamsWithContext creates a new ClusterNameParams object with the default values initialized, and the ability to set a context for a request
func NewClusterNameParamsWithHTTPClient ¶
func NewClusterNameParamsWithHTTPClient(client *http.Client) *ClusterNameParams
NewClusterNameParamsWithHTTPClient creates a new ClusterNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewClusterNameParamsWithTimeout ¶
func NewClusterNameParamsWithTimeout(timeout time.Duration) *ClusterNameParams
NewClusterNameParamsWithTimeout creates a new ClusterNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*ClusterNameParams) SetContext ¶
func (o *ClusterNameParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster name params
func (*ClusterNameParams) SetHTTPClient ¶
func (o *ClusterNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster name params
func (*ClusterNameParams) SetTimeout ¶
func (o *ClusterNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster name params
func (*ClusterNameParams) WithContext ¶
func (o *ClusterNameParams) WithContext(ctx context.Context) *ClusterNameParams
WithContext adds the context to the cluster name params
func (*ClusterNameParams) WithHTTPClient ¶
func (o *ClusterNameParams) WithHTTPClient(client *http.Client) *ClusterNameParams
WithHTTPClient adds the HTTPClient to the cluster name params
func (*ClusterNameParams) WithTimeout ¶
func (o *ClusterNameParams) WithTimeout(timeout time.Duration) *ClusterNameParams
WithTimeout adds the timeout to the cluster name params
func (*ClusterNameParams) WriteToRequest ¶
func (o *ClusterNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterNameReader ¶
type ClusterNameReader struct {
// contains filtered or unexported fields
}
ClusterNameReader is a Reader for the ClusterName structure.
func (*ClusterNameReader) ReadResponse ¶
func (o *ClusterNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.