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

Method AsyncTimeout

cf/net/gateway.go:77–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func (gateway *Gateway) AsyncTimeout() time.Duration {
78 if gateway.config.AsyncTimeout() > 0 {
79 return time.Duration(gateway.config.AsyncTimeout()) * time.Minute
80 }
81
82 return 0
83}
84
85func (gateway *Gateway) SetTokenRefresher(auth tokenRefresher) {
86 gateway.authenticator = auth

Callers 1

Calls 1

AsyncTimeoutMethod · 0.65

Tested by

no test coverage detected