yamlstrict

command
v1.133.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 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