Documentation
¶
Index ¶
- func ConvertServiceName(serviceName string) string
- func FetchServiceResources(service, endpoint string, shortNamesMap map[string]string) ([][]string, error)
- func GenerateIdentifier(item map[string]interface{}) string
- func PrintNewItems(items []map[string]interface{})
- func RenderTable(data [][]string)
- func SetParentHelp(cmd *cobra.Command, args []string)
- func SetVerbHelp(cmd *cobra.Command, args []string)
- func ValidateServiceCommand(service, verb, resourceName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertServiceName ¶
ConvertServiceName converts service name to endpoint format Example:
cost_analysis -> cost-analysis
func FetchServiceResources ¶
func GenerateIdentifier ¶
func PrintNewItems ¶
func PrintNewItems(items []map[string]interface{})
func RenderTable ¶
func RenderTable(data [][]string)
func SetParentHelp ¶
SetParentHelp customizes the help output for the parent command
func SetVerbHelp ¶
SetVerbHelp customizes the help output for verb commands
func ValidateServiceCommand ¶
ValidateServiceCommand checks if the given verb and resource are valid for the service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.