Documentation ¶
Index ¶
- type ByNamespaceNotFound
- type ByNamespaceOK
- type ByNamespaceParams
- func (o *ByNamespaceParams) SetContext(ctx context.Context)
- func (o *ByNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *ByNamespaceParams) SetNamespace(namespace string)
- func (o *ByNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *ByNamespaceParams) WithContext(ctx context.Context) *ByNamespaceParams
- func (o *ByNamespaceParams) WithHTTPClient(client *http.Client) *ByNamespaceParams
- func (o *ByNamespaceParams) WithNamespace(namespace string) *ByNamespaceParams
- func (o *ByNamespaceParams) WithTimeout(timeout time.Duration) *ByNamespaceParams
- func (o *ByNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ByNamespaceReader
- type Client
- func (a *Client) ByNamespace(params *ByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*ByNamespaceOK, error)
- func (a *Client) MetricNames(params *MetricNamesParams, authInfo runtime.ClientAuthInfoWriter) (*MetricNamesOK, error)
- func (a *Client) Metrics(params *MetricsParams, authInfo runtime.ClientAuthInfoWriter) (*MetricsOK, error)
- func (a *Client) MultipleMetrics(params *MultipleMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*MultipleMetricsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SingleMetric(params *SingleMetricParams, authInfo runtime.ClientAuthInfoWriter) (*SingleMetricOK, error)
- type MetricNamesOK
- type MetricNamesParams
- func (o *MetricNamesParams) SetContext(ctx context.Context)
- func (o *MetricNamesParams) SetHTTPClient(client *http.Client)
- func (o *MetricNamesParams) SetTimeout(timeout time.Duration)
- func (o *MetricNamesParams) WithContext(ctx context.Context) *MetricNamesParams
- func (o *MetricNamesParams) WithHTTPClient(client *http.Client) *MetricNamesParams
- func (o *MetricNamesParams) WithTimeout(timeout time.Duration) *MetricNamesParams
- func (o *MetricNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MetricNamesReader
- type MetricsOK
- type MetricsOKBody
- type MetricsParams
- func (o *MetricsParams) SetContext(ctx context.Context)
- func (o *MetricsParams) SetHTTPClient(client *http.Client)
- func (o *MetricsParams) SetTimeout(timeout time.Duration)
- func (o *MetricsParams) WithContext(ctx context.Context) *MetricsParams
- func (o *MetricsParams) WithHTTPClient(client *http.Client) *MetricsParams
- func (o *MetricsParams) WithTimeout(timeout time.Duration) *MetricsParams
- func (o *MetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MetricsReader
- type MultipleMetricsBadRequest
- type MultipleMetricsOK
- type MultipleMetricsParams
- func NewMultipleMetricsParams() *MultipleMetricsParams
- func NewMultipleMetricsParamsWithContext(ctx context.Context) *MultipleMetricsParams
- func NewMultipleMetricsParamsWithHTTPClient(client *http.Client) *MultipleMetricsParams
- func NewMultipleMetricsParamsWithTimeout(timeout time.Duration) *MultipleMetricsParams
- func (o *MultipleMetricsParams) SetContext(ctx context.Context)
- func (o *MultipleMetricsParams) SetHTTPClient(client *http.Client)
- func (o *MultipleMetricsParams) SetRequestedMetrics(requestedMetrics *models.MetricsReadRequest)
- func (o *MultipleMetricsParams) SetTimeout(timeout time.Duration)
- func (o *MultipleMetricsParams) WithContext(ctx context.Context) *MultipleMetricsParams
- func (o *MultipleMetricsParams) WithHTTPClient(client *http.Client) *MultipleMetricsParams
- func (o *MultipleMetricsParams) WithRequestedMetrics(requestedMetrics *models.MetricsReadRequest) *MultipleMetricsParams
- func (o *MultipleMetricsParams) WithTimeout(timeout time.Duration) *MultipleMetricsParams
- func (o *MultipleMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MultipleMetricsReader
- type SingleMetricNotFound
- type SingleMetricOK
- type SingleMetricOKBody
- type SingleMetricParams
- func (o *SingleMetricParams) SetContext(ctx context.Context)
- func (o *SingleMetricParams) SetHTTPClient(client *http.Client)
- func (o *SingleMetricParams) SetMetricName(metricName string)
- func (o *SingleMetricParams) SetTimeout(timeout time.Duration)
- func (o *SingleMetricParams) WithContext(ctx context.Context) *SingleMetricParams
- func (o *SingleMetricParams) WithHTTPClient(client *http.Client) *SingleMetricParams
- func (o *SingleMetricParams) WithMetricName(metricName string) *SingleMetricParams
- func (o *SingleMetricParams) WithTimeout(timeout time.Duration) *SingleMetricParams
- func (o *SingleMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SingleMetricReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByNamespaceNotFound ¶
type ByNamespaceNotFound struct { }
ByNamespaceNotFound handles this case with default header values.
No such metric namespace
func NewByNamespaceNotFound ¶
func NewByNamespaceNotFound() *ByNamespaceNotFound
NewByNamespaceNotFound creates a ByNamespaceNotFound with default headers values
func (*ByNamespaceNotFound) Error ¶
func (o *ByNamespaceNotFound) Error() string
type ByNamespaceOK ¶
type ByNamespaceOK struct {
Payload *models.MetricsSummaryResponse
}
ByNamespaceOK handles this case with default header values.
No response was specified
func NewByNamespaceOK ¶
func NewByNamespaceOK() *ByNamespaceOK
NewByNamespaceOK creates a ByNamespaceOK with default headers values
func (*ByNamespaceOK) Error ¶
func (o *ByNamespaceOK) Error() string
type ByNamespaceParams ¶
type ByNamespaceParams struct { /*Namespace*/ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ByNamespaceParams contains all the parameters to send to the API endpoint for the by namespace operation typically these are written to a http.Request
func NewByNamespaceParams ¶
func NewByNamespaceParams() *ByNamespaceParams
NewByNamespaceParams creates a new ByNamespaceParams object with the default values initialized.
func NewByNamespaceParamsWithContext ¶
func NewByNamespaceParamsWithContext(ctx context.Context) *ByNamespaceParams
NewByNamespaceParamsWithContext creates a new ByNamespaceParams object with the default values initialized, and the ability to set a context for a request
func NewByNamespaceParamsWithHTTPClient ¶
func NewByNamespaceParamsWithHTTPClient(client *http.Client) *ByNamespaceParams
NewByNamespaceParamsWithHTTPClient creates a new ByNamespaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewByNamespaceParamsWithTimeout ¶
func NewByNamespaceParamsWithTimeout(timeout time.Duration) *ByNamespaceParams
NewByNamespaceParamsWithTimeout creates a new ByNamespaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*ByNamespaceParams) SetContext ¶
func (o *ByNamespaceParams) SetContext(ctx context.Context)
SetContext adds the context to the by namespace params
func (*ByNamespaceParams) SetHTTPClient ¶
func (o *ByNamespaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the by namespace params
func (*ByNamespaceParams) SetNamespace ¶
func (o *ByNamespaceParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the by namespace params
func (*ByNamespaceParams) SetTimeout ¶
func (o *ByNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the by namespace params
func (*ByNamespaceParams) WithContext ¶
func (o *ByNamespaceParams) WithContext(ctx context.Context) *ByNamespaceParams
WithContext adds the context to the by namespace params
func (*ByNamespaceParams) WithHTTPClient ¶
func (o *ByNamespaceParams) WithHTTPClient(client *http.Client) *ByNamespaceParams
WithHTTPClient adds the HTTPClient to the by namespace params
func (*ByNamespaceParams) WithNamespace ¶
func (o *ByNamespaceParams) WithNamespace(namespace string) *ByNamespaceParams
WithNamespace adds the namespace to the by namespace params
func (*ByNamespaceParams) WithTimeout ¶
func (o *ByNamespaceParams) WithTimeout(timeout time.Duration) *ByNamespaceParams
WithTimeout adds the timeout to the by namespace params
func (*ByNamespaceParams) WriteToRequest ¶
func (o *ByNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ByNamespaceReader ¶
type ByNamespaceReader struct {
// contains filtered or unexported fields
}
ByNamespaceReader is a Reader for the ByNamespace structure.
func (*ByNamespaceReader) ReadResponse ¶
func (o *ByNamespaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for system metrics metric name history API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system metrics metric name history API client.
func (*Client) ByNamespace ¶
func (a *Client) ByNamespace(params *ByNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*ByNamespaceOK, error)
ByNamespace gets all metrics of a namespace
func (*Client) MetricNames ¶
func (a *Client) MetricNames(params *MetricNamesParams, authInfo runtime.ClientAuthInfoWriter) (*MetricNamesOK, error)
MetricNames gets all metrics keys names
func (*Client) Metrics ¶
func (a *Client) Metrics(params *MetricsParams, authInfo runtime.ClientAuthInfoWriter) (*MetricsOK, error)
Metrics gets all metrics
Note that this might return a huge result set.
func (*Client) MultipleMetrics ¶
func (a *Client) MultipleMetrics(params *MultipleMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*MultipleMetricsOK, error)
MultipleMetrics gets the values of multiple metrics at once
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SingleMetric ¶
func (a *Client) SingleMetric(params *SingleMetricParams, authInfo runtime.ClientAuthInfoWriter) (*SingleMetricOK, error)
SingleMetric gets a single metric
type MetricNamesOK ¶
type MetricNamesOK struct {
Payload *models.MetricNamesResponse
}
MetricNamesOK handles this case with default header values.
No response was specified
func NewMetricNamesOK ¶
func NewMetricNamesOK() *MetricNamesOK
NewMetricNamesOK creates a MetricNamesOK with default headers values
func (*MetricNamesOK) Error ¶
func (o *MetricNamesOK) Error() string
type MetricNamesParams ¶
type MetricNamesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MetricNamesParams contains all the parameters to send to the API endpoint for the metric names operation typically these are written to a http.Request
func NewMetricNamesParams ¶
func NewMetricNamesParams() *MetricNamesParams
NewMetricNamesParams creates a new MetricNamesParams object with the default values initialized.
func NewMetricNamesParamsWithContext ¶
func NewMetricNamesParamsWithContext(ctx context.Context) *MetricNamesParams
NewMetricNamesParamsWithContext creates a new MetricNamesParams object with the default values initialized, and the ability to set a context for a request
func NewMetricNamesParamsWithHTTPClient ¶
func NewMetricNamesParamsWithHTTPClient(client *http.Client) *MetricNamesParams
NewMetricNamesParamsWithHTTPClient creates a new MetricNamesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMetricNamesParamsWithTimeout ¶
func NewMetricNamesParamsWithTimeout(timeout time.Duration) *MetricNamesParams
NewMetricNamesParamsWithTimeout creates a new MetricNamesParams object with the default values initialized, and the ability to set a timeout on a request
func (*MetricNamesParams) SetContext ¶
func (o *MetricNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the metric names params
func (*MetricNamesParams) SetHTTPClient ¶
func (o *MetricNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the metric names params
func (*MetricNamesParams) SetTimeout ¶
func (o *MetricNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the metric names params
func (*MetricNamesParams) WithContext ¶
func (o *MetricNamesParams) WithContext(ctx context.Context) *MetricNamesParams
WithContext adds the context to the metric names params
func (*MetricNamesParams) WithHTTPClient ¶
func (o *MetricNamesParams) WithHTTPClient(client *http.Client) *MetricNamesParams
WithHTTPClient adds the HTTPClient to the metric names params
func (*MetricNamesParams) WithTimeout ¶
func (o *MetricNamesParams) WithTimeout(timeout time.Duration) *MetricNamesParams
WithTimeout adds the timeout to the metric names params
func (*MetricNamesParams) WriteToRequest ¶
func (o *MetricNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MetricNamesReader ¶
type MetricNamesReader struct {
// contains filtered or unexported fields
}
MetricNamesReader is a Reader for the MetricNames structure.
func (*MetricNamesReader) ReadResponse ¶
func (o *MetricNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MetricsOK ¶
type MetricsOK struct {
Payload MetricsOKBody
}
MetricsOK handles this case with default header values.
No response was specified
func NewMetricsOK ¶
func NewMetricsOK() *MetricsOK
NewMetricsOK creates a MetricsOK with default headers values
type MetricsOKBody ¶
type MetricsOKBody interface{}
MetricsOKBody metrics o k body swagger:model MetricsOKBody
type MetricsParams ¶
type MetricsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MetricsParams contains all the parameters to send to the API endpoint for the metrics operation typically these are written to a http.Request
func NewMetricsParams ¶
func NewMetricsParams() *MetricsParams
NewMetricsParams creates a new MetricsParams object with the default values initialized.
func NewMetricsParamsWithContext ¶
func NewMetricsParamsWithContext(ctx context.Context) *MetricsParams
NewMetricsParamsWithContext creates a new MetricsParams object with the default values initialized, and the ability to set a context for a request
func NewMetricsParamsWithHTTPClient ¶
func NewMetricsParamsWithHTTPClient(client *http.Client) *MetricsParams
NewMetricsParamsWithHTTPClient creates a new MetricsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMetricsParamsWithTimeout ¶
func NewMetricsParamsWithTimeout(timeout time.Duration) *MetricsParams
NewMetricsParamsWithTimeout creates a new MetricsParams object with the default values initialized, and the ability to set a timeout on a request
func (*MetricsParams) SetContext ¶
func (o *MetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the metrics params
func (*MetricsParams) SetHTTPClient ¶
func (o *MetricsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the metrics params
func (*MetricsParams) SetTimeout ¶
func (o *MetricsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the metrics params
func (*MetricsParams) WithContext ¶
func (o *MetricsParams) WithContext(ctx context.Context) *MetricsParams
WithContext adds the context to the metrics params
func (*MetricsParams) WithHTTPClient ¶
func (o *MetricsParams) WithHTTPClient(client *http.Client) *MetricsParams
WithHTTPClient adds the HTTPClient to the metrics params
func (*MetricsParams) WithTimeout ¶
func (o *MetricsParams) WithTimeout(timeout time.Duration) *MetricsParams
WithTimeout adds the timeout to the metrics params
func (*MetricsParams) WriteToRequest ¶
func (o *MetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MetricsReader ¶
type MetricsReader struct {
// contains filtered or unexported fields
}
MetricsReader is a Reader for the Metrics structure.
func (*MetricsReader) ReadResponse ¶
func (o *MetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MultipleMetricsBadRequest ¶
type MultipleMetricsBadRequest struct { }
MultipleMetricsBadRequest handles this case with default header values.
Malformed body
func NewMultipleMetricsBadRequest ¶
func NewMultipleMetricsBadRequest() *MultipleMetricsBadRequest
NewMultipleMetricsBadRequest creates a MultipleMetricsBadRequest with default headers values
func (*MultipleMetricsBadRequest) Error ¶
func (o *MultipleMetricsBadRequest) Error() string
type MultipleMetricsOK ¶
type MultipleMetricsOK struct {
Payload *models.MetricsSummaryResponse
}
MultipleMetricsOK handles this case with default header values.
No response was specified
func NewMultipleMetricsOK ¶
func NewMultipleMetricsOK() *MultipleMetricsOK
NewMultipleMetricsOK creates a MultipleMetricsOK with default headers values
func (*MultipleMetricsOK) Error ¶
func (o *MultipleMetricsOK) Error() string
type MultipleMetricsParams ¶
type MultipleMetricsParams struct { /*RequestedMetrics*/ RequestedMetrics *models.MetricsReadRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MultipleMetricsParams contains all the parameters to send to the API endpoint for the multiple metrics operation typically these are written to a http.Request
func NewMultipleMetricsParams ¶
func NewMultipleMetricsParams() *MultipleMetricsParams
NewMultipleMetricsParams creates a new MultipleMetricsParams object with the default values initialized.
func NewMultipleMetricsParamsWithContext ¶
func NewMultipleMetricsParamsWithContext(ctx context.Context) *MultipleMetricsParams
NewMultipleMetricsParamsWithContext creates a new MultipleMetricsParams object with the default values initialized, and the ability to set a context for a request
func NewMultipleMetricsParamsWithHTTPClient ¶
func NewMultipleMetricsParamsWithHTTPClient(client *http.Client) *MultipleMetricsParams
NewMultipleMetricsParamsWithHTTPClient creates a new MultipleMetricsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMultipleMetricsParamsWithTimeout ¶
func NewMultipleMetricsParamsWithTimeout(timeout time.Duration) *MultipleMetricsParams
NewMultipleMetricsParamsWithTimeout creates a new MultipleMetricsParams object with the default values initialized, and the ability to set a timeout on a request
func (*MultipleMetricsParams) SetContext ¶
func (o *MultipleMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the multiple metrics params
func (*MultipleMetricsParams) SetHTTPClient ¶
func (o *MultipleMetricsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the multiple metrics params
func (*MultipleMetricsParams) SetRequestedMetrics ¶
func (o *MultipleMetricsParams) SetRequestedMetrics(requestedMetrics *models.MetricsReadRequest)
SetRequestedMetrics adds the requestedMetrics to the multiple metrics params
func (*MultipleMetricsParams) SetTimeout ¶
func (o *MultipleMetricsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the multiple metrics params
func (*MultipleMetricsParams) WithContext ¶
func (o *MultipleMetricsParams) WithContext(ctx context.Context) *MultipleMetricsParams
WithContext adds the context to the multiple metrics params
func (*MultipleMetricsParams) WithHTTPClient ¶
func (o *MultipleMetricsParams) WithHTTPClient(client *http.Client) *MultipleMetricsParams
WithHTTPClient adds the HTTPClient to the multiple metrics params
func (*MultipleMetricsParams) WithRequestedMetrics ¶
func (o *MultipleMetricsParams) WithRequestedMetrics(requestedMetrics *models.MetricsReadRequest) *MultipleMetricsParams
WithRequestedMetrics adds the requestedMetrics to the multiple metrics params
func (*MultipleMetricsParams) WithTimeout ¶
func (o *MultipleMetricsParams) WithTimeout(timeout time.Duration) *MultipleMetricsParams
WithTimeout adds the timeout to the multiple metrics params
func (*MultipleMetricsParams) WriteToRequest ¶
func (o *MultipleMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MultipleMetricsReader ¶
type MultipleMetricsReader struct {
// contains filtered or unexported fields
}
MultipleMetricsReader is a Reader for the MultipleMetrics structure.
func (*MultipleMetricsReader) ReadResponse ¶
func (o *MultipleMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SingleMetricNotFound ¶
type SingleMetricNotFound struct { }
SingleMetricNotFound handles this case with default header values.
No such metric
func NewSingleMetricNotFound ¶
func NewSingleMetricNotFound() *SingleMetricNotFound
NewSingleMetricNotFound creates a SingleMetricNotFound with default headers values
func (*SingleMetricNotFound) Error ¶
func (o *SingleMetricNotFound) Error() string
type SingleMetricOK ¶
type SingleMetricOK struct {
Payload SingleMetricOKBody
}
SingleMetricOK handles this case with default header values.
No response was specified
func NewSingleMetricOK ¶
func NewSingleMetricOK() *SingleMetricOK
NewSingleMetricOK creates a SingleMetricOK with default headers values
func (*SingleMetricOK) Error ¶
func (o *SingleMetricOK) Error() string
type SingleMetricOKBody ¶
type SingleMetricOKBody interface{}
SingleMetricOKBody single metric o k body swagger:model SingleMetricOKBody
type SingleMetricParams ¶
type SingleMetricParams struct { /*MetricName*/ MetricName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SingleMetricParams contains all the parameters to send to the API endpoint for the single metric operation typically these are written to a http.Request
func NewSingleMetricParams ¶
func NewSingleMetricParams() *SingleMetricParams
NewSingleMetricParams creates a new SingleMetricParams object with the default values initialized.
func NewSingleMetricParamsWithContext ¶
func NewSingleMetricParamsWithContext(ctx context.Context) *SingleMetricParams
NewSingleMetricParamsWithContext creates a new SingleMetricParams object with the default values initialized, and the ability to set a context for a request
func NewSingleMetricParamsWithHTTPClient ¶
func NewSingleMetricParamsWithHTTPClient(client *http.Client) *SingleMetricParams
NewSingleMetricParamsWithHTTPClient creates a new SingleMetricParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSingleMetricParamsWithTimeout ¶
func NewSingleMetricParamsWithTimeout(timeout time.Duration) *SingleMetricParams
NewSingleMetricParamsWithTimeout creates a new SingleMetricParams object with the default values initialized, and the ability to set a timeout on a request
func (*SingleMetricParams) SetContext ¶
func (o *SingleMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the single metric params
func (*SingleMetricParams) SetHTTPClient ¶
func (o *SingleMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the single metric params
func (*SingleMetricParams) SetMetricName ¶
func (o *SingleMetricParams) SetMetricName(metricName string)
SetMetricName adds the metricName to the single metric params
func (*SingleMetricParams) SetTimeout ¶
func (o *SingleMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the single metric params
func (*SingleMetricParams) WithContext ¶
func (o *SingleMetricParams) WithContext(ctx context.Context) *SingleMetricParams
WithContext adds the context to the single metric params
func (*SingleMetricParams) WithHTTPClient ¶
func (o *SingleMetricParams) WithHTTPClient(client *http.Client) *SingleMetricParams
WithHTTPClient adds the HTTPClient to the single metric params
func (*SingleMetricParams) WithMetricName ¶
func (o *SingleMetricParams) WithMetricName(metricName string) *SingleMetricParams
WithMetricName adds the metricName to the single metric params
func (*SingleMetricParams) WithTimeout ¶
func (o *SingleMetricParams) WithTimeout(timeout time.Duration) *SingleMetricParams
WithTimeout adds the timeout to the single metric params
func (*SingleMetricParams) WriteToRequest ¶
func (o *SingleMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SingleMetricReader ¶
type SingleMetricReader struct {
// contains filtered or unexported fields
}
SingleMetricReader is a Reader for the SingleMetric structure.
func (*SingleMetricReader) ReadResponse ¶
func (o *SingleMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- by_namespace_parameters.go
- by_namespace_responses.go
- metric_names_parameters.go
- metric_names_responses.go
- metrics_parameters.go
- metrics_responses.go
- multiple_metrics_parameters.go
- multiple_metrics_responses.go
- single_metric_parameters.go
- single_metric_responses.go
- system_metrics_metric_name_history_client.go