...

Source file src/github.com/cert-manager/issuer-lib/internal/testapi/api/zz_generated.deepcopy.go

Documentation: github.com/cert-manager/issuer-lib/internal/testapi/api

     1  //go:build !ignore_autogenerated
     2  
     3  /*
     4  Copyright The cert-manager Authors.
     5  
     6  Licensed under the Apache License, Version 2.0 (the "License");
     7  you may not use this file except in compliance with the License.
     8  You may obtain a copy of the License at
     9  
    10      http://www.apache.org/licenses/LICENSE-2.0
    11  
    12  Unless required by applicable law or agreed to in writing, software
    13  distributed under the License is distributed on an "AS IS" BASIS,
    14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  See the License for the specific language governing permissions and
    16  limitations under the License.
    17  */
    18  
    19  // Code generated by controller-gen. DO NOT EDIT.
    20  
    21  package api
    22  
    23  import (
    24  	runtime "k8s.io/apimachinery/pkg/runtime"
    25  )
    26  
    27  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    28  func (in *TestClusterIssuer) DeepCopyInto(out *TestClusterIssuer) {
    29  	*out = *in
    30  	out.TypeMeta = in.TypeMeta
    31  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    32  	out.Spec = in.Spec
    33  	in.Status.DeepCopyInto(&out.Status)
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestClusterIssuer.
    37  func (in *TestClusterIssuer) DeepCopy() *TestClusterIssuer {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(TestClusterIssuer)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  
    46  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    47  func (in *TestClusterIssuer) DeepCopyObject() runtime.Object {
    48  	if c := in.DeepCopy(); c != nil {
    49  		return c
    50  	}
    51  	return nil
    52  }
    53  
    54  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    55  func (in *TestClusterIssuerList) DeepCopyInto(out *TestClusterIssuerList) {
    56  	*out = *in
    57  	out.TypeMeta = in.TypeMeta
    58  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    59  	if in.Items != nil {
    60  		in, out := &in.Items, &out.Items
    61  		*out = make([]TestClusterIssuer, len(*in))
    62  		for i := range *in {
    63  			(*in)[i].DeepCopyInto(&(*out)[i])
    64  		}
    65  	}
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestClusterIssuerList.
    69  func (in *TestClusterIssuerList) DeepCopy() *TestClusterIssuerList {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(TestClusterIssuerList)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    79  func (in *TestClusterIssuerList) DeepCopyObject() runtime.Object {
    80  	if c := in.DeepCopy(); c != nil {
    81  		return c
    82  	}
    83  	return nil
    84  }
    85  
    86  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    87  func (in *TestIssuer) DeepCopyInto(out *TestIssuer) {
    88  	*out = *in
    89  	out.TypeMeta = in.TypeMeta
    90  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    91  	out.Spec = in.Spec
    92  	in.Status.DeepCopyInto(&out.Status)
    93  }
    94  
    95  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestIssuer.
    96  func (in *TestIssuer) DeepCopy() *TestIssuer {
    97  	if in == nil {
    98  		return nil
    99  	}
   100  	out := new(TestIssuer)
   101  	in.DeepCopyInto(out)
   102  	return out
   103  }
   104  
   105  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   106  func (in *TestIssuer) DeepCopyObject() runtime.Object {
   107  	if c := in.DeepCopy(); c != nil {
   108  		return c
   109  	}
   110  	return nil
   111  }
   112  
   113  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   114  func (in *TestIssuerList) DeepCopyInto(out *TestIssuerList) {
   115  	*out = *in
   116  	out.TypeMeta = in.TypeMeta
   117  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   118  	if in.Items != nil {
   119  		in, out := &in.Items, &out.Items
   120  		*out = make([]TestIssuer, len(*in))
   121  		for i := range *in {
   122  			(*in)[i].DeepCopyInto(&(*out)[i])
   123  		}
   124  	}
   125  }
   126  
   127  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestIssuerList.
   128  func (in *TestIssuerList) DeepCopy() *TestIssuerList {
   129  	if in == nil {
   130  		return nil
   131  	}
   132  	out := new(TestIssuerList)
   133  	in.DeepCopyInto(out)
   134  	return out
   135  }
   136  
   137  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   138  func (in *TestIssuerList) DeepCopyObject() runtime.Object {
   139  	if c := in.DeepCopy(); c != nil {
   140  		return c
   141  	}
   142  	return nil
   143  }
   144  
   145  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   146  func (in *TestSpec) DeepCopyInto(out *TestSpec) {
   147  	*out = *in
   148  }
   149  
   150  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSpec.
   151  func (in *TestSpec) DeepCopy() *TestSpec {
   152  	if in == nil {
   153  		return nil
   154  	}
   155  	out := new(TestSpec)
   156  	in.DeepCopyInto(out)
   157  	return out
   158  }
   159  

View as plain text