cluster

package
v0.0.0-...-1e8fbd0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var InstallerScope = log.RegisterScope("installer")

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

func InstallCmdWithArgs

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

func ManifestCmd

func ManifestCmd(ctx cli.Context) *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{}

Jump to

Keyboard shortcuts

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