Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ClaimInfoStateList (0.19 sec)

  1. pkg/kubelet/cm/dra/state/state_checkpoint.go

    func (sc *stateCheckpoint) Store(claimInfoStateList ClaimInfoStateList) error {
    	sc.Lock()
    	defer sc.Unlock()
    
    	return sc.store(claimInfoStateList)
    }
    
    // saves state to a checkpoint, caller is responsible for locking
    func (sc *stateCheckpoint) store(claimInfoStateList ClaimInfoStateList) error {
    	checkpoint := NewDRAManagerCheckpoint()
    	checkpoint.Entries = claimInfoStateList
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/claiminfo.go

    func (cache *claimInfoCache) syncToCheckpoint() error {
    	claimInfoStateList := make(state.ClaimInfoStateList, 0, len(cache.claimInfo))
    	for _, infoClaim := range cache.claimInfo {
    		claimInfoStateList = append(claimInfoStateList, infoClaim.ClaimInfoState)
    	}
    	return cache.state.Store(claimInfoStateList)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top