Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shouldLead (1.81 sec)

  1. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    	m.opts.MeshServiceController.AddRegistryAndRun(kubeRegistry, clusterStopCh)
    
    	go func() {
    		var shouldLead bool
    		if !configCluster {
    			shouldLead = m.checkShouldLead(client, options.SystemNamespace, clusterStopCh)
    			log.Infof("should join leader-election for cluster %s: %t", cluster.ID, shouldLead)
    		}
    		if m.startNsController && (shouldLead || configCluster) {
    			// Block server exit on graceful termination of the leader controller.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/net/http/cookiejar/jar.go

    func (e *entry) id() string {
    	return fmt.Sprintf("%s;%s;%s", e.Domain, e.Path, e.Name)
    }
    
    // shouldSend determines whether e's cookie qualifies to be included in a
    // request to host/path. It is the caller's responsibility to check if the
    // cookie is expired.
    func (e *entry) shouldSend(https bool, host, path string) bool {
    	return e.domainMatch(host) && e.pathMatch(path) && (https || !e.Secure)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top