feat: added jinja2 and userdata plugins
This commit is contained in:
parent
5c4bbe0b58
commit
2da5ca3702
3 changed files with 80 additions and 13 deletions
|
|
@ -1,5 +1,9 @@
|
|||
package configurator
|
||||
|
||||
import (
|
||||
"git.towk2.me/towk/configurator/pkg/storage"
|
||||
)
|
||||
|
||||
type Plugin interface {
|
||||
Name() string
|
||||
Version() string
|
||||
|
|
@ -7,10 +11,6 @@ type Plugin interface {
|
|||
Metadata() map[string]string
|
||||
|
||||
Init() error
|
||||
Run(args []string) error
|
||||
Run(data storage.KVStore, args []string) error
|
||||
Cleanup() error
|
||||
}
|
||||
|
||||
func RunPlugin() {
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue