@@ -28,18 +28,21 @@ type Client struct {
28
28
29
29
common service
30
30
31
- Connectors * ConnectorsService
32
- DnsRecords * DNSRecordsService
33
- Hosts * HostsService
34
- IPServices * IPServicesService
35
- Applications * ApplicationsService
36
- Networks * NetworksService
37
- Routes * RoutesService
38
- Users * UsersService
39
- UserGroups * UserGroupsService
40
- VPNRegions * VPNRegionsService
41
- LocationContexts * LocationContextsService
42
- AccessGroups * AccessGroupsService
31
+ HostConnectors * HostConnectorsService
32
+ NetworkConnectors * NetworkConnectorsService
33
+ DnsRecords * DNSRecordsService
34
+ Hosts * HostsService
35
+ HostIPServices * HostIPServicesService
36
+ NetworkIPServices * NetworkIPServicesService
37
+ HostApplications * HostApplicationsService
38
+ NetworkApplications * NetworkApplicationsService
39
+ Networks * NetworksService
40
+ Routes * RoutesService
41
+ Users * UsersService
42
+ UserGroups * UserGroupsService
43
+ VPNRegions * VPNRegionsService
44
+ LocationContexts * LocationContextsService
45
+ AccessGroups * AccessGroupsService
43
46
}
44
47
45
48
type service struct {
@@ -105,11 +108,14 @@ func NewClient(baseURL, clientId, clientSecret string) (*Client, error) {
105
108
RateLimiter : rate .NewLimiter (rate .Every (1 * time .Second ), 5 ),
106
109
}
107
110
c .common .client = c
108
- c .Connectors = (* ConnectorsService )(& c .common )
111
+ c .HostConnectors = (* HostConnectorsService )(& c .common )
112
+ c .NetworkConnectors = (* NetworkConnectorsService )(& c .common )
109
113
c .DnsRecords = (* DNSRecordsService )(& c .common )
110
114
c .Hosts = (* HostsService )(& c .common )
111
- c .IPServices = (* IPServicesService )(& c .common )
112
- c .Applications = (* ApplicationsService )(& c .common )
115
+ c .HostIPServices = (* HostIPServicesService )(& c .common )
116
+ c .NetworkIPServices = (* NetworkIPServicesService )(& c .common )
117
+ c .HostApplications = (* HostApplicationsService )(& c .common )
118
+ c .NetworkApplications = (* NetworkApplicationsService )(& c .common )
113
119
c .Networks = (* NetworksService )(& c .common )
114
120
c .Routes = (* RoutesService )(& c .common )
115
121
c .Users = (* UsersService )(& c .common )
0 commit comments