-
Notifications
You must be signed in to change notification settings - Fork 112
/
zz_experimenttemplate_types.go
executable file
·583 lines (423 loc) · 23.6 KB
/
zz_experimenttemplate_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
581
582
583
// SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
// 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 ActionInitParameters struct {
// ID of the action. To find out what actions are supported see AWS FIS actions reference.
ActionID *string `json:"actionId,omitempty" tf:"action_id,omitempty"`
// Description of the action.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Friendly name of the action.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Parameter(s) for the action, if applicable. See below.
Parameter []ParameterInitParameters `json:"parameter,omitempty" tf:"parameter,omitempty"`
// Set of action names that must complete before this action can be executed.
// +listType=set
StartAfter []*string `json:"startAfter,omitempty" tf:"start_after,omitempty"`
// Action's target, if applicable. See below.
Target []TargetInitParameters `json:"target,omitempty" tf:"target,omitempty"`
}
type ActionObservation struct {
// ID of the action. To find out what actions are supported see AWS FIS actions reference.
ActionID *string `json:"actionId,omitempty" tf:"action_id,omitempty"`
// Description of the action.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Friendly name of the action.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Parameter(s) for the action, if applicable. See below.
Parameter []ParameterObservation `json:"parameter,omitempty" tf:"parameter,omitempty"`
// Set of action names that must complete before this action can be executed.
// +listType=set
StartAfter []*string `json:"startAfter,omitempty" tf:"start_after,omitempty"`
// Action's target, if applicable. See below.
Target []TargetObservation `json:"target,omitempty" tf:"target,omitempty"`
}
type ActionParameters struct {
// ID of the action. To find out what actions are supported see AWS FIS actions reference.
// +kubebuilder:validation:Optional
ActionID *string `json:"actionId" tf:"action_id,omitempty"`
// Description of the action.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Friendly name of the action.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// Parameter(s) for the action, if applicable. See below.
// +kubebuilder:validation:Optional
Parameter []ParameterParameters `json:"parameter,omitempty" tf:"parameter,omitempty"`
// Set of action names that must complete before this action can be executed.
// +kubebuilder:validation:Optional
// +listType=set
StartAfter []*string `json:"startAfter,omitempty" tf:"start_after,omitempty"`
// Action's target, if applicable. See below.
// +kubebuilder:validation:Optional
Target []TargetParameters `json:"target,omitempty" tf:"target,omitempty"`
}
type CloudwatchLogsConfigurationInitParameters struct {
// The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.
LogGroupArn *string `json:"logGroupArn,omitempty" tf:"log_group_arn,omitempty"`
}
type CloudwatchLogsConfigurationObservation struct {
// The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.
LogGroupArn *string `json:"logGroupArn,omitempty" tf:"log_group_arn,omitempty"`
}
type CloudwatchLogsConfigurationParameters struct {
// The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.
// +kubebuilder:validation:Optional
LogGroupArn *string `json:"logGroupArn" tf:"log_group_arn,omitempty"`
}
type ExperimentTemplateInitParameters struct {
// Action to be performed during an experiment. See below.
Action []ActionInitParameters `json:"action,omitempty" tf:"action,omitempty"`
// Description for the experiment template.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// The configuration for experiment logging. See below.
LogConfiguration []LogConfigurationInitParameters `json:"logConfiguration,omitempty" tf:"log_configuration,omitempty"`
// ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// Reference to a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
// When an ongoing experiment should be stopped. See below.
StopCondition []StopConditionInitParameters `json:"stopCondition,omitempty" tf:"stop_condition,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Target of an action. See below.
Target []ExperimentTemplateTargetInitParameters `json:"target,omitempty" tf:"target,omitempty"`
}
type ExperimentTemplateObservation struct {
// Action to be performed during an experiment. See below.
Action []ActionObservation `json:"action,omitempty" tf:"action,omitempty"`
// Description for the experiment template.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Experiment Template ID.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The configuration for experiment logging. See below.
LogConfiguration []LogConfigurationObservation `json:"logConfiguration,omitempty" tf:"log_configuration,omitempty"`
// ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// When an ongoing experiment should be stopped. See below.
StopCondition []StopConditionObservation `json:"stopCondition,omitempty" tf:"stop_condition,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// +mapType=granular
TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
// Target of an action. See below.
Target []ExperimentTemplateTargetObservation `json:"target,omitempty" tf:"target,omitempty"`
}
type ExperimentTemplateParameters struct {
// Action to be performed during an experiment. See below.
// +kubebuilder:validation:Optional
Action []ActionParameters `json:"action,omitempty" tf:"action,omitempty"`
// Description for the experiment template.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// The configuration for experiment logging. See below.
// +kubebuilder:validation:Optional
LogConfiguration []LogConfigurationParameters `json:"logConfiguration,omitempty" tf:"log_configuration,omitempty"`
// Region is the region you'd like your resource to be created in.
// +upjet:crd:field:TFTag=-
// +kubebuilder:validation:Required
Region *string `json:"region" tf:"-"`
// ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
// +kubebuilder:validation:Optional
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// Reference to a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
// When an ongoing experiment should be stopped. See below.
// +kubebuilder:validation:Optional
StopCondition []StopConditionParameters `json:"stopCondition,omitempty" tf:"stop_condition,omitempty"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Target of an action. See below.
// +kubebuilder:validation:Optional
Target []ExperimentTemplateTargetParameters `json:"target,omitempty" tf:"target,omitempty"`
}
type ExperimentTemplateTargetInitParameters struct {
// Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
Filter []FilterInitParameters `json:"filter,omitempty" tf:"filter,omitempty"`
// Friendly name given to the target.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The resource type parameters.
// +mapType=granular
Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`
// Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
// +listType=set
ResourceArns []*string `json:"resourceArns,omitempty" tf:"resource_arns,omitempty"`
// Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
ResourceTag []ResourceTagInitParameters `json:"resourceTag,omitempty" tf:"resource_tag,omitempty"`
// AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`
// Scopes the identified resources. Valid values are ALL (all identified resources), COUNT(n) (randomly select n of the identified resources), PERCENT(n) (randomly select n percent of the identified resources).
SelectionMode *string `json:"selectionMode,omitempty" tf:"selection_mode,omitempty"`
}
type ExperimentTemplateTargetObservation struct {
// Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
Filter []FilterObservation `json:"filter,omitempty" tf:"filter,omitempty"`
// Friendly name given to the target.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The resource type parameters.
// +mapType=granular
Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`
// Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
// +listType=set
ResourceArns []*string `json:"resourceArns,omitempty" tf:"resource_arns,omitempty"`
// Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
ResourceTag []ResourceTagObservation `json:"resourceTag,omitempty" tf:"resource_tag,omitempty"`
// AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`
// Scopes the identified resources. Valid values are ALL (all identified resources), COUNT(n) (randomly select n of the identified resources), PERCENT(n) (randomly select n percent of the identified resources).
SelectionMode *string `json:"selectionMode,omitempty" tf:"selection_mode,omitempty"`
}
type ExperimentTemplateTargetParameters struct {
// Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
// +kubebuilder:validation:Optional
Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"`
// Friendly name given to the target.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// The resource type parameters.
// +kubebuilder:validation:Optional
// +mapType=granular
Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`
// Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
// +kubebuilder:validation:Optional
// +listType=set
ResourceArns []*string `json:"resourceArns,omitempty" tf:"resource_arns,omitempty"`
// Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
// +kubebuilder:validation:Optional
ResourceTag []ResourceTagParameters `json:"resourceTag,omitempty" tf:"resource_tag,omitempty"`
// AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
// +kubebuilder:validation:Optional
ResourceType *string `json:"resourceType" tf:"resource_type,omitempty"`
// Scopes the identified resources. Valid values are ALL (all identified resources), COUNT(n) (randomly select n of the identified resources), PERCENT(n) (randomly select n percent of the identified resources).
// +kubebuilder:validation:Optional
SelectionMode *string `json:"selectionMode" tf:"selection_mode,omitempty"`
}
type FilterInitParameters struct {
// Attribute path for the filter.
Path *string `json:"path,omitempty" tf:"path,omitempty"`
// Set of attribute values for the filter.
// +listType=set
Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}
type FilterObservation struct {
// Attribute path for the filter.
Path *string `json:"path,omitempty" tf:"path,omitempty"`
// Set of attribute values for the filter.
// +listType=set
Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}
type FilterParameters struct {
// Attribute path for the filter.
// +kubebuilder:validation:Optional
Path *string `json:"path" tf:"path,omitempty"`
// Set of attribute values for the filter.
// +kubebuilder:validation:Optional
// +listType=set
Values []*string `json:"values" tf:"values,omitempty"`
}
type LogConfigurationInitParameters struct {
// The configuration for experiment logging to Amazon CloudWatch Logs. See below.
CloudwatchLogsConfiguration []CloudwatchLogsConfigurationInitParameters `json:"cloudwatchLogsConfiguration,omitempty" tf:"cloudwatch_logs_configuration,omitempty"`
// The schema version. See documentation for the list of schema versions.
LogSchemaVersion *float64 `json:"logSchemaVersion,omitempty" tf:"log_schema_version,omitempty"`
// The configuration for experiment logging to Amazon S3. See below.
S3Configuration []S3ConfigurationInitParameters `json:"s3Configuration,omitempty" tf:"s3_configuration,omitempty"`
}
type LogConfigurationObservation struct {
// The configuration for experiment logging to Amazon CloudWatch Logs. See below.
CloudwatchLogsConfiguration []CloudwatchLogsConfigurationObservation `json:"cloudwatchLogsConfiguration,omitempty" tf:"cloudwatch_logs_configuration,omitempty"`
// The schema version. See documentation for the list of schema versions.
LogSchemaVersion *float64 `json:"logSchemaVersion,omitempty" tf:"log_schema_version,omitempty"`
// The configuration for experiment logging to Amazon S3. See below.
S3Configuration []S3ConfigurationObservation `json:"s3Configuration,omitempty" tf:"s3_configuration,omitempty"`
}
type LogConfigurationParameters struct {
// The configuration for experiment logging to Amazon CloudWatch Logs. See below.
// +kubebuilder:validation:Optional
CloudwatchLogsConfiguration []CloudwatchLogsConfigurationParameters `json:"cloudwatchLogsConfiguration,omitempty" tf:"cloudwatch_logs_configuration,omitempty"`
// The schema version. See documentation for the list of schema versions.
// +kubebuilder:validation:Optional
LogSchemaVersion *float64 `json:"logSchemaVersion" tf:"log_schema_version,omitempty"`
// The configuration for experiment logging to Amazon S3. See below.
// +kubebuilder:validation:Optional
S3Configuration []S3ConfigurationParameters `json:"s3Configuration,omitempty" tf:"s3_configuration,omitempty"`
}
type ParameterInitParameters struct {
// Parameter name.
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// Parameter value.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type ParameterObservation struct {
// Parameter name.
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// Parameter value.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type ParameterParameters struct {
// Parameter name.
// +kubebuilder:validation:Optional
Key *string `json:"key" tf:"key,omitempty"`
// Parameter value.
// +kubebuilder:validation:Optional
Value *string `json:"value" tf:"value,omitempty"`
}
type ResourceTagInitParameters struct {
// Tag key.
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// Tag value.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type ResourceTagObservation struct {
// Tag key.
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// Tag value.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type ResourceTagParameters struct {
// Tag key.
// +kubebuilder:validation:Optional
Key *string `json:"key" tf:"key,omitempty"`
// Tag value.
// +kubebuilder:validation:Optional
Value *string `json:"value" tf:"value,omitempty"`
}
type S3ConfigurationInitParameters struct {
// The name of the destination bucket.
BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`
// The bucket prefix.
Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
}
type S3ConfigurationObservation struct {
// The name of the destination bucket.
BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`
// The bucket prefix.
Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
}
type S3ConfigurationParameters struct {
// The name of the destination bucket.
// +kubebuilder:validation:Optional
BucketName *string `json:"bucketName" tf:"bucket_name,omitempty"`
// The bucket prefix.
// +kubebuilder:validation:Optional
Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
}
type StopConditionInitParameters struct {
// Source of the condition. One of none, aws:cloudwatch:alarm.
Source *string `json:"source,omitempty" tf:"source,omitempty"`
// ARN of the CloudWatch alarm. Required if the source is a CloudWatch alarm.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type StopConditionObservation struct {
// Source of the condition. One of none, aws:cloudwatch:alarm.
Source *string `json:"source,omitempty" tf:"source,omitempty"`
// ARN of the CloudWatch alarm. Required if the source is a CloudWatch alarm.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type StopConditionParameters struct {
// Source of the condition. One of none, aws:cloudwatch:alarm.
// +kubebuilder:validation:Optional
Source *string `json:"source" tf:"source,omitempty"`
// ARN of the CloudWatch alarm. Required if the source is a CloudWatch alarm.
// +kubebuilder:validation:Optional
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type TargetInitParameters struct {
// Tag key.
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// Target name, referencing a corresponding target.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type TargetObservation struct {
// Tag key.
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// Target name, referencing a corresponding target.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type TargetParameters struct {
// Tag key.
// +kubebuilder:validation:Optional
Key *string `json:"key" tf:"key,omitempty"`
// Target name, referencing a corresponding target.
// +kubebuilder:validation:Optional
Value *string `json:"value" tf:"value,omitempty"`
}
// ExperimentTemplateSpec defines the desired state of ExperimentTemplate
type ExperimentTemplateSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider ExperimentTemplateParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// 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 ExperimentTemplateInitParameters `json:"initProvider,omitempty"`
}
// ExperimentTemplateStatus defines the observed state of ExperimentTemplate.
type ExperimentTemplateStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider ExperimentTemplateObservation `json:"atProvider,omitempty"`
}
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// ExperimentTemplate is the Schema for the ExperimentTemplates API. Provides an FIS Experiment Template.
// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status"
// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}
type ExperimentTemplate 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.action) || (has(self.initProvider) && has(self.initProvider.action))",message="spec.forProvider.action is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.stopCondition) || (has(self.initProvider) && has(self.initProvider.stopCondition))",message="spec.forProvider.stopCondition is a required parameter"
Spec ExperimentTemplateSpec `json:"spec"`
Status ExperimentTemplateStatus `json:"status,omitempty"`
}
// +kubebuilder:object:root=true
// ExperimentTemplateList contains a list of ExperimentTemplates
type ExperimentTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ExperimentTemplate `json:"items"`
}
// Repository type metadata.
var (
ExperimentTemplate_Kind = "ExperimentTemplate"
ExperimentTemplate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ExperimentTemplate_Kind}.String()
ExperimentTemplate_KindAPIVersion = ExperimentTemplate_Kind + "." + CRDGroupVersion.String()
ExperimentTemplate_GroupVersionKind = CRDGroupVersion.WithKind(ExperimentTemplate_Kind)
)
func init() {
SchemeBuilder.Register(&ExperimentTemplate{}, &ExperimentTemplateList{})
}