Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserInfo ¶
type UserInfo struct { Name string `json:"name,omitempty"` Group []string `json:"group,omitempty"` // RequestUser is the --as user RequestUser string `json:"requestUser,omitempty"` // RequestGroups is the --as-group list RequestGroups []string `json:"requestGroups,omitempty"` }
func GetUserInfo ¶
Click to show internal directories.
Click to hide internal directories.