app

package
v1.3.1084 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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

func Run

func Run() error

Run executes the Cobra root command.

Types

type ClientSetGenerationOptions

type ClientSetGenerationOptions struct {
	GenerateOptions
	Generators []string
}

ClientSetGenerationOptions contain the options for the clientset generation.

func (*ClientSetGenerationOptions) Run

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL