This continues the push towards having service-level handlers that know how to perform different operations. It adds the helper functions that will be used during restore operations to the existing handler code This logic is not currently used nor does this PR change the restore call path --- #### Does this PR need a docs update or release note? - [ ] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [x] ⛔ No #### Type of change - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Supportability/Tests - [ ] 💻 CI/Deployment - [x] 🧹 Tech Debt/Cleanup #### Issue(s) * #4254 #### Test Plan - [ ] 💪 Manual - [x] ⚡ Unit test - [ ] 💚 E2E
15 lines
297 B
Go
15 lines
297 B
Go
package resource
|
|
|
|
import "github.com/alcionai/clues"
|
|
|
|
var ErrNoResourceLookup = clues.New("missing resource lookup client")
|
|
|
|
type Category string
|
|
|
|
const (
|
|
UnknownResource Category = ""
|
|
Users Category = "users"
|
|
Sites Category = "sites"
|
|
Groups Category = "groups"
|
|
)
|