v1

package
v3.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

View Source
const KustomizeVersion = "v3.8.7"

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

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

func (Plugin) DeprecationWarning added in v3.10.0

func (p Plugin) DeprecationWarning() string

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 (p *Plugin) InjectConfig(c config.Config) error

func (Plugin) Name

func (Plugin) Name() string

Name returns the name of the plugin

func (*Plugin) PreScaffold added in v3.5.0

func (p *Plugin) PreScaffold(machinery.Filesystem) error

func (Plugin) SupportedProjectVersions

func (Plugin) SupportedProjectVersions() []config.Version

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)

func (Plugin) Version

func (Plugin) Version() plugin.Version

Version returns the version of the plugin

Jump to

Keyboard shortcuts

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