generators

package
v0.0.0-...-bbc7888 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL