refactor: added more implementation details
This commit is contained in:
parent
50e6b53091
commit
a1a9c6407f
6 changed files with 86 additions and 4 deletions
|
|
@ -1,14 +1,16 @@
|
|||
package configurator
|
||||
|
||||
type Plugin interface {
|
||||
// plugin data
|
||||
Name() string
|
||||
Version() string
|
||||
Description() string
|
||||
Metadata() map[string]string
|
||||
|
||||
// run the plugin
|
||||
Init() error
|
||||
Run() error
|
||||
Cleanup() error
|
||||
}
|
||||
|
||||
func RunPlugin() {
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue