kubernetes: k8s.io/kubernetes/staging/src/k8s.io/code-generator/cmd/deepcopy-gen/args Index | Files

package args

import "k8s.io/kubernetes/staging/src/k8s.io/code-generator/cmd/deepcopy-gen/args"


Package Files


func NewDefaults Uses

func NewDefaults() (*args.GeneratorArgs, *CustomArgs)

NewDefaults returns default arguments for the generator.

func Validate Uses

func Validate(genericArgs *args.GeneratorArgs) error

Validate checks the given arguments.

type CustomArgs Uses

type CustomArgs generators.CustomArgs

CustomArgs is used by the gengo framework to pass args specific to this generator.

func (*CustomArgs) AddFlags Uses

func (ca *CustomArgs) AddFlags(fs *pflag.FlagSet)

AddFlags add the generator flags to the flag set.

Package args imports 4 packages (graph). Updated 2018-07-21. Refresh now. Tools for package owners.