cdk8s 2.4.12 → 2.4.15
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 +195 -160
- package/docs/java.md +144 -93
- package/docs/python.md +190 -153
- package/docs/typescript.md +99 -92
- package/lib/api-object.js +1 -1
- package/lib/app.js +1 -1
- package/lib/chart.js +1 -1
- package/lib/cron.d.ts +76 -0
- package/lib/cron.js +68 -0
- package/lib/dependency.js +2 -2
- package/lib/duration.js +1 -1
- package/lib/helm.js +1 -1
- package/lib/include.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/json-patch.js +1 -1
- package/lib/lazy.js +1 -1
- package/lib/metadata.js +1 -1
- package/lib/names.js +1 -1
- package/lib/size.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/yaml.js +1 -1
- package/package.json +2 -2
- package/lib/schedule.d.ts +0 -78
- package/lib/schedule.js +0 -92
package/.jsii
CHANGED
|
@@ -1302,19 +1302,198 @@
|
|
|
1302
1302
|
],
|
|
1303
1303
|
"symbolId": "src/chart:ChartProps"
|
|
1304
1304
|
},
|
|
1305
|
+
"cdk8s.Cron": {
|
|
1306
|
+
"assembly": "cdk8s",
|
|
1307
|
+
"docs": {
|
|
1308
|
+
"stability": "stable",
|
|
1309
|
+
"summary": "Represents a cron schedule."
|
|
1310
|
+
},
|
|
1311
|
+
"fqn": "cdk8s.Cron",
|
|
1312
|
+
"initializer": {
|
|
1313
|
+
"docs": {
|
|
1314
|
+
"stability": "stable"
|
|
1315
|
+
},
|
|
1316
|
+
"locationInModule": {
|
|
1317
|
+
"filename": "src/cron.ts",
|
|
1318
|
+
"line": 59
|
|
1319
|
+
},
|
|
1320
|
+
"parameters": [
|
|
1321
|
+
{
|
|
1322
|
+
"name": "cronOptions",
|
|
1323
|
+
"optional": true,
|
|
1324
|
+
"type": {
|
|
1325
|
+
"fqn": "cdk8s.CronOptions"
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
]
|
|
1329
|
+
},
|
|
1330
|
+
"kind": "class",
|
|
1331
|
+
"locationInModule": {
|
|
1332
|
+
"filename": "src/cron.ts",
|
|
1333
|
+
"line": 4
|
|
1334
|
+
},
|
|
1335
|
+
"methods": [
|
|
1336
|
+
{
|
|
1337
|
+
"docs": {
|
|
1338
|
+
"stability": "stable",
|
|
1339
|
+
"summary": "Create a cron schedule which runs first day of January every year."
|
|
1340
|
+
},
|
|
1341
|
+
"locationInModule": {
|
|
1342
|
+
"filename": "src/cron.ts",
|
|
1343
|
+
"line": 43
|
|
1344
|
+
},
|
|
1345
|
+
"name": "annually",
|
|
1346
|
+
"returns": {
|
|
1347
|
+
"type": {
|
|
1348
|
+
"fqn": "cdk8s.Cron"
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
"static": true
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"docs": {
|
|
1355
|
+
"stability": "stable",
|
|
1356
|
+
"summary": "Create a cron schedule which runs every day at midnight."
|
|
1357
|
+
},
|
|
1358
|
+
"locationInModule": {
|
|
1359
|
+
"filename": "src/cron.ts",
|
|
1360
|
+
"line": 22
|
|
1361
|
+
},
|
|
1362
|
+
"name": "daily",
|
|
1363
|
+
"returns": {
|
|
1364
|
+
"type": {
|
|
1365
|
+
"fqn": "cdk8s.Cron"
|
|
1366
|
+
}
|
|
1367
|
+
},
|
|
1368
|
+
"static": true
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"docs": {
|
|
1372
|
+
"stability": "stable",
|
|
1373
|
+
"summary": "Create a cron schedule which runs every minute."
|
|
1374
|
+
},
|
|
1375
|
+
"locationInModule": {
|
|
1376
|
+
"filename": "src/cron.ts",
|
|
1377
|
+
"line": 8
|
|
1378
|
+
},
|
|
1379
|
+
"name": "everyMinute",
|
|
1380
|
+
"returns": {
|
|
1381
|
+
"type": {
|
|
1382
|
+
"fqn": "cdk8s.Cron"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"static": true
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"docs": {
|
|
1389
|
+
"stability": "stable",
|
|
1390
|
+
"summary": "Create a cron schedule which runs every hour."
|
|
1391
|
+
},
|
|
1392
|
+
"locationInModule": {
|
|
1393
|
+
"filename": "src/cron.ts",
|
|
1394
|
+
"line": 15
|
|
1395
|
+
},
|
|
1396
|
+
"name": "hourly",
|
|
1397
|
+
"returns": {
|
|
1398
|
+
"type": {
|
|
1399
|
+
"fqn": "cdk8s.Cron"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
"static": true
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"docs": {
|
|
1406
|
+
"stability": "stable",
|
|
1407
|
+
"summary": "Create a cron schedule which runs first day of every month."
|
|
1408
|
+
},
|
|
1409
|
+
"locationInModule": {
|
|
1410
|
+
"filename": "src/cron.ts",
|
|
1411
|
+
"line": 36
|
|
1412
|
+
},
|
|
1413
|
+
"name": "monthly",
|
|
1414
|
+
"returns": {
|
|
1415
|
+
"type": {
|
|
1416
|
+
"fqn": "cdk8s.Cron"
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
"static": true
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"docs": {
|
|
1423
|
+
"stability": "stable",
|
|
1424
|
+
"summary": "Create a custom cron schedule from a set of cron fields."
|
|
1425
|
+
},
|
|
1426
|
+
"locationInModule": {
|
|
1427
|
+
"filename": "src/cron.ts",
|
|
1428
|
+
"line": 50
|
|
1429
|
+
},
|
|
1430
|
+
"name": "schedule",
|
|
1431
|
+
"parameters": [
|
|
1432
|
+
{
|
|
1433
|
+
"name": "options",
|
|
1434
|
+
"type": {
|
|
1435
|
+
"fqn": "cdk8s.CronOptions"
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
],
|
|
1439
|
+
"returns": {
|
|
1440
|
+
"type": {
|
|
1441
|
+
"fqn": "cdk8s.Cron"
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
"static": true
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"docs": {
|
|
1448
|
+
"stability": "stable",
|
|
1449
|
+
"summary": "Create a cron schedule which runs every week on Sunday."
|
|
1450
|
+
},
|
|
1451
|
+
"locationInModule": {
|
|
1452
|
+
"filename": "src/cron.ts",
|
|
1453
|
+
"line": 29
|
|
1454
|
+
},
|
|
1455
|
+
"name": "weekly",
|
|
1456
|
+
"returns": {
|
|
1457
|
+
"type": {
|
|
1458
|
+
"fqn": "cdk8s.Cron"
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
"static": true
|
|
1462
|
+
}
|
|
1463
|
+
],
|
|
1464
|
+
"name": "Cron",
|
|
1465
|
+
"properties": [
|
|
1466
|
+
{
|
|
1467
|
+
"docs": {
|
|
1468
|
+
"stability": "stable",
|
|
1469
|
+
"summary": "Retrieve the expression for this schedule."
|
|
1470
|
+
},
|
|
1471
|
+
"immutable": true,
|
|
1472
|
+
"locationInModule": {
|
|
1473
|
+
"filename": "src/cron.ts",
|
|
1474
|
+
"line": 57
|
|
1475
|
+
},
|
|
1476
|
+
"name": "expressionString",
|
|
1477
|
+
"type": {
|
|
1478
|
+
"primitive": "string"
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
],
|
|
1482
|
+
"symbolId": "src/cron:Cron"
|
|
1483
|
+
},
|
|
1305
1484
|
"cdk8s.CronOptions": {
|
|
1306
1485
|
"assembly": "cdk8s",
|
|
1307
1486
|
"datatype": true,
|
|
1308
1487
|
"docs": {
|
|
1309
|
-
"remarks": "All fields are strings so you can use complex expressions. Absence of\na field implies '*'
|
|
1488
|
+
"remarks": "All fields are strings so you can use complex expressions. Absence of\na field implies '*'",
|
|
1310
1489
|
"stability": "stable",
|
|
1311
1490
|
"summary": "Options to configure a cron expression."
|
|
1312
1491
|
},
|
|
1313
1492
|
"fqn": "cdk8s.CronOptions",
|
|
1314
1493
|
"kind": "interface",
|
|
1315
1494
|
"locationInModule": {
|
|
1316
|
-
"filename": "src/
|
|
1317
|
-
"line":
|
|
1495
|
+
"filename": "src/cron.ts",
|
|
1496
|
+
"line": 76
|
|
1318
1497
|
},
|
|
1319
1498
|
"name": "CronOptions",
|
|
1320
1499
|
"properties": [
|
|
@@ -1327,8 +1506,8 @@
|
|
|
1327
1506
|
},
|
|
1328
1507
|
"immutable": true,
|
|
1329
1508
|
"locationInModule": {
|
|
1330
|
-
"filename": "src/
|
|
1331
|
-
"line":
|
|
1509
|
+
"filename": "src/cron.ts",
|
|
1510
|
+
"line": 96
|
|
1332
1511
|
},
|
|
1333
1512
|
"name": "day",
|
|
1334
1513
|
"optional": true,
|
|
@@ -1345,8 +1524,8 @@
|
|
|
1345
1524
|
},
|
|
1346
1525
|
"immutable": true,
|
|
1347
1526
|
"locationInModule": {
|
|
1348
|
-
"filename": "src/
|
|
1349
|
-
"line":
|
|
1527
|
+
"filename": "src/cron.ts",
|
|
1528
|
+
"line": 89
|
|
1350
1529
|
},
|
|
1351
1530
|
"name": "hour",
|
|
1352
1531
|
"optional": true,
|
|
@@ -1363,8 +1542,8 @@
|
|
|
1363
1542
|
},
|
|
1364
1543
|
"immutable": true,
|
|
1365
1544
|
"locationInModule": {
|
|
1366
|
-
"filename": "src/
|
|
1367
|
-
"line":
|
|
1545
|
+
"filename": "src/cron.ts",
|
|
1546
|
+
"line": 82
|
|
1368
1547
|
},
|
|
1369
1548
|
"name": "minute",
|
|
1370
1549
|
"optional": true,
|
|
@@ -1381,8 +1560,8 @@
|
|
|
1381
1560
|
},
|
|
1382
1561
|
"immutable": true,
|
|
1383
1562
|
"locationInModule": {
|
|
1384
|
-
"filename": "src/
|
|
1385
|
-
"line":
|
|
1563
|
+
"filename": "src/cron.ts",
|
|
1564
|
+
"line": 103
|
|
1386
1565
|
},
|
|
1387
1566
|
"name": "month",
|
|
1388
1567
|
"optional": true,
|
|
@@ -1399,35 +1578,17 @@
|
|
|
1399
1578
|
},
|
|
1400
1579
|
"immutable": true,
|
|
1401
1580
|
"locationInModule": {
|
|
1402
|
-
"filename": "src/
|
|
1403
|
-
"line":
|
|
1581
|
+
"filename": "src/cron.ts",
|
|
1582
|
+
"line": 110
|
|
1404
1583
|
},
|
|
1405
1584
|
"name": "weekDay",
|
|
1406
1585
|
"optional": true,
|
|
1407
1586
|
"type": {
|
|
1408
1587
|
"primitive": "string"
|
|
1409
1588
|
}
|
|
1410
|
-
},
|
|
1411
|
-
{
|
|
1412
|
-
"abstract": true,
|
|
1413
|
-
"docs": {
|
|
1414
|
-
"default": "- Every year",
|
|
1415
|
-
"stability": "stable",
|
|
1416
|
-
"summary": "The year to run this rule at."
|
|
1417
|
-
},
|
|
1418
|
-
"immutable": true,
|
|
1419
|
-
"locationInModule": {
|
|
1420
|
-
"filename": "src/schedule.ts",
|
|
1421
|
-
"line": 113
|
|
1422
|
-
},
|
|
1423
|
-
"name": "year",
|
|
1424
|
-
"optional": true,
|
|
1425
|
-
"type": {
|
|
1426
|
-
"primitive": "string"
|
|
1427
|
-
}
|
|
1428
1589
|
}
|
|
1429
1590
|
],
|
|
1430
|
-
"symbolId": "src/
|
|
1591
|
+
"symbolId": "src/cron:CronOptions"
|
|
1431
1592
|
},
|
|
1432
1593
|
"cdk8s.DependencyGraph": {
|
|
1433
1594
|
"assembly": "cdk8s",
|
|
@@ -3005,132 +3166,6 @@
|
|
|
3005
3166
|
],
|
|
3006
3167
|
"symbolId": "src/metadata:OwnerReference"
|
|
3007
3168
|
},
|
|
3008
|
-
"cdk8s.Schedule": {
|
|
3009
|
-
"abstract": true,
|
|
3010
|
-
"assembly": "cdk8s",
|
|
3011
|
-
"docs": {
|
|
3012
|
-
"remarks": "Note that rates cannot be defined in fractions of minutes.",
|
|
3013
|
-
"stability": "stable",
|
|
3014
|
-
"summary": "Represents a schedule."
|
|
3015
|
-
},
|
|
3016
|
-
"fqn": "cdk8s.Schedule",
|
|
3017
|
-
"initializer": {
|
|
3018
|
-
"docs": {
|
|
3019
|
-
"stability": "stable"
|
|
3020
|
-
},
|
|
3021
|
-
"locationInModule": {
|
|
3022
|
-
"filename": "src/schedule.ts",
|
|
3023
|
-
"line": 64
|
|
3024
|
-
}
|
|
3025
|
-
},
|
|
3026
|
-
"kind": "class",
|
|
3027
|
-
"locationInModule": {
|
|
3028
|
-
"filename": "src/schedule.ts",
|
|
3029
|
-
"line": 8
|
|
3030
|
-
},
|
|
3031
|
-
"methods": [
|
|
3032
|
-
{
|
|
3033
|
-
"docs": {
|
|
3034
|
-
"stability": "stable",
|
|
3035
|
-
"summary": "Create a schedule from a set of cron fields."
|
|
3036
|
-
},
|
|
3037
|
-
"locationInModule": {
|
|
3038
|
-
"filename": "src/schedule.ts",
|
|
3039
|
-
"line": 37
|
|
3040
|
-
},
|
|
3041
|
-
"name": "cron",
|
|
3042
|
-
"parameters": [
|
|
3043
|
-
{
|
|
3044
|
-
"name": "options",
|
|
3045
|
-
"type": {
|
|
3046
|
-
"fqn": "cdk8s.CronOptions"
|
|
3047
|
-
}
|
|
3048
|
-
}
|
|
3049
|
-
],
|
|
3050
|
-
"returns": {
|
|
3051
|
-
"type": {
|
|
3052
|
-
"fqn": "cdk8s.Schedule"
|
|
3053
|
-
}
|
|
3054
|
-
},
|
|
3055
|
-
"static": true
|
|
3056
|
-
},
|
|
3057
|
-
{
|
|
3058
|
-
"docs": {
|
|
3059
|
-
"stability": "stable",
|
|
3060
|
-
"summary": "Construct a schedule from a literal schedule expression."
|
|
3061
|
-
},
|
|
3062
|
-
"locationInModule": {
|
|
3063
|
-
"filename": "src/schedule.ts",
|
|
3064
|
-
"line": 14
|
|
3065
|
-
},
|
|
3066
|
-
"name": "expression",
|
|
3067
|
-
"parameters": [
|
|
3068
|
-
{
|
|
3069
|
-
"docs": {
|
|
3070
|
-
"remarks": "Must be in a format of 'value unit'",
|
|
3071
|
-
"summary": "The expression to use."
|
|
3072
|
-
},
|
|
3073
|
-
"name": "expression",
|
|
3074
|
-
"type": {
|
|
3075
|
-
"primitive": "string"
|
|
3076
|
-
}
|
|
3077
|
-
}
|
|
3078
|
-
],
|
|
3079
|
-
"returns": {
|
|
3080
|
-
"type": {
|
|
3081
|
-
"fqn": "cdk8s.Schedule"
|
|
3082
|
-
}
|
|
3083
|
-
},
|
|
3084
|
-
"static": true
|
|
3085
|
-
},
|
|
3086
|
-
{
|
|
3087
|
-
"docs": {
|
|
3088
|
-
"remarks": "Rates may be defined with any unit of time, but when converted into minutes, the duration must be a positive whole number of minutes.",
|
|
3089
|
-
"stability": "stable",
|
|
3090
|
-
"summary": "Construct a schedule from an interval and a time unit."
|
|
3091
|
-
},
|
|
3092
|
-
"locationInModule": {
|
|
3093
|
-
"filename": "src/schedule.ts",
|
|
3094
|
-
"line": 23
|
|
3095
|
-
},
|
|
3096
|
-
"name": "rate",
|
|
3097
|
-
"parameters": [
|
|
3098
|
-
{
|
|
3099
|
-
"name": "duration",
|
|
3100
|
-
"type": {
|
|
3101
|
-
"fqn": "cdk8s.Duration"
|
|
3102
|
-
}
|
|
3103
|
-
}
|
|
3104
|
-
],
|
|
3105
|
-
"returns": {
|
|
3106
|
-
"type": {
|
|
3107
|
-
"fqn": "cdk8s.Schedule"
|
|
3108
|
-
}
|
|
3109
|
-
},
|
|
3110
|
-
"static": true
|
|
3111
|
-
}
|
|
3112
|
-
],
|
|
3113
|
-
"name": "Schedule",
|
|
3114
|
-
"properties": [
|
|
3115
|
-
{
|
|
3116
|
-
"abstract": true,
|
|
3117
|
-
"docs": {
|
|
3118
|
-
"stability": "stable",
|
|
3119
|
-
"summary": "Retrieve the expression for this schedule."
|
|
3120
|
-
},
|
|
3121
|
-
"immutable": true,
|
|
3122
|
-
"locationInModule": {
|
|
3123
|
-
"filename": "src/schedule.ts",
|
|
3124
|
-
"line": 62
|
|
3125
|
-
},
|
|
3126
|
-
"name": "expressionString",
|
|
3127
|
-
"type": {
|
|
3128
|
-
"primitive": "string"
|
|
3129
|
-
}
|
|
3130
|
-
}
|
|
3131
|
-
],
|
|
3132
|
-
"symbolId": "src/schedule:Schedule"
|
|
3133
|
-
},
|
|
3134
3169
|
"cdk8s.Size": {
|
|
3135
3170
|
"assembly": "cdk8s",
|
|
3136
3171
|
"docs": {
|
|
@@ -3836,6 +3871,6 @@
|
|
|
3836
3871
|
"symbolId": "src/app:YamlOutputType"
|
|
3837
3872
|
}
|
|
3838
3873
|
},
|
|
3839
|
-
"version": "2.4.
|
|
3840
|
-
"fingerprint": "
|
|
3874
|
+
"version": "2.4.15",
|
|
3875
|
+
"fingerprint": "a6ObvxbP3EiwJQLKMO9R+4gfUJUPNa4osu1TTbzrfdI="
|
|
3841
3876
|
}
|
package/docs/java.md
CHANGED
|
@@ -908,7 +908,7 @@ This namespace will only apply to objects that don't have a
|
|
|
908
908
|
Options to configure a cron expression.
|
|
909
909
|
|
|
910
910
|
All fields are strings so you can use complex expressions. Absence of
|
|
911
|
-
a field implies '*'
|
|
911
|
+
a field implies '*'
|
|
912
912
|
|
|
913
913
|
#### Initializer <a name="[object Object].Initializer"></a>
|
|
914
914
|
|
|
@@ -921,7 +921,6 @@ CronOptions.builder()
|
|
|
921
921
|
// .minute(java.lang.String)
|
|
922
922
|
// .month(java.lang.String)
|
|
923
923
|
// .weekDay(java.lang.String)
|
|
924
|
-
// .year(java.lang.String)
|
|
925
924
|
.build();
|
|
926
925
|
```
|
|
927
926
|
|
|
@@ -990,19 +989,6 @@ The day of the week to run this rule at.
|
|
|
990
989
|
|
|
991
990
|
---
|
|
992
991
|
|
|
993
|
-
##### `year`<sup>Optional</sup> <a name="org.cdk8s.CronOptions.property.year"></a>
|
|
994
|
-
|
|
995
|
-
```java
|
|
996
|
-
public java.lang.String getYear();
|
|
997
|
-
```
|
|
998
|
-
|
|
999
|
-
- *Type:* `java.lang.String`
|
|
1000
|
-
- *Default:* Every year
|
|
1001
|
-
|
|
1002
|
-
The year to run this rule at.
|
|
1003
|
-
|
|
1004
|
-
---
|
|
1005
|
-
|
|
1006
992
|
### GroupVersionKind <a name="org.cdk8s.GroupVersionKind"></a>
|
|
1007
993
|
|
|
1008
994
|
#### Initializer <a name="[object Object].Initializer"></a>
|
|
@@ -1659,6 +1645,149 @@ The object's namespace.
|
|
|
1659
1645
|
---
|
|
1660
1646
|
|
|
1661
1647
|
|
|
1648
|
+
### Cron <a name="org.cdk8s.Cron"></a>
|
|
1649
|
+
|
|
1650
|
+
Represents a cron schedule.
|
|
1651
|
+
|
|
1652
|
+
#### Initializers <a name="org.cdk8s.Cron.Initializer"></a>
|
|
1653
|
+
|
|
1654
|
+
```java
|
|
1655
|
+
import org.cdk8s.Cron;
|
|
1656
|
+
|
|
1657
|
+
Cron.Builder.create()
|
|
1658
|
+
// .day(java.lang.String)
|
|
1659
|
+
// .hour(java.lang.String)
|
|
1660
|
+
// .minute(java.lang.String)
|
|
1661
|
+
// .month(java.lang.String)
|
|
1662
|
+
// .weekDay(java.lang.String)
|
|
1663
|
+
.build();
|
|
1664
|
+
```
|
|
1665
|
+
|
|
1666
|
+
##### `day`<sup>Optional</sup> <a name="org.cdk8s.CronOptions.parameter.day"></a>
|
|
1667
|
+
|
|
1668
|
+
- *Type:* `java.lang.String`
|
|
1669
|
+
- *Default:* Every day of the month
|
|
1670
|
+
|
|
1671
|
+
The day of the month to run this rule at.
|
|
1672
|
+
|
|
1673
|
+
---
|
|
1674
|
+
|
|
1675
|
+
##### `hour`<sup>Optional</sup> <a name="org.cdk8s.CronOptions.parameter.hour"></a>
|
|
1676
|
+
|
|
1677
|
+
- *Type:* `java.lang.String`
|
|
1678
|
+
- *Default:* Every hour
|
|
1679
|
+
|
|
1680
|
+
The hour to run this rule at.
|
|
1681
|
+
|
|
1682
|
+
---
|
|
1683
|
+
|
|
1684
|
+
##### `minute`<sup>Optional</sup> <a name="org.cdk8s.CronOptions.parameter.minute"></a>
|
|
1685
|
+
|
|
1686
|
+
- *Type:* `java.lang.String`
|
|
1687
|
+
- *Default:* Every minute
|
|
1688
|
+
|
|
1689
|
+
The minute to run this rule at.
|
|
1690
|
+
|
|
1691
|
+
---
|
|
1692
|
+
|
|
1693
|
+
##### `month`<sup>Optional</sup> <a name="org.cdk8s.CronOptions.parameter.month"></a>
|
|
1694
|
+
|
|
1695
|
+
- *Type:* `java.lang.String`
|
|
1696
|
+
- *Default:* Every month
|
|
1697
|
+
|
|
1698
|
+
The month to run this rule at.
|
|
1699
|
+
|
|
1700
|
+
---
|
|
1701
|
+
|
|
1702
|
+
##### `weekDay`<sup>Optional</sup> <a name="org.cdk8s.CronOptions.parameter.weekDay"></a>
|
|
1703
|
+
|
|
1704
|
+
- *Type:* `java.lang.String`
|
|
1705
|
+
- *Default:* Any day of the week
|
|
1706
|
+
|
|
1707
|
+
The day of the week to run this rule at.
|
|
1708
|
+
|
|
1709
|
+
---
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
#### Static Functions <a name="Static Functions"></a>
|
|
1713
|
+
|
|
1714
|
+
##### `annually` <a name="org.cdk8s.Cron.annually"></a>
|
|
1715
|
+
|
|
1716
|
+
```java
|
|
1717
|
+
import org.cdk8s.Cron;
|
|
1718
|
+
|
|
1719
|
+
Cron.annually()
|
|
1720
|
+
```
|
|
1721
|
+
|
|
1722
|
+
##### `daily` <a name="org.cdk8s.Cron.daily"></a>
|
|
1723
|
+
|
|
1724
|
+
```java
|
|
1725
|
+
import org.cdk8s.Cron;
|
|
1726
|
+
|
|
1727
|
+
Cron.daily()
|
|
1728
|
+
```
|
|
1729
|
+
|
|
1730
|
+
##### `everyMinute` <a name="org.cdk8s.Cron.everyMinute"></a>
|
|
1731
|
+
|
|
1732
|
+
```java
|
|
1733
|
+
import org.cdk8s.Cron;
|
|
1734
|
+
|
|
1735
|
+
Cron.everyMinute()
|
|
1736
|
+
```
|
|
1737
|
+
|
|
1738
|
+
##### `hourly` <a name="org.cdk8s.Cron.hourly"></a>
|
|
1739
|
+
|
|
1740
|
+
```java
|
|
1741
|
+
import org.cdk8s.Cron;
|
|
1742
|
+
|
|
1743
|
+
Cron.hourly()
|
|
1744
|
+
```
|
|
1745
|
+
|
|
1746
|
+
##### `monthly` <a name="org.cdk8s.Cron.monthly"></a>
|
|
1747
|
+
|
|
1748
|
+
```java
|
|
1749
|
+
import org.cdk8s.Cron;
|
|
1750
|
+
|
|
1751
|
+
Cron.monthly()
|
|
1752
|
+
```
|
|
1753
|
+
|
|
1754
|
+
##### `schedule` <a name="org.cdk8s.Cron.schedule"></a>
|
|
1755
|
+
|
|
1756
|
+
```java
|
|
1757
|
+
import org.cdk8s.Cron;
|
|
1758
|
+
|
|
1759
|
+
Cron.schedule(CronOptions options)
|
|
1760
|
+
```
|
|
1761
|
+
|
|
1762
|
+
###### `options`<sup>Required</sup> <a name="org.cdk8s.Cron.parameter.options"></a>
|
|
1763
|
+
|
|
1764
|
+
- *Type:* [`org.cdk8s.CronOptions`](#org.cdk8s.CronOptions)
|
|
1765
|
+
|
|
1766
|
+
---
|
|
1767
|
+
|
|
1768
|
+
##### `weekly` <a name="org.cdk8s.Cron.weekly"></a>
|
|
1769
|
+
|
|
1770
|
+
```java
|
|
1771
|
+
import org.cdk8s.Cron;
|
|
1772
|
+
|
|
1773
|
+
Cron.weekly()
|
|
1774
|
+
```
|
|
1775
|
+
|
|
1776
|
+
#### Properties <a name="Properties"></a>
|
|
1777
|
+
|
|
1778
|
+
##### `expressionString`<sup>Required</sup> <a name="org.cdk8s.Cron.property.expressionString"></a>
|
|
1779
|
+
|
|
1780
|
+
```java
|
|
1781
|
+
public java.lang.String getExpressionString();
|
|
1782
|
+
```
|
|
1783
|
+
|
|
1784
|
+
- *Type:* `java.lang.String`
|
|
1785
|
+
|
|
1786
|
+
Retrieve the expression for this schedule.
|
|
1787
|
+
|
|
1788
|
+
---
|
|
1789
|
+
|
|
1790
|
+
|
|
1662
1791
|
### DependencyGraph <a name="org.cdk8s.DependencyGraph"></a>
|
|
1663
1792
|
|
|
1664
1793
|
Represents the dependency graph for a given Node.
|
|
@@ -2230,84 +2359,6 @@ Name options.
|
|
|
2230
2359
|
|
|
2231
2360
|
|
|
2232
2361
|
|
|
2233
|
-
### Schedule <a name="org.cdk8s.Schedule"></a>
|
|
2234
|
-
|
|
2235
|
-
Represents a schedule.
|
|
2236
|
-
|
|
2237
|
-
Note that rates cannot be defined in fractions of minutes.
|
|
2238
|
-
|
|
2239
|
-
#### Initializers <a name="org.cdk8s.Schedule.Initializer"></a>
|
|
2240
|
-
|
|
2241
|
-
```java
|
|
2242
|
-
import org.cdk8s.Schedule;
|
|
2243
|
-
|
|
2244
|
-
new Schedule();
|
|
2245
|
-
```
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
#### Static Functions <a name="Static Functions"></a>
|
|
2249
|
-
|
|
2250
|
-
##### `cron` <a name="org.cdk8s.Schedule.cron"></a>
|
|
2251
|
-
|
|
2252
|
-
```java
|
|
2253
|
-
import org.cdk8s.Schedule;
|
|
2254
|
-
|
|
2255
|
-
Schedule.cron(CronOptions options)
|
|
2256
|
-
```
|
|
2257
|
-
|
|
2258
|
-
###### `options`<sup>Required</sup> <a name="org.cdk8s.Schedule.parameter.options"></a>
|
|
2259
|
-
|
|
2260
|
-
- *Type:* [`org.cdk8s.CronOptions`](#org.cdk8s.CronOptions)
|
|
2261
|
-
|
|
2262
|
-
---
|
|
2263
|
-
|
|
2264
|
-
##### `expression` <a name="org.cdk8s.Schedule.expression"></a>
|
|
2265
|
-
|
|
2266
|
-
```java
|
|
2267
|
-
import org.cdk8s.Schedule;
|
|
2268
|
-
|
|
2269
|
-
Schedule.expression(java.lang.String expression)
|
|
2270
|
-
```
|
|
2271
|
-
|
|
2272
|
-
###### `expression`<sup>Required</sup> <a name="org.cdk8s.Schedule.parameter.expression"></a>
|
|
2273
|
-
|
|
2274
|
-
- *Type:* `java.lang.String`
|
|
2275
|
-
|
|
2276
|
-
The expression to use.
|
|
2277
|
-
|
|
2278
|
-
Must be in a format of 'value unit'
|
|
2279
|
-
|
|
2280
|
-
---
|
|
2281
|
-
|
|
2282
|
-
##### `rate` <a name="org.cdk8s.Schedule.rate"></a>
|
|
2283
|
-
|
|
2284
|
-
```java
|
|
2285
|
-
import org.cdk8s.Schedule;
|
|
2286
|
-
|
|
2287
|
-
Schedule.rate(Duration duration)
|
|
2288
|
-
```
|
|
2289
|
-
|
|
2290
|
-
###### `duration`<sup>Required</sup> <a name="org.cdk8s.Schedule.parameter.duration"></a>
|
|
2291
|
-
|
|
2292
|
-
- *Type:* [`org.cdk8s.Duration`](#org.cdk8s.Duration)
|
|
2293
|
-
|
|
2294
|
-
---
|
|
2295
|
-
|
|
2296
|
-
#### Properties <a name="Properties"></a>
|
|
2297
|
-
|
|
2298
|
-
##### `expressionString`<sup>Required</sup> <a name="org.cdk8s.Schedule.property.expressionString"></a>
|
|
2299
|
-
|
|
2300
|
-
```java
|
|
2301
|
-
public java.lang.String getExpressionString();
|
|
2302
|
-
```
|
|
2303
|
-
|
|
2304
|
-
- *Type:* `java.lang.String`
|
|
2305
|
-
|
|
2306
|
-
Retrieve the expression for this schedule.
|
|
2307
|
-
|
|
2308
|
-
---
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
2362
|
### Size <a name="org.cdk8s.Size"></a>
|
|
2312
2363
|
|
|
2313
2364
|
Represents the amount of digital storage.
|