package
0.0.0-20240816033106-757bced2f5f6
Repository: https://github.com/tdakkota/docker-logql.git
Documentation: pkg.go.dev

# Functions

NewClient initializes new Client defined by OAS.
NewMatrixResultQueryResponseData returns new QueryResponseData from MatrixResult.
NewOptDirection returns new OptDirection with value set to v.
NewOptInt returns new OptInt with value set to v.
NewOptLabelSet returns new OptLabelSet with value set to v.
NewOptLokiTime returns new OptLokiTime with value set to v.
NewOptPrometheusDuration returns new OptPrometheusDuration with value set to v.
NewOptString returns new OptString with value set to v.
NewScalarResultQueryResponseData returns new QueryResponseData from ScalarResult.
NewServer creates new Server.
NewStreamsResultQueryResponseData returns new QueryResponseData from StreamsResult.
NewVectorResultQueryResponseData returns new QueryResponseData from VectorResult.
WithClient specifies http client to use.
WithErrorHandler specifies error handler to use.
WithMaxMultipartMemory specifies limit of memory for storing file parts.
WithMeterProvider specifies a meter provider to use for creating a meter.
WithMethodNotAllowed specifies Method Not Allowed handler to use.
WithMiddleware specifies middlewares to use.
WithNotFound specifies Not Found handler to use.
WithPathPrefix specifies server path prefix.
WithServerURL sets context key to override server URL.
WithTracerProvider specifies a tracer provider to use for creating a tracer.

# Constants

No description provided by the author
No description provided by the author
Possible values for QueryResponseDataType.
Possible values for QueryResponseDataType.
Possible values for QueryResponseDataType.
Possible values for QueryResponseDataType.

# Structs

Client implements OAS client.
ErrorStatusCode wraps Error with StatusCode.
Ref: #/components/schemas/FPoint.
Ref: #/components/schemas/IndexStats.
IndexStatsParams is parameters of indexStats operation.
Array of label names.
LabelsParams is parameters of labels operation.
LabelValuesParams is parameters of labelValues operation.
Ref: #/components/schemas/LogEntry.
Array of maps.
Ref: #/components/schemas/MatrixResult.
OptDirection is optional Direction.
OptInt is optional int.
OptLabelSet is optional LabelSet.
OptLokiTime is optional LokiTime.
OptPrometheusDuration is optional PrometheusDuration.
OptString is optional string.
Ref: #/components/schemas/Push.
PushNoContent is response for Push operation.
No description provided by the author
QueryParams is parameters of query operation.
QueryRangeParams is parameters of queryRange operation.
Ref: #/components/schemas/QueryResponse.
Ref: #/components/schemas/QueryResponseData QueryResponseData represents sum type.
Route is route object.
Ref: #/components/schemas/Sample.
Ref: #/components/schemas/ScalarResult.
Ref: #/components/schemas/Series.
SeriesParams is parameters of series operation.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
Ref: #/components/schemas/Stats.
Ref: #/components/schemas/Stream.
Ref: #/components/schemas/StreamsResult.
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
Array of strings.
Ref: #/components/schemas/VectorResult.

# Interfaces

ClientOption is client config option.
Handler handles operations described by OpenAPI v3 specification.
Invoker invokes operations described by OpenAPI v3 specification.
Option is config option.
No description provided by the author
ServerOption is server config option.

# Type aliases

Ref: #/components/schemas/Direction.
No description provided by the author
ErrorHandler is error handler.
Ref: #/components/schemas/LabelSet.
No description provided by the author
No description provided by the author
No description provided by the author
Middleware is middleware type.
No description provided by the author
QueryResponseDataType is oneOf type of QueryResponseData.
No description provided by the author
No description provided by the author