Documentation ¶
Index ¶
- Variables
- func AppendCommandCategoryMap(r string, c string, category *schema.Category)
- func AppendFlagCategoryMap(r string, c string, f string, category *schema.Category)
- func AppendResourceCategoryMap(r string, category *schema.Category)
- type CategoryHelpValue
- type FlagHandler
- type ResourceHelpValue
- type SortableCommand
- type SortableResource
- type SortableResources
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandCategoryMap = map[string]map[string]*schema.Category{}
CommandCategoryMap are added by tools/gen-cli-commands
ex. CommandCategoryMap["server"]["create"] -> *schema.Category
View Source
var CommandLevelHelpTemplate = `` /* 527-byte string literal not displayed */
CommandLevelHelpTemplate is using with `usacloud [resource] command --help`
View Source
var Commands []*cli.Command
Commands are added by tools/gen-cli-commands
FlagCategoryMap are added by tools/gen-cli-commands
ex. FlagCategoryMap["server"]["build"]["list"] -> *schema.Category
View Source
var ResourceCategoryMap = map[string]*schema.Category{}
ResourceCategoryMap are added by tools/gen-cli-commands
ex. ResourceCategoryMap["server"] -> *schema.Category
View Source
var ResourceLevelHelpTemplate = `` /* 457-byte string literal not displayed */
ResourceLevelHelpTemplate is using with `usacloud [resource] --help`
View Source
var TopLevelHelpTemplate = `` /* 958-byte string literal not displayed */
Functions ¶
func AppendFlagCategoryMap ¶
Types ¶
type CategoryHelpValue ¶
func (*CategoryHelpValue) AppendFlags ¶
func (c *CategoryHelpValue) AppendFlags(f cli.Flag)
type FlagHandler ¶ added in v0.1.0
type ResourceHelpValue ¶
func (*ResourceHelpValue) AppendCommand ¶
func (r *ResourceHelpValue) AppendCommand(c *cli.Command)
type SortableCommand ¶
type SortableResource ¶
type SortableResources ¶
type SortableResources []SortableResource
func (SortableResources) Len ¶
func (s SortableResources) Len() int
func (SortableResources) Less ¶
func (s SortableResources) Less(i, j int) bool
func (SortableResources) Swap ¶
func (s SortableResources) Swap(i, j int)
Source Files ¶
- cli_archive_gen.go
- cli_auth_status_gen.go
- cli_auto_backup_gen.go
- cli_bill_gen.go
- cli_bridge_gen.go
- cli_config_gen.go
- cli_database_gen.go
- cli_disk_gen.go
- cli_dns_gen.go
- cli_gslb_gen.go
- cli_help.go
- cli_icon_gen.go
- cli_interface_gen.go
- cli_internet_gen.go
- cli_ipv4_gen.go
- cli_ipv6_gen.go
- cli_iso_image_gen.go
- cli_license_gen.go
- cli_load_balancer_gen.go
- cli_nfs_gen.go
- cli_object_storage_gen.go
- cli_packet_filter_gen.go
- cli_price_gen.go
- cli_private_host_gen.go
- cli_product_disk_gen.go
- cli_product_internet_gen.go
- cli_product_license_gen.go
- cli_product_server_gen.go
- cli_region_gen.go
- cli_server_gen.go
- cli_simple_monitor_gen.go
- cli_ssh_key_gen.go
- cli_startup_script_gen.go
- cli_summary_gen.go
- cli_switch_gen.go
- cli_vpc_router_gen.go
- cli_web_accel_gen.go
- cli_zone_gen.go
- define.go
- functions.go
- validators.go
Click to show internal directories.
Click to hide internal directories.