kubeerr

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const DirectModeGuidance = "" /* 161-byte string literal not displayed */

DirectModeGuidance explains the boundary for explicit --use-kube operations.

Variables

This section is empty.

Functions

func CommandDetail

func CommandDetail(output string, fallback error) string

CommandDetail extracts a single-line error detail from kubectl output or the exec error.

func DirectModeFailureMessage

func DirectModeFailureMessage(prefix, detail string) string

DirectModeFailureMessage appends shared direct Kubernetes mode guidance to a command failure.

func DirectModeHint

func DirectModeHint(detail string) string

DirectModeHint returns guidance for explicit --use-kube failures.

func SetupHint

func SetupHint(detail string) (string, bool)

SetupHint returns a friendlier message when the cluster has not been provisioned yet.

func WithDirectModeHint

func WithDirectModeHint(detail string) string

WithDirectModeHint appends explicit --use-kube guidance to a command failure detail.

Types

This section is empty.

Jump to

Keyboard shortcuts

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