1
0
mirror of https://github.com/rancher/types.git synced 2025-04-28 02:30:07 +00:00

Generated changes

This commit is contained in:
rajashree 2020-05-18 14:12:21 -07:00
parent 84e14a918e
commit e91aac4ad5
2 changed files with 3 additions and 0 deletions

View File

@ -10063,6 +10063,7 @@ func (in *UserAttribute) DeepCopyInto(out *UserAttribute) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.UserPrincipal.DeepCopyInto(&out.UserPrincipal)
if in.GroupPrincipals != nil {
in, out := &in.GroupPrincipals, &out.GroupPrincipals
*out = make(map[string]Principals, len(*in))

View File

@ -14,6 +14,7 @@ const (
UserAttributeFieldRemoved = "removed"
UserAttributeFieldUUID = "uuid"
UserAttributeFieldUserName = "userName"
UserAttributeFieldUserPrincipal = "userPrincipal"
)
type UserAttribute struct {
@ -29,4 +30,5 @@ type UserAttribute struct {
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
UserName string `json:"userName,omitempty" yaml:"userName,omitempty"`
UserPrincipal *Principal `json:"userPrincipal,omitempty" yaml:"userPrincipal,omitempty"`
}