130 Commits (fe081a42970e9f29c1bd5242c52cfc960ebf7350)
 

Author SHA1 Message Date
Alejandro Mery 58867031ea zones: rearrange code around WireguardKeysWriter 10 months ago
Alejandro Mery b95d1f1878 zones: introduce Wireguard Ring Config factory 10 months ago
Alejandro Mery d38c909b0b zones: introduce ZoneIterator, implemented by Zones 10 months ago
Alejandro Mery 7dd3ea8f96 zones: Machine.Zone() 10 months ago
Alejandro Mery 07b4a22752 zones: introduce MachineIterator interface 10 months ago
Alejandro Mery 609f48a2d1 wireguard: Config.WriteTo() 10 months ago
Alejandro Mery d1f7d225ae zones: fix RingOneAddress()'s generated address 10 months ago
Alejandro Mery dfbb358187 jpictl: introduce `write` command rewriting all config files 10 months ago
Alejandro Mery 26c49dff72 jpictl: refactor zones loading 10 months ago
Alejandro Mery 2043708949 zones: Zones.WriteWireguardKeys() and Zone.WriteWireguardKeys() 10 months ago
Alejandro Mery 311ae572da zones: Zones.PruneWireguardConfig() 10 months ago
Alejandro Mery 4ca77b0ac0 zones: Zone.PruneWireguardConfig() 10 months ago
Alejandro Mery 1859c8e04b zones: inject trailing new lines on Machine.WriteWireguardKeys() 10 months ago
Alejandro Mery 202f2e6dfc jpictl: change `dump` to default to YAML output 10 months ago
Alejandro Mery 20484a5061 zones: change toml tags to match yaml and json output 10 months ago
Alejandro Mery 45b25c63d4 jpictl: refactor `dump` to support TOML, JSON and YAML 10 months ago
Alejandro Mery c0e2ae9bf1 zones: annotate Machine for JSON encoding 10 months ago
Alejandro Mery 080021b427 zones: annotate Machine for YAML encoding 10 months ago
Alejandro Mery 4514b44211 wireguard: implement MarshalYAML for PrivateKey and PublicKey 10 months ago
Alejandro Mery 49b82ace71 wireguard: implement MarshalJSON for PrivateKey and PublicKey 10 months ago
Alejandro Mery 2207e4a4a4 zones: fix New() to handle relative paths on hackpadfs 10 months ago
Alejandro Mery 7ca01aa1e4 zones: Machine.RemoveWireguardConfig() 10 months ago
Alejandro Mery 8b72667f4d zones: Machine.RemoveWireguardKeys() 10 months ago
Alejandro Mery 49694eb7cb zones: Machine.WriteWireguardKeys() 10 months ago
Alejandro Mery 15a98c05ec zones: Machine.WriteStringFile() 10 months ago
Alejandro Mery a005823d44 zones: Machine.CreateFile() and Machine.CreateTruncFile() 10 months ago
Alejandro Mery 7af8484acc zones: introduce Machine.OpenFile() 10 months ago
Alejandro Mery 0f1f1ce968 zones: introduce Machine.RemoveFile() 10 months ago
Alejandro Mery 5058f286c6 zones: switch to using hackpadfs/os.FS as the standard os.FS is incomplete 10 months ago
Alejandro Mery 86075eb47f zones: move Machine.ReadFile to a dedicated machine_file.go 10 months ago
Alejandro Mery c81b782b26 zones: Machine.IsGateway() 10 months ago
Alejandro Mery 0f62ee2e53 zones: rename Machine.RingAddresses to Machine.Rings 10 months ago
Alejandro Mery 30a7bceda3 wireguard: make KeyPairs solid 10 months ago
Alejandro Mery 60e2687d04 wireguard: make keys arrays instead of slices 10 months ago
Alejandro Mery 1419e55d5b zones: remove useless RingInfo.Address 10 months ago
Alejandro Mery ffdacb833b zones: add Port information to RingAddressEncoder 10 months ago
Alejandro Mery aca0a5e834 zones: calculate Machine.ID on init 10 months ago
Alejandro Mery 61374d4cc5 zones: load wireguard key pairs on Machine.init() 10 months ago
Alejandro Mery 975e166da7 zones: allow RingInfo.Merge() to enable, but not disable 10 months ago
Alejandro Mery b16c648f2c zones: introduce Machine.GetWireguardKeys() 10 months ago
Alejandro Mery 47d79f7576 wireguard: introduce KeyPair.Validate() 10 months ago
Alejandro Mery e2f831fd6a wireguard: introduce NewKeyPair, NewPrivateKey, and PrivateKey.Public() 10 months ago
Alejandro Mery 1d8c818ec4 wireguard: make PrivateKey and PublicKey two distinct types 10 months ago
Alejandro Mery 2f51a463b2 zones: reduce writeEnvZone() complexity 10 months ago
Alejandro Mery 0c0cba6fb5 jpictl: introduce `env` command 10 months ago
Alejandro Mery 75206e4fa5 zones: Zones.WriteEnv() writing env variables describing the cluster 10 months ago
Alejandro Mery b084e103b9 zones: introduce Machine.getRingInfo() 10 months ago
Alejandro Mery 223edf846b zones: introduce Zone.ForEachMachine() 10 months ago
Alejandro Mery fdb0f0324f zones: finish scan sorting the content 10 months ago
Alejandro Mery 9aef92f32d zones: assign zoneID to zones inferable ID 10 months ago