Documentation ¶
Index ¶
- func NewCmdCreateClientOpenAPI(commonOpts *cmd.CommonOptions) *cobra.Command
- func NewCreateDocsCmd(commonOpts *cmd.CommonOptions) *cobra.Command
- func NewGenerateClientSetCmd(commonOpts *cmd.CommonOptions) *cobra.Command
- func Run() error
- type ClientSetGenerationOptions
- type CreateClientOpenAPIOptions
- type GenerateDocsOptions
- type GenerateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreateClientOpenAPI ¶
func NewCmdCreateClientOpenAPI(commonOpts *cmd.CommonOptions) *cobra.Command
NewCmdCreateClientOpenAPI creates the command
func NewCreateDocsCmd ¶
func NewCreateDocsCmd(commonOpts *cmd.CommonOptions) *cobra.Command
NewCreateDocsCmd creates apidocs for CRDs
func NewGenerateClientSetCmd ¶
func NewGenerateClientSetCmd(commonOpts *cmd.CommonOptions) *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 CreateClientOpenAPIOptions ¶
type CreateClientOpenAPIOptions struct { GenerateOptions Title string Version string ReferenceDocsVersion string OpenAPIDependencies []string OpenAPIGenVersion 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 the options for the create client docs command
type GenerateOptions ¶
type GenerateOptions struct { *cmd.CommonOptions OutputBase string BoilerplateFile string GroupsWithVersions []string InputPackage string GoPathInputPackage string GoPathOutputPackage string GoPathOutputBase string OutputPackage string ClientGenVersion string InputBase string }
GenerateOptions contain common code generation options
Click to show internal directories.
Click to hide internal directories.