Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISO8601Time ¶
func (ISO8601Time) MarshalYAML ¶
func (i ISO8601Time) MarshalYAML() (interface{}, error)
func (*ISO8601Time) UnmarshalYAML ¶
func (i *ISO8601Time) UnmarshalYAML(node *yaml.Node) error
type Plugin ¶
type Plugin struct {
Name string `yaml:"name"`
Description string `yaml:"description"`
Homepage string `yaml:"homepage"`
LastUpdated ISO8601Time `yaml:"lastUpdated"`
Authors []PluginAuthor `yaml:"authors"`
Versions []PluginVersion `yaml:"versions"`
}
type PluginAuthor ¶
type PluginExecutable ¶
type PluginExecutable struct {
Locator string `yaml:"locator"`
Type PluginType `yaml:"type"`
Info struct {
ExtraArgs []string `yaml:"args,omitempty"`
Checksum string `yaml:"sha256sum,omitempty"`
} `yaml:"info"`
}
type PluginRegistry ¶
type PluginType ¶
type PluginType string
const ( Native PluginType = "native" Python PluginType = "python" NodeJS PluginType = "nodejs" Java PluginType = "java" )
type PluginVersion ¶
type PluginVersion struct {
Version string `yaml:"version"`
DownloadInfo map[TargetArchitecture]PluginExecutable `yaml:"download"`
}
type TargetArchitecture ¶
type TargetArchitecture string
const ( DarwinAmd64 TargetArchitecture = "darwin/amd64" DarwinArm64 TargetArchitecture = "darwin/arm64" DarwinUniversal TargetArchitecture = "darwin/universal" LinuxAmd64 TargetArchitecture = "linux/amd64" LinuxArm64 TargetArchitecture = "linux/arm64" WindowsAmd64 TargetArchitecture = "windows/amd64" WindowsArm64 TargetArchitecture = "windows/arm64" MultiArch TargetArchitecture = "multi-arch" )
Click to show internal directories.
Click to hide internal directories.