args

package
v0.0.0-...-7a38c46 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2018 License: Apache-2.0 Imports: 11 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

func NewInputBasePathValue(builder *groupVersionsBuilder, basePath *string, def string) *inputBasePathValue

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)

func (*CustomArgs) AddFlags

func (ca *CustomArgs) AddFlags(fs *pflag.FlagSet, apiPackage, informerPackage, listerPackage string)

Jump to

Keyboard shortcuts

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