cluster

package
v0.0.0-...-b4a0618 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 19 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"
)
View Source
const (
	YAMLSeparator = "\n---\n"
)

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 ManifestCmd

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

func ManifestGenerate

func ManifestGenerate(kc kube.CLIClient, mgArgs *ManifestGenerateArgs, cl clog.Logger) error

func ManifestGenerateCmd

func ManifestGenerateCmd(ctx cli.Context, _ *RootArgs, mgArgs *ManifestGenerateArgs) *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 ManifestGenerateArgs

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

func (*ManifestGenerateArgs) String

func (a *ManifestGenerateArgs) String() string

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