97 Commits (v0.4.13)
 

Author SHA1 Message Date
Alejandro Mery 9c4f6d987d Merge pull request 'env: introduce Env() factory and `jpictl env -e` to export variables' (#2) 1 year ago
Alejandro Mery fb82a7f358 Merge pull request 'zones: fix PruneWireguardConfig recursion' (#1) 1 year ago
Alejandro Mery 6ee848e6ca jpictl: introduce `-e` for `jpictl env` to export variables 1 year ago
Alejandro Mery 864eb02f9d zones: turn Zones.WriteEnv() into Zones.Env().WriteTo() 1 year ago
Alejandro Mery 9da2f8711f zones: fix PruneWireguardConfig recursion 1 year ago
Alejandro Mery 2a14205e7e wireguard: fix misspellings 1 year ago
Alejandro Mery a5d9466fb8 zones: change WriteEnv() to not fake gateways 1 year ago
Alejandro Mery 3d638e9a85 zones: add Zone.SetGateway() to set one by ID 1 year ago
Alejandro Mery 60d3a2c290 zones: set first node of a Zone as ring0 gateway if it doesn't have one already 1 year ago
Alejandro Mery af90825f13 zones: Machine.SetGateway() 1 year ago
Alejandro Mery b4f1d2e4d9 wireguard: implement Machine.SyncWireguardConfig() 1 year ago
Alejandro Mery acf9e0e81d zones: extend WriteWireguardConfig to include a Name indicating the ring ID 1 year ago
Alejandro Mery 3b43e0c9ea wireguard: add support for optional Name comment 1 year ago
Alejandro Mery 9762e78f5e jpictl: do SyncWireguardConfig() on `write` 1 year ago
Alejandro Mery 3534e7b755 zones: SyncWireguardConfig() as Prune+Write 1 year ago
Alejandro Mery b80dc84a26 zones: introduce WireguardConfigWriters 1 year ago
Alejandro Mery c0ef6ae9c4 zones: rearrange code around WireguardConfigPruner 1 year ago
Alejandro Mery 58867031ea zones: rearrange code around WireguardKeysWriter 1 year ago
Alejandro Mery b95d1f1878 zones: introduce Wireguard Ring Config factory 1 year ago
Alejandro Mery d38c909b0b zones: introduce ZoneIterator, implemented by Zones 1 year ago
Alejandro Mery 7dd3ea8f96 zones: Machine.Zone() 1 year ago
Alejandro Mery 07b4a22752 zones: introduce MachineIterator interface 1 year ago
Alejandro Mery 609f48a2d1 wireguard: Config.WriteTo() 1 year ago
Alejandro Mery d1f7d225ae zones: fix RingOneAddress()'s generated address 1 year ago
Alejandro Mery dfbb358187 jpictl: introduce `write` command rewriting all config files 1 year ago
Alejandro Mery 26c49dff72 jpictl: refactor zones loading 1 year ago
Alejandro Mery 2043708949 zones: Zones.WriteWireguardKeys() and Zone.WriteWireguardKeys() 1 year ago
Alejandro Mery 311ae572da zones: Zones.PruneWireguardConfig() 1 year ago
Alejandro Mery 4ca77b0ac0 zones: Zone.PruneWireguardConfig() 1 year ago
Alejandro Mery 1859c8e04b zones: inject trailing new lines on Machine.WriteWireguardKeys() 1 year ago
Alejandro Mery 202f2e6dfc jpictl: change `dump` to default to YAML output 1 year ago
Alejandro Mery 20484a5061 zones: change toml tags to match yaml and json output 1 year ago
Alejandro Mery 45b25c63d4 jpictl: refactor `dump` to support TOML, JSON and YAML 1 year ago
Alejandro Mery c0e2ae9bf1 zones: annotate Machine for JSON encoding 1 year ago
Alejandro Mery 080021b427 zones: annotate Machine for YAML encoding 1 year ago
Alejandro Mery 4514b44211 wireguard: implement MarshalYAML for PrivateKey and PublicKey 1 year ago
Alejandro Mery 49b82ace71 wireguard: implement MarshalJSON for PrivateKey and PublicKey 1 year ago
Alejandro Mery 2207e4a4a4 zones: fix New() to handle relative paths on hackpadfs 1 year ago
Alejandro Mery 7ca01aa1e4 zones: Machine.RemoveWireguardConfig() 1 year ago
Alejandro Mery 8b72667f4d zones: Machine.RemoveWireguardKeys() 1 year ago
Alejandro Mery 49694eb7cb zones: Machine.WriteWireguardKeys() 1 year ago
Alejandro Mery 15a98c05ec zones: Machine.WriteStringFile() 1 year ago
Alejandro Mery a005823d44 zones: Machine.CreateFile() and Machine.CreateTruncFile() 1 year ago
Alejandro Mery 7af8484acc zones: introduce Machine.OpenFile() 1 year ago
Alejandro Mery 0f1f1ce968 zones: introduce Machine.RemoveFile() 1 year ago
Alejandro Mery 5058f286c6 zones: switch to using hackpadfs/os.FS as the standard os.FS is incomplete 1 year ago
Alejandro Mery 86075eb47f zones: move Machine.ReadFile to a dedicated machine_file.go 1 year ago
Alejandro Mery c81b782b26 zones: Machine.IsGateway() 1 year ago
Alejandro Mery 0f62ee2e53 zones: rename Machine.RingAddresses to Machine.Rings 1 year ago
Alejandro Mery 30a7bceda3 wireguard: make KeyPairs solid 1 year ago