Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for DeploymentStrategyType (0.25 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstrategy.go

    )
    
    // DeploymentStrategyApplyConfiguration represents an declarative configuration of the DeploymentStrategy type for use
    // with apply.
    type DeploymentStrategyApplyConfiguration struct {
    	Type          *v1.DeploymentStrategyType                 `json:"type,omitempty"`
    	RollingUpdate *RollingUpdateDeploymentApplyConfiguration `json:"rollingUpdate,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstrategy.go

    )
    
    // DeploymentStrategyApplyConfiguration represents an declarative configuration of the DeploymentStrategy type for use
    // with apply.
    type DeploymentStrategyApplyConfiguration struct {
    	Type          *v1beta1.DeploymentStrategyType            `json:"type,omitempty"`
    	RollingUpdate *RollingUpdateDeploymentApplyConfiguration `json:"rollingUpdate,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstrategy.go

    )
    
    // DeploymentStrategyApplyConfiguration represents an declarative configuration of the DeploymentStrategy type for use
    // with apply.
    type DeploymentStrategyApplyConfiguration struct {
    	Type          *v1beta2.DeploymentStrategyType            `json:"type,omitempty"`
    	RollingUpdate *RollingUpdateDeploymentApplyConfiguration `json:"rollingUpdate,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. pkg/apis/apps/v1/conversion_test.go

    	}{
    		"DeploymentStrategy Conversion 1": {
    			deploymentStrategy1: &apps.DeploymentStrategy{Type: apps.DeploymentStrategyType("foo")},
    			deploymentStrategy2: &appsv1.DeploymentStrategy{Type: appsv1.DeploymentStrategyType("foo")},
    		},
    		"DeploymentStrategy Conversion 2": {
    			deploymentStrategy1: &apps.DeploymentStrategy{Type: apps.DeploymentStrategyType("foo"), RollingUpdate: &appsRollingUpdate},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. pkg/apis/apps/v1beta2/conversion_test.go

    		"DeploymentStrategy Conversion 1": {
    			deploymentStrategy1: &apps.DeploymentStrategy{Type: apps.DeploymentStrategyType("foo")},
    			deploymentStrategy2: &v1beta2.DeploymentStrategy{Type: v1beta2.DeploymentStrategyType("foo")},
    		},
    		"DeploymentStrategy Conversion 2": {
    			deploymentStrategy1: &apps.DeploymentStrategy{Type: apps.DeploymentStrategyType("foo"), RollingUpdate: &extensionsRollingUpdate},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta1/types.go

    type DeploymentStrategy struct {
    	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
    	// +optional
    	Type DeploymentStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=DeploymentStrategyType"`
    
    	// Rolling update config params. Present only if DeploymentStrategyType =
    	// RollingUpdate.
    	//---
    	// TODO: Update this to follow our convention for oneOf, whatever we decide it
    	// to be.
    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/v1beta2/defaults.go

    	if obj.Spec.Replicas == nil {
    		obj.Spec.Replicas = new(int32)
    		*obj.Spec.Replicas = 1
    	}
    	strategy := &obj.Spec.Strategy
    	// Set default appsv1beta2.DeploymentStrategyType as RollingUpdate.
    	if strategy.Type == "" {
    		strategy.Type = appsv1beta2.RollingUpdateDeploymentStrategyType
    	}
    	if strategy.Type == appsv1beta2.RollingUpdateDeploymentStrategyType {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. pkg/apis/apps/v1/defaults.go

    	// Set DeploymentSpec.Replicas to 1 if it is not set.
    	if obj.Spec.Replicas == nil {
    		obj.Spec.Replicas = new(int32)
    		*obj.Spec.Replicas = 1
    	}
    	strategy := &obj.Spec.Strategy
    	// Set default DeploymentStrategyType as RollingUpdate.
    	if strategy.Type == "" {
    		strategy.Type = appsv1.RollingUpdateDeploymentStrategyType
    	}
    	if strategy.Type == appsv1.RollingUpdateDeploymentStrategyType {
    		if strategy.RollingUpdate == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. pkg/apis/apps/types.go

    	// +optional
    	Type DeploymentStrategyType
    
    	// Rolling update config params. Present only if DeploymentStrategyType =
    	// RollingUpdate.
    	//---
    	// TODO: Update this to follow our convention for oneOf, whatever we decide it
    	// to be.
    	// +optional
    	RollingUpdate *RollingUpdateDeployment
    }
    
    // DeploymentStrategyType defines strategies with a deployment.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:09:29 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  10. pkg/apis/extensions/v1beta1/defaults.go

    	if obj.Spec.Replicas == nil {
    		obj.Spec.Replicas = new(int32)
    		*obj.Spec.Replicas = 1
    	}
    	strategy := &obj.Spec.Strategy
    	// Set default extensionsv1beta1.DeploymentStrategyType as RollingUpdate.
    	if strategy.Type == "" {
    		strategy.Type = extensionsv1beta1.RollingUpdateDeploymentStrategyType
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top