Commit graph

51 commits

Author SHA1 Message Date
97a569dd7a
collect: return collection output from CollectInventory() 2025-03-13 10:15:25 -06:00
81116ec616
refactor: moved internal functions to pkg and updated refs 2025-03-13 10:15:25 -06:00
David Allen
90c394e245
cmd: exported commands for external use 2025-03-13 10:15:24 -06:00
David Allen
4597f63d12
Fixed issue with host string and added internal url package 2024-08-14 10:57:30 -06:00
David Allen
15de7c16c0
Fixed viper flag binding in collect cmd 2024-08-13 13:40:26 -06:00
David Allen
81ec43a923
Minor changes to fix lint errors 2024-08-13 10:41:06 -06:00
David Allen
dce823c6d8
Added URL sanitization for SMD host and moved auth from util 2024-08-12 13:04:52 -06:00
f7159c9b66
Fixed issue with collect requests and other minor changes 2024-08-11 14:25:21 -06:00
David Allen
8a2541717d
Added flag to show cache info with list command and other minor changes 2024-08-09 07:42:28 -06:00
David Allen
2c841906b2
Updated 'cmd' package 2024-08-07 10:58:03 -06:00
David Allen
b27e6b6a73
Renamed vars and switched to use zerolog 2024-07-30 14:02:12 -06:00
David Allen
d73575ab05
Fixed imports and removed unused query params 2024-07-24 10:24:12 -06:00
David Allen
f7b08da064
Added more API documentation 2024-07-23 16:18:21 -06:00
David Allen
c537e496da
Fixed issue with required param 2024-07-22 14:20:06 -06:00
David Allen
1ab5c8a7df
Added initial round of comments for API documentation 2024-07-18 18:18:03 -06:00
David Allen
796a67d5ab
Tidied up CLI flag names 2024-07-17 15:42:00 -06:00
David Allen
472735fb9d
Added an error catch for CollectAll in cmd 2024-05-16 15:41:07 -06:00
David J. Allen
f4540ea4ce
Changed db.path flag to cache 2024-05-10 14:54:34 -06:00
David J. Allen
ac86a12ce0
Made user and pass flags required together 2024-05-10 13:52:00 -06:00
David J. Allen
886a5d4d82
Fixed default output path for flag 2024-05-10 13:46:51 -06:00
David J. Allen
9663b677ba
Removed and updated flags 2024-05-10 10:09:37 -06:00
David J. Allen
b6d429f072
Changed the default storage location for scanning cache 2024-05-09 14:53:44 -06:00
David J. Allen
0403b2bcbc
Changed the wording of error messages slightly 2024-05-08 13:39:51 -06:00
David J. Allen
60770dadc0
Removed GET request in collect and minor changes 2024-05-08 12:48:02 -06:00
David J. Allen
e91460528b
Added access token to params passed to CollectAll func 2024-05-07 16:57:11 -06:00
David J. Allen
b873613939
Minor changes and fixes 2024-05-07 16:51:07 -06:00
David J. Allen
6bf9035d96
Fixed cert flags 2024-05-07 15:51:51 -06:00
David J. Allen
2b421e8af5
Merge branch 'main' into config-file 2024-05-07 14:57:34 -06:00
David J. Allen
b5c0d9ce2a
Changed cert flags and added cert for gofish 2024-05-06 14:01:29 -06:00
David J. Allen
09c5af44b9
Added checks for access token when running command 2024-03-15 17:43:25 -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
David J. Allen
8c4439ea81 Renamed functions in collect.go 2023-10-16 13:48:55 -06:00
David J. Allen
d5e8ed5e99 Set force-update to false by default 2023-10-12 14:03:26 -06:00
David J. Allen
d8bd169cb7 Added protocol flag 2023-10-05 12:55:58 -06:00
David J. Allen
54dde2dda6 Added ability to update endpoint when conflicting with existing + processor info
Signed-off-by: David J. Allen <allend@lanl.gov>
2023-09-28 14:46:21 -06:00
David J. Allen
5acccf9355 Added ability to store output of collect command 2023-09-19 13:57:47 -06:00
David Allen
4c45afce8d
Merge branch 'main' into alt-releaser 2023-09-15 08:48:18 -06:00
b3368e5264 Fixed formatting via gofmt
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-15 08:32:41 -06:00
Alex Lovell-Troy
d649697859
Merge branch 'main' into alt-releaser 2023-09-14 17:11:18 -04:00
8faa570b0a Minor tweaks, changes, and fixes
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-14 13:41:12 -06:00
Alex Lovell-Troy
3351de48a6 inital release refactor 2023-09-14 15:10:08 -04:00
34367f830a Minor tweaks and updated README.md 2023-09-14 09:44:12 -06:00
4de7803167 Fixed invalid xnames
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-13 15:43:05 -06:00
63a8e2a058 Fix negative waitgroup error
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-13 11:43:35 -06:00
David J. Allen
c5a6d2a2be Add goroutine to info collect
Signed-off-by: David J. Allen <allend@lanl.gov>
2023-09-13 11:21:49 -06: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
de07b119b5 Test ipmi driver with bmclib functions 2023-08-31 08:48:33 -06:00
David J. Allen
118c12fa14 Minor changes and fixes 2023-08-30 14:43:13 -06:00