Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cachedExistingObject (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/dryrun.go

    	if dryRun {
    		if err := s.Storage.Get(ctx, key, storage.GetOptions{}, out); err != nil {
    			return err
    		}
    		if err := preconditions.Check(key, out); err != nil {
    			return err
    		}
    		return deleteValidation(ctx, out)
    	}
    	return s.Storage.Delete(ctx, key, out, preconditions, deleteValidation, cachedExistingObject)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 20:40:48 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	}
    	return s.conditionalDelete(ctx, preparedKey, out, v, preconditions, validateDeletion, cachedExistingObject)
    }
    
    func (s *store) conditionalDelete(
    	ctx context.Context, key string, out runtime.Object, v reflect.Value, preconditions *storage.Preconditions,
    	validateDeletion storage.ValidateObjectFunc, cachedExistingObject runtime.Object) error {
    	getCurrentState := s.getCurrentState(ctx, key, v, false)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    	//       return cur, nil, nil
    	//    }, cachedExistingObject
    	// )
    	GuaranteedUpdate(
    		ctx context.Context, key string, destination runtime.Object, ignoreNotFound bool,
    		preconditions *Preconditions, tryUpdate UpdateFunc, cachedExistingObject runtime.Object) error
    
    	// Count returns number of different entries under the key (generally being path prefix).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		t.Errorf("Unexpected error on reading object: %v", err)
    	}
    }
    
    // RunTestValidateDeletionWithOnlySuggestionValid tests the case of delete with validateDeletion function,
    // when the suggested cachedExistingObject passes the validate function while the current version does not pass the validate function.
    func RunTestValidateDeletionWithOnlySuggestionValid(ctx context.Context, t *testing.T, store storage.Interface) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top