MCPcopy Index your code
hub / github.com/cloudfoundry/cli / SkipSSLValidation

Function SkipSSLValidation

integration/helpers/login.go:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35func 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

Callers 2

SetAPIFunction · 0.85
IsUAAVersionAtLeastFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected