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

yamlstrict

command
v1.152.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Example: load an agent from YAML (a local file or an OCI reference) while linking only the providers, toolsets and agent sources this binary needs.

The default registries in pkg/teamloader/defaults pull every provider SDK and every built-in toolset. Here the registries are hand-picked, and teamloader.WithStrict makes the load fail up front — listing every offending item — if the YAML asks for anything else.

go run ./examples/golibrary/yamlstrict ./agent.yaml
go run ./examples/golibrary/yamlstrict myorg/agent:latest

Jump to

Keyboard shortcuts

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