MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / directBootstrapAttemptTimeout

Function directBootstrapAttemptTimeout

internal/ui/plugins/ansible/plugin.go:1482–1488  ·  view source on GitHub ↗
(dryRun bool)

Source from the content-addressed store, hash-verified

1480}
1481
1482func directBootstrapAttemptTimeout(dryRun bool) time.Duration {
1483 if dryRun {
1484 return 15 * time.Second
1485 }
1486
1487 return 45 * time.Second
1488}
1489
1490func checkSSHPortReachable(target string, timeout time.Duration) bool {
1491 if strings.TrimSpace(target) == "" {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected