Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadIndex ¶ added in v0.0.4
func LoadIndex() (map[string]IndexEntry, error)
LoadIndex parses the embedded schema index.
func Platforms ¶ added in v0.0.4
func Platforms() []string
Platforms returns a sorted list of all platform names in the index. Panics if the embedded index fails to parse (build-time bug).
func ResolveSource ¶ added in v0.0.4
func ResolveSource(ref config.SchemaRef, index map[string]IndexEntry) string
ResolveSource returns the effective schema source for a SchemaRef, checking explicit source, legacy path, and index defaults in order.
Types ¶
type IndexEntry ¶ added in v0.0.4
type IndexEntry struct {
Source string `yaml:"source"`
}
IndexEntry represents a platform's default schema source.
Click to show internal directories.
Click to hide internal directories.