[OOM-K8S-CERT-EXTERNAL-PROVIDER] Rename variables to readable.
[oom/platform/cert-service.git] / certServiceK8sExternalProvider / src / api / cerservice_issuer_crd_deepcopy.go
1 /*
2  * ============LICENSE_START=======================================================
3  * oom-certservice-k8s-external-provider
4  * ================================================================================
5  * Copyright (c) 2019 Smallstep Labs, Inc.
6  * Modifications copyright (C) 2020 Nokia. All rights reserved.
7  * ================================================================================
8  * This source code was copied from the following git repository:
9  * https://github.com/smallstep/step-issuer
10  * The source code was modified for usage in the ONAP project.
11  * ================================================================================
12  * Licensed under the Apache License, Version 2.0 (the "License");
13  * you may not use this file except in compliance with the License.
14  * You may obtain a copy of the License at
15  *
16  *      http://www.apache.org/licenses/LICENSE-2.0
17  *
18  * Unless required by applicable law or agreed to in writing, software
19  * distributed under the License is distributed on an "AS IS" BASIS,
20  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  * See the License for the specific language governing permissions and
22  * limitations under the License.
23  * ============LICENSE_END=========================================================
24  */
25
26 package api
27
28 import (
29         runtime "k8s.io/apimachinery/pkg/runtime"
30 )
31
32 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
33 func (inputSecretKeySelector *SecretKeySelector) DeepCopyInto(outSecretKeySelector *SecretKeySelector) {
34         *outSecretKeySelector = *inputSecretKeySelector
35 }
36
37 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector.
38 func (inputSecretKeySelector *SecretKeySelector) DeepCopy() *SecretKeySelector {
39         if inputSecretKeySelector == nil {
40                 return nil
41         }
42         out := new(SecretKeySelector)
43         inputSecretKeySelector.DeepCopyInto(out)
44         return out
45 }
46
47 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
48 func (inputCertServiceIssuer *CertServiceIssuer) DeepCopyInto(outCertServiceIssuer *CertServiceIssuer) {
49         *outCertServiceIssuer = *inputCertServiceIssuer
50         outCertServiceIssuer.TypeMeta = inputCertServiceIssuer.TypeMeta
51         inputCertServiceIssuer.ObjectMeta.DeepCopyInto(&outCertServiceIssuer.ObjectMeta)
52         inputCertServiceIssuer.Spec.DeepCopyInto(&outCertServiceIssuer.Spec)
53         inputCertServiceIssuer.Status.DeepCopyInto(&outCertServiceIssuer.Status)
54 }
55
56 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuer.
57 func (inputCertServiceIssuer *CertServiceIssuer) DeepCopy() *CertServiceIssuer {
58         if inputCertServiceIssuer == nil {
59                 return nil
60         }
61         out := new(CertServiceIssuer)
62         inputCertServiceIssuer.DeepCopyInto(out)
63         return out
64 }
65
66 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
67 func (inputCertServiceIssuer *CertServiceIssuer) DeepCopyObject() runtime.Object {
68         if deepCopy := inputCertServiceIssuer.DeepCopy(); deepCopy != nil {
69                 return deepCopy
70         }
71         return nil
72 }
73
74 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
75 func (inputIssuerCondition *CertServiceIssuerCondition) DeepCopyInto(outIssuerCondition *CertServiceIssuerCondition) {
76         *outIssuerCondition = *inputIssuerCondition
77         if inputIssuerCondition.LastTransitionTime != nil {
78                 in, out := &inputIssuerCondition.LastTransitionTime, &outIssuerCondition.LastTransitionTime
79                 *out = (*in).DeepCopy()
80         }
81 }
82
83 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuerCondition.
84 func (inputIssuerCondition *CertServiceIssuerCondition) DeepCopy() *CertServiceIssuerCondition {
85         if inputIssuerCondition == nil {
86                 return nil
87         }
88         out := new(CertServiceIssuerCondition)
89         inputIssuerCondition.DeepCopyInto(out)
90         return out
91 }
92
93 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
94 func (inputIssuerList *CertServiceIssuerList) DeepCopyInto(outIssuerList *CertServiceIssuerList) {
95         *outIssuerList = *inputIssuerList
96         outIssuerList.TypeMeta = inputIssuerList.TypeMeta
97         inputIssuerList.ListMeta.DeepCopyInto(&outIssuerList.ListMeta)
98         if inputIssuerList.Items != nil {
99                 in, out := &inputIssuerList.Items, &outIssuerList.Items
100                 *out = make([]CertServiceIssuer, len(*in))
101                 for i := range *in {
102                         (*in)[i].DeepCopyInto(&(*out)[i])
103                 }
104         }
105 }
106
107 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuerList.
108 func (inputIssuerList *CertServiceIssuerList) DeepCopy() *CertServiceIssuerList {
109         if inputIssuerList == nil {
110                 return nil
111         }
112         out := new(CertServiceIssuerList)
113         inputIssuerList.DeepCopyInto(out)
114         return out
115 }
116
117 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
118 func (inputIssuerList *CertServiceIssuerList) DeepCopyObject() runtime.Object {
119         if deepCopy := inputIssuerList.DeepCopy(); deepCopy != nil {
120                 return deepCopy
121         }
122         return nil
123 }
124
125 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
126 func (inputIssuerSpec *CertServiceIssuerSpec) DeepCopyInto(outIssuerSpec *CertServiceIssuerSpec) {
127         *outIssuerSpec = *inputIssuerSpec
128         outIssuerSpec.KeyRef = inputIssuerSpec.KeyRef
129 }
130
131 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuerSpec.
132 func (inputIssuerSpec *CertServiceIssuerSpec) DeepCopy() *CertServiceIssuerSpec {
133         if inputIssuerSpec == nil {
134                 return nil
135         }
136         out := new(CertServiceIssuerSpec)
137         inputIssuerSpec.DeepCopyInto(out)
138         return out
139 }
140
141 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
142 func (inputIssuerStatus *CertServiceIssuerStatus) DeepCopyInto(outIssuerStatus *CertServiceIssuerStatus) {
143         *outIssuerStatus = *inputIssuerStatus
144         if inputIssuerStatus.Conditions != nil {
145                 in, out := &inputIssuerStatus.Conditions, &outIssuerStatus.Conditions
146                 *out = make([]CertServiceIssuerCondition, len(*in))
147                 for i := range *in {
148                         (*in)[i].DeepCopyInto(&(*out)[i])
149                 }
150         }
151 }
152
153 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuerStatus.
154 func (inputIssuerStatus *CertServiceIssuerStatus) DeepCopy() *CertServiceIssuerStatus {
155         if inputIssuerStatus == nil {
156                 return nil
157         }
158         out := new(CertServiceIssuerStatus)
159         inputIssuerStatus.DeepCopyInto(out)
160         return out
161 }