cdk8s-plus-36 0.0.1 → 2.0.0

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.
Files changed (156) hide show
  1. package/.jsii +105714 -0
  2. package/CODE_OF_CONDUCT.md +3 -0
  3. package/CONTRIBUTING.md +185 -0
  4. package/DCO +34 -0
  5. package/LICENSE +202 -0
  6. package/NOTICE +1 -0
  7. package/OWNERS.md +5 -0
  8. package/README.md +21 -34
  9. package/SECURITY.md +5 -0
  10. package/cdk8s.yaml +13 -0
  11. package/docs/java.md +156096 -0
  12. package/docs/plus/config-map.md +98 -0
  13. package/docs/plus/container.md +133 -0
  14. package/docs/plus/cronjob.md +67 -0
  15. package/docs/plus/deployment.md +232 -0
  16. package/docs/plus/horizontal-pod-autoscaler.md +226 -0
  17. package/docs/plus/ingress.md +68 -0
  18. package/docs/plus/job.md +48 -0
  19. package/docs/plus/namespace.md +58 -0
  20. package/docs/plus/network-policy.md +341 -0
  21. package/docs/plus/pod.md +455 -0
  22. package/docs/plus/pv.md +82 -0
  23. package/docs/plus/pvc.md +77 -0
  24. package/docs/plus/rbac.md +104 -0
  25. package/docs/plus/secret.md +32 -0
  26. package/docs/plus/service-account.md +35 -0
  27. package/docs/plus/service.md +41 -0
  28. package/docs/plus/volume.md +84 -0
  29. package/docs/python.md +167536 -0
  30. package/docs/typescript.md +145485 -0
  31. package/git-hooks/README.md +9 -0
  32. package/git-hooks/prepare-commit-msg +18 -0
  33. package/git-hooks/setup.sh +10 -0
  34. package/lib/_action.d.ts +26 -0
  35. package/lib/_action.js +72 -0
  36. package/lib/api-resource.d.ts +298 -0
  37. package/lib/api-resource.js +438 -0
  38. package/lib/base.d.ts +79 -0
  39. package/lib/base.js +124 -0
  40. package/lib/config-map.d.ts +126 -0
  41. package/lib/config-map.js +199 -0
  42. package/lib/container.d.ts +1057 -0
  43. package/lib/container.js +944 -0
  44. package/lib/cron-job.d.ts +138 -0
  45. package/lib/cron-job.js +170 -0
  46. package/lib/daemon-set.d.ts +45 -0
  47. package/lib/daemon-set.js +91 -0
  48. package/lib/deployment.d.ts +235 -0
  49. package/lib/deployment.js +274 -0
  50. package/lib/handler.d.ts +62 -0
  51. package/lib/handler.js +88 -0
  52. package/lib/horizontal-pod-autoscaler.d.ts +500 -0
  53. package/lib/horizontal-pod-autoscaler.js +629 -0
  54. package/lib/imports/k8s.d.ts +27283 -0
  55. package/lib/imports/k8s.js +20112 -0
  56. package/lib/index.d.ts +26 -0
  57. package/lib/index.js +66 -0
  58. package/lib/ingress.d.ts +230 -0
  59. package/lib/ingress.js +282 -0
  60. package/lib/job.d.ts +64 -0
  61. package/lib/job.js +101 -0
  62. package/lib/namespace.d.ts +128 -0
  63. package/lib/namespace.js +148 -0
  64. package/lib/network-policy.d.ts +311 -0
  65. package/lib/network-policy.js +383 -0
  66. package/lib/pod.d.ts +1097 -0
  67. package/lib/pod.js +1227 -0
  68. package/lib/probe.d.ts +181 -0
  69. package/lib/probe.js +124 -0
  70. package/lib/pv.d.ts +375 -0
  71. package/lib/pv.js +387 -0
  72. package/lib/pvc.d.ts +163 -0
  73. package/lib/pvc.js +204 -0
  74. package/lib/role-binding.d.ts +138 -0
  75. package/lib/role-binding.js +207 -0
  76. package/lib/role.d.ts +268 -0
  77. package/lib/role.js +441 -0
  78. package/lib/secret.d.ts +195 -0
  79. package/lib/secret.js +221 -0
  80. package/lib/service-account.d.ts +83 -0
  81. package/lib/service-account.js +148 -0
  82. package/lib/service.d.ts +289 -0
  83. package/lib/service.js +235 -0
  84. package/lib/stateful-set.d.ts +206 -0
  85. package/lib/stateful-set.js +291 -0
  86. package/lib/utils.d.ts +4 -0
  87. package/lib/utils.js +33 -0
  88. package/lib/volume.d.ts +577 -0
  89. package/lib/volume.js +410 -0
  90. package/lib/workload.d.ts +121 -0
  91. package/lib/workload.js +158 -0
  92. package/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  93. package/node_modules/balanced-match/LICENSE.md +21 -0
  94. package/node_modules/balanced-match/README.md +97 -0
  95. package/node_modules/balanced-match/index.js +62 -0
  96. package/node_modules/balanced-match/package.json +48 -0
  97. package/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  98. package/node_modules/brace-expansion/LICENSE +21 -0
  99. package/node_modules/brace-expansion/README.md +157 -0
  100. package/node_modules/brace-expansion/index.js +394 -0
  101. package/node_modules/brace-expansion/package.json +49 -0
  102. package/node_modules/minimatch/LICENSE +15 -0
  103. package/node_modules/minimatch/README.md +491 -0
  104. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
  105. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
  106. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  107. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  108. package/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
  109. package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
  110. package/node_modules/minimatch/dist/commonjs/ast.js +747 -0
  111. package/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  112. package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
  113. package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
  114. package/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
  115. package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  116. package/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
  117. package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  118. package/node_modules/minimatch/dist/commonjs/escape.js +22 -0
  119. package/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
  120. package/node_modules/minimatch/dist/commonjs/index.d.ts +98 -0
  121. package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  122. package/node_modules/minimatch/dist/commonjs/index.js +1023 -0
  123. package/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  124. package/node_modules/minimatch/dist/commonjs/package.json +3 -0
  125. package/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
  126. package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
  127. package/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
  128. package/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
  129. package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
  130. package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
  131. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  132. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  133. package/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
  134. package/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
  135. package/node_modules/minimatch/dist/esm/ast.js +743 -0
  136. package/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  137. package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
  138. package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
  139. package/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
  140. package/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  141. package/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
  142. package/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  143. package/node_modules/minimatch/dist/esm/escape.js +18 -0
  144. package/node_modules/minimatch/dist/esm/escape.js.map +1 -0
  145. package/node_modules/minimatch/dist/esm/index.d.ts +98 -0
  146. package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  147. package/node_modules/minimatch/dist/esm/index.js +1007 -0
  148. package/node_modules/minimatch/dist/esm/index.js.map +1 -0
  149. package/node_modules/minimatch/dist/esm/package.json +3 -0
  150. package/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
  151. package/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
  152. package/node_modules/minimatch/dist/esm/unescape.js +20 -0
  153. package/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
  154. package/node_modules/minimatch/package.json +82 -0
  155. package/package.json +172 -6
  156. package/rotate.md +82 -0
