• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Azure / aks-app-routing-operator / 9455033482

10 Jun 2024 08:22PM UTC coverage: 78.693% (-0.5%) from 79.15%
9455033482

Pull #201

github

web-flow
Merge 106a17649 into 8ca6390b9
Pull Request #201: adding custom-http-errors field to crd

12 of 36 new or added lines in 3 files covered. (33.33%)

1 existing line in 1 file now uncovered.

3010 of 3825 relevant lines covered (78.69%)

13.86 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

27.22
/api/v1alpha1/zz_generated.deepcopy.go
1
//go:build !ignore_autogenerated
2

3
// Code generated by controller-gen. DO NOT EDIT.
4

5
package v1alpha1
6

7
import (
8
        "k8s.io/apimachinery/pkg/apis/meta/v1"
9
        runtime "k8s.io/apimachinery/pkg/runtime"
10
)
11

12
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
13
func (in *DefaultSSLCertificate) DeepCopyInto(out *DefaultSSLCertificate) {
×
14
        *out = *in
×
15
        if in.Secret != nil {
×
16
                in, out := &in.Secret, &out.Secret
×
17
                *out = new(Secret)
×
18
                **out = **in
×
19
        }
×
20
        if in.KeyVaultURI != nil {
×
21
                in, out := &in.KeyVaultURI, &out.KeyVaultURI
×
22
                *out = new(string)
×
23
                **out = **in
×
24
        }
×
25
}
26

27
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultSSLCertificate.
28
func (in *DefaultSSLCertificate) DeepCopy() *DefaultSSLCertificate {
×
29
        if in == nil {
×
30
                return nil
×
31
        }
×
32
        out := new(DefaultSSLCertificate)
×
33
        in.DeepCopyInto(out)
×
34
        return out
×
35
}
36

37
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
38
func (in *ManagedObjectReference) DeepCopyInto(out *ManagedObjectReference) {
×
39
        *out = *in
×
40
}
×
41

42
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedObjectReference.
43
func (in *ManagedObjectReference) DeepCopy() *ManagedObjectReference {
×
44
        if in == nil {
×
45
                return nil
×
46
        }
×
47
        out := new(ManagedObjectReference)
×
48
        in.DeepCopyInto(out)
×
49
        return out
×
50
}
51

52
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NEW
53
func (in *NICNamespacedName) DeepCopyInto(out *NICNamespacedName) {
×
NEW
54
        *out = *in
×
NEW
55
}
×
56

57
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NICNamespacedName.
NEW
58
func (in *NICNamespacedName) DeepCopy() *NICNamespacedName {
×
NEW
59
        if in == nil {
×
NEW
60
                return nil
×
NEW
61
        }
×
NEW
62
        out := new(NICNamespacedName)
×
NEW
63
        in.DeepCopyInto(out)
×
NEW
64
        return out
×
65
}
66

67
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
68
func (in *NginxIngressController) DeepCopyInto(out *NginxIngressController) {
10✔
69
        *out = *in
10✔
70
        out.TypeMeta = in.TypeMeta
10✔
71
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
10✔
72
        in.Spec.DeepCopyInto(&out.Spec)
10✔
73
        in.Status.DeepCopyInto(&out.Status)
10✔
74
}
10✔
75

76
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NginxIngressController.
77
func (in *NginxIngressController) DeepCopy() *NginxIngressController {
2✔
78
        if in == nil {
2✔
79
                return nil
×
80
        }
×
81
        out := new(NginxIngressController)
2✔
82
        in.DeepCopyInto(out)
2✔
83
        return out
2✔
84
}
85

86
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
87
func (in *NginxIngressController) DeepCopyObject() runtime.Object {
2✔
88
        if c := in.DeepCopy(); c != nil {
4✔
89
                return c
2✔
90
        }
2✔
91
        return nil
×
92
}
93

94
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
95
func (in *NginxIngressControllerList) DeepCopyInto(out *NginxIngressControllerList) {
4✔
96
        *out = *in
4✔
97
        out.TypeMeta = in.TypeMeta
4✔
98
        in.ListMeta.DeepCopyInto(&out.ListMeta)
4✔
99
        if in.Items != nil {
8✔
100
                in, out := &in.Items, &out.Items
4✔
101
                *out = make([]NginxIngressController, len(*in))
4✔
102
                for i := range *in {
12✔
103
                        (*in)[i].DeepCopyInto(&(*out)[i])
8✔
104
                }
8✔
105
        }
106
}
107

108
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NginxIngressControllerList.
109
func (in *NginxIngressControllerList) DeepCopy() *NginxIngressControllerList {
4✔
110
        if in == nil {
4✔
111
                return nil
×
112
        }
×
113
        out := new(NginxIngressControllerList)
4✔
114
        in.DeepCopyInto(out)
4✔
115
        return out
4✔
116
}
117

