2b2e455b0bc0deddcd139f30253e36d4fc0516fc
[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
27 package api
28
29 import (
30         runtime "k8s.io/apimachinery/pkg/runtime"
31 )
32
33 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
34 func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector) {
35         *out = *in
36 }
37
38 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector.
39 func (in *SecretKeySelector) DeepCopy() *SecretKeySelector {
40         if in == nil {
41                 return nil
42         }
43         out := new(SecretKeySelector)
44         in.DeepCopyInto(out)
45         return out
46 }
47
48 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
49 func (in *CertServiceIssuer) DeepCopyInto(out *CertServiceIssuer) {
50         *out = *in
51         out.TypeMeta = in.TypeMeta
52         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
53         in.Spec.DeepCopyInto(&out.Spec)
54         in.Status.DeepCopyInto(&out.Status)
55 }
56
57 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuer.
58 func (in *CertServiceIssuer) DeepCopy() *CertServiceIssuer {
59         if in == nil {
60                 return nil
61         }
62         out := new(CertServiceIssuer)
63         in.DeepCopyInto(out)
64         return out
65 }
66
67 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
68 func (in *CertServiceIssuer) DeepCopyObject() runtime.Object {
69         if c := in.DeepCopy(); c != nil {
70                 return c
71         }
72         return nil
73 }
74
75 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
76 func (in *CertServiceIssuerCondition) DeepCopyInto(out *CertServiceIssuerCondition) {
77         *out = *in
78         if in.LastTransitionTime != nil {
79                 in, out := &in.LastTransitionTime, &out.LastTransitionTime
80                 *out = (*in).DeepCopy()
81         }
82 }
83
84 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuerCondition.
85 func (in *CertServiceIssuerCondition) DeepCopy() *CertServiceIssuerCondition {
86         if in == nil {
87                 return nil
88         }
89         out := new(CertServiceIssuerCondition)
90         in.DeepCopyInto(out)
91         return out
92 }
93
94 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
95 func (in *CertServiceIssuerList) DeepCopyInto(out *CertServiceIssuerList) {
96         *out = *in
97         out.TypeMeta = in.TypeMeta
98         in.ListMeta.DeepCopyInto(&out.ListMeta)
99         if in.Items != nil {
100                 in, out := &in.Items, &out.Items
101                 *out = make([]CertServiceIssuer, len(*in))
102                 for i := range *in {
103                         (*in)[i].DeepCopyInto(&(*out)[i])
104                 }
105         }
106 }
107
108 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuerList.
109 func (in *CertServiceIssuerList) DeepCopy() *CertServiceIssuerList {
110         if in == nil {
111                 return nil
112         }
113         out := new(CertServiceIssuerList)
114         in.DeepCopyInto(out)
115         return out
116 }
117
118 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
119 func (in *CertServiceIssuerList) DeepCopyObject() runtime.Object {
120         if c := in.DeepCopy(); c != nil {
121                 return c
122         }
123         return nil
124 }
125
126 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
127 func (in *CertServiceIssuerSpec) DeepCopyInto(out *CertServiceIssuerSpec) {
128         *out = *in
129         out.KeyRef = in.KeyRef
130 }
131
132 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuerSpec.
133 func (in *CertServiceIssuerSpec) DeepCopy() *CertServiceIssuerSpec {
134         if in == nil {
135                 return nil
136         }
137         out := new(CertServiceIssuerSpec)
138         in.DeepCopyInto(out)
139         return out
140 }
141
142 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
143 func (in *CertServiceIssuerStatus) DeepCopyInto(out *CertServiceIssuerStatus) {
144         *out = *in
145         if in.Conditions != nil {
146                 in, out := &in.Conditions, &out.Conditions
147                 *out = make([]CertServiceIssuerCondition, len(*in))
148                 for i := range *in {
149                         (*in)[i].DeepCopyInto(&(*out)[i])
150                 }
151         }
152 }
153
154 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertServiceIssuerStatus.
155 func (in *CertServiceIssuerStatus) DeepCopy() *CertServiceIssuerStatus {
156         if in == nil {
157                 return nil
158         }
159         out := new(CertServiceIssuerStatus)
160         in.DeepCopyInto(out)
161         return out
162 }