Skip to content

add examples to generic api (inside object.ts) #1753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 774 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
774 commits
Select commit Hold shift + click to select a range
3157e6b
Merge pull request #1404 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 9, 2023
8574cc2
Merge pull request #1405 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 9, 2023
c354c9a
Merge pull request #1406 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 9, 2023
3e7faa5
build(deps-dev): bump prettier from 3.0.3 to 3.1.0
dependabot[bot] Nov 13, 2023
3e30ef0
build(deps-dev): bump @types/tar from 6.1.8 to 6.1.9 (#1417)
dependabot[bot] Nov 14, 2023
916faaf
Merge pull request #1418 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Nov 14, 2023
14eeca9
Merge pull request #1312 from cdaringe/patch-1
mstruebing Nov 15, 2023
3e5bc80
build(deps): bump @types/node from 20.9.0 to 20.9.1
dependabot[bot] Nov 17, 2023
afbe668
Merge pull request #1423 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 17, 2023
581d2ba
build(deps): bump @types/node from 20.9.1 to 20.9.2
dependabot[bot] Nov 20, 2023
ece7bb7
Merge pull request #1425 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 20, 2023
fee3145
build(deps): bump @types/ws from 8.5.9 to 8.5.10
dependabot[bot] Nov 21, 2023
5c3012f
build(deps-dev): bump @types/mocha from 10.0.4 to 10.0.5
dependabot[bot] Nov 21, 2023
c9af58e
build(deps-dev): bump @types/tar from 6.1.9 to 6.1.10
dependabot[bot] Nov 21, 2023
4fcbb41
build(deps-dev): bump @types/chai from 4.3.10 to 4.3.11
dependabot[bot] Nov 21, 2023
ac88dab
Merge pull request #1434 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 21, 2023
b875503
Merge pull request #1433 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 21, 2023
adba74f
build(deps): bump @types/node from 20.9.2 to 20.9.3
dependabot[bot] Nov 21, 2023
0fdbeae
Merge pull request #1431 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 21, 2023
4358da1
Merge pull request #1432 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 21, 2023
eeb6133
Merge pull request #1430 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 21, 2023
72d2ec1
ci: use node lts in deploy docs workflow
mstruebing Nov 21, 2023
7f79776
Merge pull request #1435 from mstruebing/mstruebing/ci/deploy-docs
k8s-ci-robot Nov 21, 2023
d2c41c2
build(deps-dev): bump @types/mocha from 10.0.5 to 10.0.6
dependabot[bot] Nov 22, 2023
61478a4
build(deps): bump @types/node from 20.9.3 to 20.9.4
dependabot[bot] Nov 22, 2023
8151bff
Merge pull request #1443 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 22, 2023
1b1a789
Merge pull request #1442 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 22, 2023
492dcbc
fix: Fix TypeError of topNodes
koooge Nov 22, 2023
efc466a
Merge pull request #1445 from koooge/fix_topnodes_running
k8s-ci-robot Nov 23, 2023
44f13cb
chore: adjust owners file to the current state
mstruebing Nov 23, 2023
ee235ca
build(deps): bump @types/node from 20.9.4 to 20.9.5
dependabot[bot] Nov 24, 2023
3644f0d
Merge pull request #1450 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 24, 2023
26f7d01
build(deps-dev): bump typedoc from 0.25.3 to 0.25.4
dependabot[bot] Nov 27, 2023
861af7a
build(deps): bump @types/node from 20.9.5 to 20.10.0
dependabot[bot] Nov 27, 2023
89e3257
Merge pull request #1454 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 27, 2023
0f1b644
build(deps-dev): bump typescript from 5.2.2 to 5.3.2
dependabot[bot] Nov 27, 2023
af166f5
Merge pull request #1441 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 27, 2023
85ded63
Merge pull request #1455 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 27, 2023
c9b2e0b
Merge pull request #1446 from mstruebing/mstruebing/chore/adjust-owners
k8s-ci-robot Nov 27, 2023
463dd4f
build(deps-dev): bump nock from 13.3.8 to 13.4.0
dependabot[bot] Nov 28, 2023
7cf3abe
Merge pull request #1457 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 28, 2023
0b793e4
build(deps): bump JamesIves/github-pages-deploy-action
dependabot[bot] Nov 29, 2023
6f43ea5
Merge pull request #1458 from kubernetes-client/dependabot/github_act…
mstruebing Nov 29, 2023
1a1bc8a
build(deps): bump @types/node from 20.10.0 to 20.10.1
dependabot[bot] Nov 30, 2023
a9878d6
Merge pull request #1460 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Nov 30, 2023
a2d306f
build(deps): bump @types/node from 20.10.1 to 20.10.3
dependabot[bot] Dec 4, 2023
749b925
Merge pull request #1466 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Dec 4, 2023
9fc9735
build(deps-dev): bump typescript from 5.3.2 to 5.3.3
dependabot[bot] Dec 7, 2023
f20bb3d
Merge pull request #1468 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Dec 7, 2023
05fd2dd
build(deps): bump @types/node from 20.10.3 to 20.10.4
dependabot[bot] Dec 8, 2023
3687f6e
Merge pull request #1470 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Dec 8, 2023
c694e14
build(deps-dev): bump prettier from 3.1.0 to 3.1.1
dependabot[bot] Dec 11, 2023
dda98b7
build(deps): bump ws from 8.14.2 to 8.15.0
dependabot[bot] Dec 11, 2023
c596370
build(deps-dev): bump ts-node from 10.9.1 to 10.9.2
dependabot[bot] Dec 11, 2023
2dc6993
Merge pull request #1474 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Dec 11, 2023
5951ead
Merge pull request #1475 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Dec 11, 2023
f77c908
Merge pull request #1476 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Dec 11, 2023
dbb7ac8
build(deps): bump ws from 8.15.0 to 8.15.1
dependabot[bot] Dec 13, 2023
335f088
Merge pull request #1478 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Dec 13, 2023
d71375c
build(deps): bump github/codeql-action from 2 to 3
dependabot[bot] Dec 14, 2023
1d16060
Merge pull request #1479 from kubernetes-client/dependabot/github_act…
mstruebing Dec 14, 2023
a67adfd
build(deps): bump @types/node from 20.10.4 to 20.10.5
dependabot[bot] Dec 18, 2023
4806e94
Merge pull request #1482 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Dec 18, 2023
4c90573
build(deps): bump openid-client from 5.6.1 to 5.6.2
dependabot[bot] Dec 25, 2023
d72eed7
Merge pull request #1484 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Dec 26, 2023
bb25fc1
build(deps): bump ws from 8.15.1 to 8.16.0
dependabot[bot] Dec 27, 2023
a7d015a
fix: do not overwrite current context
carlossg Dec 27, 2023
2ff4bb1
Merge pull request #1486 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Dec 27, 2023
426687b
Merge pull request #1487 from carlossg/preservecontext
k8s-ci-robot Dec 27, 2023
8433084
build(deps): bump @types/node from 20.10.5 to 20.10.6 (#1492)
dependabot[bot] Jan 1, 2024
fed1565
build(deps-dev): bump typedoc from 0.25.4 to 0.25.6
dependabot[bot] Jan 2, 2024
0231e5b
Merge pull request #1495 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 3, 2024
d3828da
build(deps): bump openid-client from 5.6.2 to 5.6.4
dependabot[bot] Jan 8, 2024
025dd47
build(deps): bump @types/node from 20.10.6 to 20.10.7
dependabot[bot] Jan 8, 2024
7104143
Merge pull request #1503 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 8, 2024
6dc7415
Merge pull request #1502 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 8, 2024
10c832f
build(deps-dev): bump typedoc from 0.25.6 to 0.25.7
dependabot[bot] Jan 9, 2024
d31923a
Merge pull request #1505 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 9, 2024
900add2
build(deps): bump @types/node from 20.10.7 to 20.10.8
dependabot[bot] Jan 10, 2024
4cb9d16
Merge pull request #1508 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 10, 2024
fd4502e
build(deps): bump @types/node from 20.10.8 to 20.11.0
dependabot[bot] Jan 12, 2024
41a61d3
Merge pull request #1512 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 12, 2024
0cc5814
build(deps-dev): bump prettier from 3.1.1 to 3.2.2
dependabot[bot] Jan 15, 2024
70d4c99
build(deps-dev): bump nock from 13.4.0 to 13.5.0
dependabot[bot] Jan 15, 2024
db4c703
Merge pull request #1517 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 15, 2024
53bf274
Merge pull request #1516 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 15, 2024
f5de4f1
build(deps): bump @types/node from 20.11.0 to 20.11.3 (#1519)
dependabot[bot] Jan 16, 2024
91396a1
build(deps): bump @types/node from 20.11.3 to 20.11.4
dependabot[bot] Jan 17, 2024
4e4dcd4
Merge pull request #1523 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 17, 2024
805f0b2
build(deps): bump @types/node from 20.11.4 to 20.11.5
dependabot[bot] Jan 18, 2024
04c871f
build(deps-dev): bump prettier from 3.2.2 to 3.2.4
dependabot[bot] Jan 18, 2024
f7576bb
Merge pull request #1527 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 18, 2024
088193a
Merge pull request #1526 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 18, 2024
241f87c
build(deps): bump jsonpath-plus from 7.2.0 to 8.0.0
dependabot[bot] Jan 19, 2024
106874c
Merge pull request #1530 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jan 19, 2024
8fa16d0
build(deps-dev): bump husky from 8.0.3 to 9.0.1
dependabot[bot] Jan 25, 2024
8de687a
build(deps): bump @types/node from 20.11.5 to 20.11.6
dependabot[bot] Jan 25, 2024
732f90c
Merge pull request #1532 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 25, 2024
8736258
Merge pull request #1533 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 25, 2024
5729b96
build(deps-dev): bump husky from 9.0.1 to 9.0.6
dependabot[bot] Jan 26, 2024
dd8955c
docs: fixing typo in exec-example
Cadienvan Jan 26, 2024
6d24457
build(deps-dev): bump @types/tar from 6.1.10 to 6.1.11 (#1537)
dependabot[bot] Jan 26, 2024
6e3d21b
Merge pull request #1538 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jan 26, 2024
af1bc99
Merge pull request #1540 from Cadienvan/patch-1
k8s-ci-robot Jan 26, 2024
54a4582
build(deps): bump @types/node from 20.11.6 to 20.11.10
dependabot[bot] Jan 29, 2024
3e1dec8
build(deps-dev): bump nock from 13.5.0 to 13.5.1
dependabot[bot] Jan 29, 2024
88010ba
Merge pull request #1545 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 29, 2024
f2eccbd
Merge pull request #1544 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 29, 2024
4e7e17d
build(deps-dev): bump husky from 9.0.6 to 9.0.7
dependabot[bot] Jan 30, 2024
35271d1
Merge pull request #1548 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 30, 2024
f60cf50
build(deps): bump @types/node from 20.11.10 to 20.11.13
dependabot[bot] Jan 31, 2024
4fedbd6
Merge pull request #1551 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Jan 31, 2024
342b796
feat: load service account token from a different path
omerlh Jan 30, 2024
0fbfd8f
Merge pull request #1549 from omerlh/feat/service-account-custom-path
k8s-ci-robot Jan 31, 2024
a1adb62
build(deps): bump @types/node from 20.11.13 to 20.11.14
dependabot[bot] Feb 1, 2024
eb6cf87
Merge pull request #1553 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 1, 2024
64bf136
build(deps): bump @types/node from 20.11.14 to 20.11.16
dependabot[bot] Feb 2, 2024
27d8623
build(deps-dev): bump husky from 9.0.7 to 9.0.10
dependabot[bot] Feb 2, 2024
191ee77
Merge pull request #1558 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 2, 2024
dca390f
Merge pull request #1559 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 2, 2024
bea7122
build(deps-dev): bump prettier from 3.2.4 to 3.2.5
dependabot[bot] Feb 5, 2024
33d0ce9
Merge pull request #1561 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 5, 2024
3eb65c9
build(deps): bump @types/node from 20.11.16 to 20.11.17
dependabot[bot] Feb 9, 2024
bd88f9e
build(deps-dev): bump mocha from 10.2.0 to 10.3.0
dependabot[bot] Feb 9, 2024
0d678d5
Merge pull request #1566 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 9, 2024
d3a9151
Merge pull request #1567 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 9, 2024
416a2d7
fix: use load from cluster when default service mount is disabled
omerlh Feb 11, 2024
2bea10c
Merge pull request #1568 from omerlh/fix/service-account-custom-path
k8s-ci-robot Feb 11, 2024
04c31e1
build(deps-dev): bump typedoc from 0.25.7 to 0.25.8
dependabot[bot] Feb 12, 2024
9d1e071
Merge pull request #1570 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 12, 2024
ee010d6
build(deps-dev): bump husky from 9.0.10 to 9.0.11
dependabot[bot] Feb 14, 2024
89afd7b
Merge pull request #1574 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 14, 2024
a20ab73
build(deps): bump @types/node from 20.11.17 to 20.11.19
dependabot[bot] Feb 16, 2024
9314853
Merge pull request #1577 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 16, 2024
76490d7
build(deps-dev): bump nock from 13.5.1 to 13.5.3
dependabot[bot] Feb 19, 2024
b66d0c5
Merge pull request #1579 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Feb 19, 2024
d1004d7
build(deps): bump @types/node from 20.11.19 to 20.11.20
dependabot[bot] Feb 23, 2024
bce2fed
Merge pull request #1582 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 23, 2024
b5b7ef4
build(deps-dev): bump nock from 13.5.3 to 13.5.4
dependabot[bot] Feb 27, 2024
c0e8470
build(deps-dev): bump typedoc from 0.25.8 to 0.25.9
dependabot[bot] Feb 27, 2024
43444d8
Merge pull request #1585 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Feb 27, 2024
356a22c
Merge pull request #1586 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Feb 27, 2024
d54b3e4
build(deps): bump @types/node from 20.11.20 to 20.11.21
dependabot[bot] Feb 28, 2024
eaa4c3a
Merge pull request #1588 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 28, 2024
2bc154a
build(deps): bump @types/node from 20.11.21 to 20.11.22
dependabot[bot] Feb 29, 2024
8049056
Merge pull request #1590 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Feb 29, 2024
bf88b56
build(deps): bump @types/node from 20.11.22 to 20.11.24
dependabot[bot] Mar 1, 2024
e70cc64
Merge pull request #1592 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Mar 1, 2024
46af5de
build(deps-dev): bump typedoc from 0.25.9 to 0.25.10
dependabot[bot] Mar 4, 2024
dfb7760
Merge pull request #1594 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 4, 2024
2696ce3
build(deps): bump jsonpath-plus from 8.0.0 to 8.1.0
dependabot[bot] Mar 6, 2024
8f40faa
Merge pull request #1597 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 6, 2024
8551fba
build(deps-dev): bump typedoc from 0.25.10 to 0.25.11
dependabot[bot] Mar 7, 2024
7e8c4d1
build(deps): bump @types/node from 20.11.24 to 20.11.25
dependabot[bot] Mar 7, 2024
9727bf3
Merge pull request #1604 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Mar 7, 2024
0f02b20
Merge pull request #1602 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 7, 2024
658c001
build(deps): bump jose from 4.15.4 to 4.15.5
dependabot[bot] Mar 7, 2024
94ba927
Merge pull request #1605 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 7, 2024
1cccf91
build(deps): bump openid-client from 5.6.4 to 5.6.5
dependabot[bot] Mar 8, 2024
0eb0a8b
Merge pull request #1607 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 8, 2024
80be809
build(deps-dev): bump typedoc from 0.25.11 to 0.25.12
dependabot[bot] Mar 11, 2024
abe1100
Merge pull request #1610 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 11, 2024
3e4fdd8
build(deps-dev): bump typescript from 5.3.3 to 5.4.2
dependabot[bot] Mar 11, 2024
835417b
Merge pull request #1603 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 11, 2024
c090e4d
build(deps): bump @types/node from 20.11.25 to 20.11.26 (#1612)
dependabot[bot] Mar 12, 2024
3b25eef
build(deps): bump @types/node from 20.11.26 to 20.11.27
dependabot[bot] Mar 14, 2024
a672c58
Merge pull request #1615 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Mar 14, 2024
8ac1e40
build(deps): bump @types/node from 20.11.27 to 20.11.28
dependabot[bot] Mar 18, 2024
84462e1
Merge pull request #1617 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Mar 18, 2024
2801765
build(deps): bump @types/node from 20.11.28 to 20.11.29
dependabot[bot] Mar 19, 2024
e09a67b
Merge pull request #1619 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Mar 19, 2024
c45ce30
build(deps): bump @types/node from 20.11.29 to 20.11.30
dependabot[bot] Mar 20, 2024
8118208
Merge pull request #1622 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Mar 20, 2024
ae60c72
build(deps-dev): bump typescript from 5.4.2 to 5.4.3
dependabot[bot] Mar 21, 2024
d923fc9
Merge pull request #1624 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 21, 2024
fa26784
build(deps): bump tar from 6.2.0 to 6.2.1
dependabot[bot] Mar 22, 2024
0af3638
Merge pull request #1626 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 22, 2024
5bb0d8f
Update generate-javascript.yml (#1627)
brendandburns Mar 26, 2024
e18a2b2
build(deps-dev): bump mocha from 10.3.0 to 10.4.0
dependabot[bot] Mar 27, 2024
be03d91
Merge pull request #1630 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Mar 27, 2024
9a88c8a
Update generate-javascript.yml (#1631)
brendandburns Mar 28, 2024
847da70
build(deps): bump @types/node from 20.11.30 to 20.12.2
dependabot[bot] Apr 1, 2024
65958a6
Merge pull request #1635 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Apr 1, 2024
1e7e750
Automated openapi generation from release-1.29 (#1633)
github-actions[bot] Apr 1, 2024
2a273ca
build(deps-dev): bump @types/tar from 6.1.11 to 6.1.12
dependabot[bot] Apr 4, 2024
9bdf2dd
build(deps): bump @types/node from 20.12.2 to 20.12.4
dependabot[bot] Apr 4, 2024
5e01505
Merge pull request #1641 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Apr 4, 2024
f01cd02
Merge pull request #1640 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Apr 4, 2024
3ce2c10
build(deps-dev): bump typescript from 5.4.3 to 5.4.4
dependabot[bot] Apr 5, 2024
8380e92
Merge pull request #1643 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 5, 2024
652a49f
build(deps): bump @types/node from 20.12.4 to 20.12.5
dependabot[bot] Apr 8, 2024
896bdee
build(deps-dev): bump typedoc from 0.25.12 to 0.25.13
dependabot[bot] Apr 8, 2024
fd600ae
Merge pull request #1646 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Apr 8, 2024
df6eac4
Merge pull request #1647 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 8, 2024
7d0b0e4
build(deps): bump @types/node from 20.12.5 to 20.12.7
dependabot[bot] Apr 10, 2024
7d9b784
Merge pull request #1649 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Apr 10, 2024
739583d
build(deps-dev): bump typescript from 5.4.4 to 5.4.5
dependabot[bot] Apr 11, 2024
3a05a0b
build(deps): bump tar from 6.2.1 to 7.0.0
dependabot[bot] Apr 11, 2024
697b772
Merge pull request #1652 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 11, 2024
ab64e85
Merge pull request #1653 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 11, 2024
c9123dd
build(deps): bump tar from 7.0.0 to 7.0.1
dependabot[bot] Apr 15, 2024
94f3589
Merge pull request #1655 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 15, 2024
481a8c0
build(deps-dev): bump @types/tar from 6.1.12 to 6.1.13
dependabot[bot] Apr 18, 2024
552bcdc
build(deps): bump JamesIves/github-pages-deploy-action
dependabot[bot] Apr 18, 2024
92ddb0f
Merge pull request #1658 from kubernetes-client/dependabot/npm_and_ya…
mstruebing Apr 18, 2024
549ae50
Merge pull request #1659 from kubernetes-client/dependabot/github_act…
k8s-ci-robot Apr 18, 2024
7d75b43
0.21.0
brendandburns Apr 18, 2024
b8b0ec5
Merge pull request #1660 from kubernetes-client/rev
k8s-ci-robot Apr 19, 2024
ba17e29
fix: use correct types for websocket
mstruebing Apr 27, 2024
62e8b11
Merge pull request #1665 from mstruebing/ms/websocket-master
k8s-ci-robot Apr 27, 2024
29e6ec4
build(deps): bump ws from 8.16.0 to 8.17.0
dependabot[bot] Apr 29, 2024
d3ad5ff
Merge pull request #1667 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Apr 29, 2024
6644bc6
build(deps): bump @types/node from 20.12.7 to 20.12.8
dependabot[bot] May 2, 2024
b456bfc
Merge pull request #1669 from kubernetes-client/dependabot/npm_and_ya…
mstruebing May 2, 2024
6e29910
Update README.md for new version.
brendandburns May 3, 2024
e05e97d
build(deps): bump tar from 7.0.1 to 7.1.0
dependabot[bot] May 6, 2024
7bdf243
Merge pull request #1675 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 6, 2024
d9bbef1
Merge pull request #1671 from kubernetes-client/brendandburns-patch-6
k8s-ci-robot May 6, 2024
1b945a6
Automated openapi generation from release-1.30 (#1672)
github-actions[bot] May 6, 2024
388bb9d
build(deps): bump @types/node from 20.12.8 to 20.12.10
dependabot[bot] May 7, 2024
4f74397
Merge pull request #1677 from kubernetes-client/dependabot/npm_and_ya…
mstruebing May 7, 2024
52eeb0e
Fix tagging for releases.
brendandburns May 8, 2024
e0eb2ea
Merge pull request #1680 from kubernetes-client/brendandburns-patch-7
k8s-ci-robot May 8, 2024
77c5269
build(deps): bump @types/node from 20.12.10 to 20.12.11
dependabot[bot] May 9, 2024
044acc1
Merge pull request #1682 from kubernetes-client/dependabot/npm_and_ya…
mstruebing May 9, 2024
7300cb4
build(deps): bump jsonpath-plus from 8.1.0 to 9.0.0
dependabot[bot] May 10, 2024
b928c17
fix: change `preventEval` to `eval` because of a change in
mstruebing May 10, 2024
c0bec9c
Update FETCH_MIGRATION.md
lordrip May 10, 2024
5fa1073
Merge pull request #1687 from lordrip/patch-1
k8s-ci-robot May 10, 2024
1e27cc3
Merge pull request #1686 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 11, 2024
83efa84
build(deps-dev): bump chai-as-promised from 7.1.1 to 7.1.2
dependabot[bot] May 13, 2024
d926bb4
Merge pull request #1689 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 13, 2024
93a0070
build(deps): bump @types/node from 20.12.11 to 20.12.12 (#1691)
dependabot[bot] May 16, 2024
d9ad501
build(deps): bump JamesIves/github-pages-deploy-action
dependabot[bot] May 20, 2024
ccfcef9
Merge pull request #1692 from kubernetes-client/dependabot/github_act…
k8s-ci-robot May 20, 2024
5808ab4
make namespace in Object header optional
schrodit May 25, 2024
d9b7c48
properly parse metadata of unknown objects.
schrodit May 25, 2024
5edaa91
Merge pull request #1694 from schrodit/fix-read-type
k8s-ci-robot May 27, 2024
ab31495
apply review comments
schrodit May 27, 2024
7c4ad3a
fix lint issues
schrodit May 28, 2024
4df1858
fix formatting
schrodit May 28, 2024
153a808
Merge pull request #1695 from schrodit/fix-obj-typing
k8s-ci-robot May 28, 2024
c657862
build(deps): bump tar from 7.1.0 to 7.2.0
dependabot[bot] May 30, 2024
70e29c6
build(deps): bump @types/node from 20.12.12 to 20.12.13
dependabot[bot] May 30, 2024
d5d63c2
Merge pull request #1699 from kubernetes-client/dependabot/npm_and_ya…
mstruebing May 30, 2024
20da856
Merge pull request #1698 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot May 30, 2024
58ed3bd
build(deps-dev): bump prettier from 3.2.5 to 3.3.0
dependabot[bot] Jun 3, 2024
39e485c
build(deps): bump @types/node from 20.12.13 to 20.14.0 (#1704)
dependabot[bot] Jun 3, 2024
8a6ba36
Merge pull request #1703 from kubernetes-client/dependabot/npm_and_ya…
k8s-ci-robot Jun 3, 2024
4c16f84
basic generic api examples
zfrhv Jun 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
time: "02:00"
- package-ecosystem: "npm"
directory: "/"
target-branch: "release-1.x"
schedule:
interval: "daily"
time: "01:00"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
time: "03:00"
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -51,7 +51,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -65,4 +65,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
8 changes: 4 additions & 4 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14.x'
node-version: '20'
# Pre-check to validate that versions match between package.json
# and package-lock.json. Needs to run before npm install
- name: Validate package.json and package-lock.json versions
Expand All @@ -23,7 +23,7 @@ jobs:
run: npm run docs

- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
80 changes: 80 additions & 0 deletions .github/workflows/generate-javascript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Generate

on:
workflow_dispatch:
inputs:
kubernetesBranch:
type: string
required: true
description: 'The remote kubernetes release branch to fetch openapi spec. .e.g. "release-1.23"'
genCommit:
type: string
required: true
default: 'f0bb447'
description: 'The commit to use for the kubernetes-client/gen repo'


jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout Javascript
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Checkout Gen
run: |
git clone https://github.com/kubernetes-client/gen
pushd gen
git checkout "${{ github.event.inputs.genCommit }}"
# apply https://github.com/kubernetes-client/gen/pull/224
git config --global user.name "Github Actions"
git config --global user.email "<>"
git cherry-pick --strategy=recursive -X theirs c557f7f b32dcd6 0ef2cec 9701a7c
rm -rf gen/.git
# apply https://github.com/kubernetes-client/gen/pull/237
- name: Patch Dockerfile
run: echo "RUN git config --system --add safe.directory /source/openapi-generator" >> gen/openapi/openapi-generator/Dockerfile
- name: Generate Branch Name
run: |
SUFFIX=$(openssl rand -hex 4)
echo "BRANCH=automated-generate-$SUFFIX" >> $GITHUB_ENV
- name: Generate Openapi
run: |
pushd gen/openapi
cat <<"EOF"> settings
# kubernetes-client/gen commit to use for code generation.
export GEN_COMMIT="${{ github.event.inputs.genCommit }}"
# GitHub username/organization to clone kubernetes repo from.
export USERNAME=kubernetes
# Kubernetes branch/tag to get the OpenAPI spec from.
export KUBERNETES_BRANCH="${{ github.event.inputs.kubernetesBranch }}"
# client version for packaging and releasing. It can
# be different than SPEC_VERSION.
export CLIENT_VERSION="0.8-SNAPSHOT"
# Name of the release package
export PACKAGE_NAME="@kubernetes/node-client"
export OPENAPI_GENERATOR_COMMIT=1314e229
EOF
bash typescript.sh ../../src/gen settings
popd
cp settings ../../settings
rm -rf gen
- name: Commit and push
run: |
# Commit and push
git config user.email "k8s.ci.robot@gmail.com"
git config user.name "Kubernetes Prow Robot"
git checkout -b "$BRANCH"
git add .
git commit -s -m 'Automated openapi generation from ${{ github.event.inputs.kubernetesBranch }}'
git push origin "$BRANCH"
- name: Pull Request
uses: repo-sync/pull-request@v2
with:
source_branch: ${{ env.BRANCH }}
destination_branch: ${{ github.ref_name }}
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_title: "Automated Generate from openapi ${{ github.event.inputs.kubernetesBranch }}"
61 changes: 61 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Release

on:
workflow_dispatch:
inputs:
releaseVersion:
type: string
required: true
description: The version of this release. Must be a semantic version of the form X.Y.Z.
dry_run:
type: boolean
required: true
default: false
description: Dry run, will not push branches or upload the artifacts.
pre_release:
type: boolean
required: true
default: false
description: If true, push pre-release tag.
skip_tag:
type: boolean
required: true
default: false
description: If true, don't tag this release, just push it.

jobs:
release:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout Javascript
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Package
run: ./build-package.sh
- name: Upload
if: ${{ github.event.inputs.dry_run != 'true' && github.event.inputs.pre_release != 'true' }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Upload pre-release
if: ${{ github.event.inputs.dry_run != 'true' && github.event.inputs.pre_release == 'true' }}
run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Tag release
if: ${{ github.event.inputs.skip_tag != 'true' }}
run: |
git config --global user.name 'Github Bot'
git config --global user.email '<>'
git tag ${{ github.events.inputs.releaseVersion }}
- name: Push tag
if: ${{ github.event.inputs.dry_run != 'true' }}
run: |
git push ${{ github.events.inputs.releaseVersion }}
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '16', '14', '12' ]
# Remove specific version from 20 when https://github.com/tschaub/mock-fs/issues/380 is fixed
node: [ '20.7.0', '18', '16' ]
name: Node ${{ matrix.node }} validation
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
# Pre-check to validate that versions match between package.json
Expand Down
11 changes: 11 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
// Specify "require" for CommonJS
"require": "ts-node/register",
"extensions": ["ts"],
"spec": [
"src/**/*_test.ts"
],
"watch-files": [
"src"
]
}
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ We'd love to accept your patches! Before we can accept them you need to sign Clo
## Reporting an issue
If you have any problem with the package or any suggestions, please file an [issue](https://github.com/kubernetes-client/javascript/issues).

Note: Before raising a new issue, please do check the existing issues and make sure it is not a duplicate one.

## Contributing a Patch
1. Submit an issue describing your proposed change to the repo.
2. Fork this repo, develop and test your code changes.
Expand Down
47 changes: 23 additions & 24 deletions FETCH_MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@

Request is fully deprecated requiring us to switch libraries (see [#414](https://github.com/kubernetes-client/javascript/issues/414) for more information). There were a few [different options](https://github.com/kubernetes-client/javascript/issues/414#issuecomment-978031677) for how this swap should be implemented but moving to a new open-api generator option was chosen since this project will acquire the advantages of an up-to-date open-api generator version.

Fetch was selected as the new HTTP request library for this project due to its widespread adoption across the JavaScript ecosystem. Additonally, potential future updates to this project could allow this client to be available with browser JavaScript since fetch is native to the browser ([#165](https://github.com/kubernetes-client/javascript/issues/165)).
Fetch was selected as the new HTTP request library for this project due to its widespread adoption across the JavaScript ecosystem. Additionally, potential future updates to this project could allow this client to be available with browser JavaScript since fetch is native to the browser ([#165](https://github.com/kubernetes-client/javascript/issues/165)).

[Node-fetch](https://www.npmjs.com/package/node-fetch) is our specific fetch package since it is the largest Node.js compatable implementation. Fetch is not implemented by default in Node.
[Node-fetch](https://www.npmjs.com/package/node-fetch) is our specific fetch package since it is the largest Node.js compatible implementation. Fetch is not implemented by default in Node.

For more details see the initial discussion ([#754](https://github.com/kubernetes-client/javascript/issues/754)).

Edit 02/2022:

Since the OpenApiGenerator project is targeting a single `typescript` generator (instead of individual networking flavors eg: typescript-fetch, typescript-axios) that includes node-fetch support, the initial plans to import and inject node-fetch is no longer optimal.

The proposed changes have been implemented on the new `typescript` generator which includes changes to the authentication and authorization interface that now uses a `RequestContext` object instead of directly allowing access to the https request options. In order to bridge the existing javascript client auth methods, additional exposure via custom SecurityAuthentication support has [been merged](https://github.com/OpenAPITools/openapi-generator/pull/11321) into the typescript generator.


## Release cycle

The fetch generator will create breaking changes to this project's API. Consumers will have to make small modifications to their code to upgrade.
Expand Down Expand Up @@ -40,31 +47,23 @@ Code will be on the `master` branch.
### Other repositories

- [x] Update [kubernetes-client/gen](https://github.com/kubernetes-client/gen)'s typescript-fetch files to let us pass in the `typescriptThreePlus` config option <sup>[1](https://github.com/OpenAPITools/openapi-generator/issues/9973) [2](https://github.com/OpenAPITools/openapi-generator/issues/3869#issuecomment-584152932)</sub>
- [ ] Update [openapi-generator](https://github.com/OpenAPITools/openapi-generator)'s typescript-fetch flavor to mark parameters as optional if all parameters are optional <sup>[3](https://github.com/OpenAPITools/openapi-generator/issues/6440)</sup>
- [x] Update [openapi-generator](https://github.com/OpenAPITools/openapi-generator)'s typescript-fetch flavor to mark parameters as optional if all parameters are optional <sup>[3](https://github.com/OpenAPITools/openapi-generator/issues/6440)</sup>

### Kubernetes-client repository

- [ ] Increment `OPENAPI_GENERATOR_COMMIT` to be [version 5.3.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.3.0) (with the optional parameters addition)
- [ ] `npm install node-fetch` to install node-fetch
- [ ] Switch generate-client script to use typescript-fetch
- [ ] Import and inject node-fetch in `src/api.ts` with the following

```typescript
import fetch from 'node-fetch';

// inject node-fetch
if (!globalThis.fetch) {
// @ts-ignore
globalThis.fetch = fetch;
globalThis.Headers = Headers;
globalThis.Request = Request;
globalThis.Response = Response;
}
```

- [ ] Generate api with `npm run generate`
- [ ] Match src/gen/api.ts to new generated layout (it changes slightly)
- [ ] Fix errors in /src folder (due to new api)
- [x] Increment `OPENAPI_GENERATOR_COMMIT` to be [version 5.3.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.3.0) (with the optional parameters addition)
- [x] `npm install node-fetch` to install node-fetch
- [ ] ~~Switch generate-client script to use typescript-fetch~~ (see edit 02/2022)
- [ ] ~~Import and inject node-fetch in `src/api.ts`~~ (see edit 02/2022)

- [x] Generate api with `npm run generate`
- [x] Match src/gen/api.ts to new generated layout (it changes slightly)

- [ ] Fix errors in /src folder (due to new generated api)
- [ ] Migrate watch.ts to use node-fetch
- [ ] Migrate log.ts to use node-fetch
- [ ] Migrate metrics.ts to use node-fetch
- [ ] Migrate HttpError Usage to HttpException (following new OpenApiGen convention)
- [ ] Fix errors in test (due to new api)
- [ ] Test all features
- [ ] Fix examples (due to new api)
Expand Down
9 changes: 6 additions & 3 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# See the OWNERS docs at https://go.k8s.io/owners
approvers:
- brendandburns
- drubin
- mstruebing
- davidgamero
reviewers:
- brendandburns
- drubin
- itowlson
- mstruebing
- davidgamero
emeritus_approvers:
- mbohlool # 10/22/2020
- drubin # 11/23/2023
- itowlson # 11/23/2023
Loading