mirror of
https://github.com/davidallendj/configurator.git
synced 2025-12-20 11:37:00 -07:00
Update generator interface and plugins
This commit is contained in:
parent
30c8336ca6
commit
e92a883c89
9 changed files with 85 additions and 5 deletions
|
|
@ -13,8 +13,12 @@ func (g *Powerman) GetName() string {
|
|||
return "powerman"
|
||||
}
|
||||
|
||||
func (g *Powerman) GetGroups() []string {
|
||||
return []string{"powerman"}
|
||||
func (g *Powerman) GetVersion() string {
|
||||
return util.GitCommit()
|
||||
}
|
||||
|
||||
func (g *Powerman) GetDescription() string {
|
||||
return fmt.Sprintf("Configurator generator plugin for '%s'.", g.GetName())
|
||||
}
|
||||
|
||||
func (g *Powerman) Generate(config *configurator.Config, opts ...util.Option) (map[string][]byte, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue