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 SafeClusterDescriptionConvert(s *models_cloudbreak.StackResponse) string
- func SafeClusterStatusConvert(s *models_cloudbreak.StackResponse) string
- func SafeClusterViewDescriptionConvert(s *models_cloudbreak.StackViewResponse) string
- func SafeClusterViewStatusConvert(s *models_cloudbreak.StackViewResponse) string
- func SafeCredentialCloudPlatformConvert(s *models_cloudbreak.StackResponse) string
- func SafeCredentialViewCloudPlatformConvert(s *models_cloudbreak.StackViewResponse) string
- func SafeInt32Convert(value *int32) int32
- func SafeStringConvert(value *string) string
- func SafeStringTypeAssert(value interface{}) 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 SafeClusterDescriptionConvert ¶
func SafeClusterDescriptionConvert(s *models_cloudbreak.StackResponse) string
func SafeClusterStatusConvert ¶
func SafeClusterStatusConvert(s *models_cloudbreak.StackResponse) string
func SafeClusterViewDescriptionConvert ¶
func SafeClusterViewDescriptionConvert(s *models_cloudbreak.StackViewResponse) string
func SafeClusterViewStatusConvert ¶
func SafeClusterViewStatusConvert(s *models_cloudbreak.StackViewResponse) string
func SafeCredentialCloudPlatformConvert ¶
func SafeCredentialCloudPlatformConvert(s *models_cloudbreak.StackResponse) string
func SafeCredentialViewCloudPlatformConvert ¶
func SafeCredentialViewCloudPlatformConvert(s *models_cloudbreak.StackViewResponse) string
func SafeInt32Convert ¶
func SafeStringConvert ¶
func SafeStringTypeAssert ¶
func SafeStringTypeAssert(value interface{}) string
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.