Commit Graph
13 Commits
Author SHA1 Message Date
rmcguire 63ef233357 add consolidated methods, update cli 2026-01-19 11:50:51 -05:00
rmcguire b4f49be2c6 add toughswitch consolidated type, and use in cmd 2026-01-19 11:45:16 -05:00
rmcguire 4964317b6b update changelog
Publish / release (push) Successful in 38s
2026-01-18 17:08:27 -05:00
rmcguire baf321ece0 update claude and readme 2026-01-18 17:06:55 -05:00
rmcguireandClaude Opus 4.5 5e8e7cd41d refactor CLI to use shared clients from context
- Add Login() method to toughswitch and edgeos clients
- Use zerolog's built-in context methods for logger storage
- Add context helpers for toughswitch/edgeos clients
- Create prepareClients prerun to initialize clients from config
- Consolidate device fetching into shared client.go helper

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-18 17:03:35 -05:00
rmcguire 868ab64bc9 fix config default flag 2026-01-17 17:10:58 -05:00
rmcguire edc86feccd frame out cli tool 2026-01-17 17:06:32 -05:00
rmcguire 38eb2cc352 Create CHANGELOG.md
Publish / release (push) Successful in 19s
2026-01-04 13:57:16 -05:00
rmcguire 1754eb6e84 Add thread-safe Add/Del methods and refactor client locking
- Add Add and Del methods to Client for dynamic host management.
- Add RWMutex to Client to protect the devices map.
- Add Transport to Config to allow mocking HTTP transport in tests.
- Add getDeviceByHost helper to centralize device lookup locking.
- Refactor GetAll* methods to snapshot host keys before iteration to avoid concurrent map read/write panic.
- Add tests for thread safety and Add/Del functionality.
2026-01-04 13:56:19 -05:00
rmcguire 906d005edf improves concurrent GetAll operations 2026-01-04 13:49:28 -05:00
rmcguire b12e8df35b fix CI
Publish / release (push) Successful in 43s
2026-01-04 13:32:09 -05:00
rmcguire 5657aa2308 add CI
Publish / release (push) Successful in 7s
2026-01-04 13:30:40 -05:00
rmcguire e0c0321bc9 Ubiquiti EdgeOS Go Client 2026-01-04 13:26:40 -05:00