headscale/hscontrol
Kristoffer Dalby feb15365b5 Split code into modules
This is a massive commit that restructures the code into modules:

db/
    All functions related to modifying the Database

types/
    All type definitions and methods that can be exclusivly used on
    these types without dependencies

policy/
    All Policy related code, now without dependencies on the Database.

policy/matcher/
    Dedicated code to match machines in a list of FilterRules

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2023-05-26 12:24:50 +02:00
..
db Split code into modules 2023-05-26 12:24:50 +02:00
policy Split code into modules 2023-05-26 12:24:50 +02:00
templates move templates 2023-05-10 20:47:51 +02:00
types Split code into modules 2023-05-26 12:24:50 +02:00
util Split code into modules 2023-05-26 12:24:50 +02:00
api_common.go Split code into modules 2023-05-26 12:24:50 +02:00
api.go Split code into modules 2023-05-26 12:24:50 +02:00
app.go Split code into modules 2023-05-26 12:24:50 +02:00
config.go create DB struct 2023-05-26 12:24:50 +02:00
derp_server.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
derp.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
dns_test.go Split code into modules 2023-05-26 12:24:50 +02:00
dns.go Split code into modules 2023-05-26 12:24:50 +02:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
grpcv1.go Split code into modules 2023-05-26 12:24:50 +02:00
handler_legacy.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
handler_placeholder.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
metrics.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
noise.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
oidc.go Split code into modules 2023-05-26 12:24:50 +02:00
platform_config.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
protocol_common_poll.go Split code into modules 2023-05-26 12:24:50 +02:00
protocol_common_utils.go Split code into modules 2023-05-26 12:24:50 +02:00
protocol_common.go Split code into modules 2023-05-26 12:24:50 +02:00
protocol_legacy_poll.go create DB struct 2023-05-26 12:24:50 +02:00
protocol_legacy.go create DB struct 2023-05-26 12:24:50 +02:00
protocol_noise_poll.go create DB struct 2023-05-26 12:24:50 +02:00
protocol_noise.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
suite_test.go Split code into modules 2023-05-26 12:24:50 +02:00