metrics

package
v0.0.0-...-878b285 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 metrics API

func (*Client) MetricsMetricsList

func (a *Client) MetricsMetricsList(params *MetricsMetricsListParams) (*MetricsMetricsListOK, error)

MetricsMetricsList shows metrics details

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	MetricsMetricsList(params *MetricsMetricsListParams) (*MetricsMetricsListOK, 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 metrics API client.

type MetricsMetricsListOK

type MetricsMetricsListOK struct {
}

MetricsMetricsListOK handles this case with default header values.

OK

func NewMetricsMetricsListOK

func NewMetricsMetricsListOK() *MetricsMetricsListOK

NewMetricsMetricsListOK creates a MetricsMetricsListOK with default headers values

func (*MetricsMetricsListOK) Error

func (o *MetricsMetricsListOK) Error() string

type MetricsMetricsListParams

type MetricsMetricsListParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MetricsMetricsListParams contains all the parameters to send to the API endpoint for the metrics metrics list operation typically these are written to a http.Request

func NewMetricsMetricsListParams

func NewMetricsMetricsListParams() *MetricsMetricsListParams

NewMetricsMetricsListParams creates a new MetricsMetricsListParams object with the default values initialized.

func NewMetricsMetricsListParamsWithContext

func NewMetricsMetricsListParamsWithContext(ctx context.Context) *MetricsMetricsListParams

NewMetricsMetricsListParamsWithContext creates a new MetricsMetricsListParams object with the default values initialized, and the ability to set a context for a request

func NewMetricsMetricsListParamsWithHTTPClient

func NewMetricsMetricsListParamsWithHTTPClient(client *http.Client) *MetricsMetricsListParams

NewMetricsMetricsListParamsWithHTTPClient creates a new MetricsMetricsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMetricsMetricsListParamsWithTimeout

func NewMetricsMetricsListParamsWithTimeout(timeout time.Duration) *MetricsMetricsListParams

NewMetricsMetricsListParamsWithTimeout creates a new MetricsMetricsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*MetricsMetricsListParams) SetContext

func (o *MetricsMetricsListParams) SetContext(ctx context.Context)

SetContext adds the context to the metrics metrics list params

func (*MetricsMetricsListParams) SetHTTPClient

func (o *MetricsMetricsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the metrics metrics list params

func (*MetricsMetricsListParams) SetTimeout

func (o *MetricsMetricsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the metrics metrics list params

func (*MetricsMetricsListParams) WithContext

WithContext adds the context to the metrics metrics list params

func (*MetricsMetricsListParams) WithHTTPClient

func (o *MetricsMetricsListParams) WithHTTPClient(client *http.Client) *MetricsMetricsListParams

WithHTTPClient adds the HTTPClient to the metrics metrics list params

func (*MetricsMetricsListParams) WithTimeout

WithTimeout adds the timeout to the metrics metrics list params

func (*MetricsMetricsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MetricsMetricsListReader

type MetricsMetricsListReader struct {
	// contains filtered or unexported fields
}

MetricsMetricsListReader is a Reader for the MetricsMetricsList structure.

func (*MetricsMetricsListReader) ReadResponse

func (o *MetricsMetricsListReader) 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