Remove unused conditions

[ZITADOPER-1]
This commit is contained in:
Haim Kortovich
2024-05-20 18:20:44 -05:00
parent 93944df40b
commit 7be04edf59
3 changed files with 30 additions and 67 deletions

View File

@@ -195,7 +195,7 @@ func (in *MachineUser) DeepCopyInto(out *MachineUser) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
out.Spec = in.Spec
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
@@ -253,6 +253,13 @@ func (in *MachineUserList) DeepCopyObject() runtime.Object {
func (in *MachineUserSpec) DeepCopyInto(out *MachineUserSpec) {
*out = *in
out.OrganizationRef = in.OrganizationRef
if in.UserGrants != nil {
in, out := &in.UserGrants, &out.UserGrants
*out = make([]UserGrant, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineUserSpec.
@@ -713,6 +720,27 @@ func (in *SMTPConfig) DeepCopy() *SMTPConfig {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UserGrant) DeepCopyInto(out *UserGrant) {
*out = *in
out.ProjectRef = in.ProjectRef
if in.RoleKeys != nil {
in, out := &in.RoleKeys, &out.RoleKeys
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserGrant.
func (in *UserGrant) DeepCopy() *UserGrant {
if in == nil {
return nil
}
out := new(UserGrant)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ZitadelCluster) DeepCopyInto(out *ZitadelCluster) {
*out = *in