validate

package
v1.0.0-alpha.32 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package validate exposes Agentfile validation entry points for files, readers, and programmatically constructed structs. All forms delegate to spec.Validate so there is a single source of truth for validation rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Struct

func Struct(af *spec.Agentfile) error

Struct validates a programmatically constructed Agentfile.

func Validate

func Validate(r io.Reader) error

Validate parses and validates an Agentfile from a reader.

func ValidateFile

func ValidateFile(path string) error

ValidateFile parses and validates an Agentfile at the given path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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