-
Notifications
You must be signed in to change notification settings - Fork 61
/
zz_forwardingrule_types.go
executable file
·470 lines (392 loc) · 23 KB
/
zz_forwardingrule_types.go
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
/*
Copyright 2021 The Crossplane Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by upjet. DO NOT EDIT.
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
type ForwardingRuleObservation struct {
// This field can be used with internal load balancer or network load balancer
// when the forwarding rule references a backend service, or with the target
// field when it references a TargetInstance. Set this to true to
// allow packets addressed to any ports to be forwarded to the backends configured
// with this forwarding rule. This can be used when the protocol is TCP/UDP, and it
// must be set to true when the protocol is set to L3_DEFAULT.
// Cannot be set if port or portRange are set.
AllPorts *bool `json:"allPorts,omitempty" tf:"all_ports,omitempty"`
// If true, clients can access ILB from all regions.
// Otherwise only allows from the local region the ILB is located at.
AllowGlobalAccess *bool `json:"allowGlobalAccess,omitempty" tf:"allow_global_access,omitempty"`
// A BackendService to receive the matched traffic. This is used only
// for INTERNAL load balancing.
BackendService *string `json:"backendService,omitempty" tf:"backend_service,omitempty"`
// Creation timestamp in RFC3339 text format.
CreationTimestamp *string `json:"creationTimestamp,omitempty" tf:"creation_timestamp,omitempty"`
// An optional description of this resource. Provide this property when
// you create the resource.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// an identifier for the resource with format projects/{{project}}/regions/{{region}}/forwardingRules/{{name}}
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The IP address that this forwarding rule serves. When a client sends
// traffic to this IP address, the forwarding rule directs the traffic to
// the target that you specify in the forwarding rule. The
// loadBalancingScheme and the forwarding rule's target determine the
// type of IP address that you can use. For detailed information, refer
// to IP address specifications.
// An address can be specified either by a literal IP address or a
// reference to an existing Address resource. If you don't specify a
// reserved IP address, an ephemeral IP address is assigned.
// The value must be set to 0.0.0.0 when the target is a targetGrpcProxy
// that has validateForProxyless field set to true.
// For Private Service Connect forwarding rules that forward traffic to
// Google APIs, IP address must be provided.
IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`
// The IP protocol to which this rule applies.
// When the load balancing scheme is INTERNAL, only TCP and UDP are
// valid.
// Possible values are TCP, UDP, ESP, AH, SCTP, ICMP, and L3_DEFAULT.
IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`
// Indicates whether or not this load balancer can be used
// as a collector for packet mirroring. To prevent mirroring loops,
// instances behind this load balancer will not have their traffic
// mirrored even if a PacketMirroring rule applies to them. This
// can only be set to true for load balancers that have their
// loadBalancingScheme set to INTERNAL.
IsMirroringCollector *bool `json:"isMirroringCollector,omitempty" tf:"is_mirroring_collector,omitempty"`
// (Beta)
// The fingerprint used for optimistic locking of this resource. Used
// internally during updates.
LabelFingerprint *string `json:"labelFingerprint,omitempty" tf:"label_fingerprint,omitempty"`
// Labels to apply to this forwarding rule. A list of key->value pairs.
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// This signifies what the ForwardingRule will be used for and can be
// EXTERNAL, EXTERNAL_MANAGED, INTERNAL, or INTERNAL_MANAGED. EXTERNAL is used for Classic
// Cloud VPN gateways, protocol forwarding to VMs from an external IP address,
// and HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP load balancers.
// INTERNAL is used for protocol forwarding to VMs from an internal IP address,
// and internal TCP/UDP load balancers.
// EXTERNAL_MANAGED is used for regional external HTTP(S) load balancers.
// INTERNAL_MANAGED is used for internal HTTP(S) load balancers.
// (Beta only) Note: This field must be set to ""
// if the target is an URI of a service attachment.
// Default value is EXTERNAL.
// Possible values are EXTERNAL, EXTERNAL_MANAGED, INTERNAL, and INTERNAL_MANAGED.
LoadBalancingScheme *string `json:"loadBalancingScheme,omitempty" tf:"load_balancing_scheme,omitempty"`
// For internal load balancing, this field identifies the network that
// the load balanced IP should belong to for this Forwarding Rule. If
// this field is not specified, the default network will be used.
// This field is only used for INTERNAL load balancing.
Network *string `json:"network,omitempty" tf:"network,omitempty"`
// The networking tier used for configuring this address. If this field is not
// specified, it is assumed to be PREMIUM.
// Possible values are PREMIUM and STANDARD.
NetworkTier *string `json:"networkTier,omitempty" tf:"network_tier,omitempty"`
// This field is used along with the target field for TargetHttpProxy,
// TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway,
// TargetPool, TargetInstance.
// Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets
// addressed to ports in the specified range will be forwarded to target.
// Forwarding rules with the same [IPAddress, IPProtocol] pair must have
// disjoint port ranges.
// Some types of forwarding target have constraints on the acceptable
// ports:
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// This field is used along with internal load balancing and network
// load balancer when the forwarding rule references a backend service
// and when protocol is not L3_DEFAULT.
// A single port or a comma separated list of ports can be configured.
// Only packets addressed to these ports will be forwarded to the backends
// configured with this forwarding rule.
// You can only use one of ports and portRange, or allPorts.
// The three are mutually exclusive.
// You may specify a maximum of up to 5 ports, which can be non-contiguous.
Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"`
// The ID of the project in which the resource belongs.
// If it is not provided, the provider project is used.
Project *string `json:"project,omitempty" tf:"project,omitempty"`
// The PSC connection id of the PSC Forwarding Rule.
PscConnectionID *string `json:"pscConnectionId,omitempty" tf:"psc_connection_id,omitempty"`
// The PSC connection status of the PSC Forwarding Rule. Possible values: STATUS_UNSPECIFIED, PENDING, ACCEPTED, REJECTED, CLOSED
PscConnectionStatus *string `json:"pscConnectionStatus,omitempty" tf:"psc_connection_status,omitempty"`
// A reference to the region where the regional forwarding rule resides.
// This field is not applicable to global forwarding rules.
Region *string `json:"region,omitempty" tf:"region,omitempty"`
// The URI of the created resource.
SelfLink *string `json:"selfLink,omitempty" tf:"self_link,omitempty"`
// Service Directory resources to register this forwarding rule with. Currently,
// only supports a single Service Directory resource.
// Structure is documented below.
ServiceDirectoryRegistrations []ServiceDirectoryRegistrationsObservation `json:"serviceDirectoryRegistrations,omitempty" tf:"service_directory_registrations,omitempty"`
// An optional prefix to the service name for this Forwarding Rule.
// If specified, will be the first label of the fully qualified service
// name.
// The label must be 1-63 characters long, and comply with RFC1035.
// Specifically, the label must be 1-63 characters long and match the
// regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first
// character must be a lowercase letter, and all following characters
// must be a dash, lowercase letter, or digit, except the last
// character, which cannot be a dash.
// This field is only used for INTERNAL load balancing.
ServiceLabel *string `json:"serviceLabel,omitempty" tf:"service_label,omitempty"`
// The internal fully qualified service name for this Forwarding Rule.
// This field is only used for INTERNAL load balancing.
ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
// The subnetwork that the load balanced IP should belong to for this
// Forwarding Rule. This field is only used for INTERNAL load balancing.
// If the network specified is in auto subnet mode, this field is
// optional. However, if the network is in custom subnet mode, a
// subnetwork must be specified.
Subnetwork *string `json:"subnetwork,omitempty" tf:"subnetwork,omitempty"`
// The URL of the target resource to receive the matched traffic.
// The target must live in the same region as the forwarding rule.
// The forwarded traffic must be of a type appropriate to the target
// object.
Target *string `json:"target,omitempty" tf:"target,omitempty"`
}
type ForwardingRuleParameters struct {
// This field can be used with internal load balancer or network load balancer
// when the forwarding rule references a backend service, or with the target
// field when it references a TargetInstance. Set this to true to
// allow packets addressed to any ports to be forwarded to the backends configured
// with this forwarding rule. This can be used when the protocol is TCP/UDP, and it
// must be set to true when the protocol is set to L3_DEFAULT.
// Cannot be set if port or portRange are set.
// +kubebuilder:validation:Optional
AllPorts *bool `json:"allPorts,omitempty" tf:"all_ports,omitempty"`
// If true, clients can access ILB from all regions.
// Otherwise only allows from the local region the ILB is located at.
// +kubebuilder:validation:Optional
AllowGlobalAccess *bool `json:"allowGlobalAccess,omitempty" tf:"allow_global_access,omitempty"`
// A BackendService to receive the matched traffic. This is used only
// for INTERNAL load balancing.
// +crossplane:generate:reference:type=RegionBackendService
// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.SelfLinkExtractor()
// +kubebuilder:validation:Optional
BackendService *string `json:"backendService,omitempty" tf:"backend_service,omitempty"`
// Reference to a RegionBackendService to populate backendService.
// +kubebuilder:validation:Optional
BackendServiceRef *v1.Reference `json:"backendServiceRef,omitempty" tf:"-"`
// Selector for a RegionBackendService to populate backendService.
// +kubebuilder:validation:Optional
BackendServiceSelector *v1.Selector `json:"backendServiceSelector,omitempty" tf:"-"`
// An optional description of this resource. Provide this property when
// you create the resource.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// The IP address that this forwarding rule serves. When a client sends
// traffic to this IP address, the forwarding rule directs the traffic to
// the target that you specify in the forwarding rule. The
// loadBalancingScheme and the forwarding rule's target determine the
// type of IP address that you can use. For detailed information, refer
// to IP address specifications.
// An address can be specified either by a literal IP address or a
// reference to an existing Address resource. If you don't specify a
// reserved IP address, an ephemeral IP address is assigned.
// The value must be set to 0.0.0.0 when the target is a targetGrpcProxy
// that has validateForProxyless field set to true.
// For Private Service Connect forwarding rules that forward traffic to
// Google APIs, IP address must be provided.
// +crossplane:generate:reference:type=Address
// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.SelfLinkExtractor()
// +kubebuilder:validation:Optional
IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`
// Reference to a Address to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressRef *v1.Reference `json:"ipAddressRef,omitempty" tf:"-"`
// Selector for a Address to populate ipAddress.
// +kubebuilder:validation:Optional
IPAddressSelector *v1.Selector `json:"ipAddressSelector,omitempty" tf:"-"`
// The IP protocol to which this rule applies.
// When the load balancing scheme is INTERNAL, only TCP and UDP are
// valid.
// Possible values are TCP, UDP, ESP, AH, SCTP, ICMP, and L3_DEFAULT.
// +kubebuilder:validation:Optional
IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`
// Indicates whether or not this load balancer can be used
// as a collector for packet mirroring. To prevent mirroring loops,
// instances behind this load balancer will not have their traffic
// mirrored even if a PacketMirroring rule applies to them. This
// can only be set to true for load balancers that have their
// loadBalancingScheme set to INTERNAL.
// +kubebuilder:validation:Optional
IsMirroringCollector *bool `json:"isMirroringCollector,omitempty" tf:"is_mirroring_collector,omitempty"`
// Labels to apply to this forwarding rule. A list of key->value pairs.
// +kubebuilder:validation:Optional
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// This signifies what the ForwardingRule will be used for and can be
// EXTERNAL, EXTERNAL_MANAGED, INTERNAL, or INTERNAL_MANAGED. EXTERNAL is used for Classic
// Cloud VPN gateways, protocol forwarding to VMs from an external IP address,
// and HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP load balancers.
// INTERNAL is used for protocol forwarding to VMs from an internal IP address,
// and internal TCP/UDP load balancers.
// EXTERNAL_MANAGED is used for regional external HTTP(S) load balancers.
// INTERNAL_MANAGED is used for internal HTTP(S) load balancers.
// (Beta only) Note: This field must be set to ""
// if the target is an URI of a service attachment.
// Default value is EXTERNAL.
// Possible values are EXTERNAL, EXTERNAL_MANAGED, INTERNAL, and INTERNAL_MANAGED.
// +kubebuilder:validation:Optional
LoadBalancingScheme *string `json:"loadBalancingScheme,omitempty" tf:"load_balancing_scheme,omitempty"`
// For internal load balancing, this field identifies the network that
// the load balanced IP should belong to for this Forwarding Rule. If
// this field is not specified, the default network will be used.
// This field is only used for INTERNAL load balancing.
// +crossplane:generate:reference:type=Network
// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.SelfLinkExtractor()
// +kubebuilder:validation:Optional
Network *string `json:"network,omitempty" tf:"network,omitempty"`
// Reference to a Network to populate network.
// +kubebuilder:validation:Optional
NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"`
// Selector for a Network to populate network.
// +kubebuilder:validation:Optional
NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"`
// The networking tier used for configuring this address. If this field is not
// specified, it is assumed to be PREMIUM.
// Possible values are PREMIUM and STANDARD.
// +kubebuilder:validation:Optional
NetworkTier *string `json:"networkTier,omitempty" tf:"network_tier,omitempty"`
// This field is used along with the target field for TargetHttpProxy,
// TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway,
// TargetPool, TargetInstance.
// Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets
// addressed to ports in the specified range will be forwarded to target.
// Forwarding rules with the same [IPAddress, IPProtocol] pair must have
// disjoint port ranges.
// Some types of forwarding target have constraints on the acceptable
// ports:
// +kubebuilder:validation:Optional
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// This field is used along with internal load balancing and network
// load balancer when the forwarding rule references a backend service
// and when protocol is not L3_DEFAULT.
// A single port or a comma separated list of ports can be configured.
// Only packets addressed to these ports will be forwarded to the backends
// configured with this forwarding rule.
// You can only use one of ports and portRange, or allPorts.
// The three are mutually exclusive.
// You may specify a maximum of up to 5 ports, which can be non-contiguous.
// +kubebuilder:validation:Optional
Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"`
// The ID of the project in which the resource belongs.
// If it is not provided, the provider project is used.
// +kubebuilder:validation:Optional
Project *string `json:"project,omitempty" tf:"project,omitempty"`
// A reference to the region where the regional forwarding rule resides.
// This field is not applicable to global forwarding rules.
// +kubebuilder:validation:Required
Region *string `json:"region" tf:"region,omitempty"`
// Service Directory resources to register this forwarding rule with. Currently,
// only supports a single Service Directory resource.
// Structure is documented below.
// +kubebuilder:validation:Optional
ServiceDirectoryRegistrations []ServiceDirectoryRegistrationsParameters `json:"serviceDirectoryRegistrations,omitempty" tf:"service_directory_registrations,omitempty"`
// An optional prefix to the service name for this Forwarding Rule.
// If specified, will be the first label of the fully qualified service
// name.
// The label must be 1-63 characters long, and comply with RFC1035.
// Specifically, the label must be 1-63 characters long and match the
// regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first
// character must be a lowercase letter, and all following characters
// must be a dash, lowercase letter, or digit, except the last
// character, which cannot be a dash.
// This field is only used for INTERNAL load balancing.
// +kubebuilder:validation:Optional
ServiceLabel *string `json:"serviceLabel,omitempty" tf:"service_label,omitempty"`
// The subnetwork that the load balanced IP should belong to for this
// Forwarding Rule. This field is only used for INTERNAL load balancing.
// If the network specified is in auto subnet mode, this field is
// optional. However, if the network is in custom subnet mode, a
// subnetwork must be specified.
// +crossplane:generate:reference:type=Subnetwork
// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.SelfLinkExtractor()
// +kubebuilder:validation:Optional
Subnetwork *string `json:"subnetwork,omitempty" tf:"subnetwork,omitempty"`
// Reference to a Subnetwork to populate subnetwork.
// +kubebuilder:validation:Optional
SubnetworkRef *v1.Reference `json:"subnetworkRef,omitempty" tf:"-"`
// Selector for a Subnetwork to populate subnetwork.
// +kubebuilder:validation:Optional
SubnetworkSelector *v1.Selector `json:"subnetworkSelector,omitempty" tf:"-"`
// The URL of the target resource to receive the matched traffic.
// The target must live in the same region as the forwarding rule.
// The forwarded traffic must be of a type appropriate to the target
// object.
// +crossplane:generate:reference:type=RegionTargetHTTPProxy
// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.SelfLinkExtractor()
// +kubebuilder:validation:Optional
Target *string `json:"target,omitempty" tf:"target,omitempty"`
// Reference to a RegionTargetHTTPProxy to populate target.
// +kubebuilder:validation:Optional
TargetRef *v1.Reference `json:"targetRef,omitempty" tf:"-"`
// Selector for a RegionTargetHTTPProxy to populate target.
// +kubebuilder:validation:Optional
TargetSelector *v1.Selector `json:"targetSelector,omitempty" tf:"-"`
}
type ServiceDirectoryRegistrationsObservation struct {
// Service Directory namespace to register the forwarding rule under.
Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`
// Service Directory service to register the forwarding rule under.
Service *string `json:"service,omitempty" tf:"service,omitempty"`
}
type ServiceDirectoryRegistrationsParameters struct {
// Service Directory namespace to register the forwarding rule under.
// +kubebuilder:validation:Optional
Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`
// Service Directory service to register the forwarding rule under.
// +kubebuilder:validation:Optional
Service *string `json:"service,omitempty" tf:"service,omitempty"`
}
// ForwardingRuleSpec defines the desired state of ForwardingRule
type ForwardingRuleSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider ForwardingRuleParameters `json:"forProvider"`
}
// ForwardingRuleStatus defines the observed state of ForwardingRule.
type ForwardingRuleStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider ForwardingRuleObservation `json:"atProvider,omitempty"`
}
// +kubebuilder:object:root=true
// ForwardingRule is the Schema for the ForwardingRules API. A ForwardingRule resource.
// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status"
// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name"
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:subresource:status
// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
type ForwardingRule struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ForwardingRuleSpec `json:"spec"`
Status ForwardingRuleStatus `json:"status,omitempty"`
}
// +kubebuilder:object:root=true
// ForwardingRuleList contains a list of ForwardingRules
type ForwardingRuleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ForwardingRule `json:"items"`
}
// Repository type metadata.
var (
ForwardingRule_Kind = "ForwardingRule"
ForwardingRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ForwardingRule_Kind}.String()
ForwardingRule_KindAPIVersion = ForwardingRule_Kind + "." + CRDGroupVersion.String()
ForwardingRule_GroupVersionKind = CRDGroupVersion.WithKind(ForwardingRule_Kind)
)
func init() {
SchemeBuilder.Register(&ForwardingRule{}, &ForwardingRuleList{})
}