Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExamplePlugin ¶
type ExamplePlugin struct{}
ExamplePlugin implements the Plugin interface
func (*ExamplePlugin) Exec ¶
func (p *ExamplePlugin) Exec(ctx context.Context, command string, arguments map[string]interface{}) (plugins.ExecResult, error)
Exec executes a command
func (*ExamplePlugin) GetMetadata ¶
func (p *ExamplePlugin) GetMetadata(ctx context.Context) (plugins.PluginMetadata, error)
GetMetadata returns plugin metadata
Click to show internal directories.
Click to hide internal directories.