1
0
mirror of https://github.com/rancher/types.git synced 2025-07-19 15:56:26 +00:00

add principalType to search

This commit is contained in:
Craig Jellick 2018-02-12 11:40:05 -07:00
parent acf064f845
commit 6b82e1714d

View File

@ -64,7 +64,8 @@ type Principal struct {
}
type SearchPrincipalsInput struct {
Name string `json:"name" norman:"type=string,required,notnullable"`
Name string `json:"name" norman:"type=string,required,notnullable"`
PrincipalType string `json:"principalType,omitempty" norman:"type=enum,options=user|group"`
}
type ChangePasswordInput struct {