func autoConvert_v1_SubjectRulesReviewSpec_To_api_SubjectRulesReviewSpec(in *SubjectRulesReviewSpec, out *api.SubjectRulesReviewSpec, s conversion.Scope) error { out.User = in.User out.Groups = in.Groups if in.Scopes != nil { in, out := &in.Scopes, &out.Scopes *out = make([]string, len(*in)) copy(*out, *in) } else { out.Scopes = nil } return nil }
func autoConvert_v1_SubjectRulesReviewSpec_To_api_SubjectRulesReviewSpec(in *SubjectRulesReviewSpec, out *api.SubjectRulesReviewSpec, s conversion.Scope) error { out.User = in.User out.Groups = *(*[]string)(unsafe.Pointer(&in.Groups)) out.Scopes = *(*[]string)(unsafe.Pointer(&in.Scopes)) return nil }