Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,236 for CONDITION (0.12 sec)

  1. pkg/kubelet/nodestatus/setters.go

    				condition.Status = v1.ConditionTrue
    				condition.Reason = "KubeletHasInsufficientPID"
    				condition.Message = "kubelet has insufficient PID available"
    				condition.LastTransitionTime = currentTime
    				recordEventFunc(v1.EventTypeNormal, "NodeHasInsufficientPID")
    			}
    		} else if condition.Status != v1.ConditionFalse {
    			condition.Status = v1.ConditionFalse
    			condition.Reason = "KubeletHasSufficientPID"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/meta/conditions.go

    func RemoveStatusCondition(conditions *[]metav1.Condition, conditionType string) (removed bool) {
    	if conditions == nil || len(*conditions) == 0 {
    		return false
    	}
    	newConditions := make([]metav1.Condition, 0, len(*conditions)-1)
    	for _, condition := range *conditions {
    		if condition.Type != conditionType {
    			newConditions = append(newConditions, condition)
    		}
    	}
    
    	removed = len(*conditions) != len(newConditions)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 22 01:13:33 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. test/fixedbugs/issue18747.go

    // license that can be found in the LICENSE file.
    
    package p
    
    func _ () {
    	if {} // ERROR "missing condition in if statement"
    
    	if
    	{} // ERROR "missing condition in if statement"
    
    	if ; {} // ERROR "missing condition in if statement"
    
    	if foo; {} // ERROR "missing condition in if statement"
    
    	if foo; // ERROR "missing condition in if statement"
    	{}
    
    	if foo {}
    
    	if ; foo {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 575 bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/util/internal/DisconnectableInputStream.java

     */
    public class DisconnectableInputStream extends BulkReadInputStream {
        private final Lock lock = new ReentrantLock();
        private final Condition condition = lock.newCondition();
        private final byte[] buffer;
        private int readPos;
        private int writePos;
        private boolean closed;
        private boolean inputFinished;
    
        /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:46 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    	var allErrs field.ErrorList
    
    	// type is set and is a valid format
    	allErrs = append(allErrs, ValidateLabelName(condition.Type, fldPath.Child("type"))...)
    
    	// status is set and is an accepted value
    	if !validConditionStatuses.Has(string(condition.Status)) {
    		allErrs = append(allErrs, field.NotSupported(fldPath.Child("status"), condition.Status, validConditionStatuses.List()))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/apiapproval/apiapproval_controller_test.go

    	noConditionFn := func(t *testing.T, condition *apiextensionsv1.CustomResourceDefinitionCondition) {
    		t.Helper()
    		if condition != nil {
    			t.Fatal(condition)
    		}
    	}
    
    	verifyCondition := func(status apiextensionsv1.ConditionStatus, message string) func(t *testing.T, condition *apiextensionsv1.CustomResourceDefinitionCondition) {
    		return func(t *testing.T, condition *apiextensionsv1.CustomResourceDefinitionCondition) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/MathPreconditions.java

        }
        return x;
      }
    
      static void checkRoundingUnnecessary(boolean condition) {
        if (!condition) {
          throw new ArithmeticException("mode was UNNECESSARY, but rounding was necessary");
        }
      }
    
      static void checkInRangeForRoundingInputs(boolean condition, double input, RoundingMode mode) {
        if (!condition) {
          throw new ArithmeticException(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/EndPointQueue.java

    import java.util.List;
    import java.util.concurrent.locks.Condition;
    
    public class EndPointQueue implements Dispatch<InterHubMessage> {
        private final List<InterHubMessage> queue = new ArrayList<InterHubMessage>();
        private final MultiEndPointQueue owner;
        private final Condition condition;
    
        public EndPointQueue(MultiEndPointQueue owner, Condition condition) {
            this.owner = owner;
            this.condition = condition;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. pkg/controller/deployment/progress.go

    			// Update the current Progressing condition or add a new one if it doesn't exist.
    			// If a Progressing condition with status=true already exists, we should update
    			// everything but lastTransitionTime. SetDeploymentCondition already does that but
    			// it also is not updating conditions when the reason of the new condition is the
    			// same as the old. The Progressing condition is a special case because we want to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 11:00:44 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. pilot/pkg/autoregistration/internal/health/controller.go

    // based on the corresponding health check performed by istio-agent.
    func (c *Controller) updateWorkloadEntryHealth(obj any) error {
    	condition := obj.(HealthCondition)
    	return c.stateStore.UpdateHealth(condition.proxy.ID, condition.entryName, condition.proxy.Metadata.Namespace, condition.condition)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top