Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 478 for terminateCh (0.3 sec)

  1. pkg/filewatcher/worker.go

    				case ft.errors <- err:
    					// nothing to do
    
    				case ft := <-wk.retireTrackerCh:
    					retireTracker(ft)
    
    				case <-wk.terminateCh:
    					return
    				}
    			}
    
    		case ft := <-wk.retireTrackerCh:
    			retireTracker(ft)
    
    		case <-wk.terminateCh:
    			return
    		}
    	}
    }
    
    // used only by the worker goroutine
    func (wk *worker) drainRetiringTrackers() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 22:31:06 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/envoy/agent.go

    		log.Warnf("Error in invoking drain listeners endpoint: %v", err)
    	}
    	// If we drained now, skip draining + waiting later
    	// When we terminate, we will instead exit immediately
    	a.DisableDraining()
    }
    
    // terminate starts exiting the process.
    func (a *Agent) terminate() {
    	log.Infof("Agent draining Proxy for termination")
    	if a.skipDrain.Load() {
    		log.Infof("Agent already drained, exiting immediately")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. src/text/tabwriter/tabwriter.go

    // A cell represents a segment of text terminated by tabs or line breaks.
    // The text itself is stored in a separate buffer; cell only describes the
    // segment's size in bytes, its width in runes, and whether it's an htab
    // ('\t') terminated cell.
    type cell struct {
    	size  int  // cell size in bytes
    	width int  // cell width in runes
    	htab  bool // true if the cell is terminated by an htab ('\t')
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  4. src/internal/fuzz/worker.go

    // it terminates. If the worker doesn't terminate after a short time, stop
    // signals it with os.Interrupt (where supported), then os.Kill.
    //
    // stop returns the error the process terminated with, if any (same as
    // w.waitErr).
    //
    // stop must be called at least once after start returns successfully, even if
    // the worker process terminates unexpectedly.
    func (w *worker) stop() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * State#FAILED fail}/{@linkplain State#TERMINATED terminate} before all other services have
         * started {@linkplain State#RUNNING running} then this method will not be called.
         */
        public void healthy() {}
    
        /**
         * Called when the all of the component services have reached a terminal state, either
         * {@linkplain State#TERMINATED terminated} or {@linkplain State#FAILED failed}.
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ServiceManager.java

         * State#FAILED fail}/{@linkplain State#TERMINATED terminate} before all other services have
         * started {@linkplain State#RUNNING running} then this method will not be called.
         */
        public void healthy() {}
    
        /**
         * Called when the all of the component services have reached a terminal state, either
         * {@linkplain State#TERMINATED terminated} or {@linkplain State#FAILED failed}.
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. pkg/kubelet/pod_workers_test.go

    	if podWorkers.CouldHaveRunningContainers(types.UID("0")) {
    		t.Errorf("Expected pod to be terminated (deleted and terminated)")
    	}
    	if podWorkers.CouldHaveRunningContainers(types.UID("1")) {
    		t.Errorf("Expected pod to be terminated")
    	}
    	if !podWorkers.CouldHaveRunningContainers(types.UID("2")) {
    		t.Errorf("Expected pod to not be terminated")
    	}
    
    	if !podWorkers.ShouldPodContentBeRemoved(types.UID("0")) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  8. pkg/kubelet/pod_workers.go

    	gracePeriod int64
    	// notifyPostTerminating will be closed once the pod transitions to
    	// terminated. After the pod is in terminated state, nothing should be
    	// added to this list.
    	notifyPostTerminating []chan<- struct{}
    	// statusPostTerminating is a list of the status changes associated
    	// with kill pod requests. After the pod is in terminated state, nothing
    	// should be added to this list. The worker will execute the last function
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    	case terminated != nil:
    		// in cases where the next container didn't start, terminated.ContainerID will be empty, so get logs from the lastState.Terminated.
    		if terminated.ContainerID == "" {
    			if lastState.Terminated != nil && lastState.Terminated.ContainerID != "" {
    				cID = lastState.Terminated.ContainerID
    			} else {
    				return kubecontainer.ContainerID{}, fmt.Errorf("container %q in pod %q is terminated", containerName, podName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  10. src/text/tabwriter/tabwriter_test.go

    	},
    
    	{
    		"7g",
    		8, 0, 1, '.', FilterHTML,
    		"g) f&lt;o\t<b>bar</b>\t non-terminated entity &amp",
    		"g) f&lt;o..<b>bar</b>..... non-terminated entity &amp",
    	},
    
    	{
    		"7g debug",
    		8, 0, 1, '.', FilterHTML | Debug,
    		"g) f&lt;o\t<b>bar</b>\t non-terminated entity &amp",
    		"g) f&lt;o..|<b>bar</b>.....| non-terminated entity &amp",
    	},
    
    	{
    		"8",
    		8, 0, 1, '*', 0,
    		"Hello, world!\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top