extensionfuncs

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FunctionModeJSON     = "json"
	FunctionModeFunction = "function"
)

Variables

This section is empty.

Functions

Types

type BuildOptions

type BuildOptions struct {
	BaseDir          string
	RepositorySource string
	RepositoryRef    string
}

type FunctionArgSpec

type FunctionArgSpec struct {
	Name   string         `yaml:"name"`
	Schema map[string]any `yaml:"schema"`
}

type FunctionReturnSpec

type FunctionReturnSpec struct {
	Schema map[string]any `yaml:"schema"`
}

type PackageFunctionSpec

type PackageFunctionSpec struct {
	Name        string             `yaml:"name"`
	Description string             `yaml:"description"`
	Mode        string             `yaml:"mode"`
	Execution   string             `yaml:"execution"`
	Args        []FunctionArgSpec  `yaml:"args"`
	Returns     FunctionReturnSpec `yaml:"returns"`
}

type PackageManifest

type PackageManifest struct {
	Name        string                `yaml:"name"`
	Description string                `yaml:"description"`
	Version     string                `yaml:"version"`
	Shell       string                `yaml:"shell"`
	Timeout     string                `yaml:"timeout"`
	Env         map[string]string     `yaml:"env"`
	Functions   []PackageFunctionSpec `yaml:"functions"`
}

Jump to

Keyboard shortcuts

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