cluster

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

View Source
const (
	YAMLSeparator = "\n---\n"
)

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(cmd *cobra.Command, rootArgs *RootArgs)

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

InstallCmd generates an Dubbo install manifest and applies it to a cluster.

func InstallCmdWithArgs

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

InstallCmdWithArgs generates an Dubbo install manifest and applies it to a cluster.

func ManifestCmd

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

func OptionDeterminate

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

OptionDeterminate waits for a user to confirm with the supplied message.

func Uninstall

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

Uninstall uninstalls by deleting specified manifests.

func UninstallCmd

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

UninstallCmd command uninstalls Dubbo from a cluster

func UpgradeCmd

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

UpgradeCmd performs an in-place upgrade with eligibility checks.

Types

type Printer

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

func NewPrinterForWriter

func NewPrinterForWriter(w io.Writer) Printer

type RootArgs

type RootArgs struct {
	// DryRun executes all steps without actually applying the manifests or creating output directories/files.
	DryRun bool
	RootFlags
}

type RootFlags

type RootFlags struct{}

Jump to

Keyboard shortcuts

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