MCPcopy
hub / github.com/cloudfoundry/cli / IsSSLDisabled

Method IsSSLDisabled

plugin/plugin.go:33–33  ·  view source on GitHub ↗

IsSSLDisabled returns true if and only if the user is connected to the Cloud Controller API with the `--skip-ssl-validation` flag set unless the CLI configuration file cannot be read, in which case it returns an error.

()

Source from the content-addressed store, hash-verified

31 // `--skip-ssl-validation` flag set unless the CLI configuration file cannot be read, in which case it
32 // returns an error.
33 IsSSLDisabled() (bool, error)
34 HasOrganization() (bool, error)
35 HasSpace() (bool, error)
36 ApiEndpoint() (string, error)

Callers 3

RunMethod · 0.65
IsSSLDisabledMethod · 0.65
RunMethod · 0.65

Implementers 2

cliConnectionplugin/cli_connection.go
FakeCliConnectionplugin/pluginfakes/fake_cli_connection

Calls

no outgoing calls

Tested by

no test coverage detected