{"modulePath":"github.com/kernel/hypeman","version":"v0.4.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package testsupport\n\nPackage testsupport holds test-only helpers shared by the packages that bring up real hypeman networks in tests.\n\n## Functions\n\n```go\nfunc SweepOrphanedRules()\n```\nSweepOrphanedRules deletes test iptables rules whose bridge no longer exists from the FORWARD and nat POSTROUTING chains. Rules whose bridge exists are left alone, as are rules without a test-harness comment. Failures are logged, never returned, so a sweep problem cannot fail a test run.\n\n```go\nfunc SweepOrphanedRulesOnce()\n```\nSweepOrphanedRulesOnce runs SweepOrphanedRules at most once per process.\n\n","path":"github.com/kernel/hypeman/lib/network/testsupport","name":"testsupport","synopsis":"Package testsupport holds test-only helpers shared by the packages that bring up real hypeman networks in tests.","isRedistributable":true}
