SchedulingNodeAffinity constructor
SchedulingNodeAffinity({
- String? key,
- SchedulingNodeAffinity_Operator? operator,
- Iterable<
String> ? values,
Implementation
factory SchedulingNodeAffinity({
$core.String? key,
SchedulingNodeAffinity_Operator? operator,
$core.Iterable<$core.String>? values,
}) {
final $result = create();
if (key != null) {
$result.key = key;
}
if (operator != null) {
$result.operator = operator;
}
if (values != null) {
$result.values.addAll(values);
}
return $result;
}