users: new package for internal User and Group types
New types that represent a User or Group for internal representation. These are meant to be used as intermediate representations between API or Blueprint user customizations and the final OSBuild stage options.
This commit is contained in:
parent
6dafa36fc7
commit
e8c242db81
1 changed files with 18 additions and 0 deletions
18
internal/users/users.go
Normal file
18
internal/users/users.go
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package users
|
||||
|
||||
type User struct {
|
||||
Name string
|
||||
Description *string
|
||||
Password *string
|
||||
Key *string
|
||||
Home *string
|
||||
Shell *string
|
||||
Groups []string
|
||||
UID *int
|
||||
GID *int
|
||||
}
|
||||
|
||||
type Group struct {
|
||||
Name string
|
||||
GID *int
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue