v1alpha

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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) BindFlags

func (p *Plugin) BindFlags(fs *pflag.FlagSet)

func (Plugin) GetInitSubcommand

func (p Plugin) GetInitSubcommand() plugin.InitSubcommand

func (*Plugin) InjectConfig

func (p *Plugin) InjectConfig(c config.Config) error

func (Plugin) Name

func (Plugin) Name() string

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) SupportedProjectVersions() []config.Version

func (*Plugin) UpdateMetadata

func (p *Plugin) UpdateMetadata(cliMeta plugin.CLIMetadata, subcmdMeta *plugin.SubcommandMetadata)

UpdateMetadata defines plugin context

func (Plugin) Version

func (Plugin) Version() plugin.Version

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL