Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for isTerminal (0.17 sec)

  1. pkg/kubelet/kubelet_test.go

    			pod.Annotations[kubetypes.ConfigSourceAnnotationKey] = "file"
    			pods := []*v1.Pod{pod}
    			kl.podManager.SetPods(pods)
    			isTerminal, err := kl.SyncPod(context.Background(), tt.updateType, pod, nil, &kubecontainer.PodStatus{})
    			assert.NoError(t, err)
    			if isTerminal {
    				t.Fatalf("pod should not be terminal: %#v", pod)
    			}
    			podFullName := kubecontainer.GetPodFullName(pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. pkg/kubelet/pod_workers_test.go

    	isTerminal, err := s.fn(ctx, updateType, pod, mirrorPod, podStatus)
    	if err != nil {
    		return false, err
    	}
    	if !isTerminal {
    		s.lock.Lock()
    		defer s.lock.Unlock()
    		isTerminal = s.terminal.Has(string(pod.UID))
    	}
    	return isTerminal, nil
    }
    
    func (s *terminalPhaseSync) SetTerminal(uid types.UID) {
    	s.lock.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  3. cmd/common-main.go

    	serverDebugLog     = env.Get("_MINIO_SERVER_DEBUG", config.EnableOff) == config.EnableOn
    	currentReleaseTime time.Time
    	orchestrated       = IsKubernetes() || IsDocker()
    )
    
    func init() {
    	if !term.IsTerminal(int(os.Stdout.Fd())) || !term.IsTerminal(int(os.Stderr.Fd())) {
    		color.TurnOff()
    	}
    	if env.Get("NO_COLOR", "") != "" || env.Get("TERM", "") == "dumb" {
    		color.TurnOff()
    	}
    
    	if runtime.GOOS == "windows" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  4. istioctl/pkg/analyze/analyze.go

    	var readers []local.ReaderSource
    	for _, f := range args {
    		var r *os.File
    
    		// Handle "-" as stdin as a special case.
    		if f == "-" {
    			if isatty.IsTerminal(os.Stdin.Fd()) && !isJSONorYAMLOutputFormat() {
    				fmt.Fprint(cmd.OutOrStdout(), "Reading from stdin:\n")
    			}
    			r = os.Stdin
    			readers = append(readers, local.ReaderSource{Name: f, Reader: r})
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    // the screen.
    func awayFromTTY(format string) PostProcessor {
    	return func(input io.Reader, output io.Writer, ui plugin.UI) error {
    		if output == os.Stdout && (ui.IsTerminal() || interactiveMode) {
    			tempFile, err := newTempFile("", "profile", "."+format)
    			if err != nil {
    				return err
    			}
    			ui.PrintErr("Generating report in ", tempFile.Name())
    			output = tempFile
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet.go

    	))
    	klog.V(4).InfoS("SyncPod enter", "pod", klog.KObj(pod), "podUID", pod.UID)
    	defer func() {
    		klog.V(4).InfoS("SyncPod exit", "pod", klog.KObj(pod), "podUID", pod.UID, "isTerminal", isTerminal)
    		otelSpan.End()
    	}()
    
    	// Latency measurements for the main workflow are relative to the
    	// first time the pod was seen by kubelet.
    	var firstSeenTime time.Time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  7. pkg/kubelet/pod_workers.go

    			continue
    		}
    
    		podUID, podRef := podUIDAndRefForUpdate(update.Options)
    
    		klog.V(4).InfoS("Processing pod event", "pod", podRef, "podUID", podUID, "updateType", update.WorkType)
    		var isTerminal bool
    		err := func() error {
    			// The worker is responsible for ensuring the sync method sees the appropriate
    			// status updates on resyncs (the result of the last sync), transitions to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <sub-class-of type="application/x-tika-msoffice"/>
      </mime-type>
      <mime-type type="application/x-msschedule">
        <glob pattern="*.scd"/>
      </mime-type>
      <mime-type type="application/x-msterminal">
        <glob pattern="*.trm"/>
      </mime-type>
      <mime-type type="application/x-mswrite">
        <magic priority="50">
          <match value="0x31be0000" type="big32" offset="0"/>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Sep 21 06:46:43 UTC 2023
    - 298.5K bytes
    - Viewed (0)
Back to top