Documentation
¶
Index ¶
- type Client
- func (a *Client) ElasticsearchStats(params *ElasticsearchStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ElasticsearchStatsOK, error)
- func (a *Client) MongoStats(params *MongoStatsParams, authInfo runtime.ClientAuthInfoWriter) (*MongoStatsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ElasticsearchStatsOK
- type ElasticsearchStatsParams
- func NewElasticsearchStatsParams() *ElasticsearchStatsParams
- func NewElasticsearchStatsParamsWithContext(ctx context.Context) *ElasticsearchStatsParams
- func NewElasticsearchStatsParamsWithHTTPClient(client *http.Client) *ElasticsearchStatsParams
- func NewElasticsearchStatsParamsWithTimeout(timeout time.Duration) *ElasticsearchStatsParams
- func (o *ElasticsearchStatsParams) SetContext(ctx context.Context)
- func (o *ElasticsearchStatsParams) SetHTTPClient(client *http.Client)
- func (o *ElasticsearchStatsParams) SetTimeout(timeout time.Duration)
- func (o *ElasticsearchStatsParams) WithContext(ctx context.Context) *ElasticsearchStatsParams
- func (o *ElasticsearchStatsParams) WithHTTPClient(client *http.Client) *ElasticsearchStatsParams
- func (o *ElasticsearchStatsParams) WithTimeout(timeout time.Duration) *ElasticsearchStatsParams
- func (o *ElasticsearchStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ElasticsearchStatsReader
- type MongoStatsOK
- type MongoStatsParams
- func (o *MongoStatsParams) SetContext(ctx context.Context)
- func (o *MongoStatsParams) SetHTTPClient(client *http.Client)
- func (o *MongoStatsParams) SetTimeout(timeout time.Duration)
- func (o *MongoStatsParams) WithContext(ctx context.Context) *MongoStatsParams
- func (o *MongoStatsParams) WithHTTPClient(client *http.Client) *MongoStatsParams
- func (o *MongoStatsParams) WithTimeout(timeout time.Duration) *MongoStatsParams
- func (o *MongoStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MongoStatsReader
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 cluster traffic API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system cluster traffic API client.
func (*Client) ElasticsearchStats ¶
func (a *Client) ElasticsearchStats(params *ElasticsearchStatsParams, authInfo runtime.ClientAuthInfoWriter) (*ElasticsearchStatsOK, error)
ElasticsearchStats elasticsearches information
This resource returns information about the Elasticsearch Cluster.
func (*Client) MongoStats ¶
func (a *Client) MongoStats(params *MongoStatsParams, authInfo runtime.ClientAuthInfoWriter) (*MongoStatsOK, error)
MongoStats mongos d b information
This resource returns information about MongoDB.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ElasticsearchStatsOK ¶
type ElasticsearchStatsOK struct {
Payload *models.ElasticsearchStats
}
ElasticsearchStatsOK handles this case with default header values.
No response was specified
func NewElasticsearchStatsOK ¶
func NewElasticsearchStatsOK() *ElasticsearchStatsOK
NewElasticsearchStatsOK creates a ElasticsearchStatsOK with default headers values
func (*ElasticsearchStatsOK) Error ¶
func (o *ElasticsearchStatsOK) Error() string
type ElasticsearchStatsParams ¶
type ElasticsearchStatsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ElasticsearchStatsParams contains all the parameters to send to the API endpoint for the elasticsearch stats operation typically these are written to a http.Request
func NewElasticsearchStatsParams ¶
func NewElasticsearchStatsParams() *ElasticsearchStatsParams
NewElasticsearchStatsParams creates a new ElasticsearchStatsParams object with the default values initialized.
func NewElasticsearchStatsParamsWithContext ¶
func NewElasticsearchStatsParamsWithContext(ctx context.Context) *ElasticsearchStatsParams
NewElasticsearchStatsParamsWithContext creates a new ElasticsearchStatsParams object with the default values initialized, and the ability to set a context for a request
func NewElasticsearchStatsParamsWithHTTPClient ¶
func NewElasticsearchStatsParamsWithHTTPClient(client *http.Client) *ElasticsearchStatsParams
NewElasticsearchStatsParamsWithHTTPClient creates a new ElasticsearchStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewElasticsearchStatsParamsWithTimeout ¶
func NewElasticsearchStatsParamsWithTimeout(timeout time.Duration) *ElasticsearchStatsParams
NewElasticsearchStatsParamsWithTimeout creates a new ElasticsearchStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ElasticsearchStatsParams) SetContext ¶
func (o *ElasticsearchStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the elasticsearch stats params
func (*ElasticsearchStatsParams) SetHTTPClient ¶
func (o *ElasticsearchStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the elasticsearch stats params
func (*ElasticsearchStatsParams) SetTimeout ¶
func (o *ElasticsearchStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the elasticsearch stats params
func (*ElasticsearchStatsParams) WithContext ¶
func (o *ElasticsearchStatsParams) WithContext(ctx context.Context) *ElasticsearchStatsParams
WithContext adds the context to the elasticsearch stats params
func (*ElasticsearchStatsParams) WithHTTPClient ¶
func (o *ElasticsearchStatsParams) WithHTTPClient(client *http.Client) *ElasticsearchStatsParams
WithHTTPClient adds the HTTPClient to the elasticsearch stats params
func (*ElasticsearchStatsParams) WithTimeout ¶
func (o *ElasticsearchStatsParams) WithTimeout(timeout time.Duration) *ElasticsearchStatsParams
WithTimeout adds the timeout to the elasticsearch stats params
func (*ElasticsearchStatsParams) WriteToRequest ¶
func (o *ElasticsearchStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ElasticsearchStatsReader ¶
type ElasticsearchStatsReader struct {
// contains filtered or unexported fields
}
ElasticsearchStatsReader is a Reader for the ElasticsearchStats structure.
func (*ElasticsearchStatsReader) ReadResponse ¶
func (o *ElasticsearchStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MongoStatsOK ¶
type MongoStatsOK struct {
Payload *models.MongoStats
}
MongoStatsOK handles this case with default header values.
No response was specified
func NewMongoStatsOK ¶
func NewMongoStatsOK() *MongoStatsOK
NewMongoStatsOK creates a MongoStatsOK with default headers values
func (*MongoStatsOK) Error ¶
func (o *MongoStatsOK) Error() string
type MongoStatsParams ¶
type MongoStatsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MongoStatsParams contains all the parameters to send to the API endpoint for the mongo stats operation typically these are written to a http.Request
func NewMongoStatsParams ¶
func NewMongoStatsParams() *MongoStatsParams
NewMongoStatsParams creates a new MongoStatsParams object with the default values initialized.
func NewMongoStatsParamsWithContext ¶
func NewMongoStatsParamsWithContext(ctx context.Context) *MongoStatsParams
NewMongoStatsParamsWithContext creates a new MongoStatsParams object with the default values initialized, and the ability to set a context for a request
func NewMongoStatsParamsWithHTTPClient ¶
func NewMongoStatsParamsWithHTTPClient(client *http.Client) *MongoStatsParams
NewMongoStatsParamsWithHTTPClient creates a new MongoStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMongoStatsParamsWithTimeout ¶
func NewMongoStatsParamsWithTimeout(timeout time.Duration) *MongoStatsParams
NewMongoStatsParamsWithTimeout creates a new MongoStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*MongoStatsParams) SetContext ¶
func (o *MongoStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the mongo stats params
func (*MongoStatsParams) SetHTTPClient ¶
func (o *MongoStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the mongo stats params
func (*MongoStatsParams) SetTimeout ¶
func (o *MongoStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the mongo stats params
func (*MongoStatsParams) WithContext ¶
func (o *MongoStatsParams) WithContext(ctx context.Context) *MongoStatsParams
WithContext adds the context to the mongo stats params
func (*MongoStatsParams) WithHTTPClient ¶
func (o *MongoStatsParams) WithHTTPClient(client *http.Client) *MongoStatsParams
WithHTTPClient adds the HTTPClient to the mongo stats params
func (*MongoStatsParams) WithTimeout ¶
func (o *MongoStatsParams) WithTimeout(timeout time.Duration) *MongoStatsParams
WithTimeout adds the timeout to the mongo stats params
func (*MongoStatsParams) WriteToRequest ¶
func (o *MongoStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MongoStatsReader ¶
type MongoStatsReader struct {
// contains filtered or unexported fields
}
MongoStatsReader is a Reader for the MongoStats structure.
func (*MongoStatsReader) ReadResponse ¶
func (o *MongoStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.