Documentation
¶
Index ¶
- func CheckErrorFatal(err error)
- func CheckErrorNonFatal(err error) bool
- func CheckHttpResponses(responses chan HttpResponse, numCalls int)
- func GetAllApps(cliConnection plugin.CliConnection) ([]string, error)
- func GetAllDatabases(httpClient *http.Client, cloudantAccounts []cam.CloudantAccount) []string
- func GetCurrentTarget(cliConnection plugin.CliConnection) (string, string, string, string)
- func GetDatabases(httpClient *http.Client, account cam.CloudantAccount) []string
- func HandleFlags(args []string) (string, []string, string, bool, bool)
- func IsValid(el string, elements []string) bool
- func MakeRequest(httpClient *http.Client, rType string, url string, body string, ...) (*http.Response, error)
- type HttpResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckErrorFatal ¶
func CheckErrorFatal(err error)
func CheckErrorNonFatal ¶
func CheckHttpResponses ¶
func CheckHttpResponses(responses chan HttpResponse, numCalls int)
func GetAllApps ¶
func GetAllApps(cliConnection plugin.CliConnection) ([]string, error)
func GetAllDatabases ¶
* Requests all databases for a given Cloudant account * and returns them as a string array
func GetCurrentTarget ¶
func GetDatabases ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.