cdk8s 1.0.0-beta.46 → 1.0.0-beta.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "bundled": {
10
10
  "fast-json-patch": "^2.2.1",
11
- "follow-redirects": "^1.14.3",
11
+ "follow-redirects": "^1.14.4",
12
12
  "yaml": "2.0.0-7"
13
13
  },
14
14
  "dependencies": {
@@ -3179,6 +3179,6 @@
3179
3179
  "name": "YamlOutputType"
3180
3180
  }
3181
3181
  },
3182
- "version": "1.0.0-beta.46",
3183
- "fingerprint": "sOydpFsnHNrnMUJLTMS+bh6iLQchooEqEKCjWR33zJ8="
3182
+ "version": "1.0.0-beta.47",
3183
+ "fingerprint": "4ZH9zwpAnRTovRdNhOV1PrOfublLCH/5U4f87rjGdRA="
3184
3184
  }
package/docs/java.md CHANGED
@@ -117,6 +117,10 @@ The higher-level construct.
117
117
 
118
118
  ##### `apiGroup`<sup>Required</sup> <a name="org.cdk8s.ApiObject.property.apiGroup"></a>
119
119
 
120
+ ```java
121
+ public java.lang.String getApiGroup();
122
+ ```
123
+
120
124
  - *Type:* `java.lang.String`
121
125
 
122
126
  The group portion of the API version (e.g. `authorization.k8s.io`).
@@ -125,6 +129,10 @@ The group portion of the API version (e.g. `authorization.k8s.io`).
125
129
 
126
130
  ##### `apiVersion`<sup>Required</sup> <a name="org.cdk8s.ApiObject.property.apiVersion"></a>
127
131
 
132
+ ```java
133
+ public java.lang.String getApiVersion();
134
+ ```
135
+
128
136
  - *Type:* `java.lang.String`
129
137
 
130
138
  The object's API version (e.g. `authorization.k8s.io/v1`).
@@ -133,6 +141,10 @@ The object's API version (e.g. `authorization.k8s.io/v1`).
133
141
 
134
142
  ##### `chart`<sup>Required</sup> <a name="org.cdk8s.ApiObject.property.chart"></a>
135
143
 
