-
Notifications
You must be signed in to change notification settings - Fork 59
/
zz_registryrepository_types.go
executable file
·575 lines (445 loc) · 24.2 KB
/
zz_registryrepository_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
/*
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 DockerConfigInitParameters struct {
// The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
ImmutableTags *bool `json:"immutableTags,omitempty" tf:"immutable_tags,omitempty"`
}
type DockerConfigObservation struct {
// The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
ImmutableTags *bool `json:"immutableTags,omitempty" tf:"immutable_tags,omitempty"`
}
type DockerConfigParameters struct {
// The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
// +kubebuilder:validation:Optional
ImmutableTags *bool `json:"immutableTags,omitempty" tf:"immutable_tags,omitempty"`
}
type DockerRepositoryInitParameters struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type DockerRepositoryObservation struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type DockerRepositoryParameters struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
// +kubebuilder:validation:Optional
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type MavenConfigInitParameters struct {
// The repository with this flag will allow publishing the same
// snapshot versions.
AllowSnapshotOverwrites *bool `json:"allowSnapshotOverwrites,omitempty" tf:"allow_snapshot_overwrites,omitempty"`
// Version policy defines the versions that the registry will accept.
// Default value is VERSION_POLICY_UNSPECIFIED.
// Possible values are: VERSION_POLICY_UNSPECIFIED, RELEASE, SNAPSHOT.
VersionPolicy *string `json:"versionPolicy,omitempty" tf:"version_policy,omitempty"`
}
type MavenConfigObservation struct {
// The repository with this flag will allow publishing the same
// snapshot versions.
AllowSnapshotOverwrites *bool `json:"allowSnapshotOverwrites,omitempty" tf:"allow_snapshot_overwrites,omitempty"`
// Version policy defines the versions that the registry will accept.
// Default value is VERSION_POLICY_UNSPECIFIED.
// Possible values are: VERSION_POLICY_UNSPECIFIED, RELEASE, SNAPSHOT.
VersionPolicy *string `json:"versionPolicy,omitempty" tf:"version_policy,omitempty"`
}
type MavenConfigParameters struct {
// The repository with this flag will allow publishing the same
// snapshot versions.
// +kubebuilder:validation:Optional
AllowSnapshotOverwrites *bool `json:"allowSnapshotOverwrites,omitempty" tf:"allow_snapshot_overwrites,omitempty"`
// Version policy defines the versions that the registry will accept.
// Default value is VERSION_POLICY_UNSPECIFIED.
// Possible values are: VERSION_POLICY_UNSPECIFIED, RELEASE, SNAPSHOT.
// +kubebuilder:validation:Optional
VersionPolicy *string `json:"versionPolicy,omitempty" tf:"version_policy,omitempty"`
}
type MavenRepositoryInitParameters struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type MavenRepositoryObservation struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type MavenRepositoryParameters struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
// +kubebuilder:validation:Optional
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type NpmRepositoryInitParameters struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type NpmRepositoryObservation struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type NpmRepositoryParameters struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
// +kubebuilder:validation:Optional
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type PythonRepositoryInitParameters struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type PythonRepositoryObservation struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type PythonRepositoryParameters struct {
// Address of the remote repository.
// Default value is PYPI.
// Possible values are: PYPI.
// +kubebuilder:validation:Optional
PublicRepository *string `json:"publicRepository,omitempty" tf:"public_repository,omitempty"`
}
type RegistryRepositoryInitParameters struct {
// The user-provided description of the repository.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Docker repository config contains repository level configuration for the repositories of docker type.
// Structure is documented below.
DockerConfig []DockerConfigInitParameters `json:"dockerConfig,omitempty" tf:"docker_config,omitempty"`
// The format of packages that are stored in the repository. Supported formats
// can be found here.
// You can only create alpha formats if you are a member of the
// alpha user group.
Format *string `json:"format,omitempty" tf:"format,omitempty"`
// The Cloud KMS resource name of the customer managed encryption key that’s
// used to encrypt the contents of the Repository. Has the form:
// projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key.
// This value may not be changed after the Repository has been created.
KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`
// Labels with user-defined metadata.
// This field may contain up to 64 entries. Label keys and values may be no
// longer than 63 characters. Label keys must begin with a lowercase letter
// and may only contain lowercase letters, numeric characters, underscores,
// and dashes.
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// MavenRepositoryConfig is maven related repository details.
// Provides additional configuration details for repositories of the maven
// format type.
// Structure is documented below.
MavenConfig []MavenConfigInitParameters `json:"mavenConfig,omitempty" tf:"maven_config,omitempty"`
// The mode configures the repository to serve artifacts from different sources.
// Default value is STANDARD_REPOSITORY.
// Possible values are: STANDARD_REPOSITORY, VIRTUAL_REPOSITORY, REMOTE_REPOSITORY.
Mode *string `json:"mode,omitempty" tf:"mode,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"`
// Configuration specific for a Remote Repository.
// Structure is documented below.
RemoteRepositoryConfig []RemoteRepositoryConfigInitParameters `json:"remoteRepositoryConfig,omitempty" tf:"remote_repository_config,omitempty"`
// Configuration specific for a Virtual Repository.
// Structure is documented below.
VirtualRepositoryConfig []VirtualRepositoryConfigInitParameters `json:"virtualRepositoryConfig,omitempty" tf:"virtual_repository_config,omitempty"`
}
type RegistryRepositoryObservation struct {
// The time when the repository was created.
CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`
// The user-provided description of the repository.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Docker repository config contains repository level configuration for the repositories of docker type.
// Structure is documented below.
DockerConfig []DockerConfigObservation `json:"dockerConfig,omitempty" tf:"docker_config,omitempty"`
// The format of packages that are stored in the repository. Supported formats
// can be found here.
// You can only create alpha formats if you are a member of the
// alpha user group.
Format *string `json:"format,omitempty" tf:"format,omitempty"`
// an identifier for the resource with format projects/{{project}}/locations/{{location}}/repositories/{{repository_id}}
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The Cloud KMS resource name of the customer managed encryption key that’s
// used to encrypt the contents of the Repository. Has the form:
// projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key.
// This value may not be changed after the Repository has been created.
KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`
// Labels with user-defined metadata.
// This field may contain up to 64 entries. Label keys and values may be no
// longer than 63 characters. Label keys must begin with a lowercase letter
// and may only contain lowercase letters, numeric characters, underscores,
// and dashes.
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// The name of the location this repository is located in.
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// MavenRepositoryConfig is maven related repository details.
// Provides additional configuration details for repositories of the maven
// format type.
// Structure is documented below.
MavenConfig []MavenConfigObservation `json:"mavenConfig,omitempty" tf:"maven_config,omitempty"`
// The mode configures the repository to serve artifacts from different sources.
// Default value is STANDARD_REPOSITORY.
// Possible values are: STANDARD_REPOSITORY, VIRTUAL_REPOSITORY, REMOTE_REPOSITORY.
Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
// The name of the repository, for example:
// "repo1"
Name *string `json:"name,omitempty" tf:"name,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"`
// Configuration specific for a Remote Repository.
// Structure is documented below.
RemoteRepositoryConfig []RemoteRepositoryConfigObservation `json:"remoteRepositoryConfig,omitempty" tf:"remote_repository_config,omitempty"`
// The time when the repository was last updated.
UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
// Configuration specific for a Virtual Repository.
// Structure is documented below.
VirtualRepositoryConfig []VirtualRepositoryConfigObservation `json:"virtualRepositoryConfig,omitempty" tf:"virtual_repository_config,omitempty"`
}
type RegistryRepositoryParameters struct {
// The user-provided description of the repository.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Docker repository config contains repository level configuration for the repositories of docker type.
// Structure is documented below.
// +kubebuilder:validation:Optional
DockerConfig []DockerConfigParameters `json:"dockerConfig,omitempty" tf:"docker_config,omitempty"`
// The format of packages that are stored in the repository. Supported formats
// can be found here.
// You can only create alpha formats if you are a member of the
// alpha user group.
// +kubebuilder:validation:Optional
Format *string `json:"format,omitempty" tf:"format,omitempty"`
// The Cloud KMS resource name of the customer managed encryption key that’s
// used to encrypt the contents of the Repository. Has the form:
// projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key.
// This value may not be changed after the Repository has been created.
// +kubebuilder:validation:Optional
KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`
// Labels with user-defined metadata.
// This field may contain up to 64 entries. Label keys and values may be no
// longer than 63 characters. Label keys must begin with a lowercase letter
// and may only contain lowercase letters, numeric characters, underscores,
// and dashes.
// +kubebuilder:validation:Optional
Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
// The name of the location this repository is located in.
// +kubebuilder:validation:Optional
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// MavenRepositoryConfig is maven related repository details.
// Provides additional configuration details for repositories of the maven
// format type.
// Structure is documented below.
// +kubebuilder:validation:Optional
MavenConfig []MavenConfigParameters `json:"mavenConfig,omitempty" tf:"maven_config,omitempty"`
// The mode configures the repository to serve artifacts from different sources.
// Default value is STANDARD_REPOSITORY.
// Possible values are: STANDARD_REPOSITORY, VIRTUAL_REPOSITORY, REMOTE_REPOSITORY.
// +kubebuilder:validation:Optional
Mode *string `json:"mode,omitempty" tf:"mode,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"`
// Configuration specific for a Remote Repository.
// Structure is documented below.
// +kubebuilder:validation:Optional
RemoteRepositoryConfig []RemoteRepositoryConfigParameters `json:"remoteRepositoryConfig,omitempty" tf:"remote_repository_config,omitempty"`
// Configuration specific for a Virtual Repository.
// Structure is documented below.
// +kubebuilder:validation:Optional
VirtualRepositoryConfig []VirtualRepositoryConfigParameters `json:"virtualRepositoryConfig,omitempty" tf:"virtual_repository_config,omitempty"`
}
type RemoteRepositoryConfigInitParameters struct {
// The description of the remote source.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Specific settings for a Docker remote repository.
// Structure is documented below.
DockerRepository []DockerRepositoryInitParameters `json:"dockerRepository,omitempty" tf:"docker_repository,omitempty"`
// Specific settings for a Maven remote repository.
// Structure is documented below.
MavenRepository []MavenRepositoryInitParameters `json:"mavenRepository,omitempty" tf:"maven_repository,omitempty"`
// Specific settings for an Npm remote repository.
// Structure is documented below.
NpmRepository []NpmRepositoryInitParameters `json:"npmRepository,omitempty" tf:"npm_repository,omitempty"`
// Specific settings for a Python remote repository.
// Structure is documented below.
PythonRepository []PythonRepositoryInitParameters `json:"pythonRepository,omitempty" tf:"python_repository,omitempty"`
}
type RemoteRepositoryConfigObservation struct {
// The description of the remote source.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Specific settings for a Docker remote repository.
// Structure is documented below.
DockerRepository []DockerRepositoryObservation `json:"dockerRepository,omitempty" tf:"docker_repository,omitempty"`
// Specific settings for a Maven remote repository.
// Structure is documented below.
MavenRepository []MavenRepositoryObservation `json:"mavenRepository,omitempty" tf:"maven_repository,omitempty"`
// Specific settings for an Npm remote repository.
// Structure is documented below.
NpmRepository []NpmRepositoryObservation `json:"npmRepository,omitempty" tf:"npm_repository,omitempty"`
// Specific settings for a Python remote repository.
// Structure is documented below.
PythonRepository []PythonRepositoryObservation `json:"pythonRepository,omitempty" tf:"python_repository,omitempty"`
}
type RemoteRepositoryConfigParameters struct {
// The description of the remote source.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Specific settings for a Docker remote repository.
// Structure is documented below.
// +kubebuilder:validation:Optional
DockerRepository []DockerRepositoryParameters `json:"dockerRepository,omitempty" tf:"docker_repository,omitempty"`
// Specific settings for a Maven remote repository.
// Structure is documented below.
// +kubebuilder:validation:Optional
MavenRepository []MavenRepositoryParameters `json:"mavenRepository,omitempty" tf:"maven_repository,omitempty"`
// Specific settings for an Npm remote repository.
// Structure is documented below.
// +kubebuilder:validation:Optional
NpmRepository []NpmRepositoryParameters `json:"npmRepository,omitempty" tf:"npm_repository,omitempty"`
// Specific settings for a Python remote repository.
// Structure is documented below.
// +kubebuilder:validation:Optional
PythonRepository []PythonRepositoryParameters `json:"pythonRepository,omitempty" tf:"python_repository,omitempty"`
}
type UpstreamPoliciesInitParameters struct {
// The user-provided ID of the upstream policy.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Entries with a greater priority value take precedence in the pull order.
Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
}
type UpstreamPoliciesObservation struct {
// The user-provided ID of the upstream policy.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Entries with a greater priority value take precedence in the pull order.
Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
// A reference to the repository resource, for example:
// "projects/p1/locations/us-central1/repository/repo1".
Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}
type UpstreamPoliciesParameters struct {
// The user-provided ID of the upstream policy.
// +kubebuilder:validation:Optional
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Entries with a greater priority value take precedence in the pull order.
// +kubebuilder:validation:Optional
Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
// A reference to the repository resource, for example:
// "projects/p1/locations/us-central1/repository/repo1".
// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/artifact/v1beta1.RegistryRepository
// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
// +kubebuilder:validation:Optional
Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
// Reference to a RegistryRepository in artifact to populate repository.
// +kubebuilder:validation:Optional
RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"`
// Selector for a RegistryRepository in artifact to populate repository.
// +kubebuilder:validation:Optional
RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"`
}
type VirtualRepositoryConfigInitParameters struct {
// Policies that configure the upstream artifacts distributed by the Virtual
// Repository. Upstream policies cannot be set on a standard repository.
// Structure is documented below.
UpstreamPolicies []UpstreamPoliciesInitParameters `json:"upstreamPolicies,omitempty" tf:"upstream_policies,omitempty"`
}
type VirtualRepositoryConfigObservation struct {
// Policies that configure the upstream artifacts distributed by the Virtual
// Repository. Upstream policies cannot be set on a standard repository.
// Structure is documented below.
UpstreamPolicies []UpstreamPoliciesObservation `json:"upstreamPolicies,omitempty" tf:"upstream_policies,omitempty"`
}
type VirtualRepositoryConfigParameters struct {
// Policies that configure the upstream artifacts distributed by the Virtual
// Repository. Upstream policies cannot be set on a standard repository.
// Structure is documented below.
// +kubebuilder:validation:Optional
UpstreamPolicies []UpstreamPoliciesParameters `json:"upstreamPolicies,omitempty" tf:"upstream_policies,omitempty"`
}
// RegistryRepositorySpec defines the desired state of RegistryRepository
type RegistryRepositorySpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider RegistryRepositoryParameters `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 RegistryRepositoryInitParameters `json:"initProvider,omitempty"`
}
// RegistryRepositoryStatus defines the observed state of RegistryRepository.
type RegistryRepositoryStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider RegistryRepositoryObservation `json:"atProvider,omitempty"`
}
// +kubebuilder:object:root=true
// RegistryRepository is the Schema for the RegistryRepositorys API. A repository for storing artifacts
// +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 RegistryRepository 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.format) || has(self.initProvider.format)",message="format is a required parameter"
Spec RegistryRepositorySpec `json:"spec"`
Status RegistryRepositoryStatus `json:"status,omitempty"`
}
// +kubebuilder:object:root=true
// RegistryRepositoryList contains a list of RegistryRepositorys
type RegistryRepositoryList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []RegistryRepository `json:"items"`
}
// Repository type metadata.
var (
RegistryRepository_Kind = "RegistryRepository"
RegistryRepository_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RegistryRepository_Kind}.String()
RegistryRepository_KindAPIVersion = RegistryRepository_Kind + "." + CRDGroupVersion.String()
RegistryRepository_GroupVersionKind = CRDGroupVersion.WithKind(RegistryRepository_Kind)
)
func init() {
SchemeBuilder.Register(&RegistryRepository{}, &RegistryRepositoryList{})
}