Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,441 for generations (1.62 sec)

  1. pkg/registry/networking/networkpolicy/strategy_test.go

    	netPol := makeNetworkPolicy(true, true, false)
    
    	Strategy.PrepareForCreate(context.Background(), netPol)
    
    	if netPol.Generation != 1 {
    		t.Errorf("Create: Test failed. Network Policy Generation should be 1, got %d",
    			netPol.Generation)
    	}
    
    	errs := Strategy.Validate(context.Background(), netPol)
    	if len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. pkg/registry/apps/deployment/strategy.go

    	newDeployment.Status = oldDeployment.Status
    
    	pod.DropDisabledTemplateFields(&newDeployment.Spec.Template, &oldDeployment.Spec.Template)
    
    	// Spec updates bump the generation so that we can distinguish between
    	// scaling events and template changes, annotation updates bump the generation
    	// because annotations are copied from deployments to their replica sets.
    	if !apiequality.Semantic.DeepEqual(newDeployment.Spec, oldDeployment.Spec) ||
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:07:13 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/background-tasks.md

    To see an example, check the [Project Generators](../project-generation.md){.internal-link target=_blank}, they all include Celery already configured.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. pkg/registry/admissionregistration/validatingadmissionpolicy/strategy.go

    	newIC.Status = oldIC.Status
    
    	// Any changes to the spec increment the generation number, any changes to the
    	// status should reflect the generation number of the corresponding object.
    	// See metav1.ObjectMeta description for more information on Generation.
    	if !apiequality.Semantic.DeepEqual(oldIC.Spec, newIC.Spec) {
    		newIC.Generation = oldIC.Generation + 1
    	}
    }
    
    // Validate validates a new validatingAdmissionPolicy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. pkg/registry/apps/statefulset/strategy.go

    	// Any changes to the spec increment the generation number, any changes to the
    	// status should reflect the generation number of the corresponding object.
    	// See metav1.ObjectMeta description for more information on Generation.
    	if !apiequality.Semantic.DeepEqual(oldStatefulSet.Spec, newStatefulSet.Spec) {
    		newStatefulSet.Generation = oldStatefulSet.Generation + 1
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:10 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  6. pkg/registry/batch/cronjob/strategy.go

    	// Any changes to the spec increment the generation number.
    	// See metav1.ObjectMeta description for more information on Generation.
    	if !apiequality.Semantic.DeepEqual(newCronJob.Spec, oldCronJob.Spec) {
    		newCronJob.Generation = oldCronJob.Generation + 1
    	}
    }
    
    // Validate validates a new scheduled job.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 15:14:03 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/main/java/org/gradle/api/tasks/scala/ScalaDoc.java

            return scalaClasspath;
        }
    
        public void setScalaClasspath(FileCollection scalaClasspath) {
            this.scalaClasspath = scalaClasspath;
        }
    
        /**
         * Returns the ScalaDoc generation options.
         */
        @Nested
        public ScalaDocOptions getScalaDocOptions() {
            return scalaDocOptions;
        }
    
        public void setScalaDocOptions(ScalaDocOptions scalaDocOptions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/GenerationPlan.java

    import java.io.File;
    
    /**
     * Models information relevant to generation of a particular Antlr grammar file.
     */
    public class GenerationPlan {
        private final File source;
        private final File generationDirectory;
    
        private File importVocabTokenTypesDirectory;
        private boolean outOfDate;
    
        /**
         * Instantiates a generation plan.
         *
         * @param source The grammar file.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. pkg/registry/networking/ingress/strategy.go

    	// Any changes to the spec increment the generation number, any changes to the
    	// status should reflect the generation number of the corresponding object.
    	// See metav1.ObjectMeta description for more information on Generation.
    	if !apiequality.Semantic.DeepEqual(oldIngress.Spec, newIngress.Spec) {
    		newIngress.Generation = oldIngress.Generation + 1
    	}
    
    }
    
    // Validate validates ingresses on create.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 01:42:41 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. pilot/pkg/status/resourcelock_test.go

    			Group:   "r1",
    			Version: "r1",
    		},
    		Namespace:  "r1",
    		Name:       "r1",
    		Generation: "11",
    	}
    	r1a := Resource{
    		GroupVersionResource: schema.GroupVersionResource{
    			Group:   "r1",
    			Version: "r1",
    		},
    		Namespace:  "r1",
    		Name:       "r1",
    		Generation: "12",
    	}
    	var runCount int32
    	x := make(chan struct{})
    	y := make(chan struct{})
    	mgr := NewManager(nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top