Documentation
¶
Overview ¶
Package manifest defines the statically readable plugin package contract.
Index ¶
Constants ¶
View Source
const Kind = "AtmosPluginConfig"
Variables ¶
This section is empty.
Functions ¶
func Executable ¶
Executable selects the executable a local build runs on a platform such as darwin/arm64: the platform entry when the manifest declares a usable one, otherwise the runtime executable.
Types ¶
type Compatibility ¶
type Compatibility struct {
Atmos string `yaml:"atmos,omitempty" json:"atmos,omitempty"`
Protocol string `yaml:"protocol" json:"protocol"`
Contracts map[string]string `yaml:"contracts,omitempty" json:"contracts,omitempty"`
}
Compatibility declares ranges consumed without starting the executable.
type Config ¶
Config is a versioned Atmos manifest; loading it never executes plugin code.
type Platform ¶
type Platform struct {
Executable string `yaml:"executable" json:"executable"`
SHA256 string `yaml:"sha256,omitempty" json:"sha256,omitempty"`
}
Platform binds a precompiled executable to a digest.
type Runtime ¶
type Runtime struct {
Type string `yaml:"type" json:"type"`
Protocol uint32 `yaml:"protocol" json:"protocol"`
Executable string `yaml:"executable" json:"executable"`
}
Runtime selects the native protocol and default development executable.
type Spec ¶
type Spec struct {
Runtime Runtime `yaml:"runtime" json:"runtime"`
Platforms map[string]Platform `yaml:"platforms,omitempty" json:"platforms,omitempty"`
Compatibility Compatibility `yaml:"compatibility" json:"compatibility"`
Capabilities map[string]any `yaml:"capabilities" json:"capabilities"`
ConfigSchema string `yaml:"config_schema,omitempty" json:"config_schema,omitempty"`
}
Spec describes package runtime, platforms, compatibility, and extension metadata.
Click to show internal directories.
Click to hide internal directories.