package generators
import "k8s.io/gengo/examples/deepcopy-gen/generators"
Index ¶
- func DefaultNameSystem() string
- func NameSystems() namer.NameSystems
- func NewGenDeepCopy(sanitizedName, targetPackage string, boundingDirs []string, allTypes, registerTypes bool) generator.Generator
- func Packages(context *generator.Context, arguments *args.GeneratorArgs) generator.Packages
- type CustomArgs
- type TypeSlice
Functions ¶
func DefaultNameSystem ¶
func DefaultNameSystem() string
DefaultNameSystem returns the default name system for ordering the types to be processed by the generators in this package.
func NameSystems ¶
func NameSystems() namer.NameSystems
NameSystems returns the name system used by the generators in this package.
func NewGenDeepCopy ¶
func NewGenDeepCopy(sanitizedName, targetPackage string, boundingDirs []string, allTypes, registerTypes bool) generator.Generator
func Packages ¶
Types ¶
type CustomArgs ¶
type CustomArgs struct { BoundingDirs []string // Only deal with types rooted under these dirs. }
CustomArgs is used tby the go2idl framework to pass args specific to this generator.
type TypeSlice ¶
func (TypeSlice) Len ¶
func (TypeSlice) Less ¶
func (TypeSlice) Sort ¶
func (s TypeSlice) Sort()
func (TypeSlice) Swap ¶
Source Files ¶
deepcopy.go
- Version
- v0.0.0-20250704022524-ddb642e17a28 (latest)
- Published
- Jul 4, 2025
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 2 days ago –
Tools for package owners.