cmd

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: BSD-3-Clause Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "kharon",
	Short: "Kharon helps you access VSHN managed Kubernetes clusters.",
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		cmd.SilenceUsage = true
		cmd.SilenceErrors = true
		slog.SetLogLoggerLevel(slog.Level(verbosity))
	},
}

Functions

func Execute

func Execute()

Types

type ErrWithExitCode added in v1.1.0

type ErrWithExitCode struct {
	ExitCode int
	// contains filtered or unexported fields
}

func (*ErrWithExitCode) Error added in v1.1.0

func (e *ErrWithExitCode) Error() string

func (*ErrWithExitCode) Unwrap added in v1.1.0

func (e *ErrWithExitCode) Unwrap() error

Jump to

Keyboard shortcuts

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