...

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

Documentation: github.com/openshift/api/security/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  	corev1 "k8s.io/api/core/v1"
    10  	runtime "k8s.io/apimachinery/pkg/runtime"
    11  )
    12  
    13  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    14  func (in *AllowedFlexVolume) DeepCopyInto(out *AllowedFlexVolume) {
    15  	*out = *in
    16  	return
    17  }
    18  
    19  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedFlexVolume.
    20  func (in *AllowedFlexVolume) DeepCopy() *AllowedFlexVolume {
    21  	if in == nil {
    22  		return nil
    23  	}
    24  	out := new(AllowedFlexVolume)
    25  	in.DeepCopyInto(out)
    26  	return out
    27  }
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) {
    31  	*out = *in
    32  	if in.Ranges != nil {
    33  		in, out := &in.Ranges, &out.Ranges
    34  		*out = make([]IDRange, len(*in))
    35  		copy(*out, *in)
    36  	}
    37  	return
    38  }
    39  
    40  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions.
    41  func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions {
    42  	if in == nil {
    43  		return nil
    44  	}
    45  	out := new(FSGroupStrategyOptions)
    46  	in.DeepCopyInto(out)
    47  	return out
    48  }
    49  
    50  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    51  func (in *IDRange) DeepCopyInto(out *IDRange) {
    52  	*out = *in
    53  	return
    54  }
    55  
    56  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDRange.
    57  func (in *IDRange) DeepCopy() *IDRange {
    58  	if in == nil {
    59  		return nil
    60  	}
    61  	out := new(IDRange)
    62  	in.DeepCopyInto(out)
    63  	return out
    64  }
    65  
    66  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    67  func (in *PodSecurityPolicyReview) DeepCopyInto(out *PodSecurityPolicyReview) {
    68  	*out = *in
    69  	out.TypeMeta = in.TypeMeta
    70  	in.Spec.DeepCopyInto(&out.Spec)
    71  	in.Status.DeepCopyInto(&out.Status)
    72  	return
    73  }
    74  
    75  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyReview.
    76  func (in *PodSecurityPolicyReview) DeepCopy() *PodSecurityPolicyReview {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(PodSecurityPolicyReview)
    81  	in.DeepCopyInto(out)
    82  	return out
    83  }
    84  
    85  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    86  func (in *PodSecurityPolicyReview) DeepCopyObject() runtime.Object {
    87  	if c := in.DeepCopy(); c != nil {
    88  		return c
    89  	}
    90  	return nil
    91  }
    92  
    93  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    94  func (in *PodSecurityPolicyReviewSpec) DeepCopyInto(out *PodSecurityPolicyReviewSpec) {
    95  	*out = *in
    96  	in.Template.DeepCopyInto(&out.Template)
    97  	if in.ServiceAccountNames != nil {
    98  		in, out := &in.ServiceAccountNames, &out.ServiceAccountNames
    99  		*out = make([]string, len(*in))
   100  		copy(*out, *in)
   101  	}
   102  	return
   103  }
   104  
   105  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyReviewSpec.
   106  func (in *PodSecurityPolicyReviewSpec) DeepCopy() *PodSecurityPolicyReviewSpec {
   107  	if in == nil {
   108  		return nil
   109  	}
   110  	out := new(PodSecurityPolicyReviewSpec)
   111  	in.DeepCopyInto(out)
   112  	return out
   113  }
   114  
   115  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   116  func (in *PodSecurityPolicyReviewStatus) DeepCopyInto(out *PodSecurityPolicyReviewStatus) {
   117  	*out = *in
   118  	if in.AllowedServiceAccounts != nil {
   119  		in, out := &in.AllowedServiceAccounts, &out.AllowedServiceAccounts
   120  		*out = make([]ServiceAccountPodSecurityPolicyReviewStatus, len(*in))
   121  		for i := range *in {
   122  			(*in)[i].DeepCopyInto(&(*out)[i])
   123  		}
   124  	}
   125  	return
   126  }
   127  
   128  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyReviewStatus.
   129  func (in *PodSecurityPolicyReviewStatus) DeepCopy() *PodSecurityPolicyReviewStatus {
   130  	if in == nil {
   131  		return nil
   132  	}
   133  	out := new(PodSecurityPolicyReviewStatus)
   134  	in.DeepCopyInto(out)
   135  	return out
   136  }
   137  
   138  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   139  func (in *PodSecurityPolicySelfSubjectReview) DeepCopyInto(out *PodSecurityPolicySelfSubjectReview) {
   140  	*out = *in
   141  	out.TypeMeta = in.TypeMeta
   142  	in.Spec.DeepCopyInto(&out.Spec)
   143  	in.Status.DeepCopyInto(&out.Status)
   144  	return
   145  }
   146  
   147  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySelfSubjectReview.
   148  func (in *PodSecurityPolicySelfSubjectReview) DeepCopy() *PodSecurityPolicySelfSubjectReview {
   149  	if in == nil {
   150  		return nil
   151  	}
   152  	out := new(PodSecurityPolicySelfSubjectReview)
   153  	in.DeepCopyInto(out)
   154  	return out
   155  }
   156  
   157  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   158  func (in *PodSecurityPolicySelfSubjectReview) DeepCopyObject() runtime.Object {
   159  	if c := in.DeepCopy(); c != nil {
   160  		return c
   161  	}
   162  	return nil
   163  }
   164  
   165  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   166  func (in *PodSecurityPolicySelfSubjectReviewSpec) DeepCopyInto(out *PodSecurityPolicySelfSubjectReviewSpec) {
   167  	*out = *in
   168  	in.Template.DeepCopyInto(&out.Template)
   169  	return
   170  }
   171  
   172  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySelfSubjectReviewSpec.
   173  func (in *PodSecurityPolicySelfSubjectReviewSpec) DeepCopy() *PodSecurityPolicySelfSubjectReviewSpec {
   174  	if in == nil {
   175  		return nil
   176  	}
   177  	out := new(PodSecurityPolicySelfSubjectReviewSpec)
   178  	in.DeepCopyInto(out)
   179  	return out
   180  }
   181  
   182  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   183  func (in *PodSecurityPolicySubjectReview) DeepCopyInto(out *PodSecurityPolicySubjectReview) {
   184  	*out = *in
   185  	out.TypeMeta = in.TypeMeta
   186  	in.Spec.DeepCopyInto(&out.Spec)
   187  	in.Status.DeepCopyInto(&out.Status)
   188  	return
   189  }
   190  
   191  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySubjectReview.
   192  func (in *PodSecurityPolicySubjectReview) DeepCopy() *PodSecurityPolicySubjectReview {
   193  	if in == nil {
   194  		return nil
   195  	}
   196  	out := new(PodSecurityPolicySubjectReview)
   197  	in.DeepCopyInto(out)
   198  	return out
   199  }
   200  
   201  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   202  func (in *PodSecurityPolicySubjectReview) DeepCopyObject() runtime.Object {
   203  	if c := in.DeepCopy(); c != nil {
   204  		return c
   205  	}
   206  	return nil
   207  }
   208  
   209  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   210  func (in *PodSecurityPolicySubjectReviewSpec) DeepCopyInto(out *PodSecurityPolicySubjectReviewSpec) {
   211  	*out = *in
   212  	in.Template.DeepCopyInto(&out.Template)
   213  	if in.Groups != nil {
   214  		in, out := &in.Groups, &out.Groups
   215  		*out = make([]string, len(*in))
   216  		copy(*out, *in)
   217  	}
   218  	return
   219  }
   220  
   221  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySubjectReviewSpec.
   222  func (in *PodSecurityPolicySubjectReviewSpec) DeepCopy() *PodSecurityPolicySubjectReviewSpec {
   223  	if in == nil {
   224  		return nil
   225  	}
   226  	out := new(PodSecurityPolicySubjectReviewSpec)
   227  	in.DeepCopyInto(out)
   228  	return out
   229  }
   230  
   231  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   232  func (in *PodSecurityPolicySubjectReviewStatus) DeepCopyInto(out *PodSecurityPolicySubjectReviewStatus) {
   233  	*out = *in
   234  	if in.AllowedBy != nil {
   235  		in, out := &in.AllowedBy, &out.AllowedBy
   236  		*out = new(corev1.ObjectReference)
   237  		**out = **in
   238  	}
   239  	in.Template.DeepCopyInto(&out.Template)
   240  	return
   241  }
   242  
   243  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySubjectReviewStatus.
   244  func (in *PodSecurityPolicySubjectReviewStatus) DeepCopy() *PodSecurityPolicySubjectReviewStatus {
   245  	if in == nil {
   246  		return nil
   247  	}
   248  	out := new(PodSecurityPolicySubjectReviewStatus)
   249  	in.DeepCopyInto(out)
   250  	return out
   251  }
   252  
   253  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   254  func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) {
   255  	*out = *in
   256  	out.TypeMeta = in.TypeMeta
   257  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   258  	if in.Data != nil {
   259  		in, out := &in.Data, &out.Data
   260  		*out = make([]byte, len(*in))
   261  		copy(*out, *in)
   262  	}
   263  	return
   264  }
   265  
   266  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation.
   267  func (in *RangeAllocation) DeepCopy() *RangeAllocation {
   268  	if in == nil {
   269  		return nil
   270  	}
   271  	out := new(RangeAllocation)
   272  	in.DeepCopyInto(out)
   273  	return out
   274  }
   275  
   276  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   277  func (in *RangeAllocation) DeepCopyObject() runtime.Object {
   278  	if c := in.DeepCopy(); c != nil {
   279  		return c
   280  	}
   281  	return nil
   282  }
   283  
   284  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   285  func (in *RangeAllocationList) DeepCopyInto(out *RangeAllocationList) {
   286  	*out = *in
   287  	out.TypeMeta = in.TypeMeta
   288  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   289  	if in.Items != nil {
   290  		in, out := &in.Items, &out.Items
   291  		*out = make([]RangeAllocation, len(*in))
   292  		for i := range *in {
   293  			(*in)[i].DeepCopyInto(&(*out)[i])
   294  		}
   295  	}
   296  	return
   297  }
   298  
   299  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocationList.
   300  func (in *RangeAllocationList) DeepCopy() *RangeAllocationList {
   301  	if in == nil {
   302  		return nil
   303  	}
   304  	out := new(RangeAllocationList)
   305  	in.DeepCopyInto(out)
   306  	return out
   307  }
   308  
   309  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   310  func (in *RangeAllocationList) DeepCopyObject() runtime.Object {
   311  	if c := in.DeepCopy(); c != nil {
   312  		return c
   313  	}
   314  	return nil
   315  }
   316  
   317  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   318  func (in *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) {
   319  	*out = *in
   320  	if in.UID != nil {
   321  		in, out := &in.UID, &out.UID
   322  		*out = new(int64)
   323  		**out = **in
   324  	}
   325  	if in.UIDRangeMin != nil {
   326  		in, out := &in.UIDRangeMin, &out.UIDRangeMin
   327  		*out = new(int64)
   328  		**out = **in
   329  	}
   330  	if in.UIDRangeMax != nil {
   331  		in, out := &in.UIDRangeMax, &out.UIDRangeMax
   332  		*out = new(int64)
   333  		**out = **in
   334  	}
   335  	return
   336  }
   337  
   338  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions.
   339  func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions {
   340  	if in == nil {
   341  		return nil
   342  	}
   343  	out := new(RunAsUserStrategyOptions)
   344  	in.DeepCopyInto(out)
   345  	return out
   346  }
   347  
   348  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   349  func (in *SELinuxContextStrategyOptions) DeepCopyInto(out *SELinuxContextStrategyOptions) {
   350  	*out = *in
   351  	if in.SELinuxOptions != nil {
   352  		in, out := &in.SELinuxOptions, &out.SELinuxOptions
   353  		*out = new(corev1.SELinuxOptions)
   354  		**out = **in
   355  	}
   356  	return
   357  }
   358  
   359  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxContextStrategyOptions.
   360  func (in *SELinuxContextStrategyOptions) DeepCopy() *SELinuxContextStrategyOptions {
   361  	if in == nil {
   362  		return nil
   363  	}
   364  	out := new(SELinuxContextStrategyOptions)
   365  	in.DeepCopyInto(out)
   366  	return out
   367  }
   368  
   369  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   370  func (in *SecurityContextConstraints) DeepCopyInto(out *SecurityContextConstraints) {
   371  	*out = *in
   372  	out.TypeMeta = in.TypeMeta
   373  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   374  	if in.Priority != nil {
   375  		in, out := &in.Priority, &out.Priority
   376  		*out = new(int32)
   377  		**out = **in
   378  	}
   379  	if in.DefaultAddCapabilities != nil {
   380  		in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities
   381  		*out = make([]corev1.Capability, len(*in))
   382  		copy(*out, *in)
   383  	}
   384  	if in.RequiredDropCapabilities != nil {
   385  		in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities
   386  		*out = make([]corev1.Capability, len(*in))
   387  		copy(*out, *in)
   388  	}
   389  	if in.AllowedCapabilities != nil {
   390  		in, out := &in.AllowedCapabilities, &out.AllowedCapabilities
   391  		*out = make([]corev1.Capability, len(*in))
   392  		copy(*out, *in)
   393  	}
   394  	if in.Volumes != nil {
   395  		in, out := &in.Volumes, &out.Volumes
   396  		*out = make([]FSType, len(*in))
   397  		copy(*out, *in)
   398  	}
   399  	if in.AllowedFlexVolumes != nil {
   400  		in, out := &in.AllowedFlexVolumes, &out.AllowedFlexVolumes
   401  		*out = make([]AllowedFlexVolume, len(*in))
   402  		copy(*out, *in)
   403  	}
   404  	if in.DefaultAllowPrivilegeEscalation != nil {
   405  		in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation
   406  		*out = new(bool)
   407  		**out = **in
   408  	}
   409  	if in.AllowPrivilegeEscalation != nil {
   410  		in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
   411  		*out = new(bool)
   412  		**out = **in
   413  	}
   414  	in.SELinuxContext.DeepCopyInto(&out.SELinuxContext)
   415  	in.RunAsUser.DeepCopyInto(&out.RunAsUser)
   416  	in.SupplementalGroups.DeepCopyInto(&out.SupplementalGroups)
   417  	in.FSGroup.DeepCopyInto(&out.FSGroup)
   418  	if in.Users != nil {
   419  		in, out := &in.Users, &out.Users
   420  		*out = make([]string, len(*in))
   421  		copy(*out, *in)
   422  	}
   423  	if in.Groups != nil {
   424  		in, out := &in.Groups, &out.Groups
   425  		*out = make([]string, len(*in))
   426  		copy(*out, *in)
   427  	}
   428  	if in.SeccompProfiles != nil {
   429  		in, out := &in.SeccompProfiles, &out.SeccompProfiles
   430  		*out = make([]string, len(*in))
   431  		copy(*out, *in)
   432  	}
   433  	if in.AllowedUnsafeSysctls != nil {
   434  		in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
   435  		*out = make([]string, len(*in))
   436  		copy(*out, *in)
   437  	}
   438  	if in.ForbiddenSysctls != nil {
   439  		in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls
   440  		*out = make([]string, len(*in))
   441  		copy(*out, *in)
   442  	}
   443  	return
   444  }
   445  
   446  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContextConstraints.
   447  func (in *SecurityContextConstraints) DeepCopy() *SecurityContextConstraints {
   448  	if in == nil {
   449  		return nil
   450  	}
   451  	out := new(SecurityContextConstraints)
   452  	in.DeepCopyInto(out)
   453  	return out
   454  }
   455  
   456  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   457  func (in *SecurityContextConstraints) DeepCopyObject() runtime.Object {
   458  	if c := in.DeepCopy(); c != nil {
   459  		return c
   460  	}
   461  	return nil
   462  }
   463  
   464  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   465  func (in *SecurityContextConstraintsList) DeepCopyInto(out *SecurityContextConstraintsList) {
   466  	*out = *in
   467  	out.TypeMeta = in.TypeMeta
   468  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   469  	if in.Items != nil {
   470  		in, out := &in.Items, &out.Items
   471  		*out = make([]SecurityContextConstraints, len(*in))
   472  		for i := range *in {
   473  			(*in)[i].DeepCopyInto(&(*out)[i])
   474  		}
   475  	}
   476  	return
   477  }
   478  
   479  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContextConstraintsList.
   480  func (in *SecurityContextConstraintsList) DeepCopy() *SecurityContextConstraintsList {
   481  	if in == nil {
   482  		return nil
   483  	}
   484  	out := new(SecurityContextConstraintsList)
   485  	in.DeepCopyInto(out)
   486  	return out
   487  }
   488  
   489  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   490  func (in *SecurityContextConstraintsList) DeepCopyObject() runtime.Object {
   491  	if c := in.DeepCopy(); c != nil {
   492  		return c
   493  	}
   494  	return nil
   495  }
   496  
   497  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   498  func (in *ServiceAccountPodSecurityPolicyReviewStatus) DeepCopyInto(out *ServiceAccountPodSecurityPolicyReviewStatus) {
   499  	*out = *in
   500  	in.PodSecurityPolicySubjectReviewStatus.DeepCopyInto(&out.PodSecurityPolicySubjectReviewStatus)
   501  	return
   502  }
   503  
   504  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPodSecurityPolicyReviewStatus.
   505  func (in *ServiceAccountPodSecurityPolicyReviewStatus) DeepCopy() *ServiceAccountPodSecurityPolicyReviewStatus {
   506  	if in == nil {
   507  		return nil
   508  	}
   509  	out := new(ServiceAccountPodSecurityPolicyReviewStatus)
   510  	in.DeepCopyInto(out)
   511  	return out
   512  }
   513  
   514  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   515  func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroupsStrategyOptions) {
   516  	*out = *in
   517  	if in.Ranges != nil {
   518  		in, out := &in.Ranges, &out.Ranges
   519  		*out = make([]IDRange, len(*in))
   520  		copy(*out, *in)
   521  	}
   522  	return
   523  }
   524  
   525  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions.
   526  func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions {
   527  	if in == nil {
   528  		return nil
   529  	}
   530  	out := new(SupplementalGroupsStrategyOptions)
   531  	in.DeepCopyInto(out)
   532  	return out
   533  }
   534  

View as plain text