Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
DQLURL string
ConfigURL string
Repository string
ModulePrefix string
APIPrefix string
Connectors []string
AllowedProvenanceKinds []string
AllowedSourceRoots []string
UseGoModuleResolve *bool
UseGOPATHFallback *bool
StrictProvenance *bool
}
Request defines input for DQL scan.
type Scanner ¶
type Scanner struct{}
Scanner translates DQL to Datly route YAML in-memory.
func (*Scanner) Result ¶
func (s *Scanner) Result(ruleName string, routeYAML []byte, dql string, req *Request) (*Result, error)
Result builds a scan Result from route YAML bytes. Exported so that bridge packages (e.g. testutil/shapeparity) can call it after running the legacy translator pipeline externally.
Click to show internal directories.
Click to hide internal directories.