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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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