Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerGenerator ¶
type ControllerGenerator interface { // GenerateInject returns a Generator for the controller package e.g. pkg/controller GenerateInject(controllers []codegen.Controller, apis *codegen.APIs, filename string) generator.Generator }
ControllerGenerator provides a code generator that takes a package of a controller and generates a file
type ResourceGenerator ¶
type ResourceGenerator interface { // Returns a Generator for a versioned resource package e.g. pkg/apis/<group>/<version> GenerateVersionedResource( apiversion *codegen.APIVersion, apigroup *codegen.APIGroup, filename string) generator.Generator }
ResourceGenerator provides a code generator that takes a package of an API GroupVersion and generates a file
Click to show internal directories.
Click to hide internal directories.