Documentation ¶
Index ¶
- type Client
- type ClientService
- type DetailsItems0
- type GetMetricsNamesDefault
- type GetMetricsNamesDefaultBody
- type GetMetricsNamesOK
- type GetMetricsNamesOKBody
- type GetMetricsNamesParams
- func NewGetMetricsNamesParams() *GetMetricsNamesParams
- func NewGetMetricsNamesParamsWithContext(ctx context.Context) *GetMetricsNamesParams
- func NewGetMetricsNamesParamsWithHTTPClient(client *http.Client) *GetMetricsNamesParams
- func NewGetMetricsNamesParamsWithTimeout(timeout time.Duration) *GetMetricsNamesParams
- func (o *GetMetricsNamesParams) SetBody(body interface{})
- func (o *GetMetricsNamesParams) SetContext(ctx context.Context)
- func (o *GetMetricsNamesParams) SetHTTPClient(client *http.Client)
- func (o *GetMetricsNamesParams) SetTimeout(timeout time.Duration)
- func (o *GetMetricsNamesParams) WithBody(body interface{}) *GetMetricsNamesParams
- func (o *GetMetricsNamesParams) WithContext(ctx context.Context) *GetMetricsNamesParams
- func (o *GetMetricsNamesParams) WithHTTPClient(client *http.Client) *GetMetricsNamesParams
- func (o *GetMetricsNamesParams) WithTimeout(timeout time.Duration) *GetMetricsNamesParams
- func (o *GetMetricsNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetricsNamesReader
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 names API
func (*Client) GetMetricsNames ¶
func (a *Client) GetMetricsNames(params *GetMetricsNamesParams) (*GetMetricsNamesOK, error)
GetMetricsNames gets metrics names gets map of metrics names
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetMetricsNames(params *GetMetricsNamesParams) (*GetMetricsNamesOK, 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 names API client.
type DetailsItems0 ¶
type DetailsItems0 struct { // type url TypeURL string `json:"type_url,omitempty"` // value // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
DetailsItems0 details items0 swagger:model DetailsItems0
func (*DetailsItems0) MarshalBinary ¶
func (o *DetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailsItems0) UnmarshalBinary ¶
func (o *DetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetMetricsNamesDefault ¶
type GetMetricsNamesDefault struct { Payload *GetMetricsNamesDefaultBody // contains filtered or unexported fields }
GetMetricsNamesDefault handles this case with default header values.
An unexpected error response.
func NewGetMetricsNamesDefault ¶
func NewGetMetricsNamesDefault(code int) *GetMetricsNamesDefault
NewGetMetricsNamesDefault creates a GetMetricsNamesDefault with default headers values
func (*GetMetricsNamesDefault) Code ¶
func (o *GetMetricsNamesDefault) Code() int
Code gets the status code for the get metrics names default response
func (*GetMetricsNamesDefault) Error ¶
func (o *GetMetricsNamesDefault) Error() string
func (*GetMetricsNamesDefault) GetPayload ¶
func (o *GetMetricsNamesDefault) GetPayload() *GetMetricsNamesDefaultBody
type GetMetricsNamesDefaultBody ¶
type GetMetricsNamesDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
GetMetricsNamesDefaultBody get metrics names default body swagger:model GetMetricsNamesDefaultBody
func (*GetMetricsNamesDefaultBody) MarshalBinary ¶
func (o *GetMetricsNamesDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetMetricsNamesDefaultBody) UnmarshalBinary ¶
func (o *GetMetricsNamesDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetMetricsNamesOK ¶
type GetMetricsNamesOK struct {
Payload *GetMetricsNamesOKBody
}
GetMetricsNamesOK handles this case with default header values.
A successful response.
func NewGetMetricsNamesOK ¶
func NewGetMetricsNamesOK() *GetMetricsNamesOK
NewGetMetricsNamesOK creates a GetMetricsNamesOK with default headers values
func (*GetMetricsNamesOK) Error ¶
func (o *GetMetricsNamesOK) Error() string
func (*GetMetricsNamesOK) GetPayload ¶
func (o *GetMetricsNamesOK) GetPayload() *GetMetricsNamesOKBody
type GetMetricsNamesOKBody ¶
GetMetricsNamesOKBody MetricsNamesReply is map of stored metrics: // key is root of metric name in db (Ex:. [m_]query_time[_sum]); // value - Human readable name of metrics. swagger:model GetMetricsNamesOKBody
func (*GetMetricsNamesOKBody) MarshalBinary ¶
func (o *GetMetricsNamesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetMetricsNamesOKBody) UnmarshalBinary ¶
func (o *GetMetricsNamesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetMetricsNamesParams ¶
type GetMetricsNamesParams struct { /*Body*/ Body interface{} Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMetricsNamesParams contains all the parameters to send to the API endpoint for the get metrics names operation typically these are written to a http.Request
func NewGetMetricsNamesParams ¶
func NewGetMetricsNamesParams() *GetMetricsNamesParams
NewGetMetricsNamesParams creates a new GetMetricsNamesParams object with the default values initialized.
func NewGetMetricsNamesParamsWithContext ¶
func NewGetMetricsNamesParamsWithContext(ctx context.Context) *GetMetricsNamesParams
NewGetMetricsNamesParamsWithContext creates a new GetMetricsNamesParams object with the default values initialized, and the ability to set a context for a request
func NewGetMetricsNamesParamsWithHTTPClient ¶
func NewGetMetricsNamesParamsWithHTTPClient(client *http.Client) *GetMetricsNamesParams
NewGetMetricsNamesParamsWithHTTPClient creates a new GetMetricsNamesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMetricsNamesParamsWithTimeout ¶
func NewGetMetricsNamesParamsWithTimeout(timeout time.Duration) *GetMetricsNamesParams
NewGetMetricsNamesParamsWithTimeout creates a new GetMetricsNamesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMetricsNamesParams) SetBody ¶
func (o *GetMetricsNamesParams) SetBody(body interface{})
SetBody adds the body to the get metrics names params
func (*GetMetricsNamesParams) SetContext ¶
func (o *GetMetricsNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the get metrics names params
func (*GetMetricsNamesParams) SetHTTPClient ¶
func (o *GetMetricsNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metrics names params
func (*GetMetricsNamesParams) SetTimeout ¶
func (o *GetMetricsNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metrics names params
func (*GetMetricsNamesParams) WithBody ¶
func (o *GetMetricsNamesParams) WithBody(body interface{}) *GetMetricsNamesParams
WithBody adds the body to the get metrics names params
func (*GetMetricsNamesParams) WithContext ¶
func (o *GetMetricsNamesParams) WithContext(ctx context.Context) *GetMetricsNamesParams
WithContext adds the context to the get metrics names params
func (*GetMetricsNamesParams) WithHTTPClient ¶
func (o *GetMetricsNamesParams) WithHTTPClient(client *http.Client) *GetMetricsNamesParams
WithHTTPClient adds the HTTPClient to the get metrics names params
func (*GetMetricsNamesParams) WithTimeout ¶
func (o *GetMetricsNamesParams) WithTimeout(timeout time.Duration) *GetMetricsNamesParams
WithTimeout adds the timeout to the get metrics names params
func (*GetMetricsNamesParams) WriteToRequest ¶
func (o *GetMetricsNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMetricsNamesReader ¶
type GetMetricsNamesReader struct {
// contains filtered or unexported fields
}
GetMetricsNamesReader is a Reader for the GetMetricsNames structure.
func (*GetMetricsNamesReader) ReadResponse ¶
func (o *GetMetricsNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.