Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for createDocs (0.38 sec)

  1. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            buildFile << """
                task createDocs {
                    def docs = file("\$buildDir/docs")
    
                    outputs.dir docs
    
                    doLast {
                        assert docs.directory
                        new File(docs, "readme.txt") << "Read me!!!"
                    }
                }
    
                application.applicationDistribution.from(createDocs) {
                    into "docs"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

            given:
            createLock(Exclusive)
    
            when:
            createLock(Exclusive)
    
            then:
            thrown(IllegalStateException)
        }
    
        def "cannot lock twice in single process for mixed modes"() {
            given:
            createLock(Exclusive)
    
            when:
            createLock(Shared)
    
            then:
            thrown(IllegalStateException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. pkg/controller/replication/conversion.go

    	controller.PodControlInterface
    }
    
    func (pc podControlAdapter) CreatePods(ctx context.Context, namespace string, template *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference) error {
    	rc, err := convertRStoRC(object.(*apps.ReplicaSet))
    	if err != nil {
    		return err
    	}
    	return pc.PodControlInterface.CreatePods(ctx, namespace, template, rc, controllerRef)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 18:43:33 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils.go

    }
    
    // PodControlInterface is an interface that knows how to add or delete pods
    // created as an interface to allow testing.
    type PodControlInterface interface {
    	// CreatePods creates new pods according to the spec, and sets object as the pod's controller.
    	CreatePods(ctx context.Context, namespace string, template *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/timeout/JavaProcessStackTracesMonitorSpec.groovy

    "C:\\Program Files\\Java\\jdk1.8/bin/java.exe" -Xmx128m -Dfile.encoding=UTF-8 -XX:MaxPermSize=512m "-Djava.io.tmpdir=C:\\tcagent1\\temp\\buildTmp"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. pkg/controller/replicaset/replica_set.go

    		// event spam that those failures would generate.
    		successfulCreations, err := slowStartBatch(diff, controller.SlowStartInitialBatchSize, func() error {
    			err := rsc.podControl.CreatePods(ctx, rs.Namespace, &rs.Spec.Template, rs, metav1.NewControllerRef(rs, rsc.GroupVersionKind))
    			if err != nil {
    				if apierrors.HasStatusCause(err, v1.NamespaceTerminatingCause) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. pkg/controller/controller_utils_test.go

    		wantPod         *v1.Pod
    	}
    	var tests = []test{
    		{
    			name: "Create pod",
    			podCreationFunc: func(podControl RealPodControl) error {
    				return podControl.CreatePods(context.TODO(), ns, controllerSpec.Spec.Template, controllerSpec, controllerRef)
    			},
    			wantPod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels:       controllerSpec.Spec.Template.Labels,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top