-
Notifications
You must be signed in to change notification settings - Fork 59
/
zz_connectionprofile_types.go
executable file
·580 lines (432 loc) · 22.2 KB
/
zz_connectionprofile_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
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
/*
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 BigqueryProfileInitParameters struct {
}
type BigqueryProfileObservation struct {
}
type BigqueryProfileParameters struct {
}
type ConnectionProfileInitParameters struct {
// BigQuery warehouse profile.
BigqueryProfile []BigqueryProfileInitParameters `json:"bigqueryProfile,omitempty" tf:"bigquery_profile,omitempty"`
// Display name.
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// Forward SSH tunnel connectivity.
// Structure is documented below.
ForwardSSHConnectivity []ForwardSSHConnectivityInitParameters `json:"forwardSshConnectivity,omitempty" tf:"forward_ssh_connectivity,omitempty"`
// Cloud Storage bucket profile.
// Structure is documented below.
GcsProfile []GcsProfileInitParameters `json:"gcsProfile,omitempty" tf:"gcs_profile,omitempty"`
// Labels.
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// MySQL database profile.
// Structure is documented below.
MySQLProfile []MySQLProfileInitParameters `json:"mysqlProfile,omitempty" tf:"mysql_profile,omitempty"`
// Oracle database profile.
// Structure is documented below.
OracleProfile []OracleProfileInitParameters `json:"oracleProfile,omitempty" tf:"oracle_profile,omitempty"`
// PostgreSQL database profile.
// Structure is documented below.
PostgresqlProfile []PostgresqlProfileInitParameters `json:"postgresqlProfile,omitempty" tf:"postgresql_profile,omitempty"`
// Private connectivity.
// Structure is documented below.
PrivateConnectivity []PrivateConnectivityInitParameters `json:"privateConnectivity,omitempty" tf:"private_connectivity,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"`
}
type ConnectionProfileObservation struct {
// BigQuery warehouse profile.
BigqueryProfile []BigqueryProfileParameters `json:"bigqueryProfile,omitempty" tf:"bigquery_profile,omitempty"`
// Display name.
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// Forward SSH tunnel connectivity.
// Structure is documented below.
ForwardSSHConnectivity []ForwardSSHConnectivityObservation `json:"forwardSshConnectivity,omitempty" tf:"forward_ssh_connectivity,omitempty"`
// Cloud Storage bucket profile.
// Structure is documented below.
GcsProfile []GcsProfileObservation `json:"gcsProfile,omitempty" tf:"gcs_profile,omitempty"`
// an identifier for the resource with format projects/{{project}}/locations/{{location}}/connectionProfiles/{{connection_profile_id}}
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Labels.
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// The name of the location this connection profile is located in.
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// MySQL database profile.
// Structure is documented below.
MySQLProfile []MySQLProfileObservation `json:"mysqlProfile,omitempty" tf:"mysql_profile,omitempty"`
// The resource's name.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Oracle database profile.
// Structure is documented below.
OracleProfile []OracleProfileObservation `json:"oracleProfile,omitempty" tf:"oracle_profile,omitempty"`
// PostgreSQL database profile.
// Structure is documented below.
PostgresqlProfile []PostgresqlProfileObservation `json:"postgresqlProfile,omitempty" tf:"postgresql_profile,omitempty"`
// Private connectivity.
// Structure is documented below.
PrivateConnectivity []PrivateConnectivityObservation `json:"privateConnectivity,omitempty" tf:"private_connectivity,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"`
}
type ConnectionProfileParameters struct {
// BigQuery warehouse profile.
// +kubebuilder:validation:Optional
BigqueryProfile []BigqueryProfileParameters `json:"bigqueryProfile,omitempty" tf:"bigquery_profile,omitempty"`
// Display name.
// +kubebuilder:validation:Optional
DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`
// Forward SSH tunnel connectivity.
// Structure is documented below.
// +kubebuilder:validation:Optional
ForwardSSHConnectivity []ForwardSSHConnectivityParameters `json:"forwardSshConnectivity,omitempty" tf:"forward_ssh_connectivity,omitempty"`
// Cloud Storage bucket profile.
// Structure is documented below.
// +kubebuilder:validation:Optional
GcsProfile []GcsProfileParameters `json:"gcsProfile,omitempty" tf:"gcs_profile,omitempty"`
// Labels.
// +kubebuilder:validation:Optional
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// The name of the location this connection profile is located in.
// +kubebuilder:validation:Required
Location *string `json:"location" tf:"location,omitempty"`
// MySQL database profile.
// Structure is documented below.
// +kubebuilder:validation:Optional
MySQLProfile []MySQLProfileParameters `json:"mysqlProfile,omitempty" tf:"mysql_profile,omitempty"`
// Oracle database profile.
// Structure is documented below.
// +kubebuilder:validation:Optional
OracleProfile []OracleProfileParameters `json:"oracleProfile,omitempty" tf:"oracle_profile,omitempty"`
// PostgreSQL database profile.
// Structure is documented below.
// +kubebuilder:validation:Optional
PostgresqlProfile []PostgresqlProfileParameters `json:"postgresqlProfile,omitempty" tf:"postgresql_profile,omitempty"`
// Private connectivity.
// Structure is documented below.
// +kubebuilder:validation:Optional
PrivateConnectivity []PrivateConnectivityParameters `json:"privateConnectivity,omitempty" tf:"private_connectivity,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"`
}
type ForwardSSHConnectivityInitParameters struct {
// Hostname for the SSH tunnel.
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Port for the SSH tunnel.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Username for the SSH tunnel.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type ForwardSSHConnectivityObservation struct {
// Hostname for the SSH tunnel.
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Port for the SSH tunnel.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Username for the SSH tunnel.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type ForwardSSHConnectivityParameters struct {
// Hostname for the SSH tunnel.
// +kubebuilder:validation:Optional
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// SSH password.
// Note: This property is sensitive and will not be displayed in the plan.
// +kubebuilder:validation:Optional
PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`
// Port for the SSH tunnel.
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// SSH private key.
// Note: This property is sensitive and will not be displayed in the plan.
// +kubebuilder:validation:Optional
PrivateKeySecretRef *v1.SecretKeySelector `json:"privateKeySecretRef,omitempty" tf:"-"`
// Username for the SSH tunnel.
// +kubebuilder:validation:Optional
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type GcsProfileInitParameters struct {
// The Cloud Storage bucket name.
Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`
// The root path inside the Cloud Storage bucket.
RootPath *string `json:"rootPath,omitempty" tf:"root_path,omitempty"`
}
type GcsProfileObservation struct {
// The Cloud Storage bucket name.
Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`
// The root path inside the Cloud Storage bucket.
RootPath *string `json:"rootPath,omitempty" tf:"root_path,omitempty"`
}
type GcsProfileParameters struct {
// The Cloud Storage bucket name.
// +kubebuilder:validation:Optional
Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`
// The root path inside the Cloud Storage bucket.
// +kubebuilder:validation:Optional
RootPath *string `json:"rootPath,omitempty" tf:"root_path,omitempty"`
}
type MySQLProfileInitParameters struct {
// Hostname for the MySQL connection.
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Port for the MySQL connection.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// SSL configuration for the MySQL connection.
// Structure is documented below.
SSLConfig []SSLConfigInitParameters `json:"sslConfig,omitempty" tf:"ssl_config,omitempty"`
// Username for the MySQL connection.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type MySQLProfileObservation struct {
// Hostname for the MySQL connection.
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Port for the MySQL connection.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// SSL configuration for the MySQL connection.
// Structure is documented below.
SSLConfig []SSLConfigObservation `json:"sslConfig,omitempty" tf:"ssl_config,omitempty"`
// Username for the MySQL connection.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type MySQLProfileParameters struct {
// Hostname for the MySQL connection.
// +kubebuilder:validation:Optional
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Password for the MySQL connection.
// Note: This property is sensitive and will not be displayed in the plan.
// +kubebuilder:validation:Required
PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
// Port for the MySQL connection.
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// SSL configuration for the MySQL connection.
// Structure is documented below.
// +kubebuilder:validation:Optional
SSLConfig []SSLConfigParameters `json:"sslConfig,omitempty" tf:"ssl_config,omitempty"`
// Username for the MySQL connection.
// +kubebuilder:validation:Optional
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type OracleProfileInitParameters struct {
// Connection string attributes
ConnectionAttributes map[string]*string `json:"connectionAttributes,omitempty" tf:"connection_attributes,omitempty"`
// Database for the Oracle connection.
DatabaseService *string `json:"databaseService,omitempty" tf:"database_service,omitempty"`
// Hostname for the Oracle connection.
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Port for the Oracle connection.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Username for the Oracle connection.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type OracleProfileObservation struct {
// Connection string attributes
ConnectionAttributes map[string]*string `json:"connectionAttributes,omitempty" tf:"connection_attributes,omitempty"`
// Database for the Oracle connection.
DatabaseService *string `json:"databaseService,omitempty" tf:"database_service,omitempty"`
// Hostname for the Oracle connection.
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Port for the Oracle connection.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Username for the Oracle connection.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type OracleProfileParameters struct {
// Connection string attributes
// +kubebuilder:validation:Optional
ConnectionAttributes map[string]*string `json:"connectionAttributes,omitempty" tf:"connection_attributes,omitempty"`
// Database for the Oracle connection.
// +kubebuilder:validation:Optional
DatabaseService *string `json:"databaseService,omitempty" tf:"database_service,omitempty"`
// Hostname for the Oracle connection.
// +kubebuilder:validation:Optional
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Password for the Oracle connection.
// Note: This property is sensitive and will not be displayed in the plan.
// +kubebuilder:validation:Required
PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
// Port for the Oracle connection.
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Username for the Oracle connection.
// +kubebuilder:validation:Optional
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type PostgresqlProfileInitParameters struct {
// Port for the PostgreSQL connection.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
}
type PostgresqlProfileObservation struct {
// Database for the PostgreSQL connection.
Database *string `json:"database,omitempty" tf:"database,omitempty"`
// Hostname for the PostgreSQL connection.
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Port for the PostgreSQL connection.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Username for the PostgreSQL connection.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type PostgresqlProfileParameters struct {
// Database for the PostgreSQL connection.
// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta1.Database
// +kubebuilder:validation:Optional
Database *string `json:"database,omitempty" tf:"database,omitempty"`
// Reference to a Database in sql to populate database.
// +kubebuilder:validation:Optional
DatabaseRef *v1.Reference `json:"databaseRef,omitempty" tf:"-"`
// Selector for a Database in sql to populate database.
// +kubebuilder:validation:Optional
DatabaseSelector *v1.Selector `json:"databaseSelector,omitempty" tf:"-"`
// Hostname for the PostgreSQL connection.
// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta1.DatabaseInstance
// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("public_ip_address",true)
// +kubebuilder:validation:Optional
Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`
// Reference to a DatabaseInstance in sql to populate hostname.
// +kubebuilder:validation:Optional
HostnameRef *v1.Reference `json:"hostnameRef,omitempty" tf:"-"`
// Selector for a DatabaseInstance in sql to populate hostname.
// +kubebuilder:validation:Optional
HostnameSelector *v1.Selector `json:"hostnameSelector,omitempty" tf:"-"`
// Password for the PostgreSQL connection.
// Note: This property is sensitive and will not be displayed in the plan.
// +kubebuilder:validation:Required
PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
// Port for the PostgreSQL connection.
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Username for the PostgreSQL connection.
// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sql/v1beta1.User
// +kubebuilder:validation:Optional
Username *string `json:"username,omitempty" tf:"username,omitempty"`
// Reference to a User in sql to populate username.
// +kubebuilder:validation:Optional
UsernameRef *v1.Reference `json:"usernameRef,omitempty" tf:"-"`
// Selector for a User in sql to populate username.
// +kubebuilder:validation:Optional
UsernameSelector *v1.Selector `json:"usernameSelector,omitempty" tf:"-"`
}
type PrivateConnectivityInitParameters struct {
}
type PrivateConnectivityObservation struct {
// A reference to a private connection resource. Format: projects/{project}/locations/{location}/privateConnections/{name}
PrivateConnection *string `json:"privateConnection,omitempty" tf:"private_connection,omitempty"`
}
type PrivateConnectivityParameters struct {
// A reference to a private connection resource. Format: projects/{project}/locations/{location}/privateConnections/{name}
// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/datastream/v1beta1.PrivateConnection
// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
// +kubebuilder:validation:Optional
PrivateConnection *string `json:"privateConnection,omitempty" tf:"private_connection,omitempty"`
// Reference to a PrivateConnection in datastream to populate privateConnection.
// +kubebuilder:validation:Optional
PrivateConnectionRef *v1.Reference `json:"privateConnectionRef,omitempty" tf:"-"`
// Selector for a PrivateConnection in datastream to populate privateConnection.
// +kubebuilder:validation:Optional
PrivateConnectionSelector *v1.Selector `json:"privateConnectionSelector,omitempty" tf:"-"`
}
type SSLConfigInitParameters struct {
}
type SSLConfigObservation struct {
// (Output)
// Indicates whether the clientKey field is set.
CACertificateSet *bool `json:"caCertificateSet,omitempty" tf:"ca_certificate_set,omitempty"`
// (Output)
// Indicates whether the clientCertificate field is set.
ClientCertificateSet *bool `json:"clientCertificateSet,omitempty" tf:"client_certificate_set,omitempty"`
// (Output)
// Indicates whether the clientKey field is set.
ClientKeySet *bool `json:"clientKeySet,omitempty" tf:"client_key_set,omitempty"`
}
type SSLConfigParameters struct {
// PEM-encoded certificate of the CA that signed the source database
// server's certificate.
// Note: This property is sensitive and will not be displayed in the plan.
// +kubebuilder:validation:Optional
CACertificateSecretRef *v1.SecretKeySelector `json:"caCertificateSecretRef,omitempty" tf:"-"`
// PEM-encoded certificate that will be used by the replica to
// authenticate against the source database server. If this field
// is used then the 'clientKey' and the 'caCertificate' fields are
// mandatory.
// Note: This property is sensitive and will not be displayed in the plan.
// +kubebuilder:validation:Optional
ClientCertificateSecretRef *v1.SecretKeySelector `json:"clientCertificateSecretRef,omitempty" tf:"-"`
// PEM-encoded private key associated with the Client Certificate.
// If this field is used then the 'client_certificate' and the
// 'ca_certificate' fields are mandatory.
// Note: This property is sensitive and will not be displayed in the plan.
// +kubebuilder:validation:Optional
ClientKeySecretRef *v1.SecretKeySelector `json:"clientKeySecretRef,omitempty" tf:"-"`
}
// ConnectionProfileSpec defines the desired state of ConnectionProfile
type ConnectionProfileSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider ConnectionProfileParameters `json:"forProvider"`
// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
// unless the relevant Crossplane feature flag is enabled, and may be
// changed or removed without notice.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider ConnectionProfileInitParameters `json:"initProvider,omitempty"`
}
// ConnectionProfileStatus defines the observed state of ConnectionProfile.
type ConnectionProfileStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider ConnectionProfileObservation `json:"atProvider,omitempty"`
}
// +kubebuilder:object:root=true
// ConnectionProfile is the Schema for the ConnectionProfiles API. A set of reusable connection configurations to be used as a source or destination for a stream.
// +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 ConnectionProfile struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.displayName) || has(self.initProvider.displayName)",message="displayName is a required parameter"
Spec ConnectionProfileSpec `json:"spec"`
Status ConnectionProfileStatus `json:"status,omitempty"`
}
// +kubebuilder:object:root=true
// ConnectionProfileList contains a list of ConnectionProfiles
type ConnectionProfileList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ConnectionProfile `json:"items"`
}
// Repository type metadata.
var (
ConnectionProfile_Kind = "ConnectionProfile"
ConnectionProfile_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConnectionProfile_Kind}.String()
ConnectionProfile_KindAPIVersion = ConnectionProfile_Kind + "." + CRDGroupVersion.String()
ConnectionProfile_GroupVersionKind = CRDGroupVersion.WithKind(ConnectionProfile_Kind)
)
func init() {
SchemeBuilder.Register(&ConnectionProfile{}, &ConnectionProfileList{})
}