Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubConfig ¶ added in v0.1.0
type GitHubConfig struct {
// Repository in format "owner/repo" (e.g., "Schumann-IT/dehydrated-api-metadata-plugin-netscaler")
Repository string `yaml:"repository"`
// Version tag to use (e.g., "v1.0.0", "latest")
// If not specified, defaults to "latest"
Version string `yaml:"version"`
// Platform to download (e.g., "linux-amd64", "darwin-amd64")
// If not specified, will be auto-detected
Platform string `yaml:"platform"`
}
GitHubConfig holds configuration for GitHub-based plugins
type PluginConfig ¶
type PluginConfig struct {
// Enabled determines whether the plugin should be loaded and used.
Enabled bool `yaml:"enabled"`
// Registry configuration for plugin source
Registry *RegistryConfig `yaml:"registry"`
// Config contains plugin-specific configuration settings.
// The structure of this map depends on the specific plugin implementation.
Config map[string]any `yaml:"config"`
}
PluginConfig holds configuration for a plugin. It defines the basic settings needed to load and configure a plugin.
type PluginSourceType ¶ added in v0.2.0
type PluginSourceType string
RegistryType represents the type of plugin registry
const ( PluginSourceTypeLocal PluginSourceType = "local" PluginSourceTypeGitHub PluginSourceType = "github" )
type RegistryConfig ¶ added in v0.1.0
type RegistryConfig struct {
Type PluginSourceType `yaml:"type"`
Config map[string]any `yaml:"config"`
}
RegistryConfig represents the configuration for a plugin registry
Click to show internal directories.
Click to hide internal directories.