TransformationRule class
A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup.
A rule contains both filtering logic (which resources are subject to transform) and transformation logic.
Constructors
-
TransformationRule({String? description, List<
TransformationRuleAction> ? fieldActions, ResourceFilter? resourceFilter}) - TransformationRule.fromJson(Map json_)
Properties
- description ↔ String?
-
The description is a user specified string description of the
transformation rule.
getter/setter pair
-
fieldActions
↔ List<
TransformationRuleAction> ? -
A list of transformation rule actions to take against candidate resources.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- resourceFilter ↔ ResourceFilter?
-
This field is used to specify a set of fields that should be used to
determine which resources in backup should be acted upon by the supplied
transformation rule actions, and this will ensure that only specific
resources are affected by transformation rule actions.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited