Joseph and Claude Opus 4.6
3c49bbec75
Add dynamic resource autocompletion to Velero CLI
...
Register cobra completion callbacks for all commands that accept
existing Velero resource names. A centralized completeNames helper
uses apimachinery's meta.ExtractList/Accessor to list resources with
a 3-second timeout, filter by prefix, and deduplicate already-typed
arguments. Wires ValidArgsFunction on 20 commands and
RegisterFlagCompletionFunc on 9 flags across backup, restore,
schedule, backuplocation, snapshotlocation, repo, and debug.
Closes #9782
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Signed-off-by: Joseph <jvaikath@redhat.com >
2026-08-05 08:17:44 -07:00
..
2026-07-29 15:55:51 +08:00
2026-05-22 07:38:02 +00:00
2021-02-16 12:36:17 -05:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2026-07-16 15:12:03 -07:00
2025-02-28 17:06:18 +08:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2026-08-04 10:47:21 -04:00
2026-07-24 14:55:43 -07:00
2026-07-27 16:36:55 -04:00
2026-08-05 08:17:44 -07:00
2025-12-09 04:57:30 -05:00
2026-01-14 17:45:01 +08:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2025-12-09 04:57:30 -05:00
2020-12-09 09:32:34 -08:00
2025-04-07 09:08:41 -04:00
2023-03-08 10:32:44 +08:00
2026-05-22 07:38:02 +00:00
2026-08-04 10:47:21 -04:00
2026-07-24 16:03:51 -04:00
2026-08-03 16:36:55 +08:00
2023-06-21 19:14:29 +08:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2023-04-06 18:11:55 +08:00
2026-05-22 07:38:02 +00:00
2026-05-06 16:30:36 +08:00
2020-08-28 14:06:11 -04:00
2025-12-09 04:57:30 -05:00
2025-12-09 04:57:30 -05:00
2022-11-01 18:11:21 +08:00
2021-02-16 12:36:17 -05:00
2026-05-22 07:38:02 +00:00
2026-07-16 15:12:03 -07:00
2026-07-22 10:56:39 -07:00
2025-12-12 21:07:37 +07:00
2023-10-10 13:56:50 +08:00
2026-05-22 07:38:02 +00:00
2024-04-15 16:32:12 -04:00
2026-07-16 15:12:03 -07:00
2026-08-05 08:13:59 -07:00
2024-04-17 09:37:04 +05:30
2026-07-10 10:29:30 +01:00
2026-08-03 13:19:48 -07:00
2021-02-01 09:52:04 -05:00
2026-07-16 15:12:03 -07:00
2026-05-22 07:38:02 +00:00
2023-07-21 17:25:24 -04:00
2026-07-22 10:56:39 -07:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2026-05-22 07:38:02 +00:00
2024-04-01 19:18:56 +08:00
2026-05-22 07:38:02 +00:00
2025-08-06 01:36:22 -04:00
2026-06-10 09:39:33 -07:00
2021-02-24 08:01:35 -05:00