Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,463 for paused (0.11 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AbstractUserInputRenderer.java

        }
    
        private void handleUserInputRequestEvent() {
            startInput();
            paused = true;
        }
    
        private void handleUserInputResumeEvent(UserInputResumeEvent event) {
            if (!paused) {
                throw new IllegalStateException("Cannot resume user input if not paused yet");
            }
    
            paused = false;
            finishInput(event);
            replayEvents();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/extract_test.go

    			objType: parser.Type("io.k8s.api.apps.v1.Deployment"),
    			managedFields: []metav1.ManagedFieldsEntry{
    				applyFieldsEntry("mgr1", `{ "f:spec": { "f:replicas": {}}}`, ""),
    				applyFieldsEntry("mgr2", `{ "f:spec": { "f:paused": {}}}`, ""),
    			},
    			fieldManager: "mgr2",
    			expectedOut:  map[string]interface{}{"spec": map[string]interface{}{"paused": true}},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 22 22:32:45 UTC 2021
    - 8.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentspec.go

    	return b
    }
    
    // WithPaused sets the Paused field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Paused field is set to the value of the last call.
    func (b *DeploymentSpecApplyConfiguration) WithPaused(value bool) *DeploymentSpecApplyConfiguration {
    	b.Paused = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentspec.go

    	return b
    }
    
    // WithPaused sets the Paused field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Paused field is set to the value of the last call.
    func (b *DeploymentSpecApplyConfiguration) WithPaused(value bool) *DeploymentSpecApplyConfiguration {
    	b.Paused = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentspec.go

    	return b
    }
    
    // WithPaused sets the Paused field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Paused field is set to the value of the last call.
    func (b *DeploymentSpecApplyConfiguration) WithPaused(value bool) *DeploymentSpecApplyConfiguration {
    	b.Paused = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputStandardOutputRendererTest.groovy

        def "throws exception if user input resume event has been received but event handling hasn't been paused"() {
            given:
            def event = new UserInputResumeEvent(123)
    
            when:
            renderer.onOutput(event)
    
            then:
            def t = thrown(IllegalStateException)
            t.message == 'Cannot resume user input if not paused yet'
            0 * listener.onOutput(_)
            0 * userInput._
            renderer.eventQueue.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputConsoleRendererTest.groovy

        def "throws exception if user input resume event has been received but event handling hasn't been paused"() {
            given:
            def event = new UserInputResumeEvent(123)
    
            when:
            renderer.onOutput(event)
    
            then:
            def t = thrown(IllegalStateException)
            t.message == 'Cannot resume user input if not paused yet'
            0 * console._
            0 * listener.onOutput(_)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inject/deploymentconfig.yaml

            automatic: true
            containerNames:
              - "helloworld"
            from:
              kind: "ImageStreamTag"
              name: "hello-go-gke:1.0"
      strategy:
        type: "Rolling"
      paused: false
      revisionHistoryLimit: 2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 16 01:43:48 UTC 2019
    - 733 bytes
    - Viewed (0)
  9. pkg/controller/deployment/sync.go

    	}
    
    	// Clean up the deployment when it's paused and no rollback is in flight.
    	if d.Spec.Paused && getRollbackTo(d) == nil {
    		if err := dc.cleanupDeployment(ctx, oldRSs, d); err != nil {
    			return err
    		}
    	}
    
    	allRSs := append(oldRSs, newRS)
    	return dc.syncDeploymentStatus(ctx, allRSs, newRS, d)
    }
    
    // checkPausedConditions checks if the given deployment is paused or not and adds an appropriate condition.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/deploymentconfig-multi.yaml

                containerNames:
                  - "helloworld"
                from:
                  kind: "ImageStreamTag"
                  name: "hello-go-gke:1.0"
          strategy:
            type: "Rolling"
          paused: false
          revisionHistoryLimit: 2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 16 01:43:48 UTC 2019
    - 1.1K bytes
    - Viewed (0)
Back to top