MCPcopy Create free account
hub / github.com/cloudfoundry/credhub-cli / ValidateConfigApi

Function ValidateConfigApi

config/validation.go:16–22  ·  view source on GitHub ↗
(c Config)

Source from the content-addressed store, hash-verified

14}
15
16func ValidateConfigApi(c Config) error {
17 if c.ApiURL == "" {
18 return errors.NewNoApiUrlSetError()
19 }
20
21 return nil
22}

Callers 2

initializeCredhubClientFunction · 0.92
ValidateConfigFunction · 0.85

Calls 1

NewNoApiUrlSetErrorFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…