Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SyncResults (0.17 sec)

  1. pkg/kubelet/container/sync_result.go

    type PodSyncResult struct {
    	// Result of different sync actions
    	SyncResults []*SyncResult
    	// Error encountered in SyncPod() and KillPod() that is not already included in SyncResults
    	SyncError error
    }
    
    // AddSyncResult adds multiple SyncResult to current PodSyncResult
    func (p *PodSyncResult) AddSyncResult(result ...*SyncResult) {
    	p.SyncResults = append(p.SyncResults, result...)
    }
    
    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/reason_cache.go

    // StartContainer action will change the cache.
    func (c *ReasonCache) Update(uid types.UID, result kubecontainer.PodSyncResult) {
    	for _, r := range result.SyncResults {
    		if r.Action != kubecontainer.StartContainer {
    			continue
    		}
    		name := r.Target.(string)
    		if r.Error != nil {
    			c.add(uid, name, r.Error, r.Message)
    		} else {
    			c.Remove(uid, name)
    		}
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top