metrics_api

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 12 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 {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

Client for metrics api API

func New

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

New creates a new metrics api API client.

func (*Client) GetMetricsPrometheusAPIV1Query

func (c *Client) GetMetricsPrometheusAPIV1Query() *GetMetricsPrometheusAPIV1QueryRequest

Client.GetMetricsPrometheusAPIV1Query creates a new GetMetricsPrometheusAPIV1QueryRequest object with the default values initialized.

func (*Client) GetMetricsPrometheusAPIV1QueryRange

func (c *Client) GetMetricsPrometheusAPIV1QueryRange() *GetMetricsPrometheusAPIV1QueryRangeRequest

Client.GetMetricsPrometheusAPIV1QueryRange creates a new GetMetricsPrometheusAPIV1QueryRangeRequest object with the default values initialized.

func (*Client) GetMetricsPrometheusFederate

func (c *Client) GetMetricsPrometheusFederate() *GetMetricsPrometheusFederateRequest

Client.GetMetricsPrometheusFederate creates a new GetMetricsPrometheusFederateRequest object with the default values initialized.

func (*Client) PostMetricsPrometheusAPIV1Query

func (c *Client) PostMetricsPrometheusAPIV1Query() *PostMetricsPrometheusAPIV1QueryRequest

Client.PostMetricsPrometheusAPIV1Query creates a new PostMetricsPrometheusAPIV1QueryRequest object with the default values initialized.

func (*Client) PostMetricsPrometheusAPIV1QueryRange

func (c *Client) PostMetricsPrometheusAPIV1QueryRange() *PostMetricsPrometheusAPIV1QueryRangeRequest

Client.PostMetricsPrometheusAPIV1QueryRange creates a new PostMetricsPrometheusAPIV1QueryRangeRequest object with the default values initialized.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetMetricsPrometheusAPIV1QueryBadRequest

type GetMetricsPrometheusAPIV1QueryBadRequest struct {

	// isStream: false
	*models.MetricsQueryResponse
}

GetMetricsPrometheusAPIV1QueryBadRequest handles this case with default header values.

Bad Request

func NewGetMetricsPrometheusAPIV1QueryBadRequest

func NewGetMetricsPrometheusAPIV1QueryBadRequest() *GetMetricsPrometheusAPIV1QueryBadRequest

NewGetMetricsPrometheusAPIV1QueryBadRequest creates a GetMetricsPrometheusAPIV1QueryBadRequest with default headers values

func (*GetMetricsPrometheusAPIV1QueryBadRequest) Error

type GetMetricsPrometheusAPIV1QueryForbidden

type GetMetricsPrometheusAPIV1QueryForbidden struct {
}

GetMetricsPrometheusAPIV1QueryForbidden handles this case with default header values.

Forbidden

func NewGetMetricsPrometheusAPIV1QueryForbidden

func NewGetMetricsPrometheusAPIV1QueryForbidden() *GetMetricsPrometheusAPIV1QueryForbidden

NewGetMetricsPrometheusAPIV1QueryForbidden creates a GetMetricsPrometheusAPIV1QueryForbidden with default headers values

func (*GetMetricsPrometheusAPIV1QueryForbidden) Error

type GetMetricsPrometheusAPIV1QueryInternalServerError

type GetMetricsPrometheusAPIV1QueryInternalServerError struct {
}

GetMetricsPrometheusAPIV1QueryInternalServerError handles this case with default header values.

Internal Server Error

func NewGetMetricsPrometheusAPIV1QueryInternalServerError

func NewGetMetricsPrometheusAPIV1QueryInternalServerError() *GetMetricsPrometheusAPIV1QueryInternalServerError

NewGetMetricsPrometheusAPIV1QueryInternalServerError creates a GetMetricsPrometheusAPIV1QueryInternalServerError with default headers values

func (*GetMetricsPrometheusAPIV1QueryInternalServerError) Error

type GetMetricsPrometheusAPIV1QueryOK

type GetMetricsPrometheusAPIV1QueryOK struct {

	// isStream: false
	*models.MetricsQueryResponse
}

GetMetricsPrometheusAPIV1QueryOK handles this case with default header values.

See Prometheus api https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries

func NewGetMetricsPrometheusAPIV1QueryOK

func NewGetMetricsPrometheusAPIV1QueryOK() *GetMetricsPrometheusAPIV1QueryOK

NewGetMetricsPrometheusAPIV1QueryOK creates a GetMetricsPrometheusAPIV1QueryOK with default headers values

func (*GetMetricsPrometheusAPIV1QueryOK) Error

type GetMetricsPrometheusAPIV1QueryRangeBadRequest

type GetMetricsPrometheusAPIV1QueryRangeBadRequest struct {

	// isStream: false
	*models.MetricsQueryResponse
}

GetMetricsPrometheusAPIV1QueryRangeBadRequest handles this case with default header values.

Bad Request

func NewGetMetricsPrometheusAPIV1QueryRangeBadRequest

func NewGetMetricsPrometheusAPIV1QueryRangeBadRequest() *GetMetricsPrometheusAPIV1QueryRangeBadRequest

NewGetMetricsPrometheusAPIV1QueryRangeBadRequest creates a GetMetricsPrometheusAPIV1QueryRangeBadRequest with default headers values

func (*GetMetricsPrometheusAPIV1QueryRangeBadRequest) Error

type GetMetricsPrometheusAPIV1QueryRangeForbidden

type GetMetricsPrometheusAPIV1QueryRangeForbidden struct {
}

GetMetricsPrometheusAPIV1QueryRangeForbidden handles this case with default header values.

Forbidden

func NewGetMetricsPrometheusAPIV1QueryRangeForbidden

func NewGetMetricsPrometheusAPIV1QueryRangeForbidden() *GetMetricsPrometheusAPIV1QueryRangeForbidden

NewGetMetricsPrometheusAPIV1QueryRangeForbidden creates a GetMetricsPrometheusAPIV1QueryRangeForbidden with default headers values

func (*GetMetricsPrometheusAPIV1QueryRangeForbidden) Error

type GetMetricsPrometheusAPIV1QueryRangeInternalServerError

type GetMetricsPrometheusAPIV1QueryRangeInternalServerError struct {
}

GetMetricsPrometheusAPIV1QueryRangeInternalServerError handles this case with default header values.

Internal Server Error

func NewGetMetricsPrometheusAPIV1QueryRangeInternalServerError

func NewGetMetricsPrometheusAPIV1QueryRangeInternalServerError() *GetMetricsPrometheusAPIV1QueryRangeInternalServerError

NewGetMetricsPrometheusAPIV1QueryRangeInternalServerError creates a GetMetricsPrometheusAPIV1QueryRangeInternalServerError with default headers values

func (*GetMetricsPrometheusAPIV1QueryRangeInternalServerError) Error

type GetMetricsPrometheusAPIV1QueryRangeOK

type GetMetricsPrometheusAPIV1QueryRangeOK struct {

	// isStream: false
	*models.MetricsQueryResponse
}

GetMetricsPrometheusAPIV1QueryRangeOK handles this case with default header values.

See Prometheus api https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries

func NewGetMetricsPrometheusAPIV1QueryRangeOK

func NewGetMetricsPrometheusAPIV1QueryRangeOK() *GetMetricsPrometheusAPIV1QueryRangeOK

NewGetMetricsPrometheusAPIV1QueryRangeOK creates a GetMetricsPrometheusAPIV1QueryRangeOK with default headers values

func (*GetMetricsPrometheusAPIV1QueryRangeOK) Error

type GetMetricsPrometheusAPIV1QueryRangeReader

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

GetMetricsPrometheusAPIV1QueryRangeReader is a Reader for the GetMetricsPrometheusAPIV1QueryRange structure.

func (*GetMetricsPrometheusAPIV1QueryRangeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMetricsPrometheusAPIV1QueryRangeRequest

type GetMetricsPrometheusAPIV1QueryRangeRequest struct {
	End *string

	Query string

	Start *string

	Step *string

	Time *string

	Timeout *string

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

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) Do

get metrics prometheus API v1 query range API

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) FromJson

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) MustDo

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithContext

