mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[PR #398] [MERGED] feat: ssh AuthorizedKey type #439
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#439
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/398
Author: @Tinyblargon
Created: 1/28/2025
Status: ✅ Merged
Merged: 1/28/2025
Merged by: @Tinyblargon
Base:
master← Head:#396📝 Commits (1)
d5b1279feat: sshAuthorizedKeytype📊 Changes
9 files changed (+461 additions, -107 deletions)
View changed files
📝
go.mod(+2 -0)📝
go.sum(+6 -0)📝
proxmox/config_qemu_cloudinit.go(+1 -37)📝
proxmox/config_qemu_cloudinit_test.go(+0 -36)📝
proxmox/config_qemu_test.go(+38 -16)➕
proxmox/type_authorizedkey.go(+114 -0)➕
proxmox/type_authorizedkey_test.go(+254 -0)📝
proxmox/util.go(+8 -0)📝
test/data/test_data_qemu/type_PublicKey.go(+38 -18)📄 Description
Add a proper type for SSH authorized keys.
Extract the SSH code from the cloud-init code as it will be reused by LXC.
Increase test coverage.
Custom JSON parser to allow for OpenSSH authorized keys.
All added dependencies are from the
golang.org/xpackages.Closes #396
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
EncodedVersion#474