knative.dev/pkg@v0.0.0-20260602142205-ac97e43f6622/testing/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2022 The Knative 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 testing
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *InlinedPtrStruct) DeepCopyInto(out *InlinedPtrStruct) {
    30  	*out = *in
    31  	return
    32  }
    33  
    34  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinedPtrStruct.
    35  func (in *InlinedPtrStruct) DeepCopy() *InlinedPtrStruct {
    36  	if in == nil {
    37  		return nil
    38  	}
    39  	out := new(InlinedPtrStruct)
    40  	in.DeepCopyInto(out)
    41  	return out
    42  }
    43  
    44  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    45  func (in *InlinedStruct) DeepCopyInto(out *InlinedStruct) {
    46  	*out = *in
    47  	if in.InlinedPtrStruct != nil {
    48  		in, out := &in.InlinedPtrStruct, &out.InlinedPtrStruct
    49  		*out = new(InlinedPtrStruct)
    50  		**out = **in
    51  	}
    52  	return
    53  }
    54  
    55  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlinedStruct.
    56  func (in *InlinedStruct) DeepCopy() *InlinedStruct {
    57  	if in == nil {
    58  		return nil
    59  	}
    60  	out := new(InlinedStruct)
    61  	in.DeepCopyInto(out)
    62  	return out
    63  }
    64  
    65  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    66  func (in *InnerDefaultResource) DeepCopyInto(out *InnerDefaultResource) {
    67  	*out = *in
    68  	out.TypeMeta = in.TypeMeta
    69  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    70  	in.Spec.DeepCopyInto(&out.Spec)
    71  	out.Status = in.Status
    72  	return
    73  }
    74  
    75  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InnerDefaultResource.
    76  func (in *InnerDefaultResource) DeepCopy() *InnerDefaultResource {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(InnerDefaultResource)
    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 *InnerDefaultResource) 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 *InnerDefaultSpec) DeepCopyInto(out *InnerDefaultSpec) {
    95  	*out = *in
    96  	if in.SubFields != nil {
    97  		in, out := &in.SubFields, &out.SubFields
    98  		*out = new(InnerDefaultSubSpec)
    99  		(*in).DeepCopyInto(*out)
   100  	}
   101  	return
   102  }
   103  
   104  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InnerDefaultSpec.
   105  func (in *InnerDefaultSpec) DeepCopy() *InnerDefaultSpec {
   106  	if in == nil {
   107  		return nil
   108  	}
   109  	out := new(InnerDefaultSpec)
   110  	in.DeepCopyInto(out)
   111  	return out
   112  }
   113  
   114  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   115  func (in *InnerDefaultStatus) DeepCopyInto(out *InnerDefaultStatus) {
   116  	*out = *in
   117  	return
   118  }
   119  
   120  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InnerDefaultStatus.
   121  func (in *InnerDefaultStatus) DeepCopy() *InnerDefaultStatus {
   122  	if in == nil {
   123  		return nil
   124  	}
   125  	out := new(InnerDefaultStatus)
   126  	in.DeepCopyInto(out)
   127  	return out
   128  }
   129  
   130  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   131  func (in *InnerDefaultStruct) DeepCopyInto(out *InnerDefaultStruct) {
   132  	*out = *in
   133  	return
   134  }
   135  
   136  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InnerDefaultStruct.
   137  func (in *InnerDefaultStruct) DeepCopy() *InnerDefaultStruct {
   138  	if in == nil {
   139  		return nil
   140  	}
   141  	out := new(InnerDefaultStruct)
   142  	in.DeepCopyInto(out)
   143  	return out
   144  }
   145  
   146  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   147  func (in *InnerDefaultSubSpec) DeepCopyInto(out *InnerDefaultSubSpec) {
   148  	*out = *in
   149  	if in.DeprecatedStringPtr != nil {
   150  		in, out := &in.DeprecatedStringPtr, &out.DeprecatedStringPtr
   151  		*out = new(string)
   152  		**out = **in
   153  	}
   154  	if in.DeprecatedIntPtr != nil {
   155  		in, out := &in.DeprecatedIntPtr, &out.DeprecatedIntPtr
   156  		*out = new(int64)
   157  		**out = **in
   158  	}
   159  	if in.DeprecatedMap != nil {
   160  		in, out := &in.DeprecatedMap, &out.DeprecatedMap
   161  		*out = make(map[string]string, len(*in))
   162  		for key, val := range *in {
   163  			(*out)[key] = val
   164  		}
   165  	}
   166  	if in.DeprecatedSlice != nil {
   167  		in, out := &in.DeprecatedSlice, &out.DeprecatedSlice
   168  		*out = make([]string, len(*in))
   169  		copy(*out, *in)
   170  	}
   171  	out.DeprecatedStruct = in.DeprecatedStruct
   172  	if in.DeprecatedStructPtr != nil {
   173  		in, out := &in.DeprecatedStructPtr, &out.DeprecatedStructPtr
   174  		*out = new(InnerDefaultStruct)
   175  		**out = **in
   176  	}
   177  	in.InlinedStruct.DeepCopyInto(&out.InlinedStruct)
   178  	if in.InlinedPtrStruct != nil {
   179  		in, out := &in.InlinedPtrStruct, &out.InlinedPtrStruct
   180  		*out = new(InlinedPtrStruct)
   181  		**out = **in
   182  	}
   183  	return
   184  }
   185  
   186  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InnerDefaultSubSpec.
   187  func (in *InnerDefaultSubSpec) DeepCopy() *InnerDefaultSubSpec {
   188  	if in == nil {
   189  		return nil
   190  	}
   191  	out := new(InnerDefaultSubSpec)
   192  	in.DeepCopyInto(out)
   193  	return out
   194  }
   195  
   196  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   197  func (in *OnContext) DeepCopyInto(out *OnContext) {
   198  	*out = *in
   199  	return
   200  }
   201  
   202  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnContext.
   203  func (in *OnContext) DeepCopy() *OnContext {
   204  	if in == nil {
   205  		return nil
   206  	}
   207  	out := new(OnContext)
   208  	in.DeepCopyInto(out)
   209  	return out
   210  }
   211  
   212  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   213  func (in *Resource) DeepCopyInto(out *Resource) {
   214  	*out = *in
   215  	out.TypeMeta = in.TypeMeta
   216  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   217  	out.Spec = in.Spec
   218  	return
   219  }
   220  
   221  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
   222  func (in *Resource) DeepCopy() *Resource {
   223  	if in == nil {
   224  		return nil
   225  	}
   226  	out := new(Resource)
   227  	in.DeepCopyInto(out)
   228  	return out
   229  }
   230  
   231  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   232  func (in *Resource) DeepCopyObject() runtime.Object {
   233  	if c := in.DeepCopy(); c != nil {
   234  		return c
   235  	}
   236  	return nil
   237  }
   238  
   239  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   240  func (in *ResourceList) DeepCopyInto(out *ResourceList) {
   241  	*out = *in
   242  	out.TypeMeta = in.TypeMeta
   243  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   244  	if in.Items != nil {
   245  		in, out := &in.Items, &out.Items
   246  		*out = make([]Resource, len(*in))
   247  		for i := range *in {
   248  			(*in)[i].DeepCopyInto(&(*out)[i])
   249  		}
   250  	}
   251  	return
   252  }
   253  
   254  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList.
   255  func (in *ResourceList) DeepCopy() *ResourceList {
   256  	if in == nil {
   257  		return nil
   258  	}
   259  	out := new(ResourceList)
   260  	in.DeepCopyInto(out)
   261  	return out
   262  }
   263  
   264  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   265  func (in *ResourceList) DeepCopyObject() runtime.Object {
   266  	if c := in.DeepCopy(); c != nil {
   267  		return c
   268  	}
   269  	return nil
   270  }
   271  
   272  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   273  func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) {
   274  	*out = *in
   275  	return
   276  }
   277  
   278  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec.
   279  func (in *ResourceSpec) DeepCopy() *ResourceSpec {
   280  	if in == nil {
   281  		return nil
   282  	}
   283  	out := new(ResourceSpec)
   284  	in.DeepCopyInto(out)
   285  	return out
   286  }