@@ -22,34 +22,41 @@ import (
2222
2323// endpoints definition
2424var (
25- configuration = "/settings"
26- users = "/users"
27- usersDetail = "/users/:userName"
28- groups = "/groups"
29- iamPolicies = "/policies"
30- policiesDetail = "/policies/:policyName"
31- dashboard = "/dashboard"
32- profiling = "/profiling"
33- buckets = "/buckets"
34- bucketsDetail = "/buckets/:bucketName"
35- serviceAccounts = "/account"
36- changePassword = "/account/change-password"
37- tenants = "/tenants"
38- tenantsDetail = "/namespaces/:tenantNamespace/tenants/:tenantName"
39- storage = "/storage"
40- storageVolumes = "/storage/volumes"
41- storageDrives = "/storage/drives"
42- remoteBuckets = "/remote-buckets"
43- replication = "/replication"
44- objectBrowser = "/object-browser/:bucket/*"
45- objectBrowserBucket = "/object-browser/:bucket"
46- mainObjectBrowser = "/object-browser"
47- license = "/license"
48- watch = "/watch"
49- heal = "/heal"
50- trace = "/trace"
51- logs = "/logs"
52- healthInfo = "/health-info"
25+ configuration = "/settings"
26+ users = "/users"
27+ usersDetail = "/users/:userName"
28+ groups = "/groups"
29+ iamPolicies = "/policies"
30+ policiesDetail = "/policies/:policyName"
31+ dashboard = "/dashboard"
32+ profiling = "/profiling"
33+ buckets = "/buckets"
34+ bucketsDetail = "/buckets/:bucketName"
35+ bucketsDetailSummary = "/buckets/:bucketName/summary"
36+ bucketsDetailEvents = "/buckets/:bucketName/events"
37+ bucketsDetailReplication = "/buckets/:bucketName/replication"
38+ bucketsDetailLifecycle = "/buckets/:bucketName/lifecycle"
39+ bucketsDetailAccess = "/buckets/:bucketName/access"
40+ bucketsDetailAccessPolicies = "/buckets/:bucketName/access/policies"
41+ bucketsDetailAccessUsers = "/buckets/:bucketName/access/users"
42+ serviceAccounts = "/account"
43+ changePassword = "/account/change-password"
44+ tenants = "/tenants"
45+ tenantsDetail = "/namespaces/:tenantNamespace/tenants/:tenantName"
46+ storage = "/storage"
47+ storageVolumes = "/storage/volumes"
48+ storageDrives = "/storage/drives"
49+ remoteBuckets = "/remote-buckets"
50+ replication = "/replication"
51+ objectBrowser = "/object-browser/:bucket/*"
52+ objectBrowserBucket = "/object-browser/:bucket"
53+ mainObjectBrowser = "/object-browser"
54+ license = "/license"
55+ watch = "/watch"
56+ heal = "/heal"
57+ trace = "/trace"
58+ logs = "/logs"
59+ healthInfo = "/health-info"
5360)
5461
5562type ConfigurationActionSet struct {
@@ -276,29 +283,36 @@ var displayRules = map[string]func() bool{
276283
277284// endpointRules contains the mapping between endpoints and ActionSets, additional rules can be added here
278285var endpointRules = map [string ]ConfigurationActionSet {
279- configuration : configurationActionSet ,
280- users : usersActionSet ,
281- usersDetail : usersActionSet ,
282- groups : groupsActionSet ,
283- iamPolicies : iamPoliciesActionSet ,
284- policiesDetail : iamPoliciesActionSet ,
285- dashboard : dashboardActionSet ,
286- profiling : profilingActionSet ,
287- buckets : bucketsActionSet ,
288- bucketsDetail : bucketsActionSet ,
289- serviceAccounts : serviceAccountsActionSet ,
290- changePassword : changePasswordActionSet ,
291- remoteBuckets : remoteBucketsActionSet ,
292- replication : replicationActionSet ,
293- objectBrowser : objectBrowserActionSet ,
294- mainObjectBrowser : objectBrowserActionSet ,
295- objectBrowserBucket : objectBrowserActionSet ,
296- license : licenseActionSet ,
297- watch : watchActionSet ,
298- heal : healActionSet ,
299- trace : traceActionSet ,
300- logs : logsActionSet ,
301- healthInfo : healthInfoActionSet ,
286+ configuration : configurationActionSet ,
287+ users : usersActionSet ,
288+ usersDetail : usersActionSet ,
289+ groups : groupsActionSet ,
290+ iamPolicies : iamPoliciesActionSet ,
291+ policiesDetail : iamPoliciesActionSet ,
292+ dashboard : dashboardActionSet ,
293+ profiling : profilingActionSet ,
294+ buckets : bucketsActionSet ,
295+ bucketsDetail : bucketsActionSet ,
296+ bucketsDetailSummary : bucketsActionSet ,
297+ bucketsDetailEvents : bucketsActionSet ,
298+ bucketsDetailReplication : bucketsActionSet ,
299+ bucketsDetailLifecycle : bucketsActionSet ,
300+ bucketsDetailAccess : bucketsActionSet ,
301+ bucketsDetailAccessPolicies : bucketsActionSet ,
302+ bucketsDetailAccessUsers : bucketsActionSet ,
303+ serviceAccounts : serviceAccountsActionSet ,
304+ changePassword : changePasswordActionSet ,
305+ remoteBuckets : remoteBucketsActionSet ,
306+ replication : replicationActionSet ,
307+ objectBrowser : objectBrowserActionSet ,
308+ mainObjectBrowser : objectBrowserActionSet ,
309+ objectBrowserBucket : objectBrowserActionSet ,
310+ license : licenseActionSet ,
311+ watch : watchActionSet ,
312+ heal : healActionSet ,
313+ trace : traceActionSet ,
314+ logs : logsActionSet ,
315+ healthInfo : healthInfoActionSet ,
302316}
303317
304318// operatorRules contains the mapping between endpoints and ActionSets for operator only mode
0 commit comments