-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.go
79 lines (65 loc) · 2.68 KB
/
constants.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
package bigdog
const (
VSZResourceNameCluster = "CLUSTER_CATEGORY"
VSZResourceNameAP = "AP_CATEGORY"
VSZResourceNameWLAN = "WLAN_CATEGORY"
VSZResourceNameDevice = "DEVICE_CATEGORY"
VSZResourceNameAdministrator = "ADMINISTRATOR_CATEGORY"
VSZResourceNameTenant = "TENANT_CATEGORY"
VSZResourceNameICX = "ICX_CATEGORY"
VSZResourceDisplayCluster = "SZ"
VSZResourceDisplayAP = "AP"
VSZResourceDisplayWLAN = "WLAN"
VSZResourceDisplayDevice = "User/Device/App"
VSZResourceDisplayAdministrator = "Admin"
VSZResourceDisplayTenant = "MVNO"
VSZResourceDisplayICX = "ICX Switch"
VSZResourceAccessFullAccess = "FULL_ACCESS"
VSZResourceAccessModify = "MODIFY"
VSZResourceAccessReadOnly = "READ_ONLY"
VSZResourceAccessRead = "READ"
VSZResourceAccessNoAccess = "NO_ACCESS"
VSZRoleNameSuperAdmin = "SUPER_ADMIN"
VSZRoleNameSystemAdmin = "SYSTEM_ADMIN"
VSZRoleNameReadOnlySystemAdmin = "RO_SYSTEM_ADMIN"
VSZRoleNameNetworkAdmin = "NETWORK_ADMIN"
VSZRoleNameReadOnlyNetworkAdmin = "RO_NETWORK_ADMIN"
VSZRoleNameAPAdmin = "AP_ADMIN"
VSZRoleNameGuestPassAdmin = "GUEST_PASS_ADMIN"
VSZRoleNameCustom = "CUSTOM"
VSZRoleLabelSuperAdmin = "Super Admin"
VSZRoleLabelSystemAdmin = "System Admin"
VSZRoleLabelReadOnlySystemAdmin = "Read-Only System Admin"
VSZRoleLabelNetworkAdmin = "Network Admin"
VSZRoleLabelReadOnlyNetworkAdmin = "Read-Only Network Admin"
VSZRoleLabelAPAdmin = "AP Admin"
VSZRoleLabelGuestPassAdmin = "Guest Pass Admin"
VSZRoleLabelCustom = "SCGAdmin"
VSZSecurityProfileNameDefault = "Default"
VSZSecurityProfileNameMoreSecure = "More Secure"
VSZDomainTypeRegular = "REGULAR"
VSZDomainTypePartner = "PARTNER"
VSZServiceTicketQueryParameter = "serviceTicket"
)
const (
SCIAccessTokenQueryParameter = "access_token"
// 2016-04-06T16:04:46+00:00
SCIFilterTimestampFormat = "2006-01-02T15:04:05-07:00"
)
const (
logDebugAPIRequestPrepFormat = "Preparing api request #%d \"%s %s\""
logDebugAPIRequestNoBodyFormat = "%s without body"
logDebugAPIRequestWithBodyFormat = "%s with body"
)
const (
uriPathParameterSearchFormat = "{%s}"
uriQueryParameterPrefixFormat = "%s?%s"
apiRequestURLFormat = "%s%s%s"
headerKeyContentType = "Content-Type"
headerKeyContentEncoding = "Content-Encoding"
headerKeyContentDisposition = "Content-Disposition"
headerKeyContentLength = "Content-Length"
headerKeyAccept = "Accept"
headerValueApplicationJSON = "application/json"
headerValueMultipartFormData = "multipart/form-data"
)