Documentation
¶
Index ¶
- Constants
- func Debug(doSomething func())
- func OpenYAMLFile(f string, t interface{}) error
- func PrintAsJSON(objects []interface{})
- func PrintAsList(objects []interface{}, extractTabularDataFunc func([]interface{}) [][]string, ...)
- func PrintObject(objects []interface{}, headers []string, ...)
- func PrintTabular(headers []string, data [][]string)
- func WriteConfig()
Constants ¶
View Source
const ( KEY_ORG_ID string = "orgId" KEY_TOKEN string = "authToken" KEY_URI string = "uri" KEY_DEBUG string = "debug_mode" KEY_FORMAT string = "format" CONFIG_FILE_NAME string = ".anypoint-cli" )
View Source
const ( OUTPUT_JSON = "json" OUTPUT_YAML = "yaml" OUTPUT_LIST = "list" )
Variables ¶
This section is empty.
Functions ¶
func OpenYAMLFile ¶
func PrintAsJSON ¶
func PrintAsJSON(objects []interface{})
func PrintAsList ¶
func PrintObject ¶
func PrintTabular ¶
func WriteConfig ¶
func WriteConfig()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.