Documentation
¶
Overview ¶
Package dqlprocessorverify is a thin, read-only SDK client for the OpenPipeline DQL processor verify endpoint, which validates a DQL processor script against an optional configuration scope.
The response types are shared with the sibling matcherverify package (VerifyResponse, MetadataNotification, SyntaxRange, SyntaxPosition).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DQLProcessorVerifyRequest ¶
type DQLProcessorVerifyRequest struct {
Script string `json:"script"`
ConfigurationID string `json:"configurationId,omitempty"`
}
DQLProcessorVerifyRequest is the request body for the DQL processor verify endpoint.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler calls the DQL processor verify endpoint.
func NewHandler ¶
func NewHandler(c *httpclient.Client) *Handler
NewHandler creates a new DQL processor verify handler.
func (*Handler) Verify ¶
func (h *Handler) Verify(ctx context.Context, req DQLProcessorVerifyRequest) (*matcherverify.VerifyResponse, error)
Verify sends a DQL processor verify request and returns the parsed response.