()
| 33 | } |
| 34 | |
| 35 | func SkipSSLValidation() bool { |
| 36 | if skip, err := strconv.ParseBool(os.Getenv("SKIP_SSL_VALIDATION")); err == nil && !skip { |
| 37 | return false |
| 38 | } |
| 39 | return true |
| 40 | } |
| 41 | |
| 42 | // GetAPI gets the value of the CF_INT_API environment variable, if set, and prefixes |
| 43 | // it with "https://" if the value doesn't already start with "http". If the variable |
no outgoing calls
no test coverage detected