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
	GroupGoNames   map[clientgentypes.GroupVersion]string
	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

      func (*GenScheme) Imports

      func (g *GenScheme) Imports(c *generator.Context) (imports []string)

      func (*GenScheme) Namers