144
+ ```java
145
+ public Chart getChart();
146
+ ```
147
+
136
148
  - *Type:* [`org.cdk8s.Chart`](#org.cdk8s.Chart)
137
149
 
138
150
  The chart in which this object is defined.
@@ -141,6 +153,10 @@ The chart in which this object is defined.
141
153
 
142
154
  ##### `kind`<sup>Required</sup> <a name="org.cdk8s.ApiObject.property.kind"></a>
143
155
 
156
+ ```java
157
+ public java.lang.String getKind();
158
+ ```
159
+
144
160
  - *Type:* `java.lang.String`
145
161
 
146
162
  The object kind.
@@ -149,6 +165,10 @@ The object kind.
149
165
 
150
166
  ##### `metadata`<sup>Required</sup> <a name="org.cdk8s.ApiObject.property.metadata"></a>
151
167
 
168
+ ```java
169
+ public ApiObjectMetadataDefinition getMetadata();
170
+ ```
171
+
152
172
  - *Type:* [`org.cdk8s.ApiObjectMetadataDefinition`](#org.cdk8s.ApiObjectMetadataDefinition)
153
173
 
154
174
  Metadata associated with this API object.
@@ -157,6 +177,10 @@ Metadata associated with this API object.
157
177
 
158
178
  ##### `name`<sup>Required</sup> <a name="org.cdk8s.ApiObject.property.name"></a>
159
179
 
180
+ ```java
181
+ public java.lang.String getName();
182
+ ```
183
+
160
184
  - *Type:* `java.lang.String`
161
185
 
162
186
  The name of the API object.
@@ -215,6 +239,10 @@ public synth()
215
239
 
216
240
  ##### `outdir`<sup>Required</sup> <a name="org.cdk8s.App.property.outdir"></a>
217
241
 
242
+ ```java
243
+ public java.lang.String getOutdir();
244
+ ```
245
+
218
246
  - *Type:* `java.lang.String`
219
247
 
220
248
  The output directory into which manifests will be synthesized.
@@ -223,6 +251,10 @@ The output directory into which manifests will be synthesized.
223
251
 
224
252
  ##### `yamlOutputType`<sup>Required</sup> <a name="org.cdk8s.App.property.yamlOutputType"></a>
225
253
 
254
+ ```java
255
+ public YamlOutputType getYamlOutputType();
256
+ ```
257
+
226
258
  - *Type:* [`org.cdk8s.YamlOutputType`](#org.cdk8s.YamlOutputType)
227
259
  - *Default:* YamlOutputType.FILE_PER_CHART
228
260
 
@@ -335,6 +367,10 @@ a construct node.
335
367
 
336
368
  ##### `labels`<sup>Required</sup> <a name="org.cdk8s.Chart.property.labels"></a>
337
369
 
370
+ ```java
371
+ public java.util.Map<java.lang.String, java.lang.String> getLabels();
372
+ ```
373
+
338
374
  - *Type:* java.util.Map<java.lang.String, `java.lang.String`>
339
375
 
340
376
  Labels applied to all resources in this chart.
@@ -345,6 +381,10 @@ This is an immutable copy.
345
381
 
346
382
  ##### `namespace`<sup>Optional</sup> <a name="org.cdk8s.Chart.property.namespace"></a>
347
383
 
384
+ ```java
385
+ public java.lang.String getNamespace();
386
+ ```
387
+
348
388
  - *Type:* `java.lang.String`
349
389
 
350
390
  The default namespace for all objects in this chart.
@@ -438,6 +478,10 @@ Values to pass to the chart.
438
478
 
439
479
  ##### `releaseName`<sup>Required</sup> <a name="org.cdk8s.Helm.property.releaseName"></a>
440
480
 
481
+ ```java
482
+ public java.lang.String getReleaseName();
483
+ ```
484
+
441
485
  - *Type:* `java.lang.String`
442
486
 
443
487
  The helm release name.
@@ -488,6 +532,10 @@ Local file path or URL which includes a Kubernetes YAML manifest.
488
532
 
489
533
  ##### `apiObjects`<sup>Required</sup> <a name="org.cdk8s.Include.property.apiObjects"></a>
490
534
 
535
+ ```java
536
+ public java.util.List<ApiObject> getApiObjects();
537
+ ```
538
+
491
539
  - *Type:* java.util.List<[`org.cdk8s.ApiObject`](#org.cdk8s.ApiObject)>
492
540
 
493
541
  Returns all the included API objects.
@@ -516,6 +564,10 @@ ApiObjectMetadata.builder()
516
564
 
517
565
  ##### `annotations`<sup>Optional</sup> <a name="org.cdk8s.ApiObjectMetadata.property.annotations"></a>
518
566
 
567
+ ```java
568
+ public java.util.Map<java.lang.String, java.lang.String> getAnnotations();
569
+ ```
570
+
519
571
  - *Type:* java.util.Map<java.lang.String, `java.lang.String`>
520
572
  - *Default:* No annotations.
521
573
 
@@ -530,6 +582,10 @@ preserved when modifying objects.
530
582
 
531
583
  ##### `labels`<sup>Optional</sup> <a name="org.cdk8s.ApiObjectMetadata.property.labels"></a>
532
584
 
585
+ ```java
586
+ public java.util.Map<java.lang.String, java.lang.String> getLabels();
587
+ ```
588
+
533
589
  - *Type:* java.util.Map<java.lang.String, `java.lang.String`>
534
590
  - *Default:* No labels.
535
591
 
@@ -543,6 +599,10 @@ May match selectors of replication controllers and services.
543
599
 
544
600
  ##### `name`<sup>Optional</sup> <a name="org.cdk8s.ApiObjectMetadata.property.name"></a>
545
601
 
602
+ ```java
603
+ public java.lang.String getName();
604
+ ```
605
+
546
606
  - *Type:* `java.lang.String`
547
607
  - *Default:* an app-unique name generated by the chart
548
608
 
@@ -565,6 +625,10 @@ leave this unspecified.
565
625
 
566
626
  ##### `namespace`<sup>Optional</sup> <a name="org.cdk8s.ApiObjectMetadata.property.namespace"></a>
567
627
 
628
+ ```java
629
+ public java.lang.String getNamespace();
630
+ ```
631
+
568
632
  - *Type:* `java.lang.String`
569
633
  - *Default:* undefined (will be assigned to the 'default' namespace)
570
634
 
@@ -593,6 +657,10 @@ ApiObjectProps.builder()
593
657
 
594
658
  ##### `apiVersion`<sup>Required</sup> <a name="org.cdk8s.ApiObjectProps.property.apiVersion"></a>
595
659
 
660
+ ```java
661
+ public java.lang.String getApiVersion();
662
+ ```
663
+
596
664
  - *Type:* `java.lang.String`
597
665
 
598
666
  API version.
@@ -601,6 +669,10 @@ API version.
601
669
 
602
670
  ##### `kind`<sup>Required</sup> <a name="org.cdk8s.ApiObjectProps.property.kind"></a>
603
671
 
672
+ ```java
673
+ public java.lang.String getKind();
674
+ ```
675
+
604
676
  - *Type:* `java.lang.String`
605
677
 
606
678
  Resource kind.
@@ -609,6 +681,10 @@ Resource kind.
609
681
 
610
682
  ##### `metadata`<sup>Optional</sup> <a name="org.cdk8s.ApiObjectProps.property.metadata"></a>
611
683
 
684
+ ```java
685
+ public ApiObjectMetadata getMetadata();
686
+ ```
687
+
612
688
  - *Type:* [`org.cdk8s.ApiObjectMetadata`](#org.cdk8s.ApiObjectMetadata)
613
689
 
614
690
  Object metadata.
@@ -633,6 +709,10 @@ AppProps.builder()
633
709
 
634
710
  ##### `outdir`<sup>Optional</sup> <a name="org.cdk8s.AppProps.property.outdir"></a>
635
711
 
712
+ ```java
713
+ public java.lang.String getOutdir();
714
+ ```
715
+
636
716
  - *Type:* `java.lang.String`
637
717
  - *Default:* CDK8S_OUTDIR if defined, otherwise "dist"
638
718
 
@@ -642,6 +722,10 @@ The directory to output Kubernetes manifests.
642
722
 
643
723
  ##### `yamlOutputType`<sup>Optional</sup> <a name="org.cdk8s.AppProps.property.yamlOutputType"></a>
644
724
 
725
+ ```java
726
+ public YamlOutputType getYamlOutputType();
727
+ ```
728
+
645
729
  - *Type:* [`org.cdk8s.YamlOutputType`](#org.cdk8s.YamlOutputType)
646
730
  - *Default:* YamlOutputType.FILE_PER_CHART
647
731
 
@@ -664,6 +748,10 @@ ChartProps.builder()
664
748
 
665
749
  ##### `labels`<sup>Optional</sup> <a name="org.cdk8s.ChartProps.property.labels"></a>
666
750
 
751
+ ```java
752
+ public java.util.Map<java.lang.String, java.lang.String> getLabels();
753
+ ```
754
+
667
755
  - *Type:* java.util.Map<java.lang.String, `java.lang.String`>
668
756
  - *Default:* no common labels
669
757
 
@@ -673,6 +761,10 @@ Labels to apply to all resources in this chart.
673
761
 
674
762
  ##### `namespace`<sup>Optional</sup> <a name="org.cdk8s.ChartProps.property.namespace"></a>
675
763
 
764
+ ```java
765
+ public java.lang.String getNamespace();
766
+ ```
767
+
676
768
  - *Type:* `java.lang.String`
677
769
  - *Default:* no namespace is synthesized (usually this implies "default")
678
770
 
@@ -698,6 +790,10 @@ GroupVersionKind.builder()
698
790
 
699
791
  ##### `apiVersion`<sup>Required</sup> <a name="org.cdk8s.GroupVersionKind.property.apiVersion"></a>
700
792
 
793
+ ```java
794
+ public java.lang.String getApiVersion();
795
+ ```
796
+
701
797
  - *Type:* `java.lang.String`
702
798
 
703
799
  The object's API version (e.g. `authorization.k8s.io/v1`).
@@ -706,6 +802,10 @@ The object's API version (e.g. `authorization.k8s.io/v1`).
706
802
 
707
803
  ##### `kind`<sup>Required</sup> <a name="org.cdk8s.GroupVersionKind.property.kind"></a>
708
804
 
805
+ ```java
806
+ public java.lang.String getKind();
807
+ ```
808
+
709
809
  - *Type:* `java.lang.String`
710
810
 
711
811
  The object kind.
@@ -732,6 +832,10 @@ HelmProps.builder()
732
832
 
733
833
  ##### `chart`<sup>Required</sup> <a name="org.cdk8s.HelmProps.property.chart"></a>
734
834
 
835
+ ```java
836
+ public java.lang.String getChart();
837
+ ```
838
+
735
839
  - *Type:* `java.lang.String`
736
840
 
737
841
  The chart name to use. It can be a chart from a helm repository or a local directory.
@@ -742,6 +846,10 @@ This name is passed to `helm template` and has all the relevant semantics.
742
846
 
743
847
  ##### `helmExecutable`<sup>Optional</sup> <a name="org.cdk8s.HelmProps.property.helmExecutable"></a>
744
848
 
849
+ ```java
850
+ public java.lang.String getHelmExecutable();
851
+ ```
852
+
745
853
  - *Type:* `java.lang.String`
746
854
  - *Default:* "helm"
747
855
 
@@ -751,6 +859,10 @@ The local helm executable to use in order to create the manifest the chart.
751
859
 
752
860
  ##### `helmFlags`<sup>Optional</sup> <a name="org.cdk8s.HelmProps.property.helmFlags"></a>
753
861
 
862
+ ```java
863
+ public java.util.List<java.lang.String> getHelmFlags();
864
+ ```
865
+
754
866
  - *Type:* java.util.List<`java.lang.String`>
755
867
  - *Default:* []
756
868
 
@@ -760,6 +872,10 @@ Additional flags to add to the `helm` execution.
760
872
 
761
873
  ##### `releaseName`<sup>Optional</sup> <a name="org.cdk8s.HelmProps.property.releaseName"></a>
762
874
 
875
+ ```java
876
+ public java.lang.String getReleaseName();
877
+ ```
878
+
763
879
  - *Type:* `java.lang.String`
764
880
  - *Default:* if unspecified, a name will be allocated based on the construct path
765
881
 
@@ -771,6 +887,10 @@ The release name.
771
887
 
772
888
  ##### `values`<sup>Optional</sup> <a name="org.cdk8s.HelmProps.property.values"></a>
773
889
 
890
+ ```java
891
+ public java.util.Map<java.lang.String, java.lang.Object> getValues();
892
+ ```
893
+
774
894
  - *Type:* java.util.Map<java.lang.String, `java.lang.Object`>
775
895
  - *Default:* If no values are specified, chart will use the defaults.
776
896
 
@@ -792,6 +912,10 @@ IncludeProps.builder()
792
912
 
793
913
  ##### `url`<sup>Required</sup> <a name="org.cdk8s.IncludeProps.property.url"></a>
794
914
 
915
+ ```java
916
+ public java.lang.String getUrl();
917
+ ```
918
+
795
919
  - *Type:* `java.lang.String`
796
920
 
797
921
  Local file path or URL which includes a Kubernetes YAML manifest.
@@ -817,6 +941,10 @@ NameOptions.builder()
817
941
 
818
942
  ##### `delimiter`<sup>Optional</sup> <a name="org.cdk8s.NameOptions.property.delimiter"></a>
819
943
 
944
+ ```java
945
+ public java.lang.String getDelimiter();
946
+ ```
947
+
820
948
  - *Type:* `java.lang.String`
821
949
  - *Default:* "-"
822
950
 
@@ -826,6 +954,10 @@ Delimiter to use between components.
826
954
 
827
955
  ##### `extra`<sup>Optional</sup> <a name="org.cdk8s.NameOptions.property.extra"></a>
828
956
 
957
+ ```java
958
+ public java.util.List<java.lang.String> getExtra();
959
+ ```
960
+
829
961
  - *Type:* java.util.List<`java.lang.String`>
830
962
  - *Default:* [] use the construct path components
831
963
 
@@ -835,6 +967,10 @@ Extra components to include in the name.
835
967
 
836
968
  ##### `includeHash`<sup>Optional</sup> <a name="org.cdk8s.NameOptions.property.includeHash"></a>
837
969
 
970
+ ```java
971
+ public java.lang.Boolean getIncludeHash();
972
+ ```
973
+
838
974
  - *Type:* `java.lang.Boolean`
839
975
  - *Default:* true
840
976
 
@@ -844,6 +980,10 @@ Include a short hash as last part of the name.
844
980
 
845
981
  ##### `maxLen`<sup>Optional</sup> <a name="org.cdk8s.NameOptions.property.maxLen"></a>
846
982
 
983
+ ```java
984
+ public java.lang.Number getMaxLen();
985
+ ```
986
+
847
987
  - *Type:* `java.lang.Number`
848
988
  - *Default:* 63
849
989
 
@@ -867,6 +1007,10 @@ SizeConversionOptions.builder()
867
1007
 
868
1008
  ##### `rounding`<sup>Optional</sup> <a name="org.cdk8s.SizeConversionOptions.property.rounding"></a>
869
1009
 
1010
+ ```java
1011
+ public SizeRoundingBehavior getRounding();
1012
+ ```
1013
+
870
1014
  - *Type:* [`org.cdk8s.SizeRoundingBehavior`](#org.cdk8s.SizeRoundingBehavior)
871
1015
  - *Default:* SizeRoundingBehavior.FAIL
872
1016
 
@@ -890,6 +1034,10 @@ TimeConversionOptions.builder()
890
1034
 
891
1035
  ##### `integral`<sup>Optional</sup> <a name="org.cdk8s.TimeConversionOptions.property.integral"></a>
892
1036
 
1037
+ ```java
1038
+ public java.lang.Boolean getIntegral();
1039
+ ```
1040
+
893
1041
  - *Type:* `java.lang.Boolean`
894
1042
  - *Default:* true
895
1043
 
@@ -1070,6 +1218,10 @@ public toJson()
1070
1218
 
1071
1219
  ##### `name`<sup>Optional</sup> <a name="org.cdk8s.ApiObjectMetadataDefinition.property.name"></a>
1072
1220
 
1221
+ ```java
1222
+ public java.lang.String getName();
1223
+ ```
1224
+
1073
1225
  - *Type:* `java.lang.String`
1074
1226
 
1075
1227
  The name of the API object.
@@ -1083,6 +1235,10 @@ construct path to generate a DNS-compatible name for the resource.
1083
1235
 
1084
1236
  ##### `namespace`<sup>Optional</sup> <a name="org.cdk8s.ApiObjectMetadataDefinition.property.namespace"></a>
1085
1237
 
1238
+ ```java
1239
+ public java.lang.String getNamespace();
1240
+ ```
1241
+
1086
1242
  - *Type:* `java.lang.String`
1087
1243
 
1088
1244
  The object's namespace.
@@ -1130,6 +1286,10 @@ public topology()
1130
1286
 
1131
1287
  ##### `root`<sup>Required</sup> <a name="org.cdk8s.DependencyGraph.property.root"></a>
1132
1288
 
1289
+ ```java
1290
+ public DependencyVertex getRoot();
1291
+ ```
1292
+
1133
1293
  - *Type:* [`org.cdk8s.DependencyVertex`](#org.cdk8s.DependencyVertex)
1134
1294
 
1135
1295
  Returns the root of the graph.
@@ -1188,6 +1348,10 @@ public topology()
1188
1348
 
1189
1349
  ##### `inbound`<sup>Required</sup> <a name="org.cdk8s.DependencyVertex.property.inbound"></a>
1190
1350
 
1351
+ ```java
1352
+ public java.util.List<DependencyVertex> getInbound();
1353
+ ```
1354
+
1191
1355
  - *Type:* java.util.List<[`org.cdk8s.DependencyVertex`](#org.cdk8s.DependencyVertex)>
1192
1356
 
1193
1357
  Returns the parents of the vertex (i.e dependants).
@@ -1196,6 +1360,10 @@ Returns the parents of the vertex (i.e dependants).
1196
1360
 
1197
1361
  ##### `outbound`<sup>Required</sup> <a name="org.cdk8s.DependencyVertex.property.outbound"></a>
1198
1362
 
1363
+ ```java
1364
+ public java.util.List<DependencyVertex> getOutbound();
1365
+ ```
1366
+
1199
1367
  - *Type:* java.util.List<[`org.cdk8s.DependencyVertex`](#org.cdk8s.DependencyVertex)>
1200
1368
 
1201
1369
  Returns the children of the vertex (i.e dependencies).
@@ -1204,6 +1372,10 @@ Returns the children of the vertex (i.e dependencies).
1204
1372
 
1205
1373
  ##### `value`<sup>Optional</sup> <a name="org.cdk8s.DependencyVertex.property.value"></a>
1206
1374
 
1375
+ ```java
1376
+ public IConstruct getValue();
1377
+ ```
1378
+
1207
1379
  - *Type:* [`software.constructs.IConstruct`](#software.constructs.IConstruct)
1208
1380
 
1209
1381
  Returns the IConstruct this graph vertex represents.