Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginMetadata ¶
type PluginMetadata struct {
Name string `yaml:"name"`
VendorName string `yaml:"vendorName"`
Version string `yaml:"version"`
Type PluginType `yaml:"type"`
WorkDir string `yaml:"workDir"`
SourcePath string `yaml:"sourcePath"`
BuildPath string `yaml:"buildPath"`
Config map[string]interface{} `yaml:"config"`
}
type PluginType ¶
type PluginType string
const ( Open PluginType = "open" Closed PluginType = "closed" External PluginType = "external" )
type PluginsMetadata ¶
type PluginsMetadata struct {
Name string `yaml:"name"`
Version string `yaml:"version"`
Type PluginType `yaml:"type"`
Plugins []PluginMetadata `yaml:"plugins"`
}
插件描述文件结构
Click to show internal directories.
Click to hide internal directories.