//////////////// WithContext adds the context to the get metrics prometheus API v1 query range Request

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithEnd

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get metrics prometheus API v1 query range Request

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithQuery

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithStart

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithStep

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithTime

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithTimeout

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithoutEnd

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithoutStart

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithoutStep

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithoutTime

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WithoutTimeout

func (*GetMetricsPrometheusAPIV1QueryRangeRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type GetMetricsPrometheusAPIV1QueryReader

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

GetMetricsPrometheusAPIV1QueryReader is a Reader for the GetMetricsPrometheusAPIV1Query structure.

func (*GetMetricsPrometheusAPIV1QueryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMetricsPrometheusAPIV1QueryRequest

type GetMetricsPrometheusAPIV1QueryRequest struct {
	Query string

	Time *string

	Timeout *string

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

func (*GetMetricsPrometheusAPIV1QueryRequest) Do

get metrics prometheus API v1 query API

func (*GetMetricsPrometheusAPIV1QueryRequest) FromJson

func (*GetMetricsPrometheusAPIV1QueryRequest) MustDo

func (*GetMetricsPrometheusAPIV1QueryRequest) WithContext

//////////////// WithContext adds the context to the get metrics prometheus API v1 query Request

func (*GetMetricsPrometheusAPIV1QueryRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get metrics prometheus API v1 query Request

func (*GetMetricsPrometheusAPIV1QueryRequest) WithQuery

func (*GetMetricsPrometheusAPIV1QueryRequest) WithTime

func (*GetMetricsPrometheusAPIV1QueryRequest) WithTimeout

func (*GetMetricsPrometheusAPIV1QueryRequest) WithoutTime

func (*GetMetricsPrometheusAPIV1QueryRequest) WithoutTimeout

func (*GetMetricsPrometheusAPIV1QueryRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type GetMetricsPrometheusFederateBadRequest

type GetMetricsPrometheusFederateBadRequest struct {

	// isStream: false
	*models.MetricsQueryResponse
}

GetMetricsPrometheusFederateBadRequest handles this case with default header values.

Bad Request

func NewGetMetricsPrometheusFederateBadRequest

func NewGetMetricsPrometheusFederateBadRequest() *GetMetricsPrometheusFederateBadRequest

NewGetMetricsPrometheusFederateBadRequest creates a GetMetricsPrometheusFederateBadRequest with default headers values

func (*GetMetricsPrometheusFederateBadRequest) Error

type GetMetricsPrometheusFederateForbidden

type GetMetricsPrometheusFederateForbidden struct {
}

GetMetricsPrometheusFederateForbidden handles this case with default header values.

Forbidden

func NewGetMetricsPrometheusFederateForbidden

func NewGetMetricsPrometheusFederateForbidden() *GetMetricsPrometheusFederateForbidden

NewGetMetricsPrometheusFederateForbidden creates a GetMetricsPrometheusFederateForbidden with default headers values

func (*GetMetricsPrometheusFederateForbidden) Error

type GetMetricsPrometheusFederateInternalServerError

type GetMetricsPrometheusFederateInternalServerError struct {
}

GetMetricsPrometheusFederateInternalServerError handles this case with default header values.

Internal Server Error

func NewGetMetricsPrometheusFederateInternalServerError

func NewGetMetricsPrometheusFederateInternalServerError() *GetMetricsPrometheusFederateInternalServerError

NewGetMetricsPrometheusFederateInternalServerError creates a GetMetricsPrometheusFederateInternalServerError with default headers values

func (*GetMetricsPrometheusFederateInternalServerError) Error

type GetMetricsPrometheusFederateOK

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

GetMetricsPrometheusFederateOK handles this case with default header values.

See Prometheus api https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries

func NewGetMetricsPrometheusFederateOK

func NewGetMetricsPrometheusFederateOK() *GetMetricsPrometheusFederateOK

NewGetMetricsPrometheusFederateOK creates a GetMetricsPrometheusFederateOK with default headers values

func (*GetMetricsPrometheusFederateOK) Error

type GetMetricsPrometheusFederateReader

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

GetMetricsPrometheusFederateReader is a Reader for the GetMetricsPrometheusFederate structure.

func (*GetMetricsPrometheusFederateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMetricsPrometheusFederateRequest

type GetMetricsPrometheusFederateRequest struct {
	Match []string

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

func (*GetMetricsPrometheusFederateRequest) Do

get metrics prometheus federate API

func (*GetMetricsPrometheusFederateRequest) FromJson

func (*GetMetricsPrometheusFederateRequest) MustDo

func (*GetMetricsPrometheusFederateRequest) WithContext

//////////////// WithContext adds the context to the get metrics prometheus federate Request

func (*GetMetricsPrometheusFederateRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get metrics prometheus federate Request

func (*GetMetricsPrometheusFederateRequest) WithMatch

func (*GetMetricsPrometheusFederateRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type PostMetricsPrometheusAPIV1QueryBadRequest

type PostMetricsPrometheusAPIV1QueryBadRequest struct {

	// isStream: false
	*models.MetricsQueryResponse
}

PostMetricsPrometheusAPIV1QueryBadRequest handles this case with default header values.

Bad Request

func NewPostMetricsPrometheusAPIV1QueryBadRequest

func NewPostMetricsPrometheusAPIV1QueryBadRequest() *PostMetricsPrometheusAPIV1QueryBadRequest

NewPostMetricsPrometheusAPIV1QueryBadRequest creates a PostMetricsPrometheusAPIV1QueryBadRequest with default headers values

func (*PostMetricsPrometheusAPIV1QueryBadRequest) Error

type PostMetricsPrometheusAPIV1QueryForbidden

type PostMetricsPrometheusAPIV1QueryForbidden struct {
}

PostMetricsPrometheusAPIV1QueryForbidden handles this case with default header values.

Forbidden

func NewPostMetricsPrometheusAPIV1QueryForbidden

func NewPostMetricsPrometheusAPIV1QueryForbidden() *PostMetricsPrometheusAPIV1QueryForbidden

NewPostMetricsPrometheusAPIV1QueryForbidden creates a PostMetricsPrometheusAPIV1QueryForbidden with default headers values

func (*PostMetricsPrometheusAPIV1QueryForbidden) Error

type PostMetricsPrometheusAPIV1QueryInternalServerError

type PostMetricsPrometheusAPIV1QueryInternalServerError struct {
}

PostMetricsPrometheusAPIV1QueryInternalServerError handles this case with default header values.

Internal Server Error

func NewPostMetricsPrometheusAPIV1QueryInternalServerError

func NewPostMetricsPrometheusAPIV1QueryInternalServerError() *PostMetricsPrometheusAPIV1QueryInternalServerError

NewPostMetricsPrometheusAPIV1QueryInternalServerError creates a PostMetricsPrometheusAPIV1QueryInternalServerError with default headers values

func (*PostMetricsPrometheusAPIV1QueryInternalServerError) Error

type PostMetricsPrometheusAPIV1QueryOK

type PostMetricsPrometheusAPIV1QueryOK struct {

	// isStream: false
	*models.MetricsQueryResponse
}

PostMetricsPrometheusAPIV1QueryOK handles this case with default header values.

See Prometheus api https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries

func NewPostMetricsPrometheusAPIV1QueryOK

func NewPostMetricsPrometheusAPIV1QueryOK() *PostMetricsPrometheusAPIV1QueryOK

NewPostMetricsPrometheusAPIV1QueryOK creates a PostMetricsPrometheusAPIV1QueryOK with default headers values

func (*PostMetricsPrometheusAPIV1QueryOK) Error

type PostMetricsPrometheusAPIV1QueryRangeBadRequest

type PostMetricsPrometheusAPIV1QueryRangeBadRequest struct {

	// isStream: false
	*models.MetricsQueryResponse
}

PostMetricsPrometheusAPIV1QueryRangeBadRequest handles this case with default header values.

Bad Request

func NewPostMetricsPrometheusAPIV1QueryRangeBadRequest

func NewPostMetricsPrometheusAPIV1QueryRangeBadRequest() *PostMetricsPrometheusAPIV1QueryRangeBadRequest

NewPostMetricsPrometheusAPIV1QueryRangeBadRequest creates a PostMetricsPrometheusAPIV1QueryRangeBadRequest with default headers values

func (*PostMetricsPrometheusAPIV1QueryRangeBadRequest) Error

type PostMetricsPrometheusAPIV1QueryRangeForbidden

type PostMetricsPrometheusAPIV1QueryRangeForbidden struct {
}

PostMetricsPrometheusAPIV1QueryRangeForbidden handles this case with default header values.

Forbidden

func NewPostMetricsPrometheusAPIV1QueryRangeForbidden

func NewPostMetricsPrometheusAPIV1QueryRangeForbidden() *PostMetricsPrometheusAPIV1QueryRangeForbidden

NewPostMetricsPrometheusAPIV1QueryRangeForbidden creates a PostMetricsPrometheusAPIV1QueryRangeForbidden with default headers values

func (*PostMetricsPrometheusAPIV1QueryRangeForbidden) Error

type PostMetricsPrometheusAPIV1QueryRangeInternalServerError

type PostMetricsPrometheusAPIV1QueryRangeInternalServerError struct {
}

PostMetricsPrometheusAPIV1QueryRangeInternalServerError handles this case with default header values.

Internal Server Error

func NewPostMetricsPrometheusAPIV1QueryRangeInternalServerError

func NewPostMetricsPrometheusAPIV1QueryRangeInternalServerError() *PostMetricsPrometheusAPIV1QueryRangeInternalServerError

NewPostMetricsPrometheusAPIV1QueryRangeInternalServerError creates a PostMetricsPrometheusAPIV1QueryRangeInternalServerError with default headers values

func (*PostMetricsPrometheusAPIV1QueryRangeInternalServerError) Error

type PostMetricsPrometheusAPIV1QueryRangeOK

type PostMetricsPrometheusAPIV1QueryRangeOK struct {

	// isStream: false
	*models.MetricsQueryResponse
}

PostMetricsPrometheusAPIV1QueryRangeOK handles this case with default header values.

See Prometheus api https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries

func NewPostMetricsPrometheusAPIV1QueryRangeOK

func NewPostMetricsPrometheusAPIV1QueryRangeOK() *PostMetricsPrometheusAPIV1QueryRangeOK

NewPostMetricsPrometheusAPIV1QueryRangeOK creates a PostMetricsPrometheusAPIV1QueryRangeOK with default headers values

func (*PostMetricsPrometheusAPIV1QueryRangeOK) Error

type PostMetricsPrometheusAPIV1QueryRangeReader

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

PostMetricsPrometheusAPIV1QueryRangeReader is a Reader for the PostMetricsPrometheusAPIV1QueryRange structure.

func (*PostMetricsPrometheusAPIV1QueryRangeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostMetricsPrometheusAPIV1QueryRangeRequest

type PostMetricsPrometheusAPIV1QueryRangeRequest struct {
	End *string

	Query string

	Start *string

	Step *string

	Time *string

	Timeout *string

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

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) Do

post metrics prometheus API v1 query range API

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) FromJson

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) MustDo

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithContext

//////////////// WithContext adds the context to the post metrics prometheus API v1 query range Request

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithEnd

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post metrics prometheus API v1 query range Request

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithQuery

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithStart

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithStep

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithTime

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithTimeout

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithoutEnd

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithoutStart

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithoutStep

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithoutTime

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WithoutTimeout

func (*PostMetricsPrometheusAPIV1QueryRangeRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type PostMetricsPrometheusAPIV1QueryReader

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

PostMetricsPrometheusAPIV1QueryReader is a Reader for the PostMetricsPrometheusAPIV1Query structure.

func (*PostMetricsPrometheusAPIV1QueryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostMetricsPrometheusAPIV1QueryRequest

type PostMetricsPrometheusAPIV1QueryRequest struct {
	Query string

	Time *string

	Timeout *string

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

func (*PostMetricsPrometheusAPIV1QueryRequest) Do

post metrics prometheus API v1 query API

func (*PostMetricsPrometheusAPIV1QueryRequest) FromJson

func (*PostMetricsPrometheusAPIV1QueryRequest) MustDo

func (*PostMetricsPrometheusAPIV1QueryRequest) WithContext

//////////////// WithContext adds the context to the post metrics prometheus API v1 query Request

func (*PostMetricsPrometheusAPIV1QueryRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post metrics prometheus API v1 query Request

func (*PostMetricsPrometheusAPIV1QueryRequest) WithQuery

func (*PostMetricsPrometheusAPIV1QueryRequest) WithTime

func (*PostMetricsPrometheusAPIV1QueryRequest) WithTimeout

func (*PostMetricsPrometheusAPIV1QueryRequest) WithoutTime

func (*PostMetricsPrometheusAPIV1QueryRequest) WithoutTimeout

func (*PostMetricsPrometheusAPIV1QueryRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

Jump to

Keyboard shortcuts

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