cluster_metrics

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 Client

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

Client for cluster metrics API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new cluster metrics API client.

func (*Client) MultipleMetricsAllNodes

func (a *Client) MultipleMetricsAllNodes(params *MultipleMetricsAllNodesParams, authInfo runtime.ClientAuthInfoWriter) (*MultipleMetricsAllNodesOK, error)

MultipleMetricsAllNodes gets all metrics of all nodes in the cluster

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type MultipleMetricsAllNodesBadRequest

type MultipleMetricsAllNodesBadRequest struct {
}

MultipleMetricsAllNodesBadRequest handles this case with default header values.

Malformed body

func NewMultipleMetricsAllNodesBadRequest

func NewMultipleMetricsAllNodesBadRequest() *MultipleMetricsAllNodesBadRequest

NewMultipleMetricsAllNodesBadRequest creates a MultipleMetricsAllNodesBadRequest with default headers values

func (*MultipleMetricsAllNodesBadRequest) Error

type MultipleMetricsAllNodesOK

type MultipleMetricsAllNodesOK struct {
	Payload MultipleMetricsAllNodesOKBody
}

MultipleMetricsAllNodesOK handles this case with default header values.

No response was specified

func NewMultipleMetricsAllNodesOK

func NewMultipleMetricsAllNodesOK() *MultipleMetricsAllNodesOK

NewMultipleMetricsAllNodesOK creates a MultipleMetricsAllNodesOK with default headers values

func (*MultipleMetricsAllNodesOK) Error

func (o *MultipleMetricsAllNodesOK) Error() string

type MultipleMetricsAllNodesOKBody

type MultipleMetricsAllNodesOKBody interface{}

MultipleMetricsAllNodesOKBody multiple metrics all nodes o k body swagger:model MultipleMetricsAllNodesOKBody

type MultipleMetricsAllNodesParams

type MultipleMetricsAllNodesParams struct {

	/*RequestedMetrics*/
	RequestedMetrics *models.MetricsReadRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MultipleMetricsAllNodesParams contains all the parameters to send to the API endpoint for the multiple metrics all nodes operation typically these are written to a http.Request

func NewMultipleMetricsAllNodesParams

func NewMultipleMetricsAllNodesParams() *MultipleMetricsAllNodesParams

NewMultipleMetricsAllNodesParams creates a new MultipleMetricsAllNodesParams object with the default values initialized.

func NewMultipleMetricsAllNodesParamsWithContext

func NewMultipleMetricsAllNodesParamsWithContext(ctx context.Context) *MultipleMetricsAllNodesParams

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

func NewMultipleMetricsAllNodesParamsWithHTTPClient

func NewMultipleMetricsAllNodesParamsWithHTTPClient(client *http.Client) *MultipleMetricsAllNodesParams

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

func NewMultipleMetricsAllNodesParamsWithTimeout

func NewMultipleMetricsAllNodesParamsWithTimeout(timeout time.Duration) *MultipleMetricsAllNodesParams

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

func (*MultipleMetricsAllNodesParams) SetContext

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

SetContext adds the context to the multiple metrics all nodes params

func (*MultipleMetricsAllNodesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the multiple metrics all nodes params

func (*MultipleMetricsAllNodesParams) SetRequestedMetrics

func (o *MultipleMetricsAllNodesParams) SetRequestedMetrics(requestedMetrics *models.MetricsReadRequest)

SetRequestedMetrics adds the requestedMetrics to the multiple metrics all nodes params

func (*MultipleMetricsAllNodesParams) SetTimeout

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

SetTimeout adds the timeout to the multiple metrics all nodes params

func (*MultipleMetricsAllNodesParams) WithContext

WithContext adds the context to the multiple metrics all nodes params

func (*MultipleMetricsAllNodesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the multiple metrics all nodes params

func (*MultipleMetricsAllNodesParams) WithRequestedMetrics

func (o *MultipleMetricsAllNodesParams) WithRequestedMetrics(requestedMetrics *models.MetricsReadRequest) *MultipleMetricsAllNodesParams

WithRequestedMetrics adds the requestedMetrics to the multiple metrics all nodes params

func (*MultipleMetricsAllNodesParams) WithTimeout

WithTimeout adds the timeout to the multiple metrics all nodes params

func (*MultipleMetricsAllNodesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MultipleMetricsAllNodesReader

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

MultipleMetricsAllNodesReader is a Reader for the MultipleMetricsAllNodes structure.

func (*MultipleMetricsAllNodesReader) ReadResponse

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