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

Method DialTimeoutReturns

command/commandfakes/fake_config.go:1459–1466  ·  view source on GitHub ↗
(result1 time.Duration)

Source from the content-addressed store, hash-verified

1457}
1458
1459func (fake *FakeConfig) DialTimeoutReturns(result1 time.Duration) {
1460 fake.dialTimeoutMutex.Lock()
1461 defer fake.dialTimeoutMutex.Unlock()
1462 fake.DialTimeoutStub = nil
1463 fake.dialTimeoutReturns = struct {
1464 result1 time.Duration
1465 }{result1}
1466}
1467
1468func (fake *FakeConfig) DialTimeoutReturnsOnCall(i int, result1 time.Duration) {
1469 fake.dialTimeoutMutex.Lock()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected