Alejandro Mery
5abb4c2f92
cluster: rename pkg/zones to pkg/cluster
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
9da2f8711f
zones: fix PruneWireguardConfig recursion
...
Zones and Zone implementation should call Machine's directly
instead jumping back to Zone's for each Machine again and again
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
b4f1d2e4d9
wireguard: implement Machine.SyncWireguardConfig()
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
3534e7b755
zones: SyncWireguardConfig() as Prune+Write
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
b80dc84a26
zones: introduce WireguardConfigWriters
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
c0ef6ae9c4
zones: rearrange code around WireguardConfigPruner
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
58867031ea
zones: rearrange code around WireguardKeysWriter
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago