Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for isSucceeded (0.21 sec)

  1. pkg/controller/statefulset/stateful_set_utils.go

    }
    
    // isFailed returns true if pod has a Phase of PodFailed
    func isFailed(pod *v1.Pod) bool {
    	return pod.Status.Phase == v1.PodFailed
    }
    
    // isSucceeded returns true if pod has a Phase of PodSucceeded
    func isSucceeded(pod *v1.Pod) bool {
    	return pod.Status.Phase == v1.PodSucceeded
    }
    
    // isTerminating returns true if pod's DeletionTimestamp has been set
    func isTerminating(pod *v1.Pod) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_control.go

    	// Note that pods with phase Succeeded will also trigger this event. This is
    	// because final pod phase of evicted or otherwise forcibly stopped pods
    	// (e.g. terminated on node reboot) is determined by the exit code of the
    	// container, not by the reason for pod termination. We should restart the pod
    	// regardless of the exit code.
    	if isFailed(replicas[i]) || isSucceeded(replicas[i]) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils_test.cc

    TF::UniformQuantizedAddOp ParseUniformQuantizedAddOp(
        const absl::string_view add_op_str, Block& block, MLIRContext& ctx) {
      const LogicalResult parse_result =
          parseSourceString(add_op_str, &block, ParserConfig(&ctx));
      EXPECT_TRUE(succeeded(parse_result));
    
      auto uq_add_op = dyn_cast_or_null<TF::UniformQuantizedAddOp>(block.back());
      EXPECT_TRUE(uq_add_op);
    
      return uq_add_op;
    }
    
    TF::UniformRequantizeOp ParseUniformRequantizedOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/batch/v1/types.go

    // been accounted in Job status counters.
    type UncountedTerminatedPods struct {
    	// succeeded holds UIDs of succeeded Pods.
    	// +listType=set
    	// +optional
    	Succeeded []types.UID `json:"succeeded,omitempty" protobuf:"bytes,1,rep,name=succeeded,casttype=k8s.io/apimachinery/pkg/types.UID"`
    
    	// failed holds UIDs of failed Pods.
    	// +listType=set
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/generated.proto

      // +optional
      optional PodFailurePolicy podFailurePolicy = 11;
    
      // successPolicy specifies the policy when the Job can be declared as succeeded.
      // If empty, the default behavior applies - the Job is declared as succeeded
      // only when the number of succeeded pods equals to the completions.
      // When the field is specified, it must be immutable and works only for the Indexed Jobs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  8. src/os/removeall_test.go

    			if _, err = Lstat(s); err == nil {
    				t.Fatalf("Lstat %q succeeded after partial RemoveAll", s)
    			}
    		}
    	}
    	if err = RemoveAll(path); err != nil {
    		t.Fatalf("RemoveAll %q after partial RemoveAll: %s", path, err)
    	}
    	if _, err = Lstat(path); err == nil {
    		t.Fatalf("Lstat %q succeeded after RemoveAll (final)", path)
    	}
    }
    
    // Test RemoveAll on a large directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"successPolicy":           "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy

                    .setErrorOutput(err)
                    .build()
    
            when:
            def result = execHandle.start().waitForFinish()
    
            then:
            execHandle.state == ExecHandleState.SUCCEEDED
            result.exitValue == 0
            out.toString() == "output args: [arg1, arg2]"
            err.toString() == "error args: [arg1, arg2]"
            result.assertNormalExitValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 03:44:52 UTC 2021
    - 14.9K bytes
    - Viewed (0)
Back to top