- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for deleteRule (0.19 sec)
-
tools/istio-clean-iptables/pkg/cmd/cleanup.go
flushAndDeleteChains(ext, iptV, constants.MANGLE, chains) if cfg.InboundInterceptionMode == constants.TPROXY { DeleteRule(ext, iptV, constants.MANGLE, constants.PREROUTING, "-p", constants.TCP, "-m", "mark", "--mark", cfg.InboundTProxyMark, "-j", "CONNMARK", "--save-mark") DeleteRule(ext, iptV, constants.MANGLE, constants.OUTPUT,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 15:51:15 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/util/iptables/testing/fake_test.go
t.Fatalf("bad sanity-check dump. expected:\n%s\n\ngot:\n%s\n", expected, buf.Bytes()) } // DeleteRule err = fake.DeleteRule(iptables.Table("blah"), iptables.Chain("KUBE-TEST"), "-j", "DROP") if err == nil { t.Errorf("did not get expected error deleting rule in non-existent table") } err = fake.DeleteRule(iptables.TableNAT, iptables.Chain("KUBE-TEST-NOT"), "-j", "DROP") if err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 10.2K bytes - Viewed (0) -
pkg/util/iptables/testing/fake.go
} if position == iptables.Append { c.Rules = append(c.Rules, parsed) } else { c.Rules = append([]*Rule{parsed}, c.Rules...) } return false, nil } // DeleteRule is part of iptables.Interface func (f *FakeIPTables) DeleteRule(table iptables.Table, chain iptables.Chain, args ...string) error { c, err := f.Dump.GetChain(table, chain) if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 8.5K bytes - Viewed (0) -
pkg/util/iptables/iptables.go
EnsureRule(position RulePosition, table Table, chain Chain, args ...string) (bool, error) // DeleteRule checks if the specified rule is present and, if so, deletes it. DeleteRule(table Table, chain Chain, args ...string) error // IsIPv6 returns true if this is managing ipv6 tables. IsIPv6() bool // Protocol returns the IP family this instance is managing,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 28.6K bytes - Viewed (0) -
pkg/util/iptables/iptables_test.go
func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) }, }, } runner := New(fexec, ProtocolIPv4) err := runner.DeleteRule(TableNAT, ChainOutput, "abc", "123") if err != nil { t.Errorf("expected success, got %v", err) } if fcmd.CombinedOutputCalls != 2 { t.Errorf("expected 2 CombinedOutput() calls, got %d", fcmd.CombinedOutputCalls)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 08 15:21:59 UTC 2023 - 46.3K bytes - Viewed (0) -
subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/jquery.jstree.js
if(css_rules[j].selectorText && css_rules[j].selectorText.toLowerCase() == rule_name) { if(delete_flag === true) { if(sheet.removeRule) { sheet.removeRule(j); } if(sheet.deleteRule) { sheet.deleteRule(j); } return true; } else { return css_rules[j]; } } } while (css_rules[++j]); return false; }, add_css : function(rule_name, sheet) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 09:03:42 UTC 2021 - 49.5K bytes - Viewed (0) -
pkg/proxy/iptables/proxier.go
for _, jump := range append(iptablesJumpChains, iptablesCleanupOnlyChains...) { args := append(jump.extraArgs, "-m", "comment", "--comment", jump.comment, "-j", string(jump.dstChain), ) if err := ipt.DeleteRule(jump.table, jump.srcChain, args...); err != nil { if !utiliptables.IsNotFoundError(err) { logger.Error(err, "Error removing pure-iptables proxy rule") encounteredError = true } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier.go
// Unlink the iptables chains created by ipvs Proxier for _, jc := range iptablesJumpChain { args := []string{ "-m", "comment", "--comment", jc.comment, "-j", string(jc.to), } if err := ipt.DeleteRule(jc.table, jc.from, args...); err != nil { if !utiliptables.IsNotFoundError(err) { logger.Error(err, "Error removing iptables rules in ipvs proxier") encounteredError = true } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 77.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy
when: startBuild() waitForBuildToWait() then: busy() daemonContext { File registry = new DaemonDir(executer.daemonBaseDir).registry deleteFile(registry) } when: waitForDaemonExpiration() then: completeBuild() and: stopped() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 6.8K bytes - Viewed (0) -
pkg/test/util/yml/cache.go
for _, p := range parts { key := toKey(p.Descriptor) result = append(result, key) newKeys[key] = struct{}{} state, found := c.resources[key] if found { if err = c.deleteFile(state.file); err != nil { return nil, err } } else { state = &resourceState{} c.resources[key] = state } state.file = c.generateFileName(key) state.part = p
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 03 18:09:59 UTC 2021 - 4K bytes - Viewed (0)