Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenScheme ¶
type GenScheme struct {
generator.DefaultGen
OutputPackage string
Groups []clientgentypes.GroupVersions
InputPackages map[clientgentypes.GroupVersion]string
OutputPath string
ImportTracker namer.ImportTracker
PrivateScheme bool
CreateRegistry bool
// contains filtered or unexported fields
}
GenScheme produces a package for a clientset with the scheme, codecs and parameter codecs.
func (*GenScheme) Filter ¶
func (g *GenScheme) Filter(c *generator.Context, t *types.Type) bool
We only want to call GenerateType() once.
func (*GenScheme) GenerateType ¶
func (g *GenScheme) GenerateType(c *generator.Context, t *types.Type, w io.Writer) error
Click to show internal directories.
Click to hide internal directories.