Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newNetServer (0.33 sec)

  1. cni/pkg/nodeagent/net.go

    	podNs              PodNetnsFinder
    	// allow overriding for tests
    	netnsRunner func(fdable NetnsFd, toRun func() error) error
    }
    
    var _ MeshDataplane = &NetServer{}
    
    func newNetServer(ztunnelServer ZtunnelServer, podNsMap *podNetnsCache, podIptables *iptables.IptablesConfigurator, podNs PodNetnsFinder) *NetServer {
    	return &NetServer{
    		ztunnelServer:      ztunnelServer,
    		currentPodSnapshot: podNsMap,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server.go

    		return nil, fmt.Errorf("error initializing the host rules for health checks: %w", err)
    	}
    
    	podNetns := NewPodNetnsProcFinder(os.DirFS(filepath.Join(pconstants.HostMountsPath, "proc")))
    	netServer := newNetServer(ztunnelServer, podNsMap, podIptables, podNetns)
    
    	// Set some defaults
    	s := &Server{
    		ctx:        ctx,
    		kubeClient: client,
    		isReady:    ready,
    		dataplane: &meshDataplane{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top