ResourceFilter class
ResourceFilter specifies matching criteria to limit the scope of a change to a specific set of kubernetes resources that are selected for restoration from a backup.
Constructors
-
ResourceFilter({List<
GroupKind> ? groupKinds, String? jsonPath, List<String> ? namespaces}) - ResourceFilter.fromJson(Map json_)
Properties
-
groupKinds
↔ List<
GroupKind> ? -
(Filtering parameter) Any resource subject to transformation must belong
to one of the listed "types".
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonPath ↔ String?
-
This is a
JSONPath
expression that matches specific fields of candidate resources and it
operates as a filtering parameter (resources that are not matched with
this expression will not be candidates for transformation).
getter/setter pair
-
namespaces
↔ List<
String> ? -
(Filtering parameter) Any resource subject to transformation must be
contained within one of the listed Kubernetes Namespace in the Backup.
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