- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AddLoopbackRoutes (0.17 sec)
-
cni/pkg/iptables/iptables_linux.go
log.Debugf("processing netlink rule: %+v", rule) if err := f(rule); err != nil { return fmt.Errorf("failed to configure netlink rule: %w", err) } } return nil } func AddLoopbackRoutes(cfg *Config) error { return forEachLoopbackRoute(cfg, "add", netlink.RouteReplace) } func DelLoopbackRoutes(cfg *Config) error { return forEachLoopbackRoute(cfg, "remove", netlink.RouteDel) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Sep 06 09:44:28 UTC 2024 - 4K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
return nil } func (r *fakeIptablesDeps) DelInpodMarkIPRule(cfg *iptables.Config) error { r.DelInpodMarkIPRuleCnt.Add(1) return nil } func (r *fakeIptablesDeps) AddLoopbackRoutes(cfg *iptables.Config) error { r.AddLoopbackRoutesCnt.Add(1) return r.AddRouteErr } func (r *fakeIptablesDeps) DelLoopbackRoutes(cfg *iptables.Config) error { r.DelLoopbackRoutesCnt.Add(1) return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 23:33:46 UTC 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
return cfg.ext.Run(cmd, iptVer, strings.NewReader(data), "--noflush", "-v") } func (cfg *IptablesConfigurator) addLoopbackRoute() error { return cfg.nlDeps.AddLoopbackRoutes(cfg.cfg) } func (cfg *IptablesConfigurator) delLoopbackRoute() error { return cfg.nlDeps.DelLoopbackRoutes(cfg.cfg) } func (cfg *IptablesConfigurator) addInpodMarkIPRule() error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 23.3K bytes - Viewed (0)