Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupCmd = &cobra.Command{
Use: "datacenters",
Short: "Datacenters commands",
}
View Source
var ListCmd = &cobra.Command{ Use: "list", Short: "List available datacenters", Long: "Retrieve a list of datacenters available for setting up hosting plans\nbased on available datacenter capacity and hosting plan of your order.\nThe first item in the list is the best match for your specific order\nrequirements.", Run: func(cmd *cobra.Command, args []string) { r, err := api.Request().HostingListAvailableDatacentersV1WithResponse(context.TODO(), listParams(cmd)) if err != nil { log.Fatal(err) } output.Format(cmd, r.Body, r.StatusCode()) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.