Documentation ¶
Index ¶
- Variables
- func NewGVTypesValue(builder *groupVersionsBuilder, gvToTypes *map[types.GroupVersion][]string, ...) *gvTypeValue
- func NewGroupVersionsBuilder(groups *[]types.GroupVersions) *groupVersionsBuilder
- func NewInputBasePathValue(builder *groupVersionsBuilder, basePath *string, def string) *inputBasePathValue
- type CustomArgs
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultInputDirs = []string{}
Functions ¶
func NewGVTypesValue ¶
func NewGVTypesValue(builder *groupVersionsBuilder, gvToTypes *map[types.GroupVersion][]string, def []string) *gvTypeValue
func NewGroupVersionsBuilder ¶
func NewGroupVersionsBuilder(groups *[]types.GroupVersions) *groupVersionsBuilder
func NewInputBasePathValue ¶
Types ¶
type CustomArgs ¶
type CustomArgs struct { // Name of the controller to generate. Name string // A sorted list of group versions to generate. For each of them the package path is found // in GroupVersionToInputPath. Groups []clientgenTypes.GroupVersions // Overrides for which types should be included in the client. Types map[clientgenTypes.GroupVersion][]string ApiPackage string ClientPackage string ListerPackage string InformerPackage string }
func NewDefaults ¶
func NewDefaults() (*args.GeneratorArgs, *CustomArgs)
Click to show internal directories.
Click to hide internal directories.