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, resources []string, gkns query.GroupKindNames, cns query.CategoryNames, pollFn func(gkns query.GroupKindNames, cns query.CategoryNames) ([]queryv1alpha1.QueryResponseObject, 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)"` AllGroups bool `short:"A" name:"all-groups" help:"Query in all groups."` // positional arguments Resources []string `` /* 247-byte string literal not displayed */ Flags upbound.Flags `embed:""` }
func (*Cmd) AfterApply ¶ added in v0.26.0
AfterApply constructs and binds Upbound-specific context to any subcommands that have Run() methods that receive it.
Click to show internal directories.
Click to hide internal directories.