118
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
119
func (in *NginxIngressControllerList) DeepCopyObject() runtime.Object {
4✔
120
        if c := in.DeepCopy(); c != nil {
8✔
121
                return c
4✔
122
        }
4✔
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 *NginxIngressControllerSpec) DeepCopyInto(out *NginxIngressControllerSpec) {
10✔
128
        *out = *in
10✔
129
        if in.LoadBalancerAnnotations != nil {
10✔
130
                in, out := &in.LoadBalancerAnnotations, &out.LoadBalancerAnnotations
×
131
                *out = make(map[string]string, len(*in))
×
132
                for key, val := range *in {
×
133
                        (*out)[key] = val
×
134
                }
×
135
        }
136
        if in.DefaultSSLCertificate != nil {
10✔
137
                in, out := &in.DefaultSSLCertificate, &out.DefaultSSLCertificate
×
138
                *out = new(DefaultSSLCertificate)
×
139
                (*in).DeepCopyInto(*out)
×
140
        }
×
141
        if in.DefaultBackendService != nil {
10✔
NEW
142
                in, out := &in.DefaultBackendService, &out.DefaultBackendService
×
NEW
143
                *out = new(NICNamespacedName)
×
NEW
144
                **out = **in
×
NEW
145
        }
×
146
        if in.CustomHTTPErrors != nil {
10✔
NEW
147
                in, out := &in.CustomHTTPErrors, &out.CustomHTTPErrors
×
NEW
148
                *out = make([]int, len(*in))
×
NEW
149
                copy(*out, *in)
×
NEW
150
        }
×
151
        if in.Scaling != nil {
10✔
152
                in, out := &in.Scaling, &out.Scaling
×
153
                *out = new(Scaling)
×
154
                (*in).DeepCopyInto(*out)
×
155
        }
×
156
}
157

158
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NginxIngressControllerSpec.
159
func (in *NginxIngressControllerSpec) DeepCopy() *NginxIngressControllerSpec {
×
160
        if in == nil {
×
161
                return nil
×
162
        }
×
163
        out := new(NginxIngressControllerSpec)
×
164
        in.DeepCopyInto(out)
×
165
        return out
×
166
}
167

168
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
169
func (in *NginxIngressControllerStatus) DeepCopyInto(out *NginxIngressControllerStatus) {
10✔
170
        *out = *in
10✔
171
        if in.Conditions != nil {
10✔
172
                in, out := &in.Conditions, &out.Conditions
×
173
                *out = make([]v1.Condition, len(*in))
×
174
                for i := range *in {
×
175
                        (*in)[i].DeepCopyInto(&(*out)[i])
×
176
                }
×
177
        }
178
        if in.ManagedResourceRefs != nil {
10✔
179
                in, out := &in.ManagedResourceRefs, &out.ManagedResourceRefs
×
180
                *out = make([]ManagedObjectReference, len(*in))
×
181
                copy(*out, *in)
×
182
        }
×
183
}
184

185
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NginxIngressControllerStatus.
186
func (in *NginxIngressControllerStatus) DeepCopy() *NginxIngressControllerStatus {
×
187
        if in == nil {
×
188
                return nil
×
189
        }
×
190
        out := new(NginxIngressControllerStatus)
×
191
        in.DeepCopyInto(out)
×
192
        return out
×
193
}
194

195
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
196
func (in *Scaling) DeepCopyInto(out *Scaling) {
×
197
        *out = *in
×
198
        if in.MinReplicas != nil {
×
199
                in, out := &in.MinReplicas, &out.MinReplicas
×
200
                *out = new(int32)
×
201
                **out = **in
×
202
        }
×
203
        if in.MaxReplicas != nil {
×
204
                in, out := &in.MaxReplicas, &out.MaxReplicas
×
205
                *out = new(int32)
×
206
                **out = **in
×
207
        }
×
208
        if in.Threshold != nil {
×
209
                in, out := &in.Threshold, &out.Threshold
×
210
                *out = new(Threshold)
×
211
                **out = **in
×
212
        }
×
213
}
214

215
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scaling.
216
func (in *Scaling) DeepCopy() *Scaling {
×
217
        if in == nil {
×
218
                return nil
×
219
        }
×
220
        out := new(Scaling)
×
221
        in.DeepCopyInto(out)
×
222
        return out
×
223
}
224

225
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
226
func (in *Secret) DeepCopyInto(out *Secret) {
×
227
        *out = *in
×
228
}
×
229

230
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
231
func (in *Secret) DeepCopy() *Secret {
×
232
        if in == nil {
×
233
                return nil
×
234
        }
×
235
        out := new(Secret)
×
236
        in.DeepCopyInto(out)
×
237
        return out
×
238
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc