Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ClientGenerators = []string{
"client",
"lister",
"informer",
}
)
Functions ¶
func EnabledGenerators ¶
Types ¶
type CodeGenerator ¶
type CodeGenerator struct {
// contains filtered or unexported fields
}
func NewCodeGenerator ¶
func NewCodeGenerator( workspace string, workspaceModule string, logger logr.Logger, codeGeneratorVersion string, enabledGenerators, disabledGenerators []string, boilerplatePath, apisPath, clientPath string, inputPackages, inputInternalPackage []string, clientsetDirName, informersDirName, listersDirName string, verbose int, ) *CodeGenerator
func (*CodeGenerator) Run ¶
func (c *CodeGenerator) Run(generators []string) error
Click to show internal directories.
Click to hide internal directories.