Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateLastSyncTime (0.61 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler.go

    		// ASW is fully populated only after both devicePaths and uncertain volume attach-ability
    		// were reconstructed from the API server.
    		// This will start reconciliation of node.status.volumesInUse.
    		rc.updateLastSyncTime()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    	}{
    		VolumeName:     string(gvi.volumeName),
    		VolumeSpecName: gvi.volumeSpec.Name(),
    		DevicePath:     gvi.devicePath,
    		PodVolumes:     podVolumes,
    	}
    }
    
    func (rc *reconciler) updateLastSyncTime() {
    	rc.timeOfLastSyncLock.Lock()
    	defer rc.timeOfLastSyncLock.Unlock()
    	rc.timeOfLastSync = time.Now()
    }
    
    func (rc *reconciler) StatesHasBeenSynced() bool {
    	rc.timeOfLastSyncLock.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top