Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for createDocs (0.67 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/DefaultFileLockManagerContentionTest.groovy

            given:
            def file = tmpDir.file("lock-file.bin")
            def action = Mock(Consumer)
    
            def lock = createLock(Exclusive, file, manager, action)
    
            when:
            def lock2 = createLock(lockMode, file, manager2)
    
            then:
            lock2
            1 * action.accept(_) >> { FileLockReleasedSignal signal ->
                lock.close()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/controller/daemon/daemon_controller.go

    				podTemplate.Spec.Affinity = util.ReplaceDaemonSetPodNodeNameNodeAffinity(
    					podTemplate.Spec.Affinity, nodesNeedingDaemonPods[ix])
    
    				err := dsc.podControl.CreatePods(ctx, ds.Namespace, podTemplate,
    					ds, metav1.NewControllerRef(ds, controllerKind))
    
    				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
    - 51.3K bytes
    - Viewed (0)
  8. pkg/controller/daemon/daemon_controller_test.go

    		FakePodControl: &controller.FakePodControl{},
    		podIDMap:       podIDMap,
    	}
    }
    
    func (f *fakePodControl) CreatePods(ctx context.Context, namespace string, template *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference) error {
    	f.Lock()
    	defer f.Unlock()
    	if err := f.FakePodControl.CreatePods(ctx, namespace, template, object, controllerRef); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
Back to top