Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RunState ¶
type RunState struct {
Workload kaiwo.KaiwoWorkload
WorkloadType string
User string
Namespace string
PodName string
ContainerName string
PodSelectionPredicates []cliutils.PodSelectionPredicate
}
type RunStep ¶
type RunStep[T any] func(context.Context, k8s.KubernetesClients, *T) (StepResult, RunStep[T], error)
RunStep provides a way to build multistep hierarchical terminal UIs The function returns a result of the step to indicate what should be done next, as well as an optional next RunStep to run
type StepResult ¶
type StepResult string
var ( StepResultOk StepResult = "ok" StepResultErr StepResult = "err" StepResultPrevious StepResult = "previous" StepResultQuit StepResult = "quit" )
func RunSelectTable ¶
Click to show internal directories.
Click to hide internal directories.