cluster

package
v0.0.0-...-c4d4bc0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AllResourcesRemovedWarning                  = "All Dubbo resources will be pruned from the cluster\n"
	PurgeWithRevisionOrOperatorSpecifiedWarning = "Purge uninstall will remove all Dubbo resources, ignoring the specified revision or operator file"
)

Variables

This section is empty.

Functions

func Install

func Install(kubeClient kube.CLIClient, rootArgs *RootArgs, iArgs *installArgs, cl clog.Logger, stdOut io.Writer, p Printer) error

func InstallCmd

func InstallCmd(ctx cli.Context) *cobra.Command

func InstallCmdWithArgs

func InstallCmdWithArgs(ctx cli.Context, rootArgs *RootArgs, iArgs *installArgs) *cobra.Command

func OptionDeterminate

func OptionDeterminate(msg string, writer io.Writer) bool

func UnInstall

func UnInstall(cmd *cobra.Command, ctx cli.Context, rootArgs *RootArgs, uiArgs *uninstallArgs) error

func UninstallCmd

func UninstallCmd(ctx cli.Context) *cobra.Command

func UpgradeCmd

func UpgradeCmd(ctx cli.Context) *cobra.Command

Types

type Printer

type Printer interface {
	Printf(string, ...any)
	Println(string)
}

func NewPrinterForWriter

func NewPrinterForWriter(w io.Writer) Printer

func NewPtrForWtr

func NewPtrForWtr(w io.Writer) Printer

type RootArgs

type RootArgs struct {
	DryRun bool
	RootFlags
}

type RootFlags

type RootFlags struct {
	// contains filtered or unexported fields
}

func AddRootFlags

func AddRootFlags(cmd *cobra.Command) *RootFlags

Jump to

Keyboard shortcuts

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