metric

package
v9.99.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 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 metric API

func (*Client) ListNodeDeploymentMetrics

func (a *Client) ListNodeDeploymentMetrics(params *ListNodeDeploymentMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*ListNodeDeploymentMetricsOK, error)

ListNodeDeploymentMetrics lists metrics that belong to the given node deployment

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListNodeDeploymentMetrics(params *ListNodeDeploymentMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*ListNodeDeploymentMetricsOK, 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 metric API client.

type ListNodeDeploymentMetricsDefault

type ListNodeDeploymentMetricsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListNodeDeploymentMetricsDefault handles this case with default header values.

errorResponse

func NewListNodeDeploymentMetricsDefault

func NewListNodeDeploymentMetricsDefault(code int) *ListNodeDeploymentMetricsDefault

NewListNodeDeploymentMetricsDefault creates a ListNodeDeploymentMetricsDefault with default headers values

func (*ListNodeDeploymentMetricsDefault) Code

Code gets the status code for the list node deployment metrics default response

func (*ListNodeDeploymentMetricsDefault) Error

func (*ListNodeDeploymentMetricsDefault) GetPayload

type ListNodeDeploymentMetricsForbidden

type ListNodeDeploymentMetricsForbidden struct {
}

ListNodeDeploymentMetricsForbidden handles this case with default header values.

EmptyResponse is a empty response

func NewListNodeDeploymentMetricsForbidden

func NewListNodeDeploymentMetricsForbidden() *ListNodeDeploymentMetricsForbidden

NewListNodeDeploymentMetricsForbidden creates a ListNodeDeploymentMetricsForbidden with default headers values

func (*ListNodeDeploymentMetricsForbidden) Error

type ListNodeDeploymentMetricsOK

type ListNodeDeploymentMetricsOK struct {
	Payload []*models.NodeMetric
}

ListNodeDeploymentMetricsOK handles this case with default header values.

NodeMetric

func NewListNodeDeploymentMetricsOK

func NewListNodeDeploymentMetricsOK() *ListNodeDeploymentMetricsOK

NewListNodeDeploymentMetricsOK creates a ListNodeDeploymentMetricsOK with default headers values

func (*ListNodeDeploymentMetricsOK) Error

func (*ListNodeDeploymentMetricsOK) GetPayload

func (o *ListNodeDeploymentMetricsOK) GetPayload() []*models.NodeMetric

type ListNodeDeploymentMetricsParams

type ListNodeDeploymentMetricsParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*NodedeploymentID*/
	NodeDeploymentID string
	/*ProjectID*/
	ProjectID string

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

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

func NewListNodeDeploymentMetricsParams

func NewListNodeDeploymentMetricsParams() *ListNodeDeploymentMetricsParams

NewListNodeDeploymentMetricsParams creates a new ListNodeDeploymentMetricsParams object with the default values initialized.

func NewListNodeDeploymentMetricsParamsWithContext

func NewListNodeDeploymentMetricsParamsWithContext(ctx context.Context) *ListNodeDeploymentMetricsParams

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

func NewListNodeDeploymentMetricsParamsWithHTTPClient

func NewListNodeDeploymentMetricsParamsWithHTTPClient(client *http.Client) *ListNodeDeploymentMetricsParams

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

func NewListNodeDeploymentMetricsParamsWithTimeout

func NewListNodeDeploymentMetricsParamsWithTimeout(timeout time.Duration) *ListNodeDeploymentMetricsParams

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

func (*ListNodeDeploymentMetricsParams) SetClusterID

func (o *ListNodeDeploymentMetricsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) SetContext

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

SetContext adds the context to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) SetDC

SetDC adds the dc to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) SetNodeDeploymentID

func (o *ListNodeDeploymentMetricsParams) SetNodeDeploymentID(nodedeploymentID string)

SetNodeDeploymentID adds the nodedeploymentId to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) SetProjectID

func (o *ListNodeDeploymentMetricsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) SetTimeout

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

SetTimeout adds the timeout to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) WithClusterID

WithClusterID adds the clusterID to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) WithContext

WithContext adds the context to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) WithDC

WithDC adds the dc to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) WithNodeDeploymentID

func (o *ListNodeDeploymentMetricsParams) WithNodeDeploymentID(nodedeploymentID string) *ListNodeDeploymentMetricsParams

WithNodeDeploymentID adds the nodedeploymentID to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) WithProjectID

WithProjectID adds the projectID to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) WithTimeout

WithTimeout adds the timeout to the list node deployment metrics params

func (*ListNodeDeploymentMetricsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNodeDeploymentMetricsReader

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

ListNodeDeploymentMetricsReader is a Reader for the ListNodeDeploymentMetrics structure.

func (*ListNodeDeploymentMetricsReader) ReadResponse

func (o *ListNodeDeploymentMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListNodeDeploymentMetricsUnauthorized

type ListNodeDeploymentMetricsUnauthorized struct {
}

ListNodeDeploymentMetricsUnauthorized handles this case with default header values.

EmptyResponse is a empty response

func NewListNodeDeploymentMetricsUnauthorized

func NewListNodeDeploymentMetricsUnauthorized() *ListNodeDeploymentMetricsUnauthorized

NewListNodeDeploymentMetricsUnauthorized creates a ListNodeDeploymentMetricsUnauthorized with default headers values

func (*ListNodeDeploymentMetricsUnauthorized) Error

Jump to

Keyboard shortcuts

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