(key string, worker Worker)
| 12 | ) |
| 13 | |
| 14 | func RegisterDynamicResourceDriver(key string, worker Worker) { |
| 15 | dynamicResourceMap[key] = worker |
| 16 | } |
| 17 | |
| 18 | func GetDynamicResourceDriver(key string) (Worker, bool) { |
| 19 | v, ok := dynamicResourceMap[key] |
nothing calls this directly
no outgoing calls
no test coverage detected