Documentation ¶
Index ¶
- Constants
- type Plugin
- func (p Plugin) DeprecationWarning() string
- func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand
- func (p Plugin) GetCreateWebhookSubcommand() plugin.CreateWebhookSubcommand
- func (p Plugin) GetEditSubcommand() plugin.EditSubcommand
- func (p Plugin) GetInitSubcommand() plugin.InitSubcommand
- func (Plugin) Name() string
- func (Plugin) SupportedProjectVersions() []config.Version
- func (Plugin) Version() plugin.Version
Constants ¶
View Source
const DefaultMainPath = "main.go"
DefaultMainPath is default file path of main.go
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 ¶ added in v3.10.0
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) GetEditSubcommand ¶
func (p Plugin) GetEditSubcommand() plugin.EditSubcommand
GetEditSubcommand will return the subcommand which is responsible for editing the scaffold of the project
func (Plugin) GetInitSubcommand ¶
func (p Plugin) GetInitSubcommand() plugin.InitSubcommand
GetInitSubcommand will return the subcommand which is responsible for initializing and common scaffolding
func (Plugin) SupportedProjectVersions ¶
SupportedProjectVersions returns an array with all project versions supported by the plugin
Directories ¶
Path | Synopsis |
---|---|
Package scaffolds contains libraries for scaffolding code to use with controller-runtime
|
Package scaffolds contains libraries for scaffolding code to use with controller-runtime |
Click to show internal directories.
Click to hide internal directories.