Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
*tview.Application
// contains filtered or unexported fields
}
App represents main application struct.
func NewApp ¶
func NewApp(title string, group, kind, name string, pollFn func(kind, group, name string) (*queryv1alpha1.QueryResponse, error), fetchFn func(id string) (*unstructured.Unstructured, error)) *App
func (*App) TopLevelInputHandler ¶
type Cmd ¶
type Cmd struct {
ControlPlane string `short:"c" long:"controlplane" env:"UPBOUND_CONTROLPLANE" description:"Controlplane to query"`
Group string `short:"g" long:"group" env:"UPBOUND_GROUP" description:"Group to query"`
Namespace string `short:"n" long:"namespace" env:"UPBOUND_NAMESPACE" description:"Namespace of objects to query (defaults to all namespaces)"`
Kind string `arg:"" description:"Kind to trace, accepts the 'KIND[.GROUP][/NAME]' format."`
Name string `arg:"" description:"Name to trace" optional:""`
}
func (*Cmd) BeforeApply ¶
BeforeApply sets default values for the delete command, before assignment and validation.
Click to show internal directories.
Click to hide internal directories.