cluster

package
v0.0.0-...-02ae7d7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

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