-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbridge.go
200 lines (197 loc) · 5.38 KB
/
bridge.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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
package api
type bridge struct {
alert *AlertAPI
apRules *APRulesAPI
applications *ApplicationsAPI
aps *APsAPI
avc *AVCAPI
blockClient *BlockClientAPI
certstore *CertStoreAPI
clients *ClientsAPI
cluster *ClusterAPI
configuration *ConfigurationAPI
configurationSettings *ConfigurationSettingsAPI
controlPlanes *ControlPlanesAPI
controller *ControllerAPI
dhcpData *DHCPDataAPI
ftps *FTPSAPI
globalSettings *GlobalSettingsAPI
identity *IdentityAPI
lwapp2scg *LWAPP2SCGAPI
maps *MapsAPI
planes *PlanesAPI
precedence *PrecedenceAPI
profiles *ProfilesAPI
query *QueryAPI
restart *RestartAPI
rkszones *RuckusZonesAPI
rogue *RogueAPI
rogueaps *RogueAPsAPI
sci *SCIAPI
services *ServicesAPI
session *SessionAPI
shutdown *ShutdownAPI
smsGateway *SMSGatewayAPI
system *SystemAPI
tool *ToolAPI
upgrade *UpgradeAPI
userGroups *UserGroupsAPI
users *UsersAPI
vlanpoolings *VLANPoolingsAPI
}
func newBridge(c *Client) *bridge {
return &bridge{
alert: &AlertAPI{c},
apRules: &APRulesAPI{c},
applications: &ApplicationsAPI{c},
aps: &APsAPI{c},
avc: &AVCAPI{c},
blockClient: &BlockClientAPI{c},
certstore: &CertStoreAPI{c},
clients: &ClientsAPI{c},
cluster: &ClusterAPI{c},
configuration: &ConfigurationAPI{c},
configurationSettings: &ConfigurationSettingsAPI{c},
controlPlanes: &ControlPlanesAPI{c},
controller: &ControllerAPI{c},
dhcpData: &DHCPDataAPI{c},
ftps: &FTPSAPI{c},
globalSettings: &GlobalSettingsAPI{c},
identity: &IdentityAPI{c},
lwapp2scg: &LWAPP2SCGAPI{c},
maps: &MapsAPI{c},
planes: &PlanesAPI{c},
precedence: &PrecedenceAPI{c},
profiles: &ProfilesAPI{c},
query: &QueryAPI{c},
restart: &RestartAPI{c},
rkszones: &RuckusZonesAPI{c},
rogue: &RogueAPI{c},
rogueaps: &RogueAPsAPI{c},
sci: &SCIAPI{c},
services: &ServicesAPI{c},
session: &SessionAPI{c},
shutdown: &ShutdownAPI{c},
smsGateway: &SMSGatewayAPI{c},
system: &SystemAPI{c},
tool: &ToolAPI{c},
upgrade: &UpgradeAPI{c},
userGroups: &UserGroupsAPI{c},
users: &UsersAPI{c},
vlanpoolings: &VLANPoolingsAPI{c},
}
}
func (b *bridge) Alert() *AlertAPI {
return b.alert
}
func (b *bridge) APRules() *APRulesAPI {
return b.apRules
}
func (b *bridge) Applications() *ApplicationsAPI {
return b.applications
}
func (b *bridge) APs() *APsAPI {
return b.aps
}
func (b *bridge) AVC() *AVCAPI {
return b.avc
}
func (b *bridge) BlockClient() *BlockClientAPI {
return b.blockClient
}
func (b *bridge) CertStore() *CertStoreAPI {
return b.certstore
}
func (b *bridge) Clients() *ClientsAPI {
return b.clients
}
func (b *bridge) Cluster() *ClusterAPI {
return b.cluster
}
func (b *bridge) Configuration() *ConfigurationAPI {
return b.configuration
}
func (b *bridge) ConfigurationSettings() *ConfigurationSettingsAPI {
return b.configurationSettings
}
func (b *bridge) ControlPlanes() *ControlPlanesAPI {
return b.controlPlanes
}
func (b *bridge) Controller() *ControllerAPI {
return b.controller
}
func (b *bridge) DHCPData() *DHCPDataAPI {
return b.dhcpData
}
func (b *bridge) FTPS() *FTPSAPI {
return b.ftps
}
func (b *bridge) GlobalSettings() *GlobalSettingsAPI {
return b.globalSettings
}
func (b *bridge) Identity() *IdentityAPI {
return b.identity
}
func (b *bridge) LWAPP2SCG() *LWAPP2SCGAPI {
return b.lwapp2scg
}
func (b *bridge) Maps() *MapsAPI {
return b.maps
}
func (b *bridge) Planes() *PlanesAPI {
return b.planes
}
func (b *bridge) Precedence() *PrecedenceAPI {
return b.precedence
}
func (b *bridge) Profiles() *ProfilesAPI {
return b.profiles
}
func (b *bridge) Query() *QueryAPI {
return b.query
}
func (b *bridge) Restart() *RestartAPI {
return b.restart
}
func (b *bridge) RuckusZones() *RuckusZonesAPI {
return b.rkszones
}
func (b *bridge) Rogue() *RogueAPI {
return b.rogue
}
func (b *bridge) RogueAPs() *RogueAPsAPI {
return b.rogueaps
}
func (b *bridge) SCI() *SCIAPI {
return b.sci
}
func (b *bridge) Services() *ServicesAPI {
return b.services
}
func (b *bridge) Session() *SessionAPI {
return b.session
}
func (b *bridge) Shutdown() *ShutdownAPI {
return b.shutdown
}
func (b *bridge) SMSGateway() *SMSGatewayAPI {
return b.smsGateway
}
func (b *bridge) System() *SystemAPI {
return b.system
}
func (b *bridge) Tool() *ToolAPI {
return b.tool
}
func (b *bridge) Upgrade() *UpgradeAPI {
return b.upgrade
}
func (b *bridge) UserGroups() *UserGroupsAPI {
return b.userGroups
}
func (b *bridge) Users() *UsersAPI {
return b.users
}
func (b *bridge) VLANPoolings() *VLANPoolingsAPI {
return b.vlanpoolings
}