Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PluginID = plugins.PluginID{ Name: pluginName, PluginType: plugins.PluginTypeTarget, } PluginConfig = &plugins.InternalPluginConfig{ Factory: func(l hclog.Logger) interface{} { return NewNomadPlugin(l) }, } )
Functions ¶
This section is empty.
Types ¶
type TargetPlugin ¶
type TargetPlugin struct {
// contains filtered or unexported fields
}
TargetPlugin is the Nomad implementation of the target.Target interface.
func NewNomadPlugin ¶
func NewNomadPlugin(log hclog.Logger) *TargetPlugin
NewNomadPlugin returns the Nomad implementation of the target.Target interface.
func (*TargetPlugin) PluginInfo ¶
func (t *TargetPlugin) PluginInfo() (*base.PluginInfo, error)
PluginInfo satisfies the PluginInfo function on the base.Plugin interface.
Click to show internal directories.
Click to hide internal directories.