Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(genericArgs *args.GeneratorArgs) error
Validate checks the given arguments.
Types ¶
type CustomArgs ¶
type CustomArgs struct { // ExternalApplyConfigurations provides the locations of externally generated // apply configuration types for types referenced by the go structs provided as input. // Locations are provided as a comma separated list of <package>.<typeName>:<applyconfiguration-package> // entries. // // E.g. if a type references appsv1.Deployment, the location of its apply configuration should // be provided: // k8s.io/api/apps/v1.Deployment:k8s.io/client-go/applyconfigurations/apps/v1 // // meta/v1 types (TypeMeta and ObjectMeta) are always included and do not need to be passed in. ExternalApplyConfigurations map[types.Name]string OpenAPISchemaFilePath string }
ClientGenArgs is a wrapper for arguments to applyconfiguration-gen.
func NewDefaults ¶
func NewDefaults() (*args.GeneratorArgs, *CustomArgs)
NewDefaults returns default arguments for the generator.
Click to show internal directories.
Click to hide internal directories.