Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for DeploymentConditionType (0.3 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentcondition.go

    // DeploymentConditionApplyConfiguration represents an declarative configuration of the DeploymentCondition type for use
    // with apply.
    type DeploymentConditionApplyConfiguration struct {
    	Type               *v1beta1.DeploymentConditionType `json:"type,omitempty"`
    	Status             *v1.ConditionStatus              `json:"status,omitempty"`
    	LastUpdateTime     *metav1.Time                     `json:"lastUpdateTime,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentcondition.go

    // DeploymentConditionApplyConfiguration represents an declarative configuration of the DeploymentCondition type for use
    // with apply.
    type DeploymentConditionApplyConfiguration struct {
    	Type               *v1beta2.DeploymentConditionType `json:"type,omitempty"`
    	Status             *v1.ConditionStatus              `json:"status,omitempty"`
    	LastUpdateTime     *metav1.Time                     `json:"lastUpdateTime,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentcondition.go

    )
    
    // DeploymentConditionApplyConfiguration represents an declarative configuration of the DeploymentCondition type for use
    // with apply.
    type DeploymentConditionApplyConfiguration struct {
    	Type               *v1.DeploymentConditionType `json:"type,omitempty"`
    	Status             *corev1.ConditionStatus     `json:"status,omitempty"`
    	LastUpdateTime     *metav1.Time                `json:"lastUpdateTime,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  4. operator/pkg/verifier/verify_test.go

    				tt.Fatalf("unexpected error: %v", err)
    			}
    		})
    	}
    }
    
    func TestGetDeploymentCondition(t *testing.T) {
    	cases := []struct {
    		status     appsv1.DeploymentStatus
    		condType   appsv1.DeploymentConditionType
    		shouldFind bool
    	}{
    		{
    			// Simple "find Available in Available"
    			status:     availableDeployment.Status,
    			condType:   appsv1.DeploymentAvailable,
    			shouldFind: true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 16:26:13 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. operator/pkg/verifier/k8s_util.go

    				daemonSet.Namespace, daemonSet.Name, daemonSet.Status.NumberReady, daemonSet.Status.DesiredNumberScheduled)
    		}
    	}
    	return nil
    }
    
    func getDeploymentCondition(status appsv1.DeploymentStatus, condType appsv1.DeploymentConditionType) *appsv1.DeploymentCondition {
    	for i := range status.Conditions {
    		c := status.Conditions[i]
    		if c.Type == condType {
    			return &c
    		}
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 16:26:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta1/types.go

    }
    
    type DeploymentConditionType string
    
    // These are valid conditions of a deployment.
    const (
    	// Available means the deployment is available, ie. at least the minimum available
    	// replicas required are up and running for at least minReadySeconds.
    	DeploymentAvailable DeploymentConditionType = "Available"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. pkg/apis/apps/types.go

    	CollisionCount *int32
    }
    
    // DeploymentConditionType defines conditions of a deployment.
    type DeploymentConditionType string
    
    // These are valid conditions of a deployment.
    const (
    	// Available means the deployment is available, ie. at least the minimum available
    	// replicas required are up and running for at least minReadySeconds.
    	DeploymentAvailable DeploymentConditionType = "Available"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:09:29 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apps/v1beta2/types.go

    }
    
    type DeploymentConditionType string
    
    // These are valid conditions of a deployment.
    const (
    	// Available means the deployment is available, ie. at least the minimum available
    	// replicas required are up and running for at least minReadySeconds.
    	DeploymentAvailable DeploymentConditionType = "Available"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  9. pkg/controller/deployment/util/deployment_util.go

    func RemoveDeploymentCondition(status *apps.DeploymentStatus, condType apps.DeploymentConditionType) {
    	status.Conditions = filterOutCondition(status.Conditions, condType)
    }
    
    // filterOutCondition returns a new slice of deployment conditions without conditions with the provided type.
    func filterOutCondition(conditions []apps.DeploymentCondition, condType apps.DeploymentConditionType) []apps.DeploymentCondition {
    	var newConditions []apps.DeploymentCondition
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/types.go

    }
    
    type DeploymentConditionType string
    
    // These are valid conditions of a deployment.
    const (
    	// Available means the deployment is available, ie. at least the minimum available
    	// replicas required are up and running for at least minReadySeconds.
    	DeploymentAvailable DeploymentConditionType = "Available"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
Back to top