Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GuaranteedUpdate (0.32 sec)

  1. pkg/registry/core/service/allocator/storage/storage.go

    	defer e.lock.Unlock()
    	e.alloc.ForEach(fn)
    }
    
    // tryUpdate performs a read-update to persist the latest snapshot state of allocation.
    func (e *Etcd) tryUpdate(fn func() error) error {
    	err := e.storage.GuaranteedUpdate(context.TODO(), e.baseKey, &api.RangeAllocation{}, true, nil,
    		storage.SimpleUpdate(func(input runtime.Object) (output runtime.Object, err error) {
    			existing := input.(*api.RangeAllocation)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top