Taint constructor

const Taint({
  1. required Input<String> effect,
  2. required Input<String> key,
  3. Input<String>? timeAdded,
  4. Input<String>? value,
})

Creates a new Taint. effect Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. key Required. The taint key to be applied to a node. timeAdded TimeAdded represents the time at which the taint was added. value The taint value corresponding to the taint key.

Implementation

const Taint({
  required this.effect,
  required this.key,
  this.timeAdded,
  this.value,
});