descriptor

package
v0.0.0-...-2bf8e06 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Descriptor

type Descriptor struct {
	ID        string         `json:"id"`
	Version   string         `json:"version"`
	Category  string         `json:"category"`
	Risk      string         `json:"risk"`
	Auth      map[string]any `json:"auth"`
	Params    map[string]any `json:"params"`
	Semantics map[string]any `json:"semantics"`
	Transport map[string]any `json:"transport"`
	Outputs   map[string]any `json:"outputs"`
	UI        map[string]any `json:"ui"`
}

Descriptor is a simplified function descriptor model for UI/validation.

func LoadAll

func LoadAll(dir string) ([]*Descriptor, error)

Jump to

Keyboard shortcuts

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