...

Source file src/k8s.io/api/resource/v1alpha2/zz_generated.deepcopy.go

Documentation: k8s.io/api/resource/v1alpha2

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package v1alpha2
    23  
    24  import (
    25  	v1 "k8s.io/api/core/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *AllocationResult) DeepCopyInto(out *AllocationResult) {
    31  	*out = *in
    32  	if in.ResourceHandles != nil {
    33  		in, out := &in.ResourceHandles, &out.ResourceHandles
    34  		*out = make([]ResourceHandle, len(*in))
    35  		for i := range *in {
    36  			(*in)[i].DeepCopyInto(&(*out)[i])
    37  		}
    38  	}
    39  	if in.AvailableOnNodes != nil {
    40  		in, out := &in.AvailableOnNodes, &out.AvailableOnNodes
    41  		*out = new(v1.NodeSelector)
    42  		(*in).DeepCopyInto(*out)
    43  	}
    44  	return
    45  }
    46  
    47  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResult.
    48  func (in *AllocationResult) DeepCopy() *AllocationResult {
    49  	if in == nil {
    50  		return nil
    51  	}
    52  	out := new(AllocationResult)
    53  	in.DeepCopyInto(out)
    54  	return out
    55  }
    56  
    57  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    58  func (in *AllocationResultModel) DeepCopyInto(out *AllocationResultModel) {
    59  	*out = *in
    60  	if in.NamedResources != nil {
    61  		in, out := &in.NamedResources, &out.NamedResources
    62  		*out = new(NamedResourcesAllocationResult)
    63  		**out = **in
    64  	}
    65  	return
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResultModel.
    69  func (in *AllocationResultModel) DeepCopy() *AllocationResultModel {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(AllocationResultModel)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    79  func (in *DriverAllocationResult) DeepCopyInto(out *DriverAllocationResult) {
    80  	*out = *in
    81  	in.VendorRequestParameters.DeepCopyInto(&out.VendorRequestParameters)
    82  	in.AllocationResultModel.DeepCopyInto(&out.AllocationResultModel)
    83  	return
    84  }
    85  
    86  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverAllocationResult.
    87  func (in *DriverAllocationResult) DeepCopy() *DriverAllocationResult {
    88  	if in == nil {
    89  		return nil
    90  	}
    91  	out := new(DriverAllocationResult)
    92  	in.DeepCopyInto(out)
    93  	return out
    94  }
    95  
    96  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    97  func (in *DriverRequests) DeepCopyInto(out *DriverRequests) {
    98  	*out = *in
    99  	in.VendorParameters.DeepCopyInto(&out.VendorParameters)
   100  	if in.Requests != nil {
   101  		in, out := &in.Requests, &out.Requests
   102  		*out = make([]ResourceRequest, len(*in))
   103  		for i := range *in {
   104  			(*in)[i].DeepCopyInto(&(*out)[i])
   105  		}
   106  	}
   107  	return
   108  }
   109  
   110  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverRequests.
   111  func (in *DriverRequests) DeepCopy() *DriverRequests {
   112  	if in == nil {
   113  		return nil
   114  	}
   115  	out := new(DriverRequests)
   116  	in.DeepCopyInto(out)
   117  	return out
   118  }
   119  
   120  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   121  func (in *NamedResourcesAllocationResult) DeepCopyInto(out *NamedResourcesAllocationResult) {
   122  	*out = *in
   123  	return
   124  }
   125  
   126  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesAllocationResult.
   127  func (in *NamedResourcesAllocationResult) DeepCopy() *NamedResourcesAllocationResult {
   128  	if in == nil {
   129  		return nil
   130  	}
   131  	out := new(NamedResourcesAllocationResult)
   132  	in.DeepCopyInto(out)
   133  	return out
   134  }
   135  
   136  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   137  func (in *NamedResourcesAttribute) DeepCopyInto(out *NamedResourcesAttribute) {
   138  	*out = *in
   139  	in.NamedResourcesAttributeValue.DeepCopyInto(&out.NamedResourcesAttributeValue)
   140  	return
   141  }
   142  
   143  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesAttribute.
   144  func (in *NamedResourcesAttribute) DeepCopy() *NamedResourcesAttribute {
   145  	if in == nil {
   146  		return nil
   147  	}
   148  	out := new(NamedResourcesAttribute)
   149  	in.DeepCopyInto(out)
   150  	return out
   151  }
   152  
   153  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   154  func (in *NamedResourcesAttributeValue) DeepCopyInto(out *NamedResourcesAttributeValue) {
   155  	*out = *in
   156  	if in.QuantityValue != nil {
   157  		in, out := &in.QuantityValue, &out.QuantityValue
   158  		x := (*in).DeepCopy()
   159  		*out = &x
   160  	}
   161  	if in.BoolValue != nil {
   162  		in, out := &in.BoolValue, &out.BoolValue
   163  		*out = new(bool)
   164  		**out = **in
   165  	}
   166  	if in.IntValue != nil {
   167  		in, out := &in.IntValue, &out.IntValue
   168  		*out = new(int64)
   169  		**out = **in
   170  	}
   171  	if in.IntSliceValue != nil {
   172  		in, out := &in.IntSliceValue, &out.IntSliceValue
   173  		*out = new(NamedResourcesIntSlice)
   174  		(*in).DeepCopyInto(*out)
   175  	}
   176  	if in.StringValue != nil {
   177  		in, out := &in.StringValue, &out.StringValue
   178  		*out = new(string)
   179  		**out = **in
   180  	}
   181  	if in.StringSliceValue != nil {
   182  		in, out := &in.StringSliceValue, &out.StringSliceValue
   183  		*out = new(NamedResourcesStringSlice)
   184  		(*in).DeepCopyInto(*out)
   185  	}
   186  	if in.VersionValue != nil {
   187  		in, out := &in.VersionValue, &out.VersionValue
   188  		*out = new(string)
   189  		**out = **in
   190  	}
   191  	return
   192  }
   193  
   194  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesAttributeValue.
   195  func (in *NamedResourcesAttributeValue) DeepCopy() *NamedResourcesAttributeValue {
   196  	if in == nil {
   197  		return nil
   198  	}
   199  	out := new(NamedResourcesAttributeValue)
   200  	in.DeepCopyInto(out)
   201  	return out
   202  }
   203  
   204  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   205  func (in *NamedResourcesFilter) DeepCopyInto(out *NamedResourcesFilter) {
   206  	*out = *in
   207  	return
   208  }
   209  
   210  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesFilter.
   211  func (in *NamedResourcesFilter) DeepCopy() *NamedResourcesFilter {
   212  	if in == nil {
   213  		return nil
   214  	}
   215  	out := new(NamedResourcesFilter)
   216  	in.DeepCopyInto(out)
   217  	return out
   218  }
   219  
   220  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   221  func (in *NamedResourcesInstance) DeepCopyInto(out *NamedResourcesInstance) {
   222  	*out = *in
   223  	if in.Attributes != nil {
   224  		in, out := &in.Attributes, &out.Attributes
   225  		*out = make([]NamedResourcesAttribute, len(*in))
   226  		for i := range *in {
   227  			(*in)[i].DeepCopyInto(&(*out)[i])
   228  		}
   229  	}
   230  	return
   231  }
   232  
   233  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesInstance.
   234  func (in *NamedResourcesInstance) DeepCopy() *NamedResourcesInstance {
   235  	if in == nil {
   236  		return nil
   237  	}
   238  	out := new(NamedResourcesInstance)
   239  	in.DeepCopyInto(out)
   240  	return out
   241  }
   242  
   243  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   244  func (in *NamedResourcesIntSlice) DeepCopyInto(out *NamedResourcesIntSlice) {
   245  	*out = *in
   246  	if in.Ints != nil {
   247  		in, out := &in.Ints, &out.Ints
   248  		*out = make([]int64, len(*in))
   249  		copy(*out, *in)
   250  	}
   251  	return
   252  }
   253  
   254  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesIntSlice.
   255  func (in *NamedResourcesIntSlice) DeepCopy() *NamedResourcesIntSlice {
   256  	if in == nil {
   257  		return nil
   258  	}
   259  	out := new(NamedResourcesIntSlice)
   260  	in.DeepCopyInto(out)
   261  	return out
   262  }
   263  
   264  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   265  func (in *NamedResourcesRequest) DeepCopyInto(out *NamedResourcesRequest) {
   266  	*out = *in
   267  	return
   268  }
   269  
   270  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesRequest.
   271  func (in *NamedResourcesRequest) DeepCopy() *NamedResourcesRequest {
   272  	if in == nil {
   273  		return nil
   274  	}
   275  	out := new(NamedResourcesRequest)
   276  	in.DeepCopyInto(out)
   277  	return out
   278  }
   279  
   280  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   281  func (in *NamedResourcesResources) DeepCopyInto(out *NamedResourcesResources) {
   282  	*out = *in
   283  	if in.Instances != nil {
   284  		in, out := &in.Instances, &out.Instances
   285  		*out = make([]NamedResourcesInstance, len(*in))
   286  		for i := range *in {
   287  			(*in)[i].DeepCopyInto(&(*out)[i])
   288  		}
   289  	}
   290  	return
   291  }
   292  
   293  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesResources.
   294  func (in *NamedResourcesResources) DeepCopy() *NamedResourcesResources {
   295  	if in == nil {
   296  		return nil
   297  	}
   298  	out := new(NamedResourcesResources)
   299  	in.DeepCopyInto(out)
   300  	return out
   301  }
   302  
   303  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   304  func (in *NamedResourcesStringSlice) DeepCopyInto(out *NamedResourcesStringSlice) {
   305  	*out = *in
   306  	if in.Strings != nil {
   307  		in, out := &in.Strings, &out.Strings
   308  		*out = make([]string, len(*in))
   309  		copy(*out, *in)
   310  	}
   311  	return
   312  }
   313  
   314  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesStringSlice.
   315  func (in *NamedResourcesStringSlice) DeepCopy() *NamedResourcesStringSlice {
   316  	if in == nil {
   317  		return nil
   318  	}
   319  	out := new(NamedResourcesStringSlice)
   320  	in.DeepCopyInto(out)
   321  	return out
   322  }
   323  
   324  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   325  func (in *PodSchedulingContext) DeepCopyInto(out *PodSchedulingContext) {
   326  	*out = *in
   327  	out.TypeMeta = in.TypeMeta
   328  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   329  	in.Spec.DeepCopyInto(&out.Spec)
   330  	in.Status.DeepCopyInto(&out.Status)
   331  	return
   332  }
   333  
   334  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContext.
   335  func (in *PodSchedulingContext) DeepCopy() *PodSchedulingContext {
   336  	if in == nil {
   337  		return nil
   338  	}
   339  	out := new(PodSchedulingContext)
   340  	in.DeepCopyInto(out)
   341  	return out
   342  }
   343  
   344  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   345  func (in *PodSchedulingContext) DeepCopyObject() runtime.Object {
   346  	if c := in.DeepCopy(); c != nil {
   347  		return c
   348  	}
   349  	return nil
   350  }
   351  
   352  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   353  func (in *PodSchedulingContextList) DeepCopyInto(out *PodSchedulingContextList) {
   354  	*out = *in
   355  	out.TypeMeta = in.TypeMeta
   356  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   357  	if in.Items != nil {
   358  		in, out := &in.Items, &out.Items
   359  		*out = make([]PodSchedulingContext, len(*in))
   360  		for i := range *in {
   361  			(*in)[i].DeepCopyInto(&(*out)[i])
   362  		}
   363  	}
   364  	return
   365  }
   366  
   367  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextList.
   368  func (in *PodSchedulingContextList) DeepCopy() *PodSchedulingContextList {
   369  	if in == nil {
   370  		return nil
   371  	}
   372  	out := new(PodSchedulingContextList)
   373  	in.DeepCopyInto(out)
   374  	return out
   375  }
   376  
   377  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   378  func (in *PodSchedulingContextList) DeepCopyObject() runtime.Object {
   379  	if c := in.DeepCopy(); c != nil {
   380  		return c
   381  	}
   382  	return nil
   383  }
   384  
   385  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   386  func (in *PodSchedulingContextSpec) DeepCopyInto(out *PodSchedulingContextSpec) {
   387  	*out = *in
   388  	if in.PotentialNodes != nil {
   389  		in, out := &in.PotentialNodes, &out.PotentialNodes
   390  		*out = make([]string, len(*in))
   391  		copy(*out, *in)
   392  	}
   393  	return
   394  }
   395  
   396  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextSpec.
   397  func (in *PodSchedulingContextSpec) DeepCopy() *PodSchedulingContextSpec {
   398  	if in == nil {
   399  		return nil
   400  	}
   401  	out := new(PodSchedulingContextSpec)
   402  	in.DeepCopyInto(out)
   403  	return out
   404  }
   405  
   406  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   407  func (in *PodSchedulingContextStatus) DeepCopyInto(out *PodSchedulingContextStatus) {
   408  	*out = *in
   409  	if in.ResourceClaims != nil {
   410  		in, out := &in.ResourceClaims, &out.ResourceClaims
   411  		*out = make([]ResourceClaimSchedulingStatus, len(*in))
   412  		for i := range *in {
   413  			(*in)[i].DeepCopyInto(&(*out)[i])
   414  		}
   415  	}
   416  	return
   417  }
   418  
   419  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextStatus.
   420  func (in *PodSchedulingContextStatus) DeepCopy() *PodSchedulingContextStatus {
   421  	if in == nil {
   422  		return nil
   423  	}
   424  	out := new(PodSchedulingContextStatus)
   425  	in.DeepCopyInto(out)
   426  	return out
   427  }
   428  
   429  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   430  func (in *ResourceClaim) DeepCopyInto(out *ResourceClaim) {
   431  	*out = *in
   432  	out.TypeMeta = in.TypeMeta
   433  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   434  	in.Spec.DeepCopyInto(&out.Spec)
   435  	in.Status.DeepCopyInto(&out.Status)
   436  	return
   437  }
   438  
   439  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaim.
   440  func (in *ResourceClaim) DeepCopy() *ResourceClaim {
   441  	if in == nil {
   442  		return nil
   443  	}
   444  	out := new(ResourceClaim)
   445  	in.DeepCopyInto(out)
   446  	return out
   447  }
   448  
   449  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   450  func (in *ResourceClaim) DeepCopyObject() runtime.Object {
   451  	if c := in.DeepCopy(); c != nil {
   452  		return c
   453  	}
   454  	return nil
   455  }
   456  
   457  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   458  func (in *ResourceClaimConsumerReference) DeepCopyInto(out *ResourceClaimConsumerReference) {
   459  	*out = *in
   460  	return
   461  }
   462  
   463  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimConsumerReference.
   464  func (in *ResourceClaimConsumerReference) DeepCopy() *ResourceClaimConsumerReference {
   465  	if in == nil {
   466  		return nil
   467  	}
   468  	out := new(ResourceClaimConsumerReference)
   469  	in.DeepCopyInto(out)
   470  	return out
   471  }
   472  
   473  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   474  func (in *ResourceClaimList) DeepCopyInto(out *ResourceClaimList) {
   475  	*out = *in
   476  	out.TypeMeta = in.TypeMeta
   477  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   478  	if in.Items != nil {
   479  		in, out := &in.Items, &out.Items
   480  		*out = make([]ResourceClaim, len(*in))
   481  		for i := range *in {
   482  			(*in)[i].DeepCopyInto(&(*out)[i])
   483  		}
   484  	}
   485  	return
   486  }
   487  
   488  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimList.
   489  func (in *ResourceClaimList) DeepCopy() *ResourceClaimList {
   490  	if in == nil {
   491  		return nil
   492  	}
   493  	out := new(ResourceClaimList)
   494  	in.DeepCopyInto(out)
   495  	return out
   496  }
   497  
   498  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   499  func (in *ResourceClaimList) DeepCopyObject() runtime.Object {
   500  	if c := in.DeepCopy(); c != nil {
   501  		return c
   502  	}
   503  	return nil
   504  }
   505  
   506  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   507  func (in *ResourceClaimParameters) DeepCopyInto(out *ResourceClaimParameters) {
   508  	*out = *in
   509  	out.TypeMeta = in.TypeMeta
   510  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   511  	if in.GeneratedFrom != nil {
   512  		in, out := &in.GeneratedFrom, &out.GeneratedFrom
   513  		*out = new(ResourceClaimParametersReference)
   514  		**out = **in
   515  	}
   516  	if in.DriverRequests != nil {
   517  		in, out := &in.DriverRequests, &out.DriverRequests
   518  		*out = make([]DriverRequests, len(*in))
   519  		for i := range *in {
   520  			(*in)[i].DeepCopyInto(&(*out)[i])
   521  		}
   522  	}
   523  	return
   524  }
   525  
   526  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParameters.
   527  func (in *ResourceClaimParameters) DeepCopy() *ResourceClaimParameters {
   528  	if in == nil {
   529  		return nil
   530  	}
   531  	out := new(ResourceClaimParameters)
   532  	in.DeepCopyInto(out)
   533  	return out
   534  }
   535  
   536  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   537  func (in *ResourceClaimParameters) DeepCopyObject() runtime.Object {
   538  	if c := in.DeepCopy(); c != nil {
   539  		return c
   540  	}
   541  	return nil
   542  }
   543  
   544  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   545  func (in *ResourceClaimParametersList) DeepCopyInto(out *ResourceClaimParametersList) {
   546  	*out = *in
   547  	out.TypeMeta = in.TypeMeta
   548  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   549  	if in.Items != nil {
   550  		in, out := &in.Items, &out.Items
   551  		*out = make([]ResourceClaimParameters, len(*in))
   552  		for i := range *in {
   553  			(*in)[i].DeepCopyInto(&(*out)[i])
   554  		}
   555  	}
   556  	return
   557  }
   558  
   559  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParametersList.
   560  func (in *ResourceClaimParametersList) DeepCopy() *ResourceClaimParametersList {
   561  	if in == nil {
   562  		return nil
   563  	}
   564  	out := new(ResourceClaimParametersList)
   565  	in.DeepCopyInto(out)
   566  	return out
   567  }
   568  
   569  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   570  func (in *ResourceClaimParametersList) DeepCopyObject() runtime.Object {
   571  	if c := in.DeepCopy(); c != nil {
   572  		return c
   573  	}
   574  	return nil
   575  }
   576  
   577  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   578  func (in *ResourceClaimParametersReference) DeepCopyInto(out *ResourceClaimParametersReference) {
   579  	*out = *in
   580  	return
   581  }
   582  
   583  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParametersReference.
   584  func (in *ResourceClaimParametersReference) DeepCopy() *ResourceClaimParametersReference {
   585  	if in == nil {
   586  		return nil
   587  	}
   588  	out := new(ResourceClaimParametersReference)
   589  	in.DeepCopyInto(out)
   590  	return out
   591  }
   592  
   593  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   594  func (in *ResourceClaimSchedulingStatus) DeepCopyInto(out *ResourceClaimSchedulingStatus) {
   595  	*out = *in
   596  	if in.UnsuitableNodes != nil {
   597  		in, out := &in.UnsuitableNodes, &out.UnsuitableNodes
   598  		*out = make([]string, len(*in))
   599  		copy(*out, *in)
   600  	}
   601  	return
   602  }
   603  
   604  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSchedulingStatus.
   605  func (in *ResourceClaimSchedulingStatus) DeepCopy() *ResourceClaimSchedulingStatus {
   606  	if in == nil {
   607  		return nil
   608  	}
   609  	out := new(ResourceClaimSchedulingStatus)
   610  	in.DeepCopyInto(out)
   611  	return out
   612  }
   613  
   614  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   615  func (in *ResourceClaimSpec) DeepCopyInto(out *ResourceClaimSpec) {
   616  	*out = *in
   617  	if in.ParametersRef != nil {
   618  		in, out := &in.ParametersRef, &out.ParametersRef
   619  		*out = new(ResourceClaimParametersReference)
   620  		**out = **in
   621  	}
   622  	return
   623  }
   624  
   625  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSpec.
   626  func (in *ResourceClaimSpec) DeepCopy() *ResourceClaimSpec {
   627  	if in == nil {
   628  		return nil
   629  	}
   630  	out := new(ResourceClaimSpec)
   631  	in.DeepCopyInto(out)
   632  	return out
   633  }
   634  
   635  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   636  func (in *ResourceClaimStatus) DeepCopyInto(out *ResourceClaimStatus) {
   637  	*out = *in
   638  	if in.Allocation != nil {
   639  		in, out := &in.Allocation, &out.Allocation
   640  		*out = new(AllocationResult)
   641  		(*in).DeepCopyInto(*out)
   642  	}
   643  	if in.ReservedFor != nil {
   644  		in, out := &in.ReservedFor, &out.ReservedFor
   645  		*out = make([]ResourceClaimConsumerReference, len(*in))
   646  		copy(*out, *in)
   647  	}
   648  	return
   649  }
   650  
   651  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimStatus.
   652  func (in *ResourceClaimStatus) DeepCopy() *ResourceClaimStatus {
   653  	if in == nil {
   654  		return nil
   655  	}
   656  	out := new(ResourceClaimStatus)
   657  	in.DeepCopyInto(out)
   658  	return out
   659  }
   660  
   661  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   662  func (in *ResourceClaimTemplate) DeepCopyInto(out *ResourceClaimTemplate) {
   663  	*out = *in
   664  	out.TypeMeta = in.TypeMeta
   665  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   666  	in.Spec.DeepCopyInto(&out.Spec)
   667  	return
   668  }
   669  
   670  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplate.
   671  func (in *ResourceClaimTemplate) DeepCopy() *ResourceClaimTemplate {
   672  	if in == nil {
   673  		return nil
   674  	}
   675  	out := new(ResourceClaimTemplate)
   676  	in.DeepCopyInto(out)
   677  	return out
   678  }
   679  
   680  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   681  func (in *ResourceClaimTemplate) DeepCopyObject() runtime.Object {
   682  	if c := in.DeepCopy(); c != nil {
   683  		return c
   684  	}
   685  	return nil
   686  }
   687  
   688  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   689  func (in *ResourceClaimTemplateList) DeepCopyInto(out *ResourceClaimTemplateList) {
   690  	*out = *in
   691  	out.TypeMeta = in.TypeMeta
   692  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   693  	if in.Items != nil {
   694  		in, out := &in.Items, &out.Items
   695  		*out = make([]ResourceClaimTemplate, len(*in))
   696  		for i := range *in {
   697  			(*in)[i].DeepCopyInto(&(*out)[i])
   698  		}
   699  	}
   700  	return
   701  }
   702  
   703  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateList.
   704  func (in *ResourceClaimTemplateList) DeepCopy() *ResourceClaimTemplateList {
   705  	if in == nil {
   706  		return nil
   707  	}
   708  	out := new(ResourceClaimTemplateList)
   709  	in.DeepCopyInto(out)
   710  	return out
   711  }
   712  
   713  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   714  func (in *ResourceClaimTemplateList) DeepCopyObject() runtime.Object {
   715  	if c := in.DeepCopy(); c != nil {
   716  		return c
   717  	}
   718  	return nil
   719  }
   720  
   721  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   722  func (in *ResourceClaimTemplateSpec) DeepCopyInto(out *ResourceClaimTemplateSpec) {
   723  	*out = *in
   724  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   725  	in.Spec.DeepCopyInto(&out.Spec)
   726  	return
   727  }
   728  
   729  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateSpec.
   730  func (in *ResourceClaimTemplateSpec) DeepCopy() *ResourceClaimTemplateSpec {
   731  	if in == nil {
   732  		return nil
   733  	}
   734  	out := new(ResourceClaimTemplateSpec)
   735  	in.DeepCopyInto(out)
   736  	return out
   737  }
   738  
   739  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   740  func (in *ResourceClass) DeepCopyInto(out *ResourceClass) {
   741  	*out = *in
   742  	out.TypeMeta = in.TypeMeta
   743  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   744  	if in.ParametersRef != nil {
   745  		in, out := &in.ParametersRef, &out.ParametersRef
   746  		*out = new(ResourceClassParametersReference)
   747  		**out = **in
   748  	}
   749  	if in.SuitableNodes != nil {
   750  		in, out := &in.SuitableNodes, &out.SuitableNodes
   751  		*out = new(v1.NodeSelector)
   752  		(*in).DeepCopyInto(*out)
   753  	}
   754  	if in.StructuredParameters != nil {
   755  		in, out := &in.StructuredParameters, &out.StructuredParameters
   756  		*out = new(bool)
   757  		**out = **in
   758  	}
   759  	return
   760  }
   761  
   762  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClass.
   763  func (in *ResourceClass) DeepCopy() *ResourceClass {
   764  	if in == nil {
   765  		return nil
   766  	}
   767  	out := new(ResourceClass)
   768  	in.DeepCopyInto(out)
   769  	return out
   770  }
   771  
   772  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   773  func (in *ResourceClass) DeepCopyObject() runtime.Object {
   774  	if c := in.DeepCopy(); c != nil {
   775  		return c
   776  	}
   777  	return nil
   778  }
   779  
   780  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   781  func (in *ResourceClassList) DeepCopyInto(out *ResourceClassList) {
   782  	*out = *in
   783  	out.TypeMeta = in.TypeMeta
   784  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   785  	if in.Items != nil {
   786  		in, out := &in.Items, &out.Items
   787  		*out = make([]ResourceClass, len(*in))
   788  		for i := range *in {
   789  			(*in)[i].DeepCopyInto(&(*out)[i])
   790  		}
   791  	}
   792  	return
   793  }
   794  
   795  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassList.
   796  func (in *ResourceClassList) DeepCopy() *ResourceClassList {
   797  	if in == nil {
   798  		return nil
   799  	}
   800  	out := new(ResourceClassList)
   801  	in.DeepCopyInto(out)
   802  	return out
   803  }
   804  
   805  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   806  func (in *ResourceClassList) DeepCopyObject() runtime.Object {
   807  	if c := in.DeepCopy(); c != nil {
   808  		return c
   809  	}
   810  	return nil
   811  }
   812  
   813  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   814  func (in *ResourceClassParameters) DeepCopyInto(out *ResourceClassParameters) {
   815  	*out = *in
   816  	out.TypeMeta = in.TypeMeta
   817  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   818  	if in.GeneratedFrom != nil {
   819  		in, out := &in.GeneratedFrom, &out.GeneratedFrom
   820  		*out = new(ResourceClassParametersReference)
   821  		**out = **in
   822  	}
   823  	if in.VendorParameters != nil {
   824  		in, out := &in.VendorParameters, &out.VendorParameters
   825  		*out = make([]VendorParameters, len(*in))
   826  		for i := range *in {
   827  			(*in)[i].DeepCopyInto(&(*out)[i])
   828  		}
   829  	}
   830  	if in.Filters != nil {
   831  		in, out := &in.Filters, &out.Filters
   832  		*out = make([]ResourceFilter, len(*in))
   833  		for i := range *in {
   834  			(*in)[i].DeepCopyInto(&(*out)[i])
   835  		}
   836  	}
   837  	return
   838  }
   839  
   840  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParameters.
   841  func (in *ResourceClassParameters) DeepCopy() *ResourceClassParameters {
   842  	if in == nil {
   843  		return nil
   844  	}
   845  	out := new(ResourceClassParameters)
   846  	in.DeepCopyInto(out)
   847  	return out
   848  }
   849  
   850  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   851  func (in *ResourceClassParameters) DeepCopyObject() runtime.Object {
   852  	if c := in.DeepCopy(); c != nil {
   853  		return c
   854  	}
   855  	return nil
   856  }
   857  
   858  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   859  func (in *ResourceClassParametersList) DeepCopyInto(out *ResourceClassParametersList) {
   860  	*out = *in
   861  	out.TypeMeta = in.TypeMeta
   862  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   863  	if in.Items != nil {
   864  		in, out := &in.Items, &out.Items
   865  		*out = make([]ResourceClassParameters, len(*in))
   866  		for i := range *in {
   867  			(*in)[i].DeepCopyInto(&(*out)[i])
   868  		}
   869  	}
   870  	return
   871  }
   872  
   873  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParametersList.
   874  func (in *ResourceClassParametersList) DeepCopy() *ResourceClassParametersList {
   875  	if in == nil {
   876  		return nil
   877  	}
   878  	out := new(ResourceClassParametersList)
   879  	in.DeepCopyInto(out)
   880  	return out
   881  }
   882  
   883  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   884  func (in *ResourceClassParametersList) DeepCopyObject() runtime.Object {
   885  	if c := in.DeepCopy(); c != nil {
   886  		return c
   887  	}
   888  	return nil
   889  }
   890  
   891  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   892  func (in *ResourceClassParametersReference) DeepCopyInto(out *ResourceClassParametersReference) {
   893  	*out = *in
   894  	return
   895  }
   896  
   897  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParametersReference.
   898  func (in *ResourceClassParametersReference) DeepCopy() *ResourceClassParametersReference {
   899  	if in == nil {
   900  		return nil
   901  	}
   902  	out := new(ResourceClassParametersReference)
   903  	in.DeepCopyInto(out)
   904  	return out
   905  }
   906  
   907  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   908  func (in *ResourceFilter) DeepCopyInto(out *ResourceFilter) {
   909  	*out = *in
   910  	in.ResourceFilterModel.DeepCopyInto(&out.ResourceFilterModel)
   911  	return
   912  }
   913  
   914  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFilter.
   915  func (in *ResourceFilter) DeepCopy() *ResourceFilter {
   916  	if in == nil {
   917  		return nil
   918  	}
   919  	out := new(ResourceFilter)
   920  	in.DeepCopyInto(out)
   921  	return out
   922  }
   923  
   924  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   925  func (in *ResourceFilterModel) DeepCopyInto(out *ResourceFilterModel) {
   926  	*out = *in
   927  	if in.NamedResources != nil {
   928  		in, out := &in.NamedResources, &out.NamedResources
   929  		*out = new(NamedResourcesFilter)
   930  		**out = **in
   931  	}
   932  	return
   933  }
   934  
   935  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFilterModel.
   936  func (in *ResourceFilterModel) DeepCopy() *ResourceFilterModel {
   937  	if in == nil {
   938  		return nil
   939  	}
   940  	out := new(ResourceFilterModel)
   941  	in.DeepCopyInto(out)
   942  	return out
   943  }
   944  
   945  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   946  func (in *ResourceHandle) DeepCopyInto(out *ResourceHandle) {
   947  	*out = *in
   948  	if in.StructuredData != nil {
   949  		in, out := &in.StructuredData, &out.StructuredData
   950  		*out = new(StructuredResourceHandle)
   951  		(*in).DeepCopyInto(*out)
   952  	}
   953  	return
   954  }
   955  
   956  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceHandle.
   957  func (in *ResourceHandle) DeepCopy() *ResourceHandle {
   958  	if in == nil {
   959  		return nil
   960  	}
   961  	out := new(ResourceHandle)
   962  	in.DeepCopyInto(out)
   963  	return out
   964  }
   965  
   966  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   967  func (in *ResourceModel) DeepCopyInto(out *ResourceModel) {
   968  	*out = *in
   969  	if in.NamedResources != nil {
   970  		in, out := &in.NamedResources, &out.NamedResources
   971  		*out = new(NamedResourcesResources)
   972  		(*in).DeepCopyInto(*out)
   973  	}
   974  	return
   975  }
   976  
   977  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceModel.
   978  func (in *ResourceModel) DeepCopy() *ResourceModel {
   979  	if in == nil {
   980  		return nil
   981  	}
   982  	out := new(ResourceModel)
   983  	in.DeepCopyInto(out)
   984  	return out
   985  }
   986  
   987  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   988  func (in *ResourceRequest) DeepCopyInto(out *ResourceRequest) {
   989  	*out = *in
   990  	in.VendorParameters.DeepCopyInto(&out.VendorParameters)
   991  	in.ResourceRequestModel.DeepCopyInto(&out.ResourceRequestModel)
   992  	return
   993  }
   994  
   995  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequest.
   996  func (in *ResourceRequest) DeepCopy() *ResourceRequest {
   997  	if in == nil {
   998  		return nil
   999  	}
  1000  	out := new(ResourceRequest)
  1001  	in.DeepCopyInto(out)
  1002  	return out
  1003  }
  1004  
  1005  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1006  func (in *ResourceRequestModel) DeepCopyInto(out *ResourceRequestModel) {
  1007  	*out = *in
  1008  	if in.NamedResources != nil {
  1009  		in, out := &in.NamedResources, &out.NamedResources
  1010  		*out = new(NamedResourcesRequest)
  1011  		**out = **in
  1012  	}
  1013  	return
  1014  }
  1015  
  1016  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequestModel.
  1017  func (in *ResourceRequestModel) DeepCopy() *ResourceRequestModel {
  1018  	if in == nil {
  1019  		return nil
  1020  	}
  1021  	out := new(ResourceRequestModel)
  1022  	in.DeepCopyInto(out)
  1023  	return out
  1024  }
  1025  
  1026  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1027  func (in *ResourceSlice) DeepCopyInto(out *ResourceSlice) {
  1028  	*out = *in
  1029  	out.TypeMeta = in.TypeMeta
  1030  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1031  	in.ResourceModel.DeepCopyInto(&out.ResourceModel)
  1032  	return
  1033  }
  1034  
  1035  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSlice.
  1036  func (in *ResourceSlice) DeepCopy() *ResourceSlice {
  1037  	if in == nil {
  1038  		return nil
  1039  	}
  1040  	out := new(ResourceSlice)
  1041  	in.DeepCopyInto(out)
  1042  	return out
  1043  }
  1044  
  1045  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1046  func (in *ResourceSlice) DeepCopyObject() runtime.Object {
  1047  	if c := in.DeepCopy(); c != nil {
  1048  		return c
  1049  	}
  1050  	return nil
  1051  }
  1052  
  1053  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1054  func (in *ResourceSliceList) DeepCopyInto(out *ResourceSliceList) {
  1055  	*out = *in
  1056  	out.TypeMeta = in.TypeMeta
  1057  	in.ListMeta.DeepCopyInto(&out.ListMeta)
  1058  	if in.Items != nil {
  1059  		in, out := &in.Items, &out.Items
  1060  		*out = make([]ResourceSlice, len(*in))
  1061  		for i := range *in {
  1062  			(*in)[i].DeepCopyInto(&(*out)[i])
  1063  		}
  1064  	}
  1065  	return
  1066  }
  1067  
  1068  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSliceList.
  1069  func (in *ResourceSliceList) DeepCopy() *ResourceSliceList {
  1070  	if in == nil {
  1071  		return nil
  1072  	}
  1073  	out := new(ResourceSliceList)
  1074  	in.DeepCopyInto(out)
  1075  	return out
  1076  }
  1077  
  1078  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1079  func (in *ResourceSliceList) DeepCopyObject() runtime.Object {
  1080  	if c := in.DeepCopy(); c != nil {
  1081  		return c
  1082  	}
  1083  	return nil
  1084  }
  1085  
  1086  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1087  func (in *StructuredResourceHandle) DeepCopyInto(out *StructuredResourceHandle) {
  1088  	*out = *in
  1089  	in.VendorClassParameters.DeepCopyInto(&out.VendorClassParameters)
  1090  	in.VendorClaimParameters.DeepCopyInto(&out.VendorClaimParameters)
  1091  	if in.Results != nil {
  1092  		in, out := &in.Results, &out.Results
  1093  		*out = make([]DriverAllocationResult, len(*in))
  1094  		for i := range *in {
  1095  			(*in)[i].DeepCopyInto(&(*out)[i])
  1096  		}
  1097  	}
  1098  	return
  1099  }
  1100  
  1101  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructuredResourceHandle.
  1102  func (in *StructuredResourceHandle) DeepCopy() *StructuredResourceHandle {
  1103  	if in == nil {
  1104  		return nil
  1105  	}
  1106  	out := new(StructuredResourceHandle)
  1107  	in.DeepCopyInto(out)
  1108  	return out
  1109  }
  1110  
  1111  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1112  func (in *VendorParameters) DeepCopyInto(out *VendorParameters) {
  1113  	*out = *in
  1114  	in.Parameters.DeepCopyInto(&out.Parameters)
  1115  	return
  1116  }
  1117  
  1118  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VendorParameters.
  1119  func (in *VendorParameters) DeepCopy() *VendorParameters {
  1120  	if in == nil {
  1121  		return nil
  1122  	}
  1123  	out := new(VendorParameters)
  1124  	in.DeepCopyInto(out)
  1125  	return out
  1126  }
  1127  

View as plain text