-
Notifications
You must be signed in to change notification settings - Fork 2
/
tasks.go
executable file
·32 lines (28 loc) · 1.04 KB
/
tasks.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
/*
This is for registering the task modules to the kitebroker menu.
*/
package main
import (
"github.com/cmcoffee/kitebroker/tasks/admin"
"github.com/cmcoffee/kitebroker/tasks/admin/sftp_gw"
"github.com/cmcoffee/kitebroker/tasks/user"
)
func init() {
// Register Universal Tasks:
command.Register(new(user.ListTask))
command.Register(new(user.FolderUploadTask))
command.Register(new(user.FolderDownloadTask))
// Register Signature Only Tasks:
command.RegisterAdmin(new(admin.CSVOnboardTask))
command.RegisterAdmin(new(admin.FolderFileExpiryTask))
command.RegisterAdmin(new(admin.UserProfilerTask))
command.RegisterAdmin(new(admin.FileCleanerTask))
command.RegisterAdmin(new(admin.UserRemoverTask))
command.RegisterAdmin(new(admin.MigrateProfileTask))
command.RegisterAdmin(new(admin.MoveMyFolder))
command.RegisterAdmin(new(admin.AddUserTask))
command.RegisterAdmin(new(admin.MetadataTask))
command.RegisterAdmin(new(admin.FolderReportTask))
command.RegisterAdmin(new(sftp_gw.SFTPGWTask))
command.RegisterAdmin(new(admin.UserInfoTask))
}