scheme

package
v0.29.9 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 92

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

Jump to

Keyboard shortcuts

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