cli

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrProxyHealthDisconnect = errors.New("proxy health disconnect")

ErrProxyHealthDisconnect is a sentinel error returned when the proxy exits due to a health-check-triggered disconnection. It should be suppressed from stderr in main.go since the ssh client will report the disconnect naturally.

Functions

func Execute

func Execute() error

func NewRootCmd

func NewRootCmd() *cobra.Command

Types

type InitOverrides added in v0.2.11

type InitOverrides struct {
	Name          string
	Namespace     string
	KubeContext   string
	WorkloadType  string
	ManifestPath  string
	InjectPaths   []string
	GenericPreset string
	DevImage      string
	SidecarImage  string
	SyncLocal     string
	SyncRemote    string
	SSHUser       string
}

InitOverrides holds flag-provided values that skip prompting.

type Options

type Options struct {
	ConfigPath string
	Session    string
	Owner      string
	Namespace  string
	Context    string
	Output     string
	Verbose    bool
}

Jump to

Keyboard shortcuts

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