Integrate configuration searches into engine loading
This commit is contained in:
@@ -21,17 +21,21 @@ const (
|
||||
// Source is an opaque configuration input. Construct sources with File,
|
||||
// Filesystem.File, Bytes, Reader, or NoSource; the zero value is invalid.
|
||||
type Source struct {
|
||||
kind sourceKind
|
||||
path string
|
||||
label string
|
||||
namespace *nativeNamespace
|
||||
data []byte
|
||||
reader *readerSource
|
||||
mapping *document.Node
|
||||
mapIssue *valueIssue
|
||||
mapBytes int64
|
||||
mapNodes int
|
||||
createErr sourceCreationError
|
||||
kind sourceKind
|
||||
path string
|
||||
label string
|
||||
namespace *nativeNamespace
|
||||
data []byte
|
||||
reader *readerSource
|
||||
mapping *document.Node
|
||||
mapIssue *valueIssue
|
||||
mapBytes int64
|
||||
mapNodes int
|
||||
createErr sourceCreationError
|
||||
search *Search
|
||||
searchApp string
|
||||
searchRequired bool
|
||||
searchIssues []string
|
||||
}
|
||||
|
||||
type sourceKind uint8
|
||||
@@ -44,6 +48,7 @@ const (
|
||||
sourceReader
|
||||
sourceMapping
|
||||
sourceNone
|
||||
sourceSearch
|
||||
)
|
||||
|
||||
type sourceCreationError uint8
|
||||
|
||||
Reference in New Issue
Block a user