ResourceSelector class
Defines a selector to identify a single or a group of resources.
Conditions in the selector are optional, but at least one field should be set to a non-empty value. If a condition is not specified, no restrictions will be applied on that dimension. If more than one condition is specified, a resource will be selected if and only if all conditions are met.
Constructors
-
ResourceSelector({GroupKind? groupKind, Map<
String, String> ? labels, String? name, String? namespace}) - ResourceSelector.fromJson(Map json_)
Properties
- groupKind ↔ GroupKind?
-
Selects resources using their Kubernetes GroupKinds.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Selects resources using Kubernetes
labels.
getter/setter pair
- name ↔ String?
-
Selects resources using their resource names.
getter/setter pair
- namespace ↔ String?
-
Selects resources using their namespaces.
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