Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for __construct (2.18 sec)

  1. cni/pkg/nodeagent/server.go

    	s.kubeClient.RunAndWait(s.ctx.Done())
    	log.Info("CNI ambient server kubeclient started")
    	pods := s.handlers.GetAmbientPods()
    	err := s.dataplane.ConstructInitialSnapshot(pods)
    	if err != nil {
    		log.Warnf("failed to construct initial snapshot: %v", err)
    	}
    
    	log.Info("CNI ambient server marking ready")
    	s.Ready()
    	s.dataplane.Start(s.ctx)
    	s.handlers.Start()
    }
    
    func (s *Server) Stop() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    		consErr = append(consErr, err)
    	}
    
    	podsByUID := slices.GroupUnique(ambientPods, (*corev1.Pod).GetUID)
    	if err := s.buildZtunnelSnapshot(podsByUID); err != nil {
    		log.Warnf("failed to construct initial ztunnel snapshot: %v", err)
    		consErr = append(consErr, err)
    	}
    
    	return errors.Join(consErr...)
    }
    
    func (s *NetServer) buildZtunnelSnapshot(ambientPodUIDs map[types.UID]*corev1.Pod) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  3. cni/pkg/repair/repair.go

    		repairLog.Info("CNI repair is disable.")
    		return
    	}
    	repairLog.Info("Start CNI race condition repair.")
    
    	client, err := clientSetup()
    	if err != nil {
    		repairLog.Fatalf("CNI repair could not construct clientSet: %s", err)
    	}
    
    	rc, err := NewRepairController(client, cfg)
    	if err != nil {
    		repairLog.Fatalf("Fatal error constructing repair controller: %+v", err)
    	}
    	go rc.Run(ctx.Done())
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.5K bytes
    - Viewed (0)
Back to top