(container corev1.Container)
| 211 | } |
| 212 | |
| 213 | func (p Pod) WithInitContainer(container corev1.Container) Pod { |
| 214 | p.Spec.InitContainers = append(p.Spec.InitContainers, container) |
| 215 | return p |
| 216 | } |
| 217 | |
| 218 | func (p Pod) WithRuntimeClassName(name string) Pod { |
| 219 | p.Spec.RuntimeClassName = &name |
no outgoing calls
no test coverage detected