(volume corev1.Volume)
| 194 | } |
| 195 | |
| 196 | func (d Daemonset) WithVolume(volume corev1.Volume) Daemonset { |
| 197 | d.Spec.Template.Spec.Volumes = append(d.Spec.Template.Spec.Volumes, volume) |
| 198 | return d |
| 199 | } |
| 200 | |
| 201 | // Pod is a Pod wrapper used for testing |
| 202 | type Pod struct { |
no outgoing calls
no test coverage detected