mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #234] [MERGED] Feature: Group #330
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#330
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/234
Author: @Tinyblargon
Created: 2/9/2023
Status: ✅ Merged
Merged: 2/9/2023
Merged by: @mleone87
Base:
master← Head:Feature-Group📝 Commits (10+)
909d635feat: allow test to take struct as input185214dstyle: fixed typos0fc06bffeat: List Groupsff70758feat: allow for seting a base valuedd9eb9dfeat: Get Group59d42eetest: Fix test09e6966feat: Delete Group53967fcrefactor: make test data reusableb41fb57feat: Set Groupdaf13c5feat: Add toggle for user list command📊 Changes
48 files changed (+2944 additions, -455 deletions)
View changed files
📝
cli/command/commands/commands.go(+2 -0)➕
cli/command/delete/delete-group.go(+18 -0)📝
cli/command/delete/delete.go(+2 -0)➕
cli/command/get/get-group.go(+18 -0)📝
cli/command/get/get.go(+2 -0)➕
cli/command/list/list-groups.go(+33 -0)📝
cli/command/list/list-users.go(+19 -2)📝
cli/command/list/list.go(+0 -3)➕
cli/command/member/group/add-users.go(+31 -0)➕
cli/command/member/group/clear-users.go(+26 -0)➕
cli/command/member/group/group.go(+16 -0)➕
cli/command/member/group/remove-users.go(+31 -0)➕
cli/command/member/group/set-users.go(+36 -0)➕
cli/command/member/member.go(+16 -0)➕
cli/command/set/set-group.go(+51 -0)📝
main.go(+1 -1)➕
proxmox/config_group.go(+412 -0)➕
proxmox/config_group_test.go(+614 -0)📝
proxmox/config_user.go(+168 -41)📝
proxmox/config_user_test.go(+417 -49)...and 28 more files
📄 Description
Work done for this feature:
Validatefunctions for ever custom type. (these are meant for the custom validator functions in the Terraform provider)ListUsers()function intolistUsersPartial()andlistUsersFull()as not every fuction usingListUsers()needed the full informationtest/datafolder to contain data needed for testingImproved the standard cli test.
InputJsonandOutputJsonsettingsRan all unit and integration tests and they completed successfully.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.