...

Source file src/github.com/openshift/api/user/v1/zz_generated.deepcopy.go

Documentation: github.com/openshift/api/user/v1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Code generated by deepcopy-gen. DO NOT EDIT.
     5  
     6  package v1
     7  
     8  import (
     9  	runtime "k8s.io/apimachinery/pkg/runtime"
    10  )
    11  
    12  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    13  func (in *Group) DeepCopyInto(out *Group) {
    14  	*out = *in
    15  	out.TypeMeta = in.TypeMeta
    16  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    17  	if in.Users != nil {
    18  		in, out := &in.Users, &out.Users
    19  		*out = make(OptionalNames, len(*in))
    20  		copy(*out, *in)
    21  	}
    22  	return
    23  }
    24  
    25  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.
    26  func (in *Group) DeepCopy() *Group {
    27  	if in == nil {
    28  		return nil
    29  	}
    30  	out := new(Group)
    31  	in.DeepCopyInto(out)
    32  	return out
    33  }
    34  
    35  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    36  func (in *Group) DeepCopyObject() runtime.Object {
    37  	if c := in.DeepCopy(); c != nil {
    38  		return c
    39  	}
    40  	return nil
    41  }
    42  
    43  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    44  func (in *GroupList) DeepCopyInto(out *GroupList) {
    45  	*out = *in
    46  	out.TypeMeta = in.TypeMeta
    47  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    48  	if in.Items != nil {
    49  		in, out := &in.Items, &out.Items
    50  		*out = make([]Group, len(*in))
    51  		for i := range *in {
    52  			(*in)[i].DeepCopyInto(&(*out)[i])
    53  		}
    54  	}
    55  	return
    56  }
    57  
    58  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.
    59  func (in *GroupList) DeepCopy() *GroupList {
    60  	if in == nil {
    61  		return nil
    62  	}
    63  	out := new(GroupList)
    64  	in.DeepCopyInto(out)
    65  	return out
    66  }
    67  
    68  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    69  func (in *GroupList) DeepCopyObject() runtime.Object {
    70  	if c := in.DeepCopy(); c != nil {
    71  		return c
    72  	}
    73  	return nil
    74  }
    75  
    76  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    77  func (in *Identity) DeepCopyInto(out *Identity) {
    78  	*out = *in
    79  	out.TypeMeta = in.TypeMeta
    80  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    81  	out.User = in.User
    82  	if in.Extra != nil {
    83  		in, out := &in.Extra, &out.Extra
    84  		*out = make(map[string]string, len(*in))
    85  		for key, val := range *in {
    86  			(*out)[key] = val
    87  		}
    88  	}
    89  	return
    90  }
    91  
    92  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Identity.
    93  func (in *Identity) DeepCopy() *Identity {
    94  	if in == nil {
    95  		return nil
    96  	}
    97  	out := new(Identity)
    98  	in.DeepCopyInto(out)
    99  	return out
   100  }
   101  
   102  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   103  func (in *Identity) DeepCopyObject() runtime.Object {
   104  	if c := in.DeepCopy(); c != nil {
   105  		return c
   106  	}
   107  	return nil
   108  }
   109  
   110  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   111  func (in *IdentityList) DeepCopyInto(out *IdentityList) {
   112  	*out = *in
   113  	out.TypeMeta = in.TypeMeta
   114  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   115  	if in.Items != nil {
   116  		in, out := &in.Items, &out.Items
   117  		*out = make([]Identity, len(*in))
   118  		for i := range *in {
   119  			(*in)[i].DeepCopyInto(&(*out)[i])
   120  		}
   121  	}
   122  	return
   123  }
   124  
   125  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityList.
   126  func (in *IdentityList) DeepCopy() *IdentityList {
   127  	if in == nil {
   128  		return nil
   129  	}
   130  	out := new(IdentityList)
   131  	in.DeepCopyInto(out)
   132  	return out
   133  }
   134  
   135  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   136  func (in *IdentityList) DeepCopyObject() runtime.Object {
   137  	if c := in.DeepCopy(); c != nil {
   138  		return c
   139  	}
   140  	return nil
   141  }
   142  
   143  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   144  func (in OptionalNames) DeepCopyInto(out *OptionalNames) {
   145  	{
   146  		in := &in
   147  		*out = make(OptionalNames, len(*in))
   148  		copy(*out, *in)
   149  		return
   150  	}
   151  }
   152  
   153  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalNames.
   154  func (in OptionalNames) DeepCopy() OptionalNames {
   155  	if in == nil {
   156  		return nil
   157  	}
   158  	out := new(OptionalNames)
   159  	in.DeepCopyInto(out)
   160  	return *out
   161  }
   162  
   163  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   164  func (in *User) DeepCopyInto(out *User) {
   165  	*out = *in
   166  	out.TypeMeta = in.TypeMeta
   167  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   168  	if in.Identities != nil {
   169  		in, out := &in.Identities, &out.Identities
   170  		*out = make([]string, len(*in))
   171  		copy(*out, *in)
   172  	}
   173  	if in.Groups != nil {
   174  		in, out := &in.Groups, &out.Groups
   175  		*out = make([]string, len(*in))
   176  		copy(*out, *in)
   177  	}
   178  	return
   179  }
   180  
   181  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
   182  func (in *User) DeepCopy() *User {
   183  	if in == nil {
   184  		return nil
   185  	}
   186  	out := new(User)
   187  	in.DeepCopyInto(out)
   188  	return out
   189  }
   190  
   191  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   192  func (in *User) DeepCopyObject() runtime.Object {
   193  	if c := in.DeepCopy(); c != nil {
   194  		return c
   195  	}
   196  	return nil
   197  }
   198  
   199  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   200  func (in *UserIdentityMapping) DeepCopyInto(out *UserIdentityMapping) {
   201  	*out = *in
   202  	out.TypeMeta = in.TypeMeta
   203  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   204  	out.Identity = in.Identity
   205  	out.User = in.User
   206  	return
   207  }
   208  
   209  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserIdentityMapping.
   210  func (in *UserIdentityMapping) DeepCopy() *UserIdentityMapping {
   211  	if in == nil {
   212  		return nil
   213  	}
   214  	out := new(UserIdentityMapping)
   215  	in.DeepCopyInto(out)
   216  	return out
   217  }
   218  
   219  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   220  func (in *UserIdentityMapping) DeepCopyObject() runtime.Object {
   221  	if c := in.DeepCopy(); c != nil {
   222  		return c
   223  	}
   224  	return nil
   225  }
   226  
   227  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   228  func (in *UserList) DeepCopyInto(out *UserList) {
   229  	*out = *in
   230  	out.TypeMeta = in.TypeMeta
   231  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   232  	if in.Items != nil {
   233  		in, out := &in.Items, &out.Items
   234  		*out = make([]User, len(*in))
   235  		for i := range *in {
   236  			(*in)[i].DeepCopyInto(&(*out)[i])
   237  		}
   238  	}
   239  	return
   240  }
   241  
   242  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
   243  func (in *UserList) DeepCopy() *UserList {
   244  	if in == nil {
   245  		return nil
   246  	}
   247  	out := new(UserList)
   248  	in.DeepCopyInto(out)
   249  	return out
   250  }
   251  
   252  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   253  func (in *UserList) DeepCopyObject() runtime.Object {
   254  	if c := in.DeepCopy(); c != nil {
   255  		return c
   256  	}
   257  	return nil
   258  }
   259  

View as plain text