Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenerateFunc ¶
type GenerateFunc func(*GenerateSubCommand) error
type GenerateSubCommand ¶
type GenerateSubCommand struct { *cobra.Command // flags WorkloadManifest string CollectionManifest string APIVersion string // options Name string Description string CollectionKind string UseCollectionManifest bool WorkloadKind string UseWorkloadManifest bool SubCommandOf *cobra.Command // execution GenerateFunc GenerateFunc }
func NewBaseGenerateSubCommand ¶
func NewBaseGenerateSubCommand(parentCommand *cobra.Command) *GenerateSubCommand
NewBaseGenerateSubCommand returns a subcommand that is meant to belong to a parent subcommand but have subcommands itself.
func (*GenerateSubCommand) Setup ¶
func (g *GenerateSubCommand) Setup()
Setup sets up this command to be used as a command.
Click to show internal directories.
Click to hide internal directories.