Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AddLoopbackRoutes (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top