- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for AddLoopbackRoutes (0.09 sec)
-
cni/pkg/iptables/nldeps.go
return AddInpodMarkIPRule(cfg) } func (r *realDeps) DelInpodMarkIPRule(cfg *Config) error { return DelInpodMarkIPRule(cfg) } func (r *realDeps) AddLoopbackRoutes(cfg *Config) error { return AddLoopbackRoutes(cfg) } func (r *realDeps) DelLoopbackRoutes(cfg *Config) error { return DelLoopbackRoutes(cfg) } type emptyDeps struct{} func EmptyNlDeps() NetlinkDependencies { return &emptyDeps{} }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.6K bytes - Viewed (0) -
cni/pkg/iptables/iptables_unspecified.go
func AddInpodMarkIPRule(cfg *Config) error { return errors.New("not implemented on this platform") } func DelInpodMarkIPRule(cfg *Config) error { return errors.New("not implemented on this platform") } func AddLoopbackRoutes(cfg *Config) error { return errors.New("not implemented on this platform") } func DelLoopbackRoutes(cfg *Config) error { return errors.New("not implemented on this platform")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1K bytes - Viewed (0) -
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)