Documentation ¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) BindFlags(fs *pflag.FlagSet)
- func (p Plugin) DeprecationWarning() string
- func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand
- func (p Plugin) GetCreateWebhookSubcommand() plugin.CreateWebhookSubcommand
- func (p Plugin) GetInitSubcommand() plugin.InitSubcommand
- func (p *Plugin) InjectConfig(c config.Config) error
- func (Plugin) Name() string
- func (Plugin) SupportedProjectVersions() []config.Version
- func (p *Plugin) UpdateMetadata(cliMeta plugin.CLIMetadata, subcmdMeta *plugin.SubcommandMetadata)
- func (Plugin) Version() plugin.Version
Constants ¶
View Source
const KustomizeVersion = "v5.3.0"
KustomizeVersion is the kubernetes-sigs/kustomize version to be used in the project
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin implements the plugin.Full interface
func (Plugin) DeprecationWarning ¶
func (Plugin) GetCreateAPISubcommand ¶
func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand
GetCreateAPISubcommand will return the subcommand which is responsible for scaffolding apis
func (Plugin) GetCreateWebhookSubcommand ¶
func (p Plugin) GetCreateWebhookSubcommand() plugin.CreateWebhookSubcommand
GetCreateWebhookSubcommand will return the subcommand which is responsible for scaffolding webhooks
func (Plugin) GetInitSubcommand ¶
func (p Plugin) GetInitSubcommand() plugin.InitSubcommand
GetInitSubcommand will return the subcommand which is responsible for scaffolding init project
func (*Plugin) InjectConfig ¶
func (Plugin) SupportedProjectVersions ¶
SupportedProjectVersions returns an array with all project versions supported by the plugin
func (*Plugin) UpdateMetadata ¶
func (p *Plugin) UpdateMetadata(cliMeta plugin.CLIMetadata, subcmdMeta *plugin.SubcommandMetadata)
Click to show internal directories.
Click to hide internal directories.