Documentation
¶
Index ¶
- Constants
- func AddOutputFlag(flags *pflag.FlagSet)
- func IsJsonOutput() bool
- func NewCmdOrg() *cobra.Command
- func PrintJson(data interface{})
- func SearchClusters(cmd *cobra.Command, args []string) error
- type AWSAccountItems
- type Account
- type AccountItem
- type AccountItems
- type Customer
- type CustomerItems
- type Label
- type LabelItems
- type OrgItems
- type Organization
- type Subscription
- type SubscriptionItems
- type UserItems
Constants ¶
View Source
const ( USER_SEARCH = 1 EBS_SEARCH = 2 )
Variables ¶
This section is empty.
Functions ¶
func AddOutputFlag ¶
func IsJsonOutput ¶
func IsJsonOutput() bool
Types ¶
type AWSAccountItems ¶
type AWSAccountItems struct {
Accounts []*organizations.Child `json:"items"`
}
type Account ¶
type Account struct {
Organization Organization `json:"organization"`
}
type AccountItem ¶
type AccountItem struct {
Org Organization `json:"organization"`
}
type AccountItems ¶
type AccountItems struct {
AccountItems []AccountItem `json:"items"`
}
type CustomerItems ¶
type CustomerItems struct {
Customers []Customer `json:"items"`
}
type LabelItems ¶
type LabelItems struct {
Labels []Label `json:"items"`
}
type OrgItems ¶
type OrgItems struct {
Orgs []Organization `json:"items"`
}
type Organization ¶
type Subscription ¶
type SubscriptionItems ¶
type SubscriptionItems struct {
Subscriptions []Subscription `json:"items"`
}
Click to show internal directories.
Click to hide internal directories.