Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DeploymentConditionType (0.39 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/controller/deployment/util/deployment_util_test.go

    		}
    	}
    )
    
    func TestGetCondition(t *testing.T) {
    	exampleStatus := status()
    
    	tests := []struct {
    		name string
    
    		status   apps.DeploymentStatus
    		condType apps.DeploymentConditionType
    
    		expected bool
    	}{
    		{
    			name: "condition exists",
    
    			status:   *exampleStatus,
    			condType: apps.DeploymentAvailable,
    
    			expected: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  5. pkg/controller/deployment/progress_test.go

    	}
    
    	tests := []struct {
    		name            string
    		d               *apps.Deployment
    		allRSs          []*apps.ReplicaSet
    		newRS           *apps.ReplicaSet
    		conditionType   apps.DeploymentConditionType
    		conditionStatus v1.ConditionStatus
    		conditionReason string
    		lastUpdate      metav1.Time
    		lastTransition  metav1.Time
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top