MCPcopy Create free account
hub / github.com/NVIDIA/gpu-operator / WithVolume

Method WithVolume

controllers/transforms_test.go:196–199  ·  view source on GitHub ↗
(volume corev1.Volume)

Source from the content-addressed store, hash-verified

194}
195
196func (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
202type Pod struct {

Calls

no outgoing calls

Tested by

no test coverage detected