Documentation ¶
Index ¶
- func NewCmdCreateClientOpenAPI(genOpts GenerateOptions) *cobra.Command
- func NewCreateDocsCmd(genOpts GenerateOptions) *cobra.Command
- func NewGenerateClientSetCmd(genOpts GenerateOptions) *cobra.Command
- func Run() error
- type ClientSetGenerationOptions
- type CommonOptions
- type CreateClientOpenAPIOptions
- type GenerateDocsOptions
- type GenerateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreateClientOpenAPI ¶
func NewCmdCreateClientOpenAPI(genOpts GenerateOptions) *cobra.Command
NewCmdCreateClientOpenAPI creates the command
func NewCreateDocsCmd ¶
func NewCreateDocsCmd(genOpts GenerateOptions) *cobra.Command
NewCreateDocsCmd creates apidocs for CRDs
func NewGenerateClientSetCmd ¶
func NewGenerateClientSetCmd(genOpts GenerateOptions) *cobra.Command
NewGenerateClientSetCmd creates the command
Types ¶
type ClientSetGenerationOptions ¶
type ClientSetGenerationOptions struct { GenerateOptions Generators []string }
ClientSetGenerationOptions contain the options for the clientset generation.
func (*ClientSetGenerationOptions) Run ¶
func (o *ClientSetGenerationOptions) Run() error
Run executes this command.
type CommonOptions ¶
type CommonOptions struct { Args []string Cmd *cobra.Command LogLevel string GeneratorVersion string }
CommonOptions contains the common options
type CreateClientOpenAPIOptions ¶
type CreateClientOpenAPIOptions struct { GenerateOptions Title string Version string ReferenceDocsVersion string OpenAPIDependencies []string OpenAPIOutputDir string ModuleName string }
CreateClientOpenAPIOptions the options for the create client openapi command
func (*CreateClientOpenAPIOptions) Run ¶
func (o *CreateClientOpenAPIOptions) Run() error
Run implements this command
type GenerateDocsOptions ¶
type GenerateDocsOptions struct { GenerateOptions ReferenceDocsVersion string }
GenerateDocsOptions contains the options for the create client docs command
type GenerateOptions ¶
type GenerateOptions struct { *CommonOptions OutputBase string BoilerplateFile string GroupsWithVersions []string InputPackage string GoPathInputPackage string GoPathOutputPackage string GoPathOutputBase string OutputPackage string InputBase string Global bool SemVer string }
GenerateOptions contain common code generation options
Click to show internal directories.
Click to hide internal directories.