gengo: k8s.io/gengo/examples/deepcopy-gen/generators Index | Files

package generators

import "k8s.io/gengo/examples/deepcopy-gen/generators"

Index

Package Files

deepcopy.go

func DefaultNameSystem Uses

func DefaultNameSystem() string

DefaultNameSystem returns the default name system for ordering the types to be processed by the generators in this package.

func NameSystems Uses

func NameSystems() namer.NameSystems

NameSystems returns the name system used by the generators in this package.

func NewGenDeepCopy Uses

func NewGenDeepCopy(sanitizedName, targetPackage string, boundingDirs []string, allTypes, registerTypes bool) generator.Generator

func Packages Uses

func Packages(context *generator.Context, arguments *args.GeneratorArgs) generator.Packages

type CustomArgs Uses

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 Uses

type TypeSlice []*types.Type

func (TypeSlice) Len Uses

func (s TypeSlice) Len() int

func (TypeSlice) Less Uses

func (s TypeSlice) Less(i, j int) bool

func (TypeSlice) Sort Uses

func (s TypeSlice) Sort()

func (TypeSlice) Swap Uses

func (s TypeSlice) Swap(i, j int)

Package generators imports 11 packages (graph) and is imported by 18 packages. Updated 2019-03-21. Refresh now. Tools for package owners.