(name string)
| 139 | } |
| 140 | |
| 141 | func (d Daemonset) WithPriorityClass(name string) Daemonset { |
| 142 | d.Spec.Template.Spec.PriorityClassName = name |
| 143 | return d |
| 144 | } |
| 145 | |
| 146 | func (d Daemonset) WithTolerations(tolerations []corev1.Toleration) Daemonset { |
| 147 | d.Spec.Template.Spec.Tolerations = tolerations |
no outgoing calls
no test coverage detected