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

Function dialTimeout

cf/net/gateway.go:462–468  ·  view source on GitHub ↗
(envDialTimeout string)

Source from the content-addressed store, hash-verified

460}
461
462func dialTimeout(envDialTimeout string) time.Duration {
463 dialTimeout := DefaultDialTimeout
464 if timeout, err := strconv.Atoi(envDialTimeout); err == nil {
465 dialTimeout = time.Duration(timeout) * time.Second
466 }
467 return dialTimeout
468}
469
470func (gateway *Gateway) SetTrustedCerts(certificates []tls.Certificate) {
471 gateway.trustedCerts = certificates

Callers 3

NewRoutingAPIGatewayFunction · 0.85
NewUAAGatewayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected