/
routes.go
181 lines (176 loc) · 7.27 KB
/
routes.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
package api
// RN = Route Name
const (
RN_Preflight = "preflight"
RN_ListNamespaces = "listNamespaces"
RN_AddNamespace = "addNamespace"
RN_GetNamespaceConfig = "getNamespaceConfiguration"
RN_SetNamespaceConfig = "setNamespaceConfiguration"
RN_DeleteNamespace = "deleteNamespace"
RN_GetNode = "getNode"
RN_CreateDirectory = "createDirectory"
RN_CreateWorkflow = "createWorkflow"
RN_UpdateWorkflow = "updateWorkflow"
RN_SaveWorkflow = "saveWorkflow"
RN_DiscardWorkflow = "discardWorkflow"
RN_DeleteNode = "deleteNode"
RN_RenameNode = "renameNode"
RN_GetWorkflowTags = "getWorkflowTags"
RN_GetWorkflowRevisions = "getWorkflowRevisions"
RN_GetWorkflowRefs = "getWorkflowRefs"
RN_DeleteRevision = "deleteRevision"
RN_Tag = "tag"
RN_Untag = "untag"
RN_Retag = "retag"
RN_GetWorkflowRouter = "getWorkflowRouter"
RN_EditWorkflowRouter = "editWorkflowRouter"
RN_ValidateRef = "validateRef"
RN_ValidateRouter = "validateRouter"
RN_NamespaceEvent = "namespaceEvent"
RN_ListSecrets = "listSecrets"
RN_CreateSecret = "createSecret"
RN_DeleteSecret = "deleteSecret"
RN_ListRegistries = "listRegistries"
RN_CreateRegistry = "createRegistry"
RN_DeleteRegistry = "deleteRegistry"
RN_ListGlobalRegistries = "listGlobalRegistries"
RN_CreateGlobalRegistry = "createGlobalRegistry"
RN_DeleteGlobalRegistry = "deleteGlobalRegistry"
RN_ListGlobalPrivateRegistries = "listGlobalPrivateRegistries"
RN_CreateGlobalPrivateRegistry = "createGlobalPrivateRegistry"
RN_DeleteGlobalPrivateRegistry = "deleteGlobalPrivateRegistry"
RN_GetNamespaceMetrics = "getNamespaceMetrics"
RN_GetWorkflowMetrics = "getWorkflowMetrics"
// RN_ListWorkflows = "listWorkflows"
// RN_GetWorkflow = "getWorkflow"
// RN_ToggleWorkflow = "toggleWorkflow"
// RN_DeleteWorkflow = "deleteWorkflow"
// RN_DownloadWorkflow = "downloadWorkflow"
RN_ExecuteWorkflow = "executeWorkflow"
// RN_ListWorkflowInstances = "listWorkflowInstances"
RN_ListInstances = "listInstances"
RN_GetInstance = "getInstance"
RN_CancelInstance = "cancelInstance"
RN_DeleteNodeAttributes = "deleteNodeAttributes"
RN_CreateNodeAttributes = "createNodeAttributes"
// RN_ListActionTemplateFolders = "listActionTemplateFolders"
// RN_ListActionTemplates = "listActionTemplates"
// RN_GetActionTemplate = "getActionTemplate"
// RN_ListWorkflowTemplateFolders = "listWorkflowTemplateFolders"
// RN_ListWorkflowTemplates = "listWorkflowTemplates"
// RN_GetWorkflowTemplate = "getWorkflowTemplate"
RN_ListInstanceVariables = "listInstanceVariables"
RN_GetInstanceVariable = "getInstanceVariable"
RN_SetInstanceVariable = "setInstanceVariable"
RN_ListWorkflowVariables = "listWorkflowVariables"
RN_GetWorkflowVariable = "getWorkflowVariable"
RN_SetWorkflowVariable = "setWorkflowVariable"
RN_ListNamespaceVariables = "listNamespaceVariables"
RN_GetNamespaceVariable = "getNamespaceVariable"
RN_GetServerLogs = "getServerLogs"
RN_GetNamespaceLogs = "getNamespaceLogs"
RN_GetWorkflowLogs = "getWorkflowLogs"
RN_GetInstanceLogs = "getInstanceLogs"
RN_SetNamespaceVariable = "setNamespaceVariable"
RN_JQPlayground = "jqPlayground"
RN_Version = "version"
RN_ListServices = "listServices"
RN_ListNamespaceServices = "listNamespacesServices"
RN_WatchServices = "watchServices"
// RN_WatchInstanceServices = "watchInstanceServices"
// RN_WatchNamespaceServices = "watchNamespaceServices"
RN_WatchRevisions = "watchRevisions"
// RN_WatchNamespaceRevisions = "watchNamespaceRevisions"
RN_WatchPods = "watchPods"
RN_WatchLogs = "watchLogs"
RN_ListPods = "listPods"
RN_DeleteServices = "deleteServices"
RN_GetService = "getService"
RN_CreateService = "createService"
RN_UpdateService = "updateService"
RN_UpdateServiceTraffic = "updateServiceTraffic"
RN_DeleteService = "deleteService"
RN_ListNamespacePods = "listNamespacePods"
RN_CreateNamespaceService = "createNamespaceService"
RN_DeleteNamespaceServices = "deleteNamespaceService"
RN_GetNamespaceService = "getNamespaceService"
RN_UpdateNamespaceService = "updateNamespaceService"
RN_UpdateNamespaceServiceTraffic = "updateNamespaceServiceTraffic"
RN_DeleteNamespaceRevision = "deleteNamespaceRevision"
RN_ListWorkflowServices = "listWorkflowServices"
RN_ListWorkflowPods = "listWorkflowPods"
// RN_GetWorkflowFunctions = "getWorkflowFunctions"
// RN_namespaceWorkflowsInvoked = "namespaceWorkflowsInvoked"
// RN_namespaceWorkflowsSuccessful = "namespaceWorkflowsSuccessful"
// RN_namespaceWorkflowsFailed = "namespaceWorkflowsFailed"
// RN_namespaceWorkflowsMS = "namespaceWorkflowsMS"
// RN_metricsWorkflowInvoked = "metricsWorkflowInvoked"
// RN_metricsWorkflowSuccessful = "metricsWorkflowSuccessful"
// RN_metricsWorkflowFailed = "metricsWorkflowFailed"
// RN_metricsWorkflowMS = "metricsWorkflowMS"
// RN_metricsStateMS = "metricsStateMS"
)
// var RouteNames = []string{
// RN_Preflight,
// // RN_ListNamespaces,
// // RN_AddNamespace,
// // RN_DeleteNamespace,
// // RN_NamespaceEvent,
// // RN_GetNamespaceLogs,
// // RN_ListSecrets,
// // RN_CreateSecret,
// // RN_DeleteSecret,
// RN_ListRegistries,
// RN_CreateRegistry,
// RN_DeleteRegistry,
// // RN_GetWorkflowMetrics,
// // RN_ListWorkflows,
// // RN_GetWorkflow,
// // RN_WatchLogs,
// // RN_UpdateWorkflow,
// // RN_ToggleWorkflow,
// // RN_CreateWorkflow,
// // RN_DeleteWorkflow,
// // RN_DownloadWorkflow,
// // RN_ExecuteWorkflow,
// // RN_ListWorkflowInstances,
// // RN_ListInstances,
// // RN_GetInstance,
// // RN_CancelInstance,
// // RN_GetInstanceLogs,
// // RN_ListActionTemplateFolders,
// // RN_ListActionTemplates,
// // RN_GetActionTemplate,
// // RN_ListWorkflowTemplateFolders,
// // RN_ListWorkflowTemplates,
// // RN_GetWorkflowTemplate,
// // RN_ListWorkflowVariables,
// // RN_GetWorkflowVariable,
// // RN_SetWorkflowVariable,
// // RN_ListNamespaceVariables,
// // RN_GetNamespaceVariable,
// // RN_SetNamespaceVariable,
// // RN_JQPlayground,
// RN_ListServices,
// RN_ListNamespaceServices,
// RN_WatchServices,
// RN_DeleteServices,
// RN_GetService,
// RN_CreateService,
// RN_UpdateService,
// RN_UpdateServiceTraffic,
// RN_DeleteService,
// RN_DeleteRevision,
// // RN_GetWorkflowFunctions,
// // RN_WatchPods,
// RN_ListPods,
// RN_ListNamespacePods,
// RN_ListNamespacePods,
// RN_CreateNamespaceService,
// RN_DeleteNamespaceServices,
// RN_GetNamespaceService,
// RN_UpdateNamespaceService,
// RN_UpdateNamespaceServiceTraffic,
// RN_DeleteNamespaceRevision,
// RN_WatchRevisions,
// }