Skip to content

Feat/vmbda reattach#18

Merged
fastrapier merged 2 commits into
mainfrom
feat/vmbda-reattach
May 14, 2026
Merged

Feat/vmbda reattach#18
fastrapier merged 2 commits into
mainfrom
feat/vmbda-reattach

Conversation

@fastrapier
Copy link
Copy Markdown
Member

This pull request introduces a new, validated API for reattaching existing virtual disks to virtual machines, standardizes naming to Go conventions, and updates documentation to reflect these changes. The main focus is on making the disk reattachment process clearer, safer, and better documented for both developers and users.

Virtual disk reattachment improvements

  • Added a new ReattachVirtualDiskToVM function in pkg/kubernetes/virtualdisk.go that allows attaching an existing VirtualDisk to a VM using explicit resource names. This function uses a new VirtualDiskReattachmentConfig struct for input validation, ensuring all required fields are provided before proceeding.
  • Updated the function name to follow Go initialism conventions (ReattachVirtualDiskToVM), improving API consistency.

Documentation updates

  • Documented the new ReattachVirtualDiskToVM function and its configuration struct in docs/FUNCTIONS_GLOSSARY.md, making it easier for users to discover and use the new API.
  • Added a worklog entry in docs/WORKLOG.md summarizing the API addition, normalization, and documentation sync.

@fastrapier fastrapier merged commit 0190e0b into main May 14, 2026
1 check passed
@fastrapier fastrapier deleted the feat/vmbda-reattach branch May 14, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants