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

Method WithPriorityClass

controllers/transforms_test.go:141–144  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected