Help us shape the future of Go! Take the 2026 Go Developer Survey

loader

package
v1.12.10 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 27

Documentation

Overview

Package loader reads contributor manifests from YAML and runs the cross-reference checks that need the whole manifest in hand.

Index

Constants

View Source
const SupportedSchemaVersion = 1

SupportedSchemaVersion is the schema integer this loader understands. Bumping it requires a coordinated platform release (see DESIGN.md).

Variables

This section is empty.

Functions

func Load

func Load(r io.Reader, source string) (*contract.ContractManifest, error)

Load parses a contributor manifest YAML stream and validates its schemaVersion. Cross-reference validation (intent refs, warden names) runs separately in Validate.

func Validate

Validate runs cross-reference checks that require the full manifest in hand: duplicate intent names, kind/capability consistency, warden references, and query-to-intent bindings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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