Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for UpdateAction (0.12 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/scopeids/DefaultPersistentScopeIdLoader.java

            return buildTreeScopedCacheBuilderFactory;
        }
    
        private UniqueId get(ScopeParams params) {
            ObjectHolder<UniqueId> store = store(params);
    
            return store.maybeUpdate(new ObjectHolder.UpdateAction<UniqueId>() {
                @Override
                public UniqueId update(UniqueId oldValue) {
                    if (oldValue == null) {
                        return generator.create();
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 18:14:29 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. pkg/controller/volume/pvprotection/pv_protection_controller_test.go

    	i := 0
    	return func(action clienttesting.Action) (bool, runtime.Object, error) {
    		i++
    		if i <= failures {
    			// Update fails
    			update, ok := action.(clienttesting.UpdateAction)
    
    			if !ok {
    				t.Fatalf("Reactor got non-update action: %+v", action)
    			}
    			acc, _ := meta.Accessor(update.GetObject())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. pkg/controller/certificates/rootcacertpublisher/publisher_test.go

    				if len(actions) != 1 {
    					t.Fatal(actions)
    				}
    				if actions[0].GetVerb() != "update" {
    					t.Fatal(actions)
    				}
    				actualObj := actions[0].(clienttesting.UpdateAction).GetObject()
    				if actualObj.(*v1.ConfigMap).Annotations[DescriptionAnnotation] != Description {
    					t.Fatal(actions)
    				}
    				if !reflect.DeepEqual(actualObj.(*v1.ConfigMap).Data["ca.crt"], "fake") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top