feat(batchops): extend batch capabilities #1141
Draft
bannert1337 wants to merge 7 commits intohetznercloud:mainfrom
Draft
feat(batchops): extend batch capabilities #1141bannert1337 wants to merge 7 commits intohetznercloud:mainfrom
bannert1337 wants to merge 7 commits intohetznercloud:mainfrom
Conversation
…sources Add support for processing multiple resources in parallel when adding labels, improving efficiency for bulk operations. Includes batch fetching, validation, and result display with error handling. Uses configurable batch size and goroutines for concurrent processing.
Implement FetchBatch and SetLabelsBatch functions to enable concurrent fetching and updating of labels for multiple load balancers using goroutines, improving performance for bulk operations. This extends the existing label command functionality to support batch processing.
Add FetchBatch and SetLabelsBatch functions to the server label commands, enabling concurrent batch operations for fetching and updating labels on multiple servers using goroutines for improved performance.
Contributor
|
This PR has been marked as stale because it has not had recent activity. The bot will close the PR if no further action occurs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commands suitable for batch processing:
Server:
server poweroffserver poweronserver rebootserver resetserver shutdownserver add-labelserver remove-labelserver change-typeserver create-imageserver enable-backupserver disable-backupserver enable-protectionserver disable-protectionserver attach-to-networkserver detach-from-networkserver add-to-placement-groupserver remove-from-placement-groupFirewall:
firewall deletefirewall add-labelfirewall remove-labelfirewall apply-to-resourcefirewall remove-from-resourceVolume:
volume deletevolume add-labelvolume remove-labelvolume enable-protectionvolume disable-protectionFloating IP:
floating-ip deletefloating-ip add-labelfloating-ip remove-labelfloating-ip enable-protectionfloating-ip disable-protectionNetwork:
network deletenetwork add-labelnetwork remove-labelnetwork enable-protectionnetwork disable-protectionPlacement Group:
placement-group deleteplacement-group add-labelplacement-group remove-labelPrimary IP:
primary-ip deleteprimary-ip add-labelprimary-ip remove-labelprimary-ip enable-protectionprimary-ip disable-protectionCloses #1111