Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for DeploymentConditionType (0.28 sec)

  1. 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)
  2. staging/src/k8s.io/api/extensions/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:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  3. 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)
  4. pkg/apis/apps/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_DeploymentCondition_To_apps_DeploymentCondition(in *v1beta1.DeploymentCondition, out *apps.DeploymentCondition, s conversion.Scope) error {
    	out.Type = apps.DeploymentConditionType(in.Type)
    	out.Status = core.ConditionStatus(in.Status)
    	out.LastUpdateTime = in.LastUpdateTime
    	out.LastTransitionTime = in.LastTransitionTime
    	out.Reason = in.Reason
    	out.Message = in.Message
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:09 UTC 2022
    - 52.9K bytes
    - Viewed (0)
  5. pkg/apis/apps/v1/zz_generated.conversion.go

    		return err
    	}
    	return nil
    }
    
    func autoConvert_v1_DeploymentCondition_To_apps_DeploymentCondition(in *v1.DeploymentCondition, out *apps.DeploymentCondition, s conversion.Scope) error {
    	out.Type = apps.DeploymentConditionType(in.Type)
    	out.Status = core.ConditionStatus(in.Status)
    	out.LastUpdateTime = in.LastUpdateTime
    	out.LastTransitionTime = in.LastTransitionTime
    	out.Reason = in.Reason
    	out.Message = in.Message
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:09 UTC 2022
    - 66.7K bytes
    - Viewed (0)
  6. pkg/apis/apps/v1beta2/zz_generated.conversion.go

    	}
    	return nil
    }
    
    func autoConvert_v1beta2_DeploymentCondition_To_apps_DeploymentCondition(in *v1beta2.DeploymentCondition, out *apps.DeploymentCondition, s conversion.Scope) error {
    	out.Type = apps.DeploymentConditionType(in.Type)
    	out.Status = core.ConditionStatus(in.Status)
    	out.LastUpdateTime = in.LastUpdateTime
    	out.LastTransitionTime = in.LastTransitionTime
    	out.Reason = in.Reason
    	out.Message = in.Message
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:09 UTC 2022
    - 74.2K bytes
    - Viewed (0)
  7. pkg/apis/extensions/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_DeploymentCondition_To_apps_DeploymentCondition(in *v1beta1.DeploymentCondition, out *apps.DeploymentCondition, s conversion.Scope) error {
    	out.Type = apps.DeploymentConditionType(in.Type)
    	out.Status = core.ConditionStatus(in.Status)
    	out.LastUpdateTime = in.LastUpdateTime
    	out.LastTransitionTime = in.LastTransitionTime
    	out.Reason = in.Reason
    	out.Message = in.Message
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 95.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apps/v1beta1/generated.pb.go

    			}
    			postIndex := iNdEx + intStringLen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
    			iNdEx = postIndex
    		case 2:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
    			}
    			var stringLen uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1/generated.pb.go

    			}
    			postIndex := iNdEx + intStringLen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
    			iNdEx = postIndex
    		case 2:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
    			}
    			var stringLen uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 217.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1beta2/generated.pb.go

    			}
    			postIndex := iNdEx + intStringLen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
    			iNdEx = postIndex
    		case 2:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
    			}
    			var stringLen uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top