netmaker/models
Abhishek K 230e062c84
GRA-1298: License check changes, free tier limits for saas (#2418)
* set free tier limits through config

* add host limit to config

* check for host limit on free tier

* fix license validation, replace node limit with hosts

* add hosts to telemetry data

* debug init

* validate license every 1hr

* hook manager, api to fetch server usage

* hook manager, server usage api

* encode json server usage api

* update ngork url

* update license validation endpoint

* avoid setting limits on eer

* adding hotfix

* correct users limits env var

* add comments to exported funcs

---------

Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2023-06-28 20:33:06 +05:30
..
promodels adapted sso to host registration 2023-04-17 22:23:17 -04:00
accessToken.go remove localrange 2023-01-20 05:42:05 -05:00
api_host.go fix(NET-379): send host NAT type over api (#2423) 2023-06-28 20:23:11 +05:30
api_node.go Net-137: Node relays (#2401) 2023-06-19 12:26:14 -04:00
dnsEntry.go error handling 2023-02-10 06:58:00 -05:00
enrollment_key.go review comments 2023-05-08 13:44:32 -04:00
error.go adding security fixes 2022-08-31 11:38:29 -04:00
extclient.go Extclient NET-63x (#2286) 2023-05-17 10:58:03 -04:00
host.go NET-173 Sync EndpointDetection config (#2374) 2023-06-13 16:33:53 -04:00
intclient.go remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
metrics.go adjust peer updates to send ifaces with peer 2023-03-16 11:54:29 -04:00
migrate.go adapted migrate to easier registration 2023-03-14 08:44:18 -04:00
mqtt.go adjust peer updates to send ifaces with peer 2023-03-16 11:54:29 -04:00
names.go initial commit 2022-09-13 15:25:56 -04:00
network.go Extclient NET-63x (#2286) 2023-05-17 10:58:03 -04:00
network_test.go use channels for sync 2023-02-14 07:01:38 -05:00
node.go Net-137: Node relays (#2401) 2023-06-19 12:26:14 -04:00
proxy.go remove unused field 2023-04-19 13:24:36 +04:00
ssocache.go added better state management to make OAuth sign-ins HA 2022-08-04 10:03:39 -04:00
structs.go GRA-1298: License check changes, free tier limits for saas (#2418) 2023-06-28 20:33:06 +05:30