()
| 204 | } |
| 205 | |
| 206 | func NewPod() Pod { |
| 207 | pod := &corev1.Pod{ |
| 208 | Spec: corev1.PodSpec{}, |
| 209 | } |
| 210 | return Pod{pod} |
| 211 | } |
| 212 | |
| 213 | func (p Pod) WithInitContainer(container corev1.Container) Pod { |
| 214 | p.Spec.InitContainers = append(p.Spec.InitContainers, container) |
no outgoing calls
no test coverage detected