Documentation ¶
Index ¶
- type Plugin
- func (p *Plugin) BindFlags(fs *pflag.FlagSet)
- func (p Plugin) GetInitSubcommand() plugin.InitSubcommand
- func (p *Plugin) InjectConfig(c config.Config) error
- func (Plugin) Name() string
- func (p *Plugin) PostScaffold() error
- func (p *Plugin) Scaffold(fs machinery.Filesystem) error
- func (Plugin) SupportedProjectVersions() []config.Version
- func (p *Plugin) UpdateMetadata(cliMeta plugin.CLIMetadata, subcmdMeta *plugin.SubcommandMetadata)
- func (Plugin) Version() plugin.Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (Plugin) GetInitSubcommand ¶
func (p Plugin) GetInitSubcommand() plugin.InitSubcommand
func (*Plugin) InjectConfig ¶
func (*Plugin) PostScaffold ¶
func (p *Plugin) PostScaffold() error
func (*Plugin) Scaffold ¶
func (p *Plugin) Scaffold(fs machinery.Filesystem) error
TODO: 1. Pre-scaffold check to verify if the right Go version and directory is used. This needs to be added from Kubebuilder. 2. Verify if additional customizations are needed in config files as done in helm operator.
func (Plugin) SupportedProjectVersions ¶
func (*Plugin) UpdateMetadata ¶
func (p *Plugin) UpdateMetadata(cliMeta plugin.CLIMetadata, subcmdMeta *plugin.SubcommandMetadata)
UpdateMetadata defines plugin context
Click to show internal directories.
Click to hide internal directories.