Alejandro Mery
2075b2b730
cluster: add recursive RegionIterator to Zone
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
8 months ago
Alejandro Mery
cedca2d3d8
cluster: introduce RegionIterator
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
8 months ago
Alejandro Mery
ae9f941bfc
cluster: decouple getRegion() from finishRegion()
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
8 months ago
Alejandro Mery
00cf3959a2
cluster: load regions when scanning a directory
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
0db3e18227
cluster: introduce SyncRegions() to write regions file
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
0094450ca8
cluster: fix regions/zones mapping when the region exists
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
892d849740
cluster: introduce Machine.Inactive flag
...
if a Machine is Inactive, it won't be included on the DNS
aliases for the zone or it's regions.
v2:
- Machine.Active() renamed to Machine.IsActive()
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
884b11d1f9
cluster: sort regions, for `jpictl dump`' sake
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
c397ca29ac
cluster: introduce Region interators
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
c702d649e0
cluster: introduce Regions to group zones
...
only available via config-file
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago