ClusterResourceRestoreScope class
Defines the scope of cluster-scoped resources to restore.
Some group kinds are not reasonable choices for a restore, and will cause an error if selected here. Any scope selection that would restore "all valid" resources automatically excludes these group kinds. - gkebackup.gke.io/BackupJob - gkebackup.gke.io/RestoreJob - metrics.k8s.io/NodeMetrics - migration.k8s.io/StorageState - migration.k8s.io/StorageVersionMigration - Node - snapshot.storage.k8s.io/VolumeSnapshotContent - storage.k8s.io/CSINode Some group kinds are driven by restore configuration elsewhere, and will cause an error if selected here. - Namespace - PersistentVolume
Constructors
-
ClusterResourceRestoreScope({bool? allGroupKinds, List<
GroupKind> ? excludedGroupKinds, bool? noGroupKinds, List<GroupKind> ? selectedGroupKinds}) - ClusterResourceRestoreScope.fromJson(Map json_)
Properties
- allGroupKinds ↔ bool?
-
If True, all valid cluster-scoped resources will be restored.
getter/setter pair
-
excludedGroupKinds
↔ List<
GroupKind> ? -
A list of cluster-scoped resource group kinds to NOT restore from the
backup.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- noGroupKinds ↔ bool?
-
If True, no cluster-scoped resources will be restored.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedGroupKinds
↔ List<
GroupKind> ? -
A list of cluster-scoped resource group kinds to restore from the backup.
getter/setter pair
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