Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct {
// Entrypoint refers to a directory containing CUE files.
Entrypoint string
// URL to a cue file
URL string
// Subpath is used when the schema is not in the root of the schema
Subpath string
// Value represents the CUE value to use as an input. If specified, it
// supersedes the Entrypoint and URL options.
Value *cue.Value
// CueImports allows importing additional libraries.
// Format: [path]:[import]. Example: '../grafana/common-library:github.com/grafana/grafana/packages/grafana-schema/src/common
CueImports []string
}
type LibraryInclude ¶
type ParseResult ¶
type ParseResult struct {
Package string
Value cue.Value
Libraries []LibraryInclude
}
Click to show internal directories.
Click to hide internal directories.