Documentation ¶
Overview ¶
Code generated by github.com/hasura/ndc-sdk-go/cmd/hasura-ndc-go, DO NOT EDIT.
Code generated by github.com/hasura/ndc-sdk-go/cmd/hasura-ndc-go, DO NOT EDIT.
Index ¶
- func FunctionLokiLabelValues(ctx context.Context, state *metadata.State, ...) ([]string, error)
- func FunctionLokiLabels(ctx context.Context, state *metadata.State, arguments *client.LabelsParams) ([]string, error)
- func FunctionLokiLogDeletionRequests(ctx context.Context, state *metadata.State) ([]client.LogDeletionRequest, error)
- func FunctionLokiQuery(ctx context.Context, state *metadata.State, arguments *client.QueryParams) (client.QueryData, error)
- func FunctionLokiQueryRange(ctx context.Context, state *metadata.State, arguments *client.QueryRangeParams) (client.QueryRangeData, error)
- func GetConnectorSchema() *schema.SchemaResponse
- func ProcedureLokiCancelLogDeletionRequest(ctx context.Context, state *metadata.State, ...) (bool, error)
- func ProcedureLokiCreateLogDeletionRequest(ctx context.Context, state *metadata.State, ...) (bool, error)
- func ProcedureLokiPushLogLines(ctx context.Context, state *metadata.State, arguments *client.PushLogLineInput) (bool, error)
- type DataConnectorHandler
- func (dch DataConnectorHandler) Mutation(ctx context.Context, state *metadata.State, ...) (schema.MutationOperationResults, error)
- func (dch DataConnectorHandler) MutationExists(name string) bool
- func (dch DataConnectorHandler) Query(ctx context.Context, state *metadata.State, request *schema.QueryRequest, ...) (*schema.RowSet, error)
- func (dch DataConnectorHandler) QueryExists(name string) bool
- type LokiCancelLogDeletionRequestArguments
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FunctionLokiLabelValues ¶
func FunctionLokiLabelValues(ctx context.Context, state *metadata.State, arguments *client.LabelValuesParams) ([]string, error)
FunctionLokiLabelValues retrieve the list of known values for a given label within a given time span.
func FunctionLokiLabels ¶
func FunctionLokiLabels(ctx context.Context, state *metadata.State, arguments *client.LabelsParams) ([]string, error)
FunctionLokiLabels return the list of known labels within a given time span.
func FunctionLokiLogDeletionRequests ¶
func FunctionLokiLogDeletionRequests(ctx context.Context, state *metadata.State) ([]client.LogDeletionRequest, error)
FunctionLokiLogDeletionRequests list the existing delete requests for the authenticated tenant
func FunctionLokiQuery ¶
func FunctionLokiQuery(ctx context.Context, state *metadata.State, arguments *client.QueryParams) (client.QueryData, error)
FunctionLokiQuery allows for doing [queries against a single point in time]
func FunctionLokiQueryRange ¶
func FunctionLokiQueryRange(ctx context.Context, state *metadata.State, arguments *client.QueryRangeParams) (client.QueryRangeData, error)
QueryRange queries logs within a range of time. This type of query is often referred to as a range query.
func GetConnectorSchema ¶
func GetConnectorSchema() *schema.SchemaResponse
GetConnectorSchema gets the generated connector schema
func ProcedureLokiCancelLogDeletionRequest ¶
func ProcedureLokiCancelLogDeletionRequest(ctx context.Context, state *metadata.State, arguments *LokiCancelLogDeletionRequestArguments) (bool, error)
ProcedureLokiCancelLogDeletionRequest cancels a new log deletion request for the authenticated tenant
func ProcedureLokiCreateLogDeletionRequest ¶
func ProcedureLokiCreateLogDeletionRequest(ctx context.Context, state *metadata.State, arguments *client.CreateLogDeletionRequestParams) (bool, error)
ProcedureLokiCreateLogDeletionRequest creates a new log deletion request for the authenticated tenant
func ProcedureLokiPushLogLines ¶
func ProcedureLokiPushLogLines(ctx context.Context, state *metadata.State, arguments *client.PushLogLineInput) (bool, error)
ProcedureLokiPushLogLines pushes log lines to Loki
Types ¶
type DataConnectorHandler ¶
type DataConnectorHandler struct{}
DataConnectorHandler implements the data connector handler
func (DataConnectorHandler) Mutation ¶
func (dch DataConnectorHandler) Mutation(ctx context.Context, state *metadata.State, operation *schema.MutationOperation) (schema.MutationOperationResults, error)
func (DataConnectorHandler) MutationExists ¶
func (dch DataConnectorHandler) MutationExists(name string) bool
MutationExists check if the mutation name exists
func (DataConnectorHandler) QueryExists ¶
func (dch DataConnectorHandler) QueryExists(name string) bool
QueryExists check if the query name exists
type LokiCancelLogDeletionRequestArguments ¶
type LokiCancelLogDeletionRequestArguments struct { RequestID string `json:"request_id"` Force *bool `json:"force"` }
LokiCancelLogDeletionRequestArguments request arguments of the addDeleteRequest mutation