schemas

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL