Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AwsxDiscoveredResourceCountsCmd = &cobra.Command{ Use: "getDiscoveredResourceCounts", Short: "getDiscoveredResourceCounts command gets resource counts", Long: `getDiscoveredResourceCounts command gets resource counts`, Run: func(cmd *cobra.Command, args []string) { fmt.Println("executing command getDiscoveredResourceCounts") var authFlag, clientAuth, err = authenticate.AuthenticateCommand(cmd) if err != nil { log.Printf("error during authentication: %v\n", err) err := cmd.Help() if err != nil { return } return } if authFlag { resp, err := DiscoveredResourceCounts(clientAuth, nil) if err != nil { log.Println("error getting getDiscoveredResourceCounts: ", err) return } fmt.Println(resp) } else { cmd.Help() return } }, }
Functions ¶
func DiscoveredResourceCounts ¶
func DiscoveredResourceCounts(clientAuth *model.Auth, client *configservice.ConfigService) (*configservice.GetDiscoveredResourceCountsOutput, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.