func DeepCopy_api_PodSecurityPolicyReviewSpec(in PodSecurityPolicyReviewSpec, out *PodSecurityPolicyReviewSpec, c *conversion.Cloner) error { if err := api.DeepCopy_api_PodSpec(in.PodSpec, &out.PodSpec, c); err != nil { return err } if in.ServiceAccountNames != nil { in, out := in.ServiceAccountNames, &out.ServiceAccountNames *out = make([]string, len(in)) copy(*out, in) } else { out.ServiceAccountNames = nil } return nil }
func DeepCopy_api_PodSecurityPolicySubjectReviewSpec(in PodSecurityPolicySubjectReviewSpec, out *PodSecurityPolicySubjectReviewSpec, c *conversion.Cloner) error { if err := api.DeepCopy_api_PodSpec(in.PodSpec, &out.PodSpec, c); err != nil { return err } out.User = in.User if in.Groups != nil { in, out := in.Groups, &out.Groups *out = make([]string, len(in)) copy(*out, in) } else { out.Groups = nil } return nil }
func DeepCopy_api_PodSecurityPolicySubjectReviewStatus(in PodSecurityPolicySubjectReviewStatus, out *PodSecurityPolicySubjectReviewStatus, c *conversion.Cloner) error { if in.AllowedBy != nil { in, out := in.AllowedBy, &out.AllowedBy *out = new(api.ObjectReference) if err := api.DeepCopy_api_ObjectReference(*in, *out, c); err != nil { return err } } else { out.AllowedBy = nil } out.Reason = in.Reason if err := api.DeepCopy_api_PodSpec(in.PodSpec, &out.PodSpec, c); err != nil { return err } return nil }
func DeepCopy_api_PodSecurityPolicySelfSubjectReviewSpec(in PodSecurityPolicySelfSubjectReviewSpec, out *PodSecurityPolicySelfSubjectReviewSpec, c *conversion.Cloner) error { if err := api.DeepCopy_api_PodSpec(in.PodSpec, &out.PodSpec, c); err != nil { return err } return nil }