package/lib/pv.d.ts ADDED
@@ -0,0 +1,375 @@
1
+ import { ApiObject, Size } from 'cdk8s';
2
+ import { Construct } from 'constructs';
3
+ import * as base from './base';
4
+ import * as k8s from './imports/k8s';
5
+ import * as pvc from './pvc';
6
+ import * as volume from './volume';
7
+ /**
8
+ * Contract of a `PersistentVolumeClaim`.
9
+ */
10
+ export interface IPersistentVolume extends base.IResource {
11
+ }
12
+ /**
13
+ * Properties for `PersistentVolume`.
14
+ */
15
+ export interface PersistentVolumeProps extends base.ResourceProps {
16
+ /**
17
+ * Contains all ways the volume can be mounted.
18
+ *
19
+ * @see https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
20
+ * @default - No access modes.
21
+ */
22
+ readonly accessModes?: pvc.PersistentVolumeAccessMode[];
23
+ /**
24
+ * What is the storage capacity of this volume.
25
+ *
26
+ * @see https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
27
+ * @default - No specified.
28
+ */
29
+ readonly storage?: Size;
30
+ /**
31
+ * Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
32
+ * Expected to be non-nil when bound.
33
+ *
34
+ * @see https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
35
+ * @default - Not bound to a specific claim.
36
+ */
37
+ readonly claim?: pvc.IPersistentVolumeClaim;
38
+ /**
39
+ * A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.
40
+ *
41
+ * @see https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
42
+ * @default - No options.
43
+ */
44
+ readonly mountOptions?: string[];
45
+ /**
46
+ * When a user is done with their volume, they can delete the PVC objects from the API that
47
+ * allows reclamation of the resource. The reclaim policy tells the cluster what to do with
48
+ * the volume after it has been released of its claim.
49
+ *
50
+ * @see https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
51
+ * @default PersistentVolumeReclaimPolicy.RETAIN
52
+ */
53
+ readonly reclaimPolicy?: PersistentVolumeReclaimPolicy;
54
+ /**
55
+ * Name of StorageClass to which this persistent volume belongs.
56
+ *
57
+ * @default - Volume does not belong to any storage class.
58
+ */
59
+ readonly storageClassName?: string;
60
+ /**
61
+ * Defines what type of volume is required by the claim.
62
+ *
63
+ * @default VolumeMode.FILE_SYSTEM
64
+ */
65
+ readonly volumeMode?: pvc.PersistentVolumeMode;
66
+ }
67
+ /**
68
+ * A PersistentVolume (PV) is a piece of storage in the cluster that has been
69
+ * provisioned by an administrator or dynamically provisioned using Storage Classes.
70
+ * It is a resource in the cluster just like a node is a cluster resource.
71
+ * PVs are volume plugins like Volumes, but have a lifecycle independent of any
72
+ * individual Pod that uses the PV. This API object captures the details of the
73
+ * implementation of the storage, be that NFS, iSCSI, or a
74
+ * cloud-provider-specific storage system.
75
+ */
76
+ export declare class PersistentVolume extends base.Resource implements IPersistentVolume, volume.IStorage {
77
+ /**
78
+ * Imports a pv from the cluster as a reference.
79
+ */
80
+ static fromPersistentVolumeName(scope: Construct, id: string, volumeName: string): IPersistentVolume;
81
+ /**
82
+ * @see base.Resource.apiObject
83
+ */
84
+ protected readonly apiObject: ApiObject;
85
+ readonly resourceType = "persistentvolumes";
86
+ private _claim?;
87
+ /**
88
+ * Storage size of this volume.
89
+ */
90
+ readonly storage?: Size;
91
+ /**
92
+ * Volume mode of this volume.
93
+ */
94
+ readonly mode: pvc.PersistentVolumeMode;
95
+ /**
96
+ * Storage class this volume belongs to.
97
+ */
98
+ readonly storageClassName?: string;
99
+ /**
100
+ * Access modes requirement of this claim.
101
+ */
102
+ private readonly _accessModes?;
103
+ /**
104
+ * Mount options of this volume.
105
+ */
106
+ readonly mountOptions?: string[];
107
+ /**
108
+ * Reclaim policy of this volume.
109
+ */
110
+ readonly reclaimPolicy: PersistentVolumeReclaimPolicy;
111
+ protected constructor(scope: Construct, id: string, props?: PersistentVolumeProps);
112
+ /**
113
+ * Access modes requirement of this claim.
114
+ */
115
+ get accessModes(): pvc.PersistentVolumeAccessMode[] | undefined;
116
+ /**
117
+ * PVC this volume is bound to. Undefined means this volume is not yet
118
+ * claimed by any PVC.
119
+ */
120
+ get claim(): pvc.IPersistentVolumeClaim | undefined;
121
+ /**
122
+ * Reserve a `PersistentVolume` by creating a `PersistentVolumeClaim`
123
+ * that is wired to claim this volume.
124
+ *
125
+ * Note that this method will throw in case the volume is already claimed.
126
+ *
127
+ * @see https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reserving-a-persistentvolume
128
+ */
129
+ reserve(): pvc.PersistentVolumeClaim;
130
+ /**
131
+ * Bind a volume to a specific claim.
132
+ * Note that you must also bind the claim to the volume.
133
+ *
134
+ * @see https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding
135
+ *
136
+ * @param claim The PVC to bind to.
137
+ */
138
+ bind(claim: pvc.IPersistentVolumeClaim): void;
139
+ asVolume(): volume.Volume;
140
+ /**
141
+ * @internal
142
+ */
143
+ _toKube(): k8s.PersistentVolumeSpec;
144
+ }
145
+ /**
146
+ * Reclaim Policies.
147
+ */
148
+ export declare enum PersistentVolumeReclaimPolicy {
149
+ /**
150
+ * The Retain reclaim policy allows for manual reclamation of the resource.
151
+ * When the PersistentVolumeClaim is deleted, the PersistentVolume still exists and the
152
+ * volume is considered "released". But it is not yet available for another claim
153
+ * because the previous claimant's data remains on the volume.
154
+ * An administrator can manually reclaim the volume with the following steps:
155
+ *
156
+ * 1. Delete the PersistentVolume. The associated storage asset in external
157
+ * infrastructure (such as an AWS EBS, GCE PD, Azure Disk, or Cinder volume) still exists after the PV is deleted.
158
+ * 2. Manually clean up the data on the associated storage asset accordingly.
159
+ * 3. Manually delete the associated storage asset.
160
+ *
161
+ * If you want to reuse the same storage asset, create a new PersistentVolume
162
+ * with the same storage asset definition.
163
+ */
164
+ RETAIN = "Retain",
165
+ /**
166
+ * For volume plugins that support the Delete reclaim policy, deletion removes both the
167
+ * PersistentVolume object from Kubernetes, as well as the associated storage asset in
168
+ * the external infrastructure, such as an AWS EBS, GCE PD, Azure Disk, or Cinder volume.
169
+ * Volumes that were dynamically provisioned inherit the reclaim policy of their StorageClass, which defaults to Delete.
170
+ * The administrator should configure the StorageClass according to users' expectations; otherwise,
171
+ * the PV must be edited or patched after it is created
172
+ */
173
+ DELETE = "Delete"
174
+ }
175
+ /**
176
+ * Properties for `AwsElasticBlockStorePersistentVolume`.
177
+ */
178
+ export interface AwsElasticBlockStorePersistentVolumeProps extends PersistentVolumeProps {
179
+ /**
180
+ * Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
181
+ *
182
+ * @see https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
183
+ */
184
+ readonly volumeId: string;
185
+ /**
186
+ * Filesystem type of the volume that you want to mount.
187
+ * Tip: Ensure that the filesystem type is supported by the host operating system.
188
+ *
189
+ * @see https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
190
+ * @default 'ext4'
191
+ */
192
+ readonly fsType?: string;
193
+ /**
194
+ * The partition in the volume that you want to mount. If omitted, the default is to mount by volume name.
195
+ * Examples: For volume /dev/sda1, you specify the partition as "1".
196
+ * Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
197
+ *
198
+ * @default - No partition.
199
+ */
200
+ readonly partition?: number;
201
+ /**
202
+ * Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
203
+ *
204
+ * @see https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
205
+ * @default false
206
+ */
207
+ readonly readOnly?: boolean;
208
+ }
209
+ /**
210
+ * Represents an AWS Disk resource that is attached to a kubelet's host machine and
211
+ * then exposed to the pod.
212
+ *
213
+ * @see https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
214
+ */
215
+ export declare class AwsElasticBlockStorePersistentVolume extends PersistentVolume {
216
+ /**
217
+ * Volume id of this volume.
218
+ */
219
+ readonly volumeId: string;
220
+ /**
221
+ * Whether or not it is mounted as a read-only volume.
222
+ */
223
+ readonly readOnly: boolean;
224
+ /**
225
+ * File system type of this volume.
226
+ */
227
+ readonly fsType: string;
228
+ /**
229
+ * Partition of this volume.
230
+ */
231
+ readonly partition?: number;
232
+ constructor(scope: Construct, id: string, props: AwsElasticBlockStorePersistentVolumeProps);
233
+ /**
234
+ * @internal
235
+ */
236
+ _toKube(): k8s.PersistentVolumeSpec;
237
+ }
238
+ /**
239
+ * Properties for `AzureDiskPersistentVolume`.
240
+ */
241
+ export interface AzureDiskPersistentVolumeProps extends PersistentVolumeProps {
242
+ /**
243
+ * The Name of the data disk in the blob storage
244
+ */
245
+ readonly diskName: string;
246
+ /**
247
+ * The URI the data disk in the blob storage
248
+ */
249
+ readonly diskUri: string;
250
+ /**
251
+ * Host Caching mode.
252
+ *
253
+ * @default - AzureDiskPersistentVolumeCachingMode.NONE.
254
+ */
255
+ readonly cachingMode?: volume.AzureDiskPersistentVolumeCachingMode;
256
+ /**
257
+ * Filesystem type to mount. Must be a filesystem type supported by the host operating system.
258
+ *
259
+ * @default 'ext4'
260
+ */
261
+ readonly fsType?: string;
262
+ /**
263
+ * Kind of disk.
264
+ *
265
+ * @default AzureDiskPersistentVolumeKind.SHARED
266
+ */
267
+ readonly kind?: volume.AzureDiskPersistentVolumeKind;
268
+ /**
269
+ * Force the ReadOnly setting in VolumeMounts.
270
+ *
271
+ * @default false
272
+ */
273
+ readonly readOnly?: boolean;
274
+ }
275
+ /**
276
+ * AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
277
+ */
278
+ export declare class AzureDiskPersistentVolume extends PersistentVolume {
279
+ /**
280
+ * Disk name of this volume.
281
+ */
282
+ readonly diskName: string;
283
+ /**
284
+ * Disk URI of this volume.
285
+ */
286
+ readonly diskUri: string;
287
+ /**
288
+ * Whether or not it is mounted as a read-only volume.
289
+ */
290
+ readonly readOnly: boolean;
291
+ /**
292
+ * Caching mode of this volume.
293
+ */
294
+ readonly cachingMode: volume.AzureDiskPersistentVolumeCachingMode;
295
+ /**
296
+ * File system type of this volume.
297
+ */
298
+ readonly fsType: string;
299
+ /**
300
+ * Azure kind of this volume.
301
+ */
302
+ readonly azureKind: volume.AzureDiskPersistentVolumeKind;
303
+ constructor(scope: Construct, id: string, props: AzureDiskPersistentVolumeProps);
304
+ /**
305
+ * @internal
306
+ *
307
+ * @see https://github.com/kubernetes/examples/blob/master/staging/volumes/azure_disk/README.md
308
+ */
309
+ _toKube(): k8s.PersistentVolumeSpec;
310
+ }
311
+ /**
312
+ * Properties for `GCEPersistentDiskPersistentVolume`.
313
+ */
314
+ export interface GCEPersistentDiskPersistentVolumeProps extends PersistentVolumeProps {
315
+ /**
316
+ * Unique name of the PD resource in GCE. Used to identify the disk in GCE.
317
+ *
318
+ * @see https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
319
+ */
320
+ readonly pdName: string;
321
+ /**
322
+ * Filesystem type of the volume that you want to mount.
323
+ * Tip: Ensure that the filesystem type is supported by the host operating system.
324
+ *
325
+ * @see https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
326
+ * @default 'ext4'
327
+ */
328
+ readonly fsType?: string;
329
+ /**
330
+ * The partition in the volume that you want to mount. If omitted, the default is to mount by volume name.
331
+ * Examples: For volume /dev/sda1, you specify the partition as "1".
332
+ * Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
333
+ *
334
+ * @default - No partition.
335
+ */
336
+ readonly partition?: number;
337
+ /**
338
+ * Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
339
+ *
340
+ * @see https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
341
+ * @default false
342
+ */
343
+ readonly readOnly?: boolean;
344
+ }
345
+ /**
346
+ * GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine
347
+ * and then exposed to the pod. Provisioned by an admin.
348
+ *
349
+ * @see https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
350
+ */
351
+ export declare class GCEPersistentDiskPersistentVolume extends PersistentVolume {
352
+ /**
353
+ * PD resource in GCE of this volume.
354
+ */
355
+ readonly pdName: string;
356
+ /**
357
+ * Whether or not it is mounted as a read-only volume.
358
+ */
359
+ readonly readOnly: boolean;
360
+ /**
361
+ * File system type of this volume.
362
+ */
363
+ readonly fsType: string;
364
+ /**
365
+ * Partition of this volume.
366
+ */
367
+ readonly partition?: number;
368
+ constructor(scope: Construct, id: string, props: GCEPersistentDiskPersistentVolumeProps);
369
+ /**
370
+ * @internal
371
+ *
372
+ * @see https://github.com/kubernetes/examples/blob/master/staging/volumes/azure_disk/README.md
373
+ */
374
+ _toKube(): k8s.PersistentVolumeSpec;
375
+ }