netbird/management/server
Bethuel Mmbaga 170e842422
[management] Add accessible peers endpoint (#2579)
* move accessible peer to separate endpoint in api doc

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* add endpoint to get accessible peers

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* Update management/server/http/api/openapi.yml

Co-authored-by: pascal-fischer <32096965+pascal-fischer@users.noreply.github.com>

* Update management/server/http/api/openapi.yml

Co-authored-by: pascal-fischer <32096965+pascal-fischer@users.noreply.github.com>

* Update management/server/http/peers_handler.go

Co-authored-by: pascal-fischer <32096965+pascal-fischer@users.noreply.github.com>

---------

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
Co-authored-by: pascal-fischer <32096965+pascal-fischer@users.noreply.github.com>
2024-09-12 16:19:27 +03:00
..
account Feature/peer validator (#1553) 2024-03-27 18:48:48 +01:00
activity [management] Add GCM encryption and migrate legacy encrypted events (#2569) 2024-09-11 20:09:57 +03:00
context Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
geolocation [management] Auto update geolite (#2297) 2024-09-09 18:27:42 +02:00
group Feature/peer validator (#1553) 2024-03-27 18:48:48 +01:00
http [management] Add accessible peers endpoint (#2579) 2024-09-12 16:19:27 +03:00
idp Fix lint (#2427) 2024-08-14 13:30:10 +03:00
integrated_validator Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
integration_reference Feature/peer validator (#1553) 2024-03-27 18:48:48 +01:00
jwtclaims [management] Add support to ECDSA public Keys (#2461) 2024-08-27 16:37:55 +02:00
metrics Fix issue with canceled context before pushing metrics and decreasing pushing interval (#2235) 2024-07-04 19:15:59 +02:00
migration Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
mock_server Add batch delete for groups and users (#2370) 2024-08-08 18:01:38 +03:00
peer [management] Improve mgmt sync performance (#2363) 2024-08-07 10:52:31 +02:00
posture Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
status Refactor login with store.SavePeer (#2334) 2024-07-29 13:30:27 +02:00
telemetry [management] Refactor HTTP metrics (#2476) 2024-08-23 19:42:55 +03:00
testdata [management] Auto update geolite (#2297) 2024-09-09 18:27:42 +02:00
testutil Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
account_request_buffer.go rename request buffer and update default interval (#2459) 2024-08-21 11:44:52 +02:00
account_test.go [management] Improve mgmt sync performance (#2363) 2024-08-07 10:52:31 +02:00
account.go [management] Refactor HTTP metrics (#2476) 2024-08-23 19:42:55 +03:00
config.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
dns_test.go [management] Improve mgmt sync performance (#2363) 2024-08-07 10:52:31 +02:00
dns.go [management] Improve mgmt sync performance (#2363) 2024-08-07 10:52:31 +02:00
ephemeral_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
ephemeral.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
event_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
event.go Add write lock for peer when saving its connection status (#2359) 2024-07-31 14:53:32 +02:00
file_store_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
file_store.go Split DB calls in peer login (#2439) 2024-08-19 12:50:11 +02:00
group_test.go Add batch delete for groups and users (#2370) 2024-08-08 18:01:38 +03:00
group.go Add batch delete for groups and users (#2370) 2024-08-08 18:01:38 +03:00
grpcserver.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
integrated_validator.go Add write lock for peer when saving its connection status (#2359) 2024-07-31 14:53:32 +02:00
management_proto_test.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
management_suite_test.go Move management server to a separate directory (#67) 2021-07-24 16:14:29 +02:00
management_test.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
nameserver_test.go [management] Improve mgmt sync performance (#2363) 2024-08-07 10:52:31 +02:00
nameserver.go Add write lock for peer when saving its connection status (#2359) 2024-07-31 14:53:32 +02:00
network_test.go Exclude second last IP from allocation to use it in the Fake DNS (#912) 2023-05-30 18:26:44 +04:00
network.go Migrate serializer:gob fields to serializer:json (#1855) 2024-04-18 18:14:21 +02:00
peer_test.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
peer.go [client] Retry on tun creation for darwin (#2564) 2024-09-09 19:02:10 +02:00
personal_access_token_test.go move into separate package 2023-05-16 12:57:56 +02:00
personal_access_token.go Implement SQLite Store using gorm and relational approach (#1065) 2023-10-12 15:42:36 +02:00
policy_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
policy.go [management] Improve mgmt sync performance (#2363) 2024-08-07 10:52:31 +02:00
posture_checks_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
posture_checks.go Fix lint (#2427) 2024-08-14 13:30:10 +03:00
route_test.go Reduce test logs (#2550) 2024-09-06 16:28:19 +02:00
route.go Add write lock for peer when saving its connection status (#2359) 2024-07-31 14:53:32 +02:00
scheduler_test.go Reduce test logs (#2550) 2024-09-06 16:28:19 +02:00
scheduler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
setupkey_test.go [management] Prevent removal of All group from peers during user groups propagation (#2410) 2024-08-12 13:48:05 +03:00
setupkey.go [management] Prevent removal of All group from peers during user groups propagation (#2410) 2024-08-12 13:48:05 +03:00
sql_store_test.go Add SavePeer method to prevent a possible account inconsistency (#2296) 2024-07-26 07:49:05 +02:00
sql_store.go [management] Refactor HTTP metrics (#2476) 2024-08-23 19:42:55 +03:00
store_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
store.go Split DB calls in peer login (#2439) 2024-08-19 12:50:11 +02:00
token_mgr_test.go [relay] Improve relay messages (#2574) 2024-09-11 16:20:30 +02:00
token_mgr.go [relay] Improve relay messages (#2574) 2024-09-11 16:20:30 +02:00
updatechannel_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
updatechannel.go Reduce test logs (#2550) 2024-09-06 16:28:19 +02:00
user_test.go Add batch delete for groups and users (#2370) 2024-08-08 18:01:38 +03:00
user.go [management] Prevent removal of All group from peers during user groups propagation (#2410) 2024-08-12 13:48:05 +03:00