@@ -26,12 +26,12 @@ func TestRead(t *testing.T) {
2626 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
2727 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv4 },
2828 Network : NetworkConfiguration {
29- UseAttachedCheck : true ,
29+ AttachedCheckEnabled : true ,
3030 },
3131 LoadBalancer : LoadBalancerConfiguration {
32- Enabled : true ,
33- UsePrivateIngress : true ,
34- UseIPv6 : true ,
32+ Enabled : true ,
33+ PrivateIngressEnabled : true ,
34+ IPv6Enabled : true ,
3535 },
3636 },
3737 wantErr : nil ,
@@ -49,13 +49,13 @@ func TestRead(t *testing.T) {
4949 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
5050 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv4 },
5151 Network : NetworkConfiguration {
52- NameOrID : "foobar" ,
53- UseAttachedCheck : true ,
52+ NameOrID : "foobar" ,
53+ AttachedCheckEnabled : true ,
5454 },
5555 LoadBalancer : LoadBalancerConfiguration {
56- Enabled : true ,
57- UsePrivateIngress : true ,
58- UseIPv6 : true ,
56+ Enabled : true ,
57+ PrivateIngressEnabled : true ,
58+ IPv6Enabled : true ,
5959 },
6060 Route : RouteConfiguration {Enabled : true },
6161 },
@@ -86,12 +86,12 @@ func TestRead(t *testing.T) {
8686 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
8787 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv4 },
8888 Network : NetworkConfiguration {
89- UseAttachedCheck : true ,
89+ AttachedCheckEnabled : true ,
9090 },
9191 LoadBalancer : LoadBalancerConfiguration {
92- Enabled : true ,
93- UsePrivateIngress : true ,
94- UseIPv6 : true ,
92+ Enabled : true ,
93+ PrivateIngressEnabled : true ,
94+ IPv6Enabled : true ,
9595 },
9696 Route : RouteConfiguration {Enabled : false },
9797 },
@@ -134,12 +134,12 @@ failed to read ROBOT_PASSWORD_FILE: open /tmp/hetzner-password: no such file or
134134 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
135135 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv4 },
136136 Network : NetworkConfiguration {
137- UseAttachedCheck : true ,
137+ AttachedCheckEnabled : true ,
138138 },
139139 LoadBalancer : LoadBalancerConfiguration {
140- Enabled : true ,
141- UsePrivateIngress : true ,
142- UseIPv6 : true ,
140+ Enabled : true ,
141+ PrivateIngressEnabled : true ,
142+ IPv6Enabled : true ,
143143 },
144144 },
145145 wantErr : nil ,
@@ -165,12 +165,12 @@ failed to read ROBOT_PASSWORD_FILE: open /tmp/hetzner-password: no such file or
165165 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
166166 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv4 },
167167 Network : NetworkConfiguration {
168- UseAttachedCheck : true ,
168+ AttachedCheckEnabled : true ,
169169 },
170170 LoadBalancer : LoadBalancerConfiguration {
171- Enabled : true ,
172- UsePrivateIngress : true ,
173- UseIPv6 : true ,
171+ Enabled : true ,
172+ PrivateIngressEnabled : true ,
173+ IPv6Enabled : true ,
174174 },
175175 },
176176 wantErr : nil ,
@@ -197,12 +197,12 @@ failed to read ROBOT_PASSWORD_FILE: open /tmp/hetzner-password: no such file or
197197 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
198198 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv4 },
199199 Network : NetworkConfiguration {
200- UseAttachedCheck : true ,
200+ AttachedCheckEnabled : true ,
201201 },
202202 LoadBalancer : LoadBalancerConfiguration {
203- Enabled : true ,
204- UsePrivateIngress : true ,
205- UseIPv6 : true ,
203+ Enabled : true ,
204+ PrivateIngressEnabled : true ,
205+ IPv6Enabled : true ,
206206 },
207207 },
208208 wantErr : nil ,
@@ -217,12 +217,12 @@ failed to read ROBOT_PASSWORD_FILE: open /tmp/hetzner-password: no such file or
217217 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
218218 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv6 },
219219 Network : NetworkConfiguration {
220- UseAttachedCheck : true ,
220+ AttachedCheckEnabled : true ,
221221 },
222222 LoadBalancer : LoadBalancerConfiguration {
223- Enabled : true ,
224- UsePrivateIngress : true ,
225- UseIPv6 : true ,
223+ Enabled : true ,
224+ PrivateIngressEnabled : true ,
225+ IPv6Enabled : true ,
226226 },
227227 },
228228 wantErr : nil ,
@@ -238,13 +238,13 @@ failed to read ROBOT_PASSWORD_FILE: open /tmp/hetzner-password: no such file or
238238 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
239239 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv4 },
240240 LoadBalancer : LoadBalancerConfiguration {
241- Enabled : true ,
242- UsePrivateIngress : true ,
243- UseIPv6 : true ,
241+ Enabled : true ,
242+ PrivateIngressEnabled : true ,
243+ IPv6Enabled : true ,
244244 },
245245 Network : NetworkConfiguration {
246- NameOrID : "foobar" ,
247- UseAttachedCheck : false ,
246+ NameOrID : "foobar" ,
247+ AttachedCheckEnabled : false ,
248248 },
249249 Route : RouteConfiguration {Enabled : true },
250250 },
@@ -261,13 +261,13 @@ failed to read ROBOT_PASSWORD_FILE: open /tmp/hetzner-password: no such file or
261261 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
262262 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv4 },
263263 LoadBalancer : LoadBalancerConfiguration {
264- Enabled : true ,
265- UsePrivateIngress : true ,
266- UseIPv6 : true ,
264+ Enabled : true ,
265+ PrivateIngressEnabled : true ,
266+ IPv6Enabled : true ,
267267 },
268268 Network : NetworkConfiguration {
269- NameOrID : "foobar" ,
270- UseAttachedCheck : true ,
269+ NameOrID : "foobar" ,
270+ AttachedCheckEnabled : true ,
271271 },
272272 Route : RouteConfiguration {Enabled : false },
273273 },
@@ -288,15 +288,15 @@ failed to read ROBOT_PASSWORD_FILE: open /tmp/hetzner-password: no such file or
288288 Metrics : MetricsConfiguration {Enabled : true , Address : ":8233" },
289289 Instance : InstanceConfiguration {AddressFamily : AddressFamilyIPv4 },
290290 Network : NetworkConfiguration {
291- UseAttachedCheck : true ,
291+ AttachedCheckEnabled : true ,
292292 },
293293 LoadBalancer : LoadBalancerConfiguration {
294- Enabled : false ,
295- Location : "nbg1" ,
296- NetworkZone : "eu-central" ,
297- UsePrivateIngress : false ,
298- UsePrivateIP : true ,
299- UseIPv6 : false ,
294+ Enabled : false ,
295+ Location : "nbg1" ,
296+ NetworkZone : "eu-central" ,
297+ PrivateIngressEnabled : false ,
298+ PrivateIPEnabled : true ,
299+ IPv6Enabled : false ,
300300 },
301301 },
302302 wantErr : nil ,
0 commit comments