Documentation ¶
Index ¶
- func DefaultNameSystem() string
- func NameSystems(generatedPackage string, tracker namer.ImportTracker) namer.NameSystems
- func NewPackageGenerator(source metadata.PackageMetadata, boilerplate []byte) generator.Package
- func NewRegisterGenerator(source metadata.PackageMetadata) generator.Generator
- func NewTypesGenerator(source metadata.PackageMetadata) generator.Generator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultNameSystem ¶
func DefaultNameSystem() string
DefaultNameSystem to use if none is specified
func NameSystems ¶
func NameSystems(generatedPackage string, tracker namer.ImportTracker) namer.NameSystems
NameSystems used by the kubetype generator
func NewPackageGenerator ¶
func NewPackageGenerator(source metadata.PackageMetadata, boilerplate []byte) generator.Package
NewPackageGenerator generates source for a scanned package, specifically k8s styled doc.go, types.go and register.go files
func NewRegisterGenerator ¶
func NewRegisterGenerator(source metadata.PackageMetadata) generator.Generator
NewRegisterGenerator creates a new generator for creating k8s style register.go files
func NewTypesGenerator ¶
func NewTypesGenerator(source metadata.PackageMetadata) generator.Generator
NewTypesGenerator creates a new generator for creating k8s style types.go files
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.