Documentation ¶
Index ¶
- Constants
- func ParseTypesAndNames(args ...string) (resourceTuples []typeGroupNames, errs []error)
- func SplitGroupKindAndCategories(tgns []typeGroupNames) (GroupKindNames, CategoryNames)
- type CategoryNames
- type GetCmd
- type GroupKindNames
- type NotFound
- type NotFoundFunc
- type QueryCmd
- type RESTScopeNameFunc
Constants ¶
View Source
const AllCategory = "all"
Variables ¶
This section is empty.
Functions ¶
func ParseTypesAndNames ¶
ParseTypesAndNames parses
`` `<type1>[,<type2>,...] [<name1> [<name2>...]]` `<type1>/<name1> [<type2>/<name2>...]`
into resource tuples. Every tuple will result in a query lateron.
func SplitGroupKindAndCategories ¶
func SplitGroupKindAndCategories(tgns []typeGroupNames) (GroupKindNames, CategoryNames)
SplitGroupKindAndCategories splits specified types into fully qualified GroupKinds and categories.
Types ¶
type CategoryNames ¶
type GetCmd ¶
type GetCmd struct { Namespace string `short:"n" name:"namespace" help:"If present, the namespace scope for this CLI request."` AllNamespaces bool `` /* 178-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetCmd) AfterApply ¶
AfterApply constructs and binds Upbound-specific context to any subcommands that have Run() methods that receive it.
func (*GetCmd) BeforeReset ¶
type GroupKindNames ¶
type NotFoundFunc ¶
type NotFoundFunc func() error
func (NotFoundFunc) PrintMessage ¶
func (f NotFoundFunc) PrintMessage() error
type QueryCmd ¶
type QueryCmd struct { // flags about the scope Namespace string `` /* 211-byte string literal not displayed */ Group string `` /* 138-byte string literal not displayed */ ControlPlane string `` /* 159-byte string literal not displayed */ AllGroups bool `short:"A" name:"all-groups" help:"Query in all groups."` // contains filtered or unexported fields }
func (*QueryCmd) AfterApply ¶
AfterApply constructs and binds Upbound-specific context to any subcommands that have Run() methods that receive it.
func (*QueryCmd) BeforeReset ¶
BeforeReset is the first hook to run.
type RESTScopeNameFunc ¶
type RESTScopeNameFunc string
func (RESTScopeNameFunc) Name ¶
func (f RESTScopeNameFunc) Name() meta.RESTScopeName
Source Files ¶
Click to show internal directories.
Click to hide internal directories.