Documentation ¶
Index ¶
- type Client
- type ClientService
- type ListNodeDeploymentMetricsDefault
- type ListNodeDeploymentMetricsForbidden
- type ListNodeDeploymentMetricsOK
- type ListNodeDeploymentMetricsParams
- func NewListNodeDeploymentMetricsParams() *ListNodeDeploymentMetricsParams
- func NewListNodeDeploymentMetricsParamsWithContext(ctx context.Context) *ListNodeDeploymentMetricsParams
- func NewListNodeDeploymentMetricsParamsWithHTTPClient(client *http.Client) *ListNodeDeploymentMetricsParams
- func NewListNodeDeploymentMetricsParamsWithTimeout(timeout time.Duration) *ListNodeDeploymentMetricsParams
- func (o *ListNodeDeploymentMetricsParams) SetClusterID(clusterID string)
- func (o *ListNodeDeploymentMetricsParams) SetContext(ctx context.Context)
- func (o *ListNodeDeploymentMetricsParams) SetDC(dc string)
- func (o *ListNodeDeploymentMetricsParams) SetHTTPClient(client *http.Client)
- func (o *ListNodeDeploymentMetricsParams) SetNodeDeploymentID(nodedeploymentID string)
- func (o *ListNodeDeploymentMetricsParams) SetProjectID(projectID string)
- func (o *ListNodeDeploymentMetricsParams) SetTimeout(timeout time.Duration)
- func (o *ListNodeDeploymentMetricsParams) WithClusterID(clusterID string) *ListNodeDeploymentMetricsParams
- func (o *ListNodeDeploymentMetricsParams) WithContext(ctx context.Context) *ListNodeDeploymentMetricsParams
- func (o *ListNodeDeploymentMetricsParams) WithDC(dc string) *ListNodeDeploymentMetricsParams
- func (o *ListNodeDeploymentMetricsParams) WithHTTPClient(client *http.Client) *ListNodeDeploymentMetricsParams
- func (o *ListNodeDeploymentMetricsParams) WithNodeDeploymentID(nodedeploymentID string) *ListNodeDeploymentMetricsParams
- func (o *ListNodeDeploymentMetricsParams) WithProjectID(projectID string) *ListNodeDeploymentMetricsParams
- func (o *ListNodeDeploymentMetricsParams) WithTimeout(timeout time.Duration) *ListNodeDeploymentMetricsParams
- func (o *ListNodeDeploymentMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNodeDeploymentMetricsReader
- type ListNodeDeploymentMetricsUnauthorized
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 ¶
func (o *ListNodeDeploymentMetricsDefault) Code() int
Code gets the status code for the list node deployment metrics default response
func (*ListNodeDeploymentMetricsDefault) Error ¶
func (o *ListNodeDeploymentMetricsDefault) Error() string
func (*ListNodeDeploymentMetricsDefault) GetPayload ¶
func (o *ListNodeDeploymentMetricsDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListNodeDeploymentMetricsForbidden) Error() string
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 (o *ListNodeDeploymentMetricsOK) Error() string
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 ¶
func (o *ListNodeDeploymentMetricsParams) SetDC(dc string)
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 ¶
func (o *ListNodeDeploymentMetricsParams) WithClusterID(clusterID string) *ListNodeDeploymentMetricsParams
WithClusterID adds the clusterID to the list node deployment metrics params
func (*ListNodeDeploymentMetricsParams) WithContext ¶
func (o *ListNodeDeploymentMetricsParams) WithContext(ctx context.Context) *ListNodeDeploymentMetricsParams
WithContext adds the context to the list node deployment metrics params
func (*ListNodeDeploymentMetricsParams) WithDC ¶
func (o *ListNodeDeploymentMetricsParams) WithDC(dc string) *ListNodeDeploymentMetricsParams
WithDC adds the dc to the list node deployment metrics params
func (*ListNodeDeploymentMetricsParams) WithHTTPClient ¶
func (o *ListNodeDeploymentMetricsParams) WithHTTPClient(client *http.Client) *ListNodeDeploymentMetricsParams
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 ¶
func (o *ListNodeDeploymentMetricsParams) WithProjectID(projectID string) *ListNodeDeploymentMetricsParams
WithProjectID adds the projectID to the list node deployment metrics params
func (*ListNodeDeploymentMetricsParams) WithTimeout ¶
func (o *ListNodeDeploymentMetricsParams) WithTimeout(timeout time.Duration) *ListNodeDeploymentMetricsParams
WithTimeout adds the timeout to the list node deployment metrics params
func (*ListNodeDeploymentMetricsParams) WriteToRequest ¶
func (o *ListNodeDeploymentMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListNodeDeploymentMetricsUnauthorized) Error() string