system_metrics_metric_name_history

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

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

func (*MetricsOK) Error

func (o *MetricsOK) Error() string

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL