Documentation
¶
Index ¶
- func AddCommandsTo(rootCmd *cobra.Command)
- func BuyVXC(cmd *cobra.Command, args []string, noColor bool) error
- func DeleteVXC(cmd *cobra.Command, args []string, noColor bool) error
- func GetVXC(cmd *cobra.Command, args []string, noColor bool, outputFormat string) error
- func GetVXCStatus(cmd *cobra.Command, args []string, noColor bool, outputFormat string) error
- func ListVXCResourceTags(cmd *cobra.Command, args []string, noColor bool, outputFormat string) error
- func ListVXCs(cmd *cobra.Command, args []string, noColor bool, outputFormat string) error
- func UpdateVXC(cmd *cobra.Command, args []string, noColor bool) error
- func UpdateVXCResourceTags(cmd *cobra.Command, args []string, noColor bool) error
- type Module
- type VXCOutput
- type VXCStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommandsTo ¶
AddCommandsTo builds the vxc commands and adds them to the root command
func GetVXCStatus ¶ added in v0.4.4
func ListVXCResourceTags ¶ added in v0.4.3
Types ¶
type Module ¶ added in v0.3.4
type Module struct{}
Module implements the cmdbuilder.Module interface for vxc
func (*Module) RegisterCommands ¶ added in v0.3.4
RegisterCommands adds the vxc command to the root command
type VXCOutput ¶
type VXCOutput struct {
output.Output `json:"-" header:"-"`
UID string `json:"uid" header:"UID"`
Name string `json:"name" header:"Name"`
AEndUID string `json:"a_end_uid" header:"A End UID"`
BEndUID string `json:"b_end_uid" header:"B End UID"`
AEndVLAN int `json:"a_end_vlan" header:"A End VLAN"`
BEndVLAN int `json:"b_end_vlan" header:"B End VLAN"`
RateLimit int `json:"rate_limit" header:"Rate Limit"`
Status string `json:"status" header:"Status"`
}
VXCOutput represents the desired fields for output.
Click to show internal directories.
Click to hide internal directories.