Commit graph

31 commits

Author SHA1 Message Date
227961090e
chore: updated go deps 2025-07-10 20:56:05 -06:00
3bae20832f
chore: updated go deps 2025-07-10 20:56:04 -06:00
12969adf25
Add support for storage command and crawler output
Partially addresses issue #3 by adding a simple `magellan list devices` command to list storage devices. To close the issue, this PR still requires including storage device information in the `crawler`'s output.

Reviewed-on: towk/magellan-ng#5
2025-07-10 20:56:02 -06:00
6deb292494
chore: update references and imports 2025-07-10 20:54:30 -06:00
8de7c40b7c
go.mod: updated module name 2025-07-10 20:54:24 -06:00
David Allen
04e1fb26c9
Split the collect Command For Customization (#93)
* feat: initial implementation of command split

* feat: update collect and new send cmd

* chore: cleanup unused code

* chore: refactored getting username

* chore: more refactoring and cleanup

* feat: update send cmd implementation

* chore: changed/updated example config

* chore: made cmd more consistent and added formatting

* refactor: removed --host flag from scan

* chore: cleaned up and fixed issue with client

* chore: cleaned up CLI flags in collect cmd

* feat: updated crawl to include managers and output YAML optionally

* refactor: updated and improved send implementation

* refactor: minor improvements

* refactor: added util func to check for empty slices

* fix: issue with reading from stdin

* refactor: added scheme trimming function for URIs

* refactor: changed host arg back to positional

* refactor: removed unused vars and added --output-dir flag

* fix: make -f for secrets persistent

* refactor: removed --host flag and request in collect

* refactor: changed --output flag to --output-file

* fix: updated flags for collect

* fix: typo in crawler error

* fix: dir being created when outputDir not set

* fix: reading stdin and data args

* fix: made output using -v and -o consistent

* readme: added info about command split

* updated changelog adding missing version entries

* chore: updated example to use host as positional arg

* fix: issue with reading --data arg

* fix: remove unused import from collect pkg

Signed-off-by: Devon Bautista <devonb@lanl.gov>

---------

Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
Signed-off-by: Devon Bautista <devonb@lanl.gov>
Co-authored-by: Devon Bautista <devonb@lanl.gov>
2025-05-29 15:15:46 -04:00
73c3323cc8
chore: updated go deps 2025-03-17 10:37:18 -06:00
Alex Lovell-Troy
8bb8e4a49a
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management 2025-03-13 10:56:12 -06:00
David Allen
a270d68e4b
chore: fix critical dependabot issues by updating crypto 2025-03-13 10:51:12 -06:00
Alex Lovell-Troy
853e27c312
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management 2025-03-13 10:50:32 -06:00
Alex Lovell-Troy
b77f9a8c9c
chore: update golang.org/x/crypto and golang.org/x/sys dependencies to latest versions 2025-02-07 11:10:10 -05:00
David Allen
c07ea3c8eb
Updated go deps 2024-09-26 10:26:47 -06:00
David Allen
4444a1d299
Updated go deps 2024-08-14 10:56:20 -06:00
David Allen
0c30d4dc3a
Merge branch 'main' into refactor
Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
2024-08-07 11:14:06 -06:00
f3162e7e77
Updated go dependencies removing bmclib 2024-07-31 09:21:56 -06:00
David Allen
e19d0b2d7c
Updated go dependencies 2024-07-30 14:02:27 -06:00
Alex Lovell-Troy
10eabf2844
Updating dependencies 2024-07-17 17:58:06 -04:00
Alex Lovell-Troy
ab346f7592
Addressing x/net dependabot issue 2024-07-17 17:27:02 -04:00
Alex Lovell-Troy
e6325719f4
Update crawler to better handle odd Redfish implementations 2024-06-28 06:17:22 +02:00
David J. Allen
ef82a5c45d
Updated go files 2024-05-09 15:47:18 -06:00
David J. Allen
922703ca5b
Updated go files 2024-05-07 15:51:27 -06:00
David J. Allen
2b421e8af5
Merge branch 'main' into config-file 2024-05-07 14:57:34 -06:00
David J. Allen
6b6b694f42
Added auth-related dependencies 2024-03-15 17:20:50 -06:00
Alex Lovell-Troy
cccf0dfdf2 move to OpenCHAMI and update changelog 2023-11-03 09:47:57 -04:00
David J. Allen
955c9fb4bd Change import to use new repo 2023-10-31 07:55:03 -06:00
David J. Allen
2baae37f5f Initial implementation of config file 2023-10-19 17:08:36 -06:00
Alex Lovell-Troy
3351de48a6 inital release refactor 2023-09-14 15:10:08 -04:00
David J. Allen
2edb9fdbb0 Refactored flags and added xnames to add endpoint to hms-smd 2023-09-05 14:26:53 -06:00
David J. Allen
c202469c50 Reorganized adding cobra commands 2023-08-29 14:36:57 -06:00
David J. Allen
25a885b18c Updated to bmclib/v2 and fix API querying issue 2023-08-28 10:57:32 -06:00
David J. Allen
b6fe201f66 Initial commit 2023-08-28 08:42:26 -06:00