validate

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Tools  []ToolStatus      `json:"tools"`
	Errors []ValidationError `json:"errors"`
	Pass   bool              `json:"pass"`
}

func Tools

func Tools(tools []*pb.ToolDefinition, strict bool) Result

func (Result) FormatJSON

func (r Result) FormatJSON() (string, error)

func (Result) FormatText

func (r Result) FormatText() string

type ToolStatus

type ToolStatus struct {
	Name   string `json:"name"`
	Status string `json:"status"`
}

type ValidationError

type ValidationError struct {
	Tool  string `json:"tool"`
	Issue string `json:"issue"`
}

Jump to

Keyboard shortcuts

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