Documentation ¶
Index ¶
- type Plugin
- func (p Plugin) DeprecationWarning() string
- func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand
- func (p Plugin) GetInitSubcommand() plugin.InitSubcommand
- func (p *Plugin) InjectResource(res *resource.Resource) error
- func (Plugin) Name() string
- func (p *Plugin) Run(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
}
Plugin implements the plugin.Full interface
func (Plugin) DeprecationWarning ¶ added in v0.11.0
func (Plugin) GetCreateAPISubcommand ¶
func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand
GetCreateAPISubcommand will return the subcommand which is responsible for scaffolding apis
func (Plugin) GetInitSubcommand ¶
func (p Plugin) GetInitSubcommand() plugin.InitSubcommand
GetInitSubcommand will return the subcommand which is responsible for initializing and common scaffolding
func (*Plugin) InjectResource ¶
func (*Plugin) Run ¶
func (p *Plugin) Run(fs machinery.Filesystem) error
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)
Directories ¶
Path | Synopsis |
---|---|
Package scaffolds will likely contain the files used to scaffold the files for specific commands.
|
Package scaffolds will likely contain the files used to scaffold the files for specific commands. |
internal/templates
Package templates contains the files which have templates for the files being output by the scaffolders.
|
Package templates contains the files which have templates for the files being output by the scaffolders. |
Click to show internal directories.
Click to hide internal directories.