Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { // HeaderFile specifies the header text (e.g. license) to prepend to generated files. HeaderFile string `marker:",optional"` // Year specifies the year to substitute for " YEAR" in the header file. Year string `marker:",optional"` // APIPackagePath is the root directory under which API types exist. // e.g. "k8s.io/api" APIPackagePath string `marker:"apiPackagePath"` // SingleClusterListerPackagePath is the root directory under which single-cluster-aware listers exist, // for the case where we're only generating new code "on top" to enable multi-cluster use-cases. // e.g. "k8s.io/client-go/listers" SingleClusterListerPackagePath string `marker:",optional"` }
Click to show internal directories.
Click to hide internal directories.