Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateController ¶
Types ¶
type ProviderGenerator ¶
type ProviderGenerator struct { ProviderPath string LocalDirectoryPath string LicenseHeaderPath string ModulePath string }
ProviderGenerator generates controller setup file.
func NewProviderGenerator ¶
func NewProviderGenerator(rootDir, modulePath string) *ProviderGenerator
NewProviderGenerator returns a new ProviderGenerator.
func (*ProviderGenerator) Generate ¶
func (sg *ProviderGenerator) Generate(versionPkgMap map[string][]string, mainTemplate string, shortName string, rootGroup string, absRootDir string) error
Generate writes the setup file and the corresponding provider main file using the given list of version packages.
Click to show internal directories.
Click to hide internal directories.