24 lines
497 B
Go
24 lines
497 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
configurator "github.com/OpenCHAMI/configurator/internal"
|
|
"github.com/OpenCHAMI/configurator/internal/util"
|
|
)
|
|
|
|
type Powerman struct{}
|
|
|
|
func (g *Powerman) GetName() string {
|
|
return "powerman"
|
|
}
|
|
|
|
func (g *Powerman) GetGroups() []string {
|
|
return []string{"powerman"}
|
|
}
|
|
|
|
func (g *Powerman) Generate(config *configurator.Config, opts ...util.Option) ([]byte, error) {
|
|
return nil, fmt.Errorf("plugin does not implement generation function")
|
|
}
|
|
|
|
var Generator Powerman
|