import "github.com/choria-io/go-choria/plugin"
agent_plugin.go agent_provider_plugin.go configmutator_plugin.go generator.go plugin.go provision_target_resolver_plugin.go template.go watcher_plugin.go
Register registers a type of plugin into the choria server
List is a list of plugins to load
Load loads a plugin list from file
type Pluggable interface { // PluginInstance is any structure that implements the plugin, should be right type for the kind of plugin PluginInstance() interface{} // PluginName is a human friendly name for the plugin PluginName() string // PluginType is the type of the plugin, to match plugin.Type PluginType() Type // PluginVersion is the version of the plugin PluginVersion() string }
Pluggable is a Choria Plugin
Plugin is an individual plugin
Loader is the loader go code
Now is the current time
Type are types of choria plugin
const ( // UnknownPlugin is a unknown plugin type UnknownPlugin Type = iota // AgentProviderPlugin is a plugin that provide types of agents to Choria AgentProviderPlugin // AgentPlugin is a type of agent AgentPlugin // ProvisionTargetResolverPlugin is a plugin that helps provisioning mode Choria find its broker ProvisionTargetResolverPlugin // ConfigMutatorPlugin is a plugin that can dynamically adjust // configuration based on local site conditions ConfigMutatorPlugin // MachineWatcherPlugin is a plugin that adds a Autonomous Agent Watcher MachineWatcherPlugin )
Package plugin imports 19 packages (graph) and is imported by 11 packages. Updated 2021-01-24. Refresh now. Tools for package owners.