Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for podSyncStatuses (0.27 sec)

  1. pkg/kubelet/pod_workers_test.go

    	pod1 = podWorkers.podSyncStatuses[types.UID("1-normal")]
    	if pod1.IsTerminated() {
    		t.Fatalf("unexpected pod state: %#v", pod1)
    	}
    	pod2 = podWorkers.podSyncStatuses[types.UID("2-static")]
    	if pod2.IsTerminated() {
    		t.Fatalf("unexpected pod state: %#v", pod2)
    	}
    	pod3 := podWorkers.podSyncStatuses[types.UID("3-static")]
    	if pod3.IsTerminated() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_test.go

    			},
    			wantWorker: func(t *testing.T, w *podWorkers, records map[types.UID][]syncPodRecord) {
    				uid := types.UID("1")
    				if len(w.podSyncStatuses) != 1 {
    					t.Fatalf("unexpected sync statuses: %#v", w.podSyncStatuses)
    				}
    				s, ok := w.podSyncStatuses[uid]
    				if !ok || !s.IsTerminationRequested() || !s.IsTerminationStarted() || s.IsFinished() || s.IsWorking() || !s.IsDeleted() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. pkg/kubelet/pod_workers.go

    	// a message on this channel will signal the corresponding goroutine to
    	// consume podSyncStatuses[uid].pendingUpdate if set.
    	podUpdates map[types.UID]chan struct{}
    	// Tracks by UID the termination status of a pod - syncing, terminating,
    	// terminated, and evicted.
    	podSyncStatuses map[types.UID]*podSyncStatus
    
    	// Tracks all uids for started static pods by full name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
Back to top