Resource pairs a pattern matcher with a resource name.
| 33 | |
| 34 | // Resource pairs a pattern matcher with a resource name. |
| 35 | type Resource struct { |
| 36 | Pattern ResourcePattern `json:"pattern" yaml:"pattern"` |
| 37 | Name ResourceName `json:"name" yaml:"name"` |
| 38 | } |
| 39 | |
| 40 | // Resources lists full GPUs and MIG devices separately. |
| 41 | type Resources struct { |
nothing calls this directly
no outgoing calls
no test coverage detected