-
Notifications
You must be signed in to change notification settings - Fork 156
Expand file tree
/
Copy pathzz_generated.openapi.go
More file actions
2042 lines (1998 loc) · 86.2 KB
/
Copy pathzz_generated.openapi.go
File metadata and controls
2042 lines (1998 loc) · 86.2 KB
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
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//go:build !ignore_autogenerated
// +build !ignore_autogenerated
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016-present Datadog, Inc.
// Code generated by openapi-gen. DO NOT EDIT.
package v2alpha1
import (
common "k8s.io/kube-openapi/pkg/common"
spec "k8s.io/kube-openapi/pkg/validation/spec"
)
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
return map[string]common.OpenAPIDefinition{
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CSPMHostBenchmarksConfig": schema_datadog_operator_api_datadoghq_v2alpha1_CSPMHostBenchmarksConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CelWorkloadExcludeConfig": schema_datadog_operator_api_datadoghq_v2alpha1_CelWorkloadExcludeConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ControlPlaneMonitoringFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_ControlPlaneMonitoringFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CoreConfig": schema_datadog_operator_api_datadoghq_v2alpha1_CoreConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CustomConfig": schema_datadog_operator_api_datadoghq_v2alpha1_CustomConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DaemonSetStatus": schema_datadog_operator_api_datadoghq_v2alpha1_DaemonSetStatus(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DataPlaneDogstatsdConfig": schema_datadog_operator_api_datadoghq_v2alpha1_DataPlaneDogstatsdConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DataPlaneFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_DataPlaneFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DatadogAgent": schema_datadog_operator_api_datadoghq_v2alpha1_DatadogAgent(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DatadogAgentGenericContainer": schema_datadog_operator_api_datadoghq_v2alpha1_DatadogAgentGenericContainer(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DatadogAgentStatus": schema_datadog_operator_api_datadoghq_v2alpha1_DatadogAgentStatus(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DatadogCredentials": schema_datadog_operator_api_datadoghq_v2alpha1_DatadogCredentials(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DatadogFeatures": schema_datadog_operator_api_datadoghq_v2alpha1_DatadogFeatures(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DeploymentStatus": schema_datadog_operator_api_datadoghq_v2alpha1_DeploymentStatus(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DogstatsdFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_DogstatsdFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ErrorTrackingStandalone": schema_datadog_operator_api_datadoghq_v2alpha1_ErrorTrackingStandalone(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.EventCollectionFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_EventCollectionFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ExperimentStatus": schema_datadog_operator_api_datadoghq_v2alpha1_ExperimentStatus(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.FIPSConfig": schema_datadog_operator_api_datadoghq_v2alpha1_FIPSConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.HelmCheckFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_HelmCheckFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.KubeActionsFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_KubeActionsFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.KubeStateMetricsCoreFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_KubeStateMetricsCoreFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.LocalService": schema_datadog_operator_api_datadoghq_v2alpha1_LocalService(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.MultiCustomConfig": schema_datadog_operator_api_datadoghq_v2alpha1_MultiCustomConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.NetworkPolicyConfig": schema_datadog_operator_api_datadoghq_v2alpha1_NetworkPolicyConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OTLPFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_OTLPFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OTLPGRPCConfig": schema_datadog_operator_api_datadoghq_v2alpha1_OTLPGRPCConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OTLPHTTPConfig": schema_datadog_operator_api_datadoghq_v2alpha1_OTLPHTTPConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OTLPProtocolsConfig": schema_datadog_operator_api_datadoghq_v2alpha1_OTLPProtocolsConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OTLPReceiverConfig": schema_datadog_operator_api_datadoghq_v2alpha1_OTLPReceiverConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OrchestratorExplorerFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_OrchestratorExplorerFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OtelAgentGatewayFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_OtelAgentGatewayFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OtelCollectorFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_OtelCollectorFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.PrometheusScrapeFeatureConfig": schema_datadog_operator_api_datadoghq_v2alpha1_PrometheusScrapeFeatureConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.RemoteConfigConfiguration": schema_datadog_operator_api_datadoghq_v2alpha1_RemoteConfigConfiguration(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SeccompConfig": schema_datadog_operator_api_datadoghq_v2alpha1_SeccompConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SecretBackendConfig": schema_datadog_operator_api_datadoghq_v2alpha1_SecretBackendConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SecretBackendRolesConfig": schema_datadog_operator_api_datadoghq_v2alpha1_SecretBackendRolesConfig(ref),
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.UnixDomainSocketConfig": schema_datadog_operator_api_datadoghq_v2alpha1_UnixDomainSocketConfig(ref),
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_CSPMHostBenchmarksConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "CSPMHostBenchmarksConfig contains configuration for host benchmarks.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"enabled": {
SchemaProps: spec.SchemaProps{
Description: "Enabled enables Linux host benchmarks. Requires `features.cspm.enabled` to be set to `true`. Default: true",
Type: []string{"boolean"},
Format: "",
},
},
},
},
},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_CelWorkloadExcludeConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "CelWorkloadExcludeConfig configures CEL-based filtering to exclude specific workloads from Agent collection.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"products": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-list-type": "atomic",
},
},
SchemaProps: spec.SchemaProps{
Description: "Products specifies which products these exclusion rules apply to.",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Default: "",
Type: []string{"string"},
Format: "",
},
},
},
},
},
"rules": {
SchemaProps: spec.SchemaProps{
Description: "Rules defines the CEL expressions used to identify workloads to exclude.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CelWorkloadExcludeRules"),
},
},
},
},
},
Dependencies: []string{
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CelWorkloadExcludeRules"},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_ControlPlaneMonitoringFeatureConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "ControlPlaneMonitoringFeatureConfig contains the configuration for the control plane monitoring.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"enabled": {
SchemaProps: spec.SchemaProps{
Description: "Enabled enables control plane monitoring checks in the cluster agent. Default: true",
Type: []string{"boolean"},
Format: "",
},
},
},
},
},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_CoreConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "CoreConfig exposes the otel collector configs relevant to the core agent.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"enabled": {
SchemaProps: spec.SchemaProps{
Description: "Enabled marks otelcollector as enabled in core agent.",
Type: []string{"boolean"},
Format: "",
},
},
"extensionURL": {
SchemaProps: spec.SchemaProps{
Description: "Extension URL provides the URL of the ddflareextension to the core agent.",
Type: []string{"string"},
Format: "",
},
},
"extensionTimeout": {
SchemaProps: spec.SchemaProps{
Description: "Extension URL provides the timout of the ddflareextension to the core agent.",
Type: []string{"integer"},
Format: "int32",
},
},
},
},
},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_CustomConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "CustomConfig provides a place for custom configuration of the Agent or Cluster Agent, corresponding to datadog.yaml, system-probe.yaml, security-agent.yaml or datadog-cluster.yaml. The configuration can be provided in the ConfigData field as raw data, or referenced in a ConfigMap. Note: `ConfigData` and `ConfigMap` cannot be set together.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"configData": {
SchemaProps: spec.SchemaProps{
Description: "ConfigData corresponds to the configuration file content.",
Type: []string{"string"},
Format: "",
},
},
"configMap": {
SchemaProps: spec.SchemaProps{
Description: "ConfigMap references an existing ConfigMap with the configuration file content.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ConfigMapConfig"),
},
},
},
},
},
Dependencies: []string{
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ConfigMapConfig"},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_DaemonSetStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "DaemonSetStatus defines the observed state of Agent running as DaemonSet.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"desired": {
SchemaProps: spec.SchemaProps{
Description: "Number of desired pods in the DaemonSet.",
Default: 0,
Type: []string{"integer"},
Format: "int32",
},
},
"current": {
SchemaProps: spec.SchemaProps{
Description: "Number of current pods in the DaemonSet.",
Default: 0,
Type: []string{"integer"},
Format: "int32",
},
},
"ready": {
SchemaProps: spec.SchemaProps{
Description: "Number of ready pods in the DaemonSet.",
Default: 0,
Type: []string{"integer"},
Format: "int32",
},
},
"available": {
SchemaProps: spec.SchemaProps{
Description: "Number of available pods in the DaemonSet.",
Default: 0,
Type: []string{"integer"},
Format: "int32",
},
},
"upToDate": {
SchemaProps: spec.SchemaProps{
Description: "Number of up to date pods in the DaemonSet.",
Default: 0,
Type: []string{"integer"},
Format: "int32",
},
},
"lastUpdate": {
SchemaProps: spec.SchemaProps{
Description: "LastUpdate is the last time the status was updated.",
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
},
},
"currentHash": {
SchemaProps: spec.SchemaProps{
Description: "CurrentHash is the stored hash of the DaemonSet.",
Type: []string{"string"},
Format: "",
},
},
"status": {
SchemaProps: spec.SchemaProps{
Description: "Status corresponds to the DaemonSet computed status.",
Type: []string{"string"},
Format: "",
},
},
"state": {
SchemaProps: spec.SchemaProps{
Description: "State corresponds to the DaemonSet state.",
Type: []string{"string"},
Format: "",
},
},
"daemonsetName": {
SchemaProps: spec.SchemaProps{
Description: "DaemonsetName corresponds to the name of the created DaemonSet.",
Type: []string{"string"},
Format: "",
},
},
},
Required: []string{"desired", "current", "ready", "available", "upToDate"},
},
},
Dependencies: []string{
"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_DataPlaneDogstatsdConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "DataPlaneDogstatsdConfig configures DogStatsD handling by the Data Plane.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"enabled": {
SchemaProps: spec.SchemaProps{
Description: "Enabled configures the Data Plane to handle DogStatsD traffic. When set to false, DogStatsD is handled by the Core Agent instead. Default: true",
Type: []string{"boolean"},
Format: "",
},
},
},
},
},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_DataPlaneFeatureConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "DataPlaneFeatureConfig contains the Data Plane configuration. Data Plane runs as a sidecar container alongside the Core Agent.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"enabled": {
SchemaProps: spec.SchemaProps{
Description: "Enabled enables the Data Plane. Default: false",
Type: []string{"boolean"},
Format: "",
},
},
"dogstatsd": {
SchemaProps: spec.SchemaProps{
Description: "Dogstatsd configures DogStatsD handling by the Data Plane.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DataPlaneDogstatsdConfig"),
},
},
},
},
},
Dependencies: []string{
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DataPlaneDogstatsdConfig"},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_DatadogAgent(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "DatadogAgent defines Agent configuration, see reference https://github.com/DataDog/datadog-operator/blob/main/docs/configuration.v2alpha1.md",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"kind": {
SchemaProps: spec.SchemaProps{
Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
Type: []string{"string"},
Format: "",
},
},
"apiVersion": {
SchemaProps: spec.SchemaProps{
Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
Type: []string{"string"},
Format: "",
},
},
"metadata": {
SchemaProps: spec.SchemaProps{
Default: map[string]interface{}{},
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
},
},
"spec": {
SchemaProps: spec.SchemaProps{
Default: map[string]interface{}{},
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DatadogAgentSpec"),
},
},
"status": {
SchemaProps: spec.SchemaProps{
Default: map[string]interface{}{},
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DatadogAgentStatus"),
},
},
},
},
},
Dependencies: []string{
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DatadogAgentSpec", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DatadogAgentStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_DatadogAgentGenericContainer(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "DatadogAgentGenericContainer is the generic structure describing any container's common configuration.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"name": {
SchemaProps: spec.SchemaProps{
Description: "Name of the container that is overridden",
Type: []string{"string"},
Format: "",
},
},
"logLevel": {
SchemaProps: spec.SchemaProps{
Description: "LogLevel sets logging verbosity (overrides global setting). Valid log levels are: trace, debug, info, warn, error, critical, and off. Default: 'info'",
Type: []string{"string"},
Format: "",
},
},
"ports": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-list-type": "atomic",
},
},
SchemaProps: spec.SchemaProps{
Description: "Specify additional ports to be exposed by the container. Not specifying a port here DOES NOT prevent that port from being exposed. See https://pkg.go.dev/k8s.io/api/core/v1#Container documentation for more details.",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Default: map[string]interface{}{},
Ref: ref("k8s.io/api/core/v1.ContainerPort"),
},
},
},
},
},
"env": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-list-map-keys": []interface{}{
"name",
},
"x-kubernetes-list-type": "map",
},
},
SchemaProps: spec.SchemaProps{
Description: "Specify additional environment variables in the container. See also: https://docs.datadoghq.com/agent/kubernetes/?tab=helm#environment-variables",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Default: map[string]interface{}{},
Ref: ref("k8s.io/api/core/v1.EnvVar"),
},
},
},
},
},
"volumeMounts": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-list-map-keys": []interface{}{
"name",
"mountPath",
},
"x-kubernetes-list-type": "map",
},
},
SchemaProps: spec.SchemaProps{
Description: "Specify additional volume mounts in the container.",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Default: map[string]interface{}{},
Ref: ref("k8s.io/api/core/v1.VolumeMount"),
},
},
},
},
},
"resources": {
SchemaProps: spec.SchemaProps{
Description: "Specify the Request and Limits of the pods To get guaranteed QoS class, specify requests and limits equal. See also: http://kubernetes.io/docs/user-guide/compute-resources/",
Ref: ref("k8s.io/api/core/v1.ResourceRequirements"),
},
},
"command": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-list-type": "atomic",
},
},
SchemaProps: spec.SchemaProps{
Description: "Command allows the specification of a custom entrypoint for container",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Default: "",
Type: []string{"string"},
Format: "",
},
},
},
},
},
"args": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-list-type": "atomic",
},
},
SchemaProps: spec.SchemaProps{
Description: "Args allows the specification of extra args to the `Command` parameter",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Default: "",
Type: []string{"string"},
Format: "",
},
},
},
},
},
"healthPort": {
SchemaProps: spec.SchemaProps{
Description: "HealthPort of the container for the internal liveness probe. Must be the same as the Liveness/Readiness probes.",
Type: []string{"integer"},
Format: "int32",
},
},
"readinessProbe": {
SchemaProps: spec.SchemaProps{
Description: "Configure the Readiness Probe of the container",
Ref: ref("k8s.io/api/core/v1.Probe"),
},
},
"livenessProbe": {
SchemaProps: spec.SchemaProps{
Description: "Configure the Liveness Probe of the container",
Ref: ref("k8s.io/api/core/v1.Probe"),
},
},
"startupProbe": {
SchemaProps: spec.SchemaProps{
Description: "Configure the Startup Probe of the container",
Ref: ref("k8s.io/api/core/v1.Probe"),
},
},
"securityContext": {
SchemaProps: spec.SchemaProps{
Description: "Container-level SecurityContext.",
Ref: ref("k8s.io/api/core/v1.SecurityContext"),
},
},
"seccompConfig": {
SchemaProps: spec.SchemaProps{
Description: "Seccomp configurations to override Operator actions. For all other Seccomp Profile manipulation, use SecurityContext.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SeccompConfig"),
},
},
"appArmorProfileName": {
SchemaProps: spec.SchemaProps{
Description: "AppArmorProfileName specifies an apparmor profile.",
Type: []string{"string"},
Format: "",
},
},
},
},
},
Dependencies: []string{
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SeccompConfig", "k8s.io/api/core/v1.ContainerPort", "k8s.io/api/core/v1.EnvVar", "k8s.io/api/core/v1.Probe", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.SecurityContext", "k8s.io/api/core/v1.VolumeMount"},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_DatadogAgentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "DatadogAgentStatus defines the observed state of DatadogAgent.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"conditions": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-list-map-keys": []interface{}{
"type",
},
"x-kubernetes-list-type": "map",
},
},
SchemaProps: spec.SchemaProps{
Description: "Conditions Represents the latest available observations of a DatadogAgent's current state.",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Default: map[string]interface{}{},
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Condition"),
},
},
},
},
},
"agentList": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-list-type": "atomic",
},
},
SchemaProps: spec.SchemaProps{
Description: "The actual state of the Agent as a daemonset or an extended daemonset.",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DaemonSetStatus"),
},
},
},
},
},
"agent": {
SchemaProps: spec.SchemaProps{
Description: "The combined actual state of all Agents as daemonsets or extended daemonsets.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DaemonSetStatus"),
},
},
"clusterAgent": {
SchemaProps: spec.SchemaProps{
Description: "The actual state of the Cluster Agent as a deployment.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DeploymentStatus"),
},
},
"clusterChecksRunner": {
SchemaProps: spec.SchemaProps{
Description: "The actual state of the Cluster Checks Runner as a deployment.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DeploymentStatus"),
},
},
"otelAgentGateway": {
SchemaProps: spec.SchemaProps{
Description: "The actual state of the OTel Agent Gateway as a deployment.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DeploymentStatus"),
},
},
"remoteConfigConfiguration": {
SchemaProps: spec.SchemaProps{
Description: "RemoteConfigConfiguration stores the configuration received from RemoteConfig.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.RemoteConfigConfiguration"),
},
},
"experiment": {
SchemaProps: spec.SchemaProps{
Description: "Experiment tracks the state of an active or recent Fleet Automation experiment.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ExperimentStatus"),
},
},
},
},
},
Dependencies: []string{
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DaemonSetStatus", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DeploymentStatus", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ExperimentStatus", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.RemoteConfigConfiguration", "k8s.io/apimachinery/pkg/apis/meta/v1.Condition"},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_DatadogCredentials(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "DatadogCredentials is a generic structure that holds credentials to access Datadog.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"apiKey": {
SchemaProps: spec.SchemaProps{
Description: "APIKey configures your Datadog API key. See also: https://app.datadoghq.com/account/settings#agent/kubernetes",
Type: []string{"string"},
Format: "",
},
},
"apiSecret": {
SchemaProps: spec.SchemaProps{
Description: "APISecret references an existing Secret which stores the API key instead of creating a new one. If set, this parameter takes precedence over \"APIKey\".",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SecretConfig"),
},
},
"appKey": {
SchemaProps: spec.SchemaProps{
Description: "AppKey configures your Datadog application key. If you are using features.externalMetricsServer.enabled = true, you must set a Datadog application key for read access to your metrics.",
Type: []string{"string"},
Format: "",
},
},
"appSecret": {
SchemaProps: spec.SchemaProps{
Description: "AppSecret references an existing Secret which stores the application key instead of creating a new one. If set, this parameter takes precedence over \"AppKey\".",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SecretConfig"),
},
},
},
},
},
Dependencies: []string{
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SecretConfig"},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_DatadogFeatures(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "DatadogFeatures are features running on the Agent and Cluster Agent.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"otelCollector": {
SchemaProps: spec.SchemaProps{
Description: "OtelCollector configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OtelCollectorFeatureConfig"),
},
},
"otelAgentGateway": {
SchemaProps: spec.SchemaProps{
Description: "OtelAgentGateway configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OtelAgentGatewayFeatureConfig"),
},
},
"logCollection": {
SchemaProps: spec.SchemaProps{
Description: "LogCollection configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.LogCollectionFeatureConfig"),
},
},
"liveProcessCollection": {
SchemaProps: spec.SchemaProps{
Description: "LiveProcessCollection configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.LiveProcessCollectionFeatureConfig"),
},
},
"liveContainerCollection": {
SchemaProps: spec.SchemaProps{
Description: "LiveContainerCollection configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.LiveContainerCollectionFeatureConfig"),
},
},
"processDiscovery": {
SchemaProps: spec.SchemaProps{
Description: "ProcessDiscovery configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ProcessDiscoveryFeatureConfig"),
},
},
"oomKill": {
SchemaProps: spec.SchemaProps{
Description: "OOMKill configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OOMKillFeatureConfig"),
},
},
"tcpQueueLength": {
SchemaProps: spec.SchemaProps{
Description: "TCPQueueLength configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.TCPQueueLengthFeatureConfig"),
},
},
"ebpfCheck": {
SchemaProps: spec.SchemaProps{
Description: "EBPFCheck configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.EBPFCheckFeatureConfig"),
},
},
"apm": {
SchemaProps: spec.SchemaProps{
Description: "APM (Application Performance Monitoring) configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.APMFeatureConfig"),
},
},
"asm": {
SchemaProps: spec.SchemaProps{
Description: "ASM (Application Security Management) configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ASMFeatureConfig"),
},
},
"cspm": {
SchemaProps: spec.SchemaProps{
Description: "CSPM (Cloud Security Posture Management) configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CSPMFeatureConfig"),
},
},
"cws": {
SchemaProps: spec.SchemaProps{
Description: "CWS (Cloud Workload Security) configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CWSFeatureConfig"),
},
},
"npm": {
SchemaProps: spec.SchemaProps{
Description: "NPM (Network Performance Monitoring) configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.NPMFeatureConfig"),
},
},
"usm": {
SchemaProps: spec.SchemaProps{
Description: "USM (Universal Service Monitoring) configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.USMFeatureConfig"),
},
},
"dogstatsd": {
SchemaProps: spec.SchemaProps{
Description: "Dogstatsd configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DogstatsdFeatureConfig"),
},
},
"otlp": {
SchemaProps: spec.SchemaProps{
Description: "OTLP ingest configuration",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OTLPFeatureConfig"),
},
},
"remoteConfiguration": {
SchemaProps: spec.SchemaProps{
Description: "Remote Configuration configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.RemoteConfigurationFeatureConfig"),
},
},
"sbom": {
SchemaProps: spec.SchemaProps{
Description: "SBOM collection configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SBOMFeatureConfig"),
},
},
"serviceDiscovery": {
SchemaProps: spec.SchemaProps{
Description: "ServiceDiscovery",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ServiceDiscoveryFeatureConfig"),
},
},
"gpu": {
SchemaProps: spec.SchemaProps{
Description: "GPU monitoring",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.GPUFeatureConfig"),
},
},
"dataPlane": {
SchemaProps: spec.SchemaProps{
Description: "DataPlane configuration for the Agent Data Plane. Agent Data Plane is a high-performance sidecar that handles data ingestion.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DataPlaneFeatureConfig"),
},
},
"eventCollection": {
SchemaProps: spec.SchemaProps{
Description: "EventCollection configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.EventCollectionFeatureConfig"),
},
},
"orchestratorExplorer": {
SchemaProps: spec.SchemaProps{
Description: "OrchestratorExplorer check configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OrchestratorExplorerFeatureConfig"),
},
},
"kubeStateMetricsCore": {
SchemaProps: spec.SchemaProps{
Description: "KubeStateMetricsCore check configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.KubeStateMetricsCoreFeatureConfig"),
},
},
"admissionController": {
SchemaProps: spec.SchemaProps{
Description: "AdmissionController configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.AdmissionControllerFeatureConfig"),
},
},
"externalMetricsServer": {
SchemaProps: spec.SchemaProps{
Description: "ExternalMetricsServer configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ExternalMetricsServerFeatureConfig"),
},
},
"autoscaling": {
SchemaProps: spec.SchemaProps{
Description: "Autoscaling configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.AutoscalingFeatureConfig"),
},
},
"clusterChecks": {
SchemaProps: spec.SchemaProps{
Description: "ClusterChecks configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ClusterChecksFeatureConfig"),
},
},
"prometheusScrape": {
SchemaProps: spec.SchemaProps{
Description: "PrometheusScrape configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.PrometheusScrapeFeatureConfig"),
},
},
"helmCheck": {
SchemaProps: spec.SchemaProps{
Description: "HelmCheck configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.HelmCheckFeatureConfig"),
},
},
"controlPlaneMonitoring": {
SchemaProps: spec.SchemaProps{
Description: "ControlPlaneMonitoring configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ControlPlaneMonitoringFeatureConfig"),
},
},
"kubeActions": {
SchemaProps: spec.SchemaProps{
Description: "KubeActions configuration.",
Ref: ref("github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.KubeActionsFeatureConfig"),
},
},
},
},
},
Dependencies: []string{
"github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.APMFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ASMFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.AdmissionControllerFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.AutoscalingFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CSPMFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.CWSFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ClusterChecksFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ControlPlaneMonitoringFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DataPlaneFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.DogstatsdFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.EBPFCheckFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.EventCollectionFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ExternalMetricsServerFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.GPUFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.HelmCheckFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.KubeActionsFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.KubeStateMetricsCoreFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.LiveContainerCollectionFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.LiveProcessCollectionFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.LogCollectionFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.NPMFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OOMKillFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OTLPFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OrchestratorExplorerFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OtelAgentGatewayFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.OtelCollectorFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ProcessDiscoveryFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.PrometheusScrapeFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.RemoteConfigurationFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.SBOMFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.ServiceDiscoveryFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.TCPQueueLengthFeatureConfig", "github.com/DataDog/datadog-operator/api/datadoghq/v2alpha1.USMFeatureConfig"},
}
}
func schema_datadog_operator_api_datadoghq_v2alpha1_DeploymentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "DeploymentStatus type representing a Deployment status.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"replicas": {
SchemaProps: spec.SchemaProps{
Description: "Total number of non-terminated pods targeted by this Deployment (their labels match the selector).",
Type: []string{"integer"},
Format: "int32",
},
},
"updatedReplicas": {
SchemaProps: spec.SchemaProps{
Description: "Total number of non-terminated pods targeted by this Deployment that have the desired template spec.",
Type: []string{"integer"},
Format: "int32",
},
},
"readyReplicas": {
SchemaProps: spec.SchemaProps{
Description: "Total number of ready pods targeted by this Deployment.",
Type: []string{"integer"},
Format: "int32",
},
},
"availableReplicas": {
SchemaProps: spec.SchemaProps{
Description: "Total number of available pods (ready for at least minReadySeconds) targeted by this Deployment.",
Type: []string{"integer"},
Format: "int32",
},
},
"unavailableReplicas": {
SchemaProps: spec.SchemaProps{
Description: "Total number of unavailable pods targeted by this Deployment. This is the total number of pods that are still required for the Deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.",
Type: []string{"integer"},
Format: "int32",
},
},
"lastUpdate": {
SchemaProps: spec.SchemaProps{
Description: "LastUpdate is the last time the status was updated.",
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
},
},
"currentHash": {
SchemaProps: spec.SchemaProps{
Description: "CurrentHash is the stored hash of the Deployment.",
Type: []string{"string"},
Format: "",
},
},
"generatedToken": {
SchemaProps: spec.SchemaProps{
Description: "GeneratedToken corresponds to the generated token if any token was provided in the Credential configuration when ClusterAgent is enabled.",
Type: []string{"string"},
Format: "",
},
},
"status": {
SchemaProps: spec.SchemaProps{
Description: "Status corresponds to the Deployment computed status.",
Type: []string{"string"},
Format: "",
},
},
"state": {
SchemaProps: spec.SchemaProps{
Description: "State corresponds to the Deployment state.",
Type: []string{"string"},
Format: "",
},
},
"deploymentName": {
SchemaProps: spec.SchemaProps{
Description: "DeploymentName corresponds to the name of the Deployment.",
Type: []string{"string"},
Format: "",
},
},