Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AddPodSyncResult (0.12 sec)

  1. pkg/kubelet/container/sync_result.go

    func (p *PodSyncResult) AddSyncResult(result ...*SyncResult) {
    	p.SyncResults = append(p.SyncResults, result...)
    }
    
    // AddPodSyncResult merges a PodSyncResult to current one
    func (p *PodSyncResult) AddPodSyncResult(result PodSyncResult) {
    	p.AddSyncResult(result.SyncResults...)
    	p.SyncError = result.SyncError
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 19 15:48:08 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  2. pkg/kubelet/container/sync_result_test.go

    	// If the PodSyncResult is added an error PodSyncResult, it should be error
    	errResult := PodSyncResult{}
    	errResult.AddSyncResult(errResults...)
    	result = PodSyncResult{}
    	result.AddSyncResult(okResults...)
    	result.AddPodSyncResult(errResult)
    	if result.Error() == nil {
    		t.Errorf("PodSyncResult should be error: %v", result)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 16:48:17 UTC 2019
    - 2K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		}
    
    		killResult := m.killPodWithSyncResult(ctx, pod, kubecontainer.ConvertPodStatusToRunningPod(m.runtimeName, podStatus), nil)
    		result.AddPodSyncResult(killResult)
    		if killResult.Error() != nil {
    			klog.ErrorS(killResult.Error(), "killPodWithSyncResult failed")
    			return
    		}
    
    		if podContainerChanges.CreateSandbox {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top