DeploymentStrategy class
DeploymentStrategy describes how to replace existing pods with new ones.
Constructors
- DeploymentStrategy({RollingUpdateDeployment? rollingUpdate, String? type})
-
Default constructor.
const
-
DeploymentStrategy.fromJson(Map<
String, dynamic> json) -
Creates a DeploymentStrategy from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rollingUpdate → RollingUpdateDeployment?
-
Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String?
-
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a DeploymentStrategy instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited