Documentation ¶
Index ¶
- func CheckClientVersion(client utilClient, version string)
- func CopyToByTargets(sourceParameters map[string]interface{}, parameters ...string) map[string]interface{}
- func DelimitedStringToArray(text, delimiter string) []string
- func EscapeStringToJson(input string) string
- func LogErrorAndExit(err error)
- func LogErrorMessage(message string)
- func LogErrorMessageAndExit(message string)
- func LogMissingParameterAndExit(c *cli.Context, missingFlags []string, message ...string)
- func LogMissingParameterMessageAndExit(c *cli.Context, message string)
- func Println(a ...interface{}) (n int, err error)
- func RandStr(n int) string
- func ReadContentFromURL(urlLocation string, client *http.Client) []byte
- func ReadFile(fileLocation string) []byte
- func SafeInt32Convert(value *int32) int32
- func SafeStringConvert(value *string) string
- func TimeTrack(start time.Time, name string)
- type CBFormatter
- type Output
- type RESTError
- type Row
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckClientVersion ¶
func CheckClientVersion(client utilClient, version string)
func CopyToByTargets ¶
func DelimitedStringToArray ¶
Returns a slice of strings. If the string is empty it will return an empty slice.
func EscapeStringToJson ¶
func LogErrorAndExit ¶
func LogErrorAndExit(err error)
func LogErrorMessage ¶
func LogErrorMessage(message string)
func LogErrorMessageAndExit ¶
func LogErrorMessageAndExit(message string)
func SafeInt32Convert ¶
func SafeStringConvert ¶
Types ¶
type CBFormatter ¶
type CBFormatter struct { }
type RESTError ¶
type RESTError struct { Response interface{} Code int }
func (*RESTError) ShortError ¶
Click to show internal directories.
Click to hide internal directories.