Help us shape the future of Go! Take the 2026 Go Developer Survey

extensionfuncs

package
v0.0.97 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: Apache-2.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
	ResolvedRefs     map[string]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