forked from pydio/cells
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.go
35 lines (26 loc) · 822 Bytes
/
init.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package actions
import (
"github.com/pydio/cells/scheduler/actions"
)
func init() {
// Register Scheduler Action
manager := actions.GetActionsManager()
manager.Register(SyncUsersActionName, func() actions.ConcreteAction {
return &SyncUsersAction{}
})
manager.Register(SyncConfigActionName, func() actions.ConcreteAction {
return &SyncConfigAction{}
})
manager.Register(SyncWorkspacesActionName, func() actions.ConcreteAction {
return &SyncWorkspacesAction{}
})
manager.Register(SyncSharesActionName, func() actions.ConcreteAction {
return &SyncSharesAction{}
})
manager.Register(MigratePydioMetaActionName, func() actions.ConcreteAction {
return &MigratePydioMetaAction{}
})
manager.Register(MigrateGlobalMetaName, func() actions.ConcreteAction {
return &MigrateGlobalMetaAction{}
})
}