PodSchedulingContextSpec class
PodSchedulingContextSpec describes where resources for the Pod are needed.
Constructors
-
PodSchedulingContextSpec({List<
String> ? potentialNodes, String? selectedNode}) -
Default constructor.
const
-
PodSchedulingContextSpec.fromJson(Map<
String, dynamic> json) -
Creates a PodSchedulingContextSpec from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
potentialNodes
→ List<
String> ? -
PotentialNodes lists nodes where the Pod might be able to run.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedNode → String?
-
SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a PodSchedulingContextSpec instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited