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

Function NewRoutingAPIGateway

cf/net/routing_api_gateway.go:29–41  ·  view source on GitHub ↗
(config coreconfig.Reader, clock func() time.Time, ui terminal.UI, logger trace.Printer, envDialTimeout string)

Source from the content-addressed store, hash-verified

27}
28
29func NewRoutingAPIGateway(config coreconfig.Reader, clock func() time.Time, ui terminal.UI, logger trace.Printer, envDialTimeout string) Gateway {
30 return Gateway{
31 errHandler: errorHandler,
32 config: config,
33 PollingThrottle: DefaultPollingThrottle,
34 warnings: &[]string{},
35 Clock: clock,
36 ui: ui,
37 logger: logger,
38 PollingEnabled: true,
39 DialTimeout: dialTimeout(envDialTimeout),
40 }
41}

Callers 3

NewDependencyFunction · 0.92

Calls 1

dialTimeoutFunction · 0.85

Tested by

no test coverage detected