...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 package v1alpha1
26
27 import (
28 k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
29 runtime "k8s.io/apimachinery/pkg/runtime"
30 )
31
32
33 func (in *CloudIDSEndpoint) DeepCopyInto(out *CloudIDSEndpoint) {
34 *out = *in
35 out.TypeMeta = in.TypeMeta
36 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
37 in.Spec.DeepCopyInto(&out.Spec)
38 in.Status.DeepCopyInto(&out.Status)
39 return
40 }
41
42
43 func (in *CloudIDSEndpoint) DeepCopy() *CloudIDSEndpoint {
44 if in == nil {
45 return nil
46 }
47 out := new(CloudIDSEndpoint)
48 in.DeepCopyInto(out)
49 return out
50 }
51
52
53 func (in *CloudIDSEndpoint) DeepCopyObject() runtime.Object {
54 if c := in.DeepCopy(); c != nil {
55 return c
56 }
57 return nil
58 }
59
60
61 func (in *CloudIDSEndpointList) DeepCopyInto(out *CloudIDSEndpointList) {
62 *out = *in
63 out.TypeMeta = in.TypeMeta
64 in.ListMeta.DeepCopyInto(&out.ListMeta)
65 if in.Items != nil {
66 in, out := &in.Items, &out.Items
67 *out = make([]CloudIDSEndpoint, len(*in))
68 for i := range *in {
69 (*in)[i].DeepCopyInto(&(*out)[i])
70 }
71 }
72 return
73 }
74
75
76 func (in *CloudIDSEndpointList) DeepCopy() *CloudIDSEndpointList {
77 if in == nil {
78 return nil
79 }
80 out := new(CloudIDSEndpointList)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *CloudIDSEndpointList) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91 }
92
93
94 func (in *CloudIDSEndpointSpec) DeepCopyInto(out *CloudIDSEndpointSpec) {
95 *out = *in
96 if in.Description != nil {
97 in, out := &in.Description, &out.Description
98 *out = new(string)
99 **out = **in
100 }
101 out.ProjectRef = in.ProjectRef
102 if in.ResourceID != nil {
103 in, out := &in.ResourceID, &out.ResourceID
104 *out = new(string)
105 **out = **in
106 }
107 if in.ThreatExceptions != nil {
108 in, out := &in.ThreatExceptions, &out.ThreatExceptions
109 *out = make([]string, len(*in))
110 copy(*out, *in)
111 }
112 return
113 }
114
115
116 func (in *CloudIDSEndpointSpec) DeepCopy() *CloudIDSEndpointSpec {
117 if in == nil {
118 return nil
119 }
120 out := new(CloudIDSEndpointSpec)
121 in.DeepCopyInto(out)
122 return out
123 }
124
125
126 func (in *CloudIDSEndpointStatus) DeepCopyInto(out *CloudIDSEndpointStatus) {
127 *out = *in
128 if in.Conditions != nil {
129 in, out := &in.Conditions, &out.Conditions
130 *out = make([]k8sv1alpha1.Condition, len(*in))
131 copy(*out, *in)
132 }
133 if in.CreateTime != nil {
134 in, out := &in.CreateTime, &out.CreateTime
135 *out = new(string)
136 **out = **in
137 }
138 if in.EndpointForwardingRule != nil {
139 in, out := &in.EndpointForwardingRule, &out.EndpointForwardingRule
140 *out = new(string)
141 **out = **in
142 }
143 if in.EndpointIp != nil {
144 in, out := &in.EndpointIp, &out.EndpointIp
145 *out = new(string)
146 **out = **in
147 }
148 if in.ObservedGeneration != nil {
149 in, out := &in.ObservedGeneration, &out.ObservedGeneration
150 *out = new(int)
151 **out = **in
152 }
153 if in.UpdateTime != nil {
154 in, out := &in.UpdateTime, &out.UpdateTime
155 *out = new(string)
156 **out = **in
157 }
158 return
159 }
160
161
162 func (in *CloudIDSEndpointStatus) DeepCopy() *CloudIDSEndpointStatus {
163 if in == nil {
164 return nil
165 }
166 out := new(CloudIDSEndpointStatus)
167 in.DeepCopyInto(out)
168 return out
169 }
170
View as plain text