k8ts 0.1.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.
- package/LICENSE.md +7 -0
- package/README.md +3 -0
- package/dist/.imports.tsbuildinfo +1 -0
- package/dist/_imports/_mix.d.ts +4 -0
- package/dist/_imports/_mix.d.ts.map +1 -0
- package/dist/_imports/_mix.js +20 -0
- package/dist/_imports/_mix.js.map +1 -0
- package/dist/_imports/acme.cert-manager.io.d.ts +4832 -0
- package/dist/_imports/acme.cert-manager.io.d.ts.map +1 -0
- package/dist/_imports/acme.cert-manager.io.js +2476 -0
- package/dist/_imports/acme.cert-manager.io.js.map +1 -0
- package/dist/_imports/gateway.networking.k8s.io.d.ts +8786 -0
- package/dist/_imports/gateway.networking.k8s.io.d.ts.map +1 -0
- package/dist/_imports/gateway.networking.k8s.io.js +3668 -0
- package/dist/_imports/gateway.networking.k8s.io.js.map +1 -0
- package/dist/_imports/index.d.ts +3 -0
- package/dist/_imports/index.d.ts.map +1 -0
- package/dist/_imports/index.js +39 -0
- package/dist/_imports/index.js.map +1 -0
- package/dist/_imports/k8s.d.ts +18782 -0
- package/dist/_imports/k8s.d.ts.map +1 -0
- package/dist/_imports/k8s.js +12173 -0
- package/dist/_imports/k8s.js.map +1 -0
- package/dist/api-versions.d.ts +5 -0
- package/dist/api-versions.d.ts.map +1 -0
- package/dist/api-versions.js +8 -0
- package/dist/api-versions.js.map +1 -0
- package/dist/error.d.ts +5 -0
- package/dist/error.d.ts.map +1 -0
- package/dist/error.js +12 -0
- package/dist/error.js.map +1 -0
- package/dist/external/index.d.ts +13 -0
- package/dist/external/index.d.ts.map +1 -0
- package/dist/external/index.js +81 -0
- package/dist/external/index.js.map +1 -0
- package/dist/file/exports.d.ts +20 -0
- package/dist/file/exports.d.ts.map +1 -0
- package/dist/file/exports.js +62 -0
- package/dist/file/exports.js.map +1 -0
- package/dist/file/factory.d.ts +34 -0
- package/dist/file/factory.d.ts.map +1 -0
- package/dist/file/factory.js +171 -0
- package/dist/file/factory.js.map +1 -0
- package/dist/file/file.d.ts +17 -0
- package/dist/file/file.d.ts.map +1 -0
- package/dist/file/file.js +21 -0
- package/dist/file/file.js.map +1 -0
- package/dist/file/index.d.ts +2 -0
- package/dist/file/index.d.ts.map +1 -0
- package/dist/file/index.js +18 -0
- package/dist/file/index.js.map +1 -0
- package/dist/file/origin.d.ts +18 -0
- package/dist/file/origin.d.ts.map +1 -0
- package/dist/file/origin.js +27 -0
- package/dist/file/origin.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +49 -0
- package/dist/index.js.map +1 -0
- package/dist/k8ts-sys-kind.d.ts +3 -0
- package/dist/k8ts-sys-kind.d.ts.map +1 -0
- package/dist/k8ts-sys-kind.js +8 -0
- package/dist/k8ts-sys-kind.js.map +1 -0
- package/dist/kind-map.d.ts +11 -0
- package/dist/kind-map.d.ts.map +1 -0
- package/dist/kind-map.js +29 -0
- package/dist/kind-map.js.map +1 -0
- package/dist/meta/k8ts-section.d.ts +3 -0
- package/dist/meta/k8ts-section.d.ts.map +1 -0
- package/dist/meta/k8ts-section.js +10 -0
- package/dist/meta/k8ts-section.js.map +1 -0
- package/dist/node/abs-resource.d.ts +15 -0
- package/dist/node/abs-resource.d.ts.map +1 -0
- package/dist/node/abs-resource.js +76 -0
- package/dist/node/abs-resource.js.map +1 -0
- package/dist/node/dependencies.d.ts +1 -0
- package/dist/node/dependencies.d.ts.map +1 -0
- package/dist/node/dependencies.js +2 -0
- package/dist/node/dependencies.js.map +1 -0
- package/dist/node/index.d.ts +2 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.js +6 -0
- package/dist/node/index.js.map +1 -0
- package/dist/node/manifest-resource.d.ts +11 -0
- package/dist/node/manifest-resource.d.ts.map +1 -0
- package/dist/node/manifest-resource.js +19 -0
- package/dist/node/manifest-resource.js.map +1 -0
- package/dist/node/sub-resource.d.ts +8 -0
- package/dist/node/sub-resource.d.ts.map +1 -0
- package/dist/node/sub-resource.js +72 -0
- package/dist/node/sub-resource.js.map +1 -0
- package/dist/node/top-resource.d.ts +7 -0
- package/dist/node/top-resource.d.ts.map +1 -0
- package/dist/node/top-resource.js +8 -0
- package/dist/node/top-resource.js.map +1 -0
- package/dist/paths.d.ts +2 -0
- package/dist/paths.d.ts.map +1 -0
- package/dist/paths.js +5 -0
- package/dist/paths.js.map +1 -0
- package/dist/resources/configmap/configmap.d.ts +12 -0
- package/dist/resources/configmap/configmap.d.ts.map +1 -0
- package/dist/resources/configmap/configmap.js +79 -0
- package/dist/resources/configmap/configmap.js.map +1 -0
- package/dist/resources/configmap/index.d.ts +2 -0
- package/dist/resources/configmap/index.d.ts.map +1 -0
- package/dist/resources/configmap/index.js +18 -0
- package/dist/resources/configmap/index.js.map +1 -0
- package/dist/resources/deployment/deployment.d.ts +18 -0
- package/dist/resources/deployment/deployment.d.ts.map +1 -0
- package/dist/resources/deployment/deployment.js +99 -0
- package/dist/resources/deployment/deployment.js.map +1 -0
- package/dist/resources/deployment/index.d.ts +2 -0
- package/dist/resources/deployment/index.d.ts.map +1 -0
- package/dist/resources/deployment/index.js +18 -0
- package/dist/resources/deployment/index.js.map +1 -0
- package/dist/resources/http-route/http-route.d.ts +17 -0
- package/dist/resources/http-route/http-route.d.ts.map +1 -0
- package/dist/resources/http-route/http-route.js +93 -0
- package/dist/resources/http-route/http-route.js.map +1 -0
- package/dist/resources/http-route/index.d.ts +2 -0
- package/dist/resources/http-route/index.d.ts.map +1 -0
- package/dist/resources/http-route/index.js +18 -0
- package/dist/resources/http-route/index.js.map +1 -0
- package/dist/resources/index.d.ts +9 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +25 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/resources/namespace/index.d.ts +2 -0
- package/dist/resources/namespace/index.d.ts.map +1 -0
- package/dist/resources/namespace/index.js +18 -0
- package/dist/resources/namespace/index.js.map +1 -0
- package/dist/resources/namespace/namespace.d.ts +13 -0
- package/dist/resources/namespace/namespace.d.ts.map +1 -0
- package/dist/resources/namespace/namespace.js +79 -0
- package/dist/resources/namespace/namespace.js.map +1 -0
- package/dist/resources/persistent/access-mode.d.ts +8 -0
- package/dist/resources/persistent/access-mode.d.ts.map +1 -0
- package/dist/resources/persistent/access-mode.js +29 -0
- package/dist/resources/persistent/access-mode.js.map +1 -0
- package/dist/resources/persistent/block-mode.d.ts +2 -0
- package/dist/resources/persistent/block-mode.d.ts.map +1 -0
- package/dist/resources/persistent/block-mode.js +3 -0
- package/dist/resources/persistent/block-mode.js.map +1 -0
- package/dist/resources/persistent/claim/index.d.ts +2 -0
- package/dist/resources/persistent/claim/index.d.ts.map +1 -0
- package/dist/resources/persistent/claim/index.js +18 -0
- package/dist/resources/persistent/claim/index.js.map +1 -0
- package/dist/resources/persistent/claim/pvc.d.ts +23 -0
- package/dist/resources/persistent/claim/pvc.d.ts.map +1 -0
- package/dist/resources/persistent/claim/pvc.js +99 -0
- package/dist/resources/persistent/claim/pvc.js.map +1 -0
- package/dist/resources/persistent/index.d.ts +11 -0
- package/dist/resources/persistent/index.d.ts.map +1 -0
- package/dist/resources/persistent/index.js +13 -0
- package/dist/resources/persistent/index.js.map +1 -0
- package/dist/resources/persistent/volume/backend.d.ts +13 -0
- package/dist/resources/persistent/volume/backend.d.ts.map +1 -0
- package/dist/resources/persistent/volume/backend.js +3 -0
- package/dist/resources/persistent/volume/backend.js.map +1 -0
- package/dist/resources/persistent/volume/index.d.ts +2 -0
- package/dist/resources/persistent/volume/index.d.ts.map +1 -0
- package/dist/resources/persistent/volume/index.js +18 -0
- package/dist/resources/persistent/volume/index.js.map +1 -0
- package/dist/resources/persistent/volume/parse-backend.d.ts +14 -0
- package/dist/resources/persistent/volume/parse-backend.d.ts.map +1 -0
- package/dist/resources/persistent/volume/parse-backend.js +26 -0
- package/dist/resources/persistent/volume/parse-backend.js.map +1 -0
- package/dist/resources/persistent/volume/pv.d.ts +26 -0
- package/dist/resources/persistent/volume/pv.d.ts.map +1 -0
- package/dist/resources/persistent/volume/pv.js +95 -0
- package/dist/resources/persistent/volume/pv.js.map +1 -0
- package/dist/resources/pod/container/container.d.ts +44 -0
- package/dist/resources/pod/container/container.d.ts.map +1 -0
- package/dist/resources/pod/container/container.js +156 -0
- package/dist/resources/pod/container/container.js.map +1 -0
- package/dist/resources/pod/container/index.d.ts +2 -0
- package/dist/resources/pod/container/index.d.ts.map +1 -0
- package/dist/resources/pod/container/index.js +18 -0
- package/dist/resources/pod/container/index.js.map +1 -0
- package/dist/resources/pod/container/mounts.d.ts +27 -0
- package/dist/resources/pod/container/mounts.d.ts.map +1 -0
- package/dist/resources/pod/container/mounts.js +40 -0
- package/dist/resources/pod/container/mounts.js.map +1 -0
- package/dist/resources/pod/index.d.ts +4 -0
- package/dist/resources/pod/index.d.ts.map +1 -0
- package/dist/resources/pod/index.js +20 -0
- package/dist/resources/pod/index.js.map +1 -0
- package/dist/resources/pod/pod-template.d.ts +29 -0
- package/dist/resources/pod/pod-template.d.ts.map +1 -0
- package/dist/resources/pod/pod-template.js +123 -0
- package/dist/resources/pod/pod-template.js.map +1 -0
- package/dist/resources/pod/volume/devices.d.ts +23 -0
- package/dist/resources/pod/volume/devices.d.ts.map +1 -0
- package/dist/resources/pod/volume/devices.js +94 -0
- package/dist/resources/pod/volume/devices.js.map +1 -0
- package/dist/resources/pod/volume/index.d.ts +4 -0
- package/dist/resources/pod/volume/index.d.ts.map +1 -0
- package/dist/resources/pod/volume/index.js +10 -0
- package/dist/resources/pod/volume/index.js.map +1 -0
- package/dist/resources/pod/volume/volumes.d.ts +30 -0
- package/dist/resources/pod/volume/volumes.d.ts.map +1 -0
- package/dist/resources/pod/volume/volumes.js +124 -0
- package/dist/resources/pod/volume/volumes.js.map +1 -0
- package/dist/resources/secret/index.d.ts +4 -0
- package/dist/resources/secret/index.d.ts.map +1 -0
- package/dist/resources/secret/index.js +39 -0
- package/dist/resources/secret/index.js.map +1 -0
- package/dist/resources/secret/secret.d.ts +9 -0
- package/dist/resources/secret/secret.d.ts.map +1 -0
- package/dist/resources/secret/secret.js +77 -0
- package/dist/resources/secret/secret.js.map +1 -0
- package/dist/resources/service/frontend.d.ts +11 -0
- package/dist/resources/service/frontend.d.ts.map +1 -0
- package/dist/resources/service/frontend.js +3 -0
- package/dist/resources/service/frontend.js.map +1 -0
- package/dist/resources/service/index.d.ts +2 -0
- package/dist/resources/service/index.d.ts.map +1 -0
- package/dist/resources/service/index.js +18 -0
- package/dist/resources/service/index.js.map +1 -0
- package/dist/resources/service/service-port.d.ts +19 -0
- package/dist/resources/service/service-port.d.ts.map +1 -0
- package/dist/resources/service/service-port.js +21 -0
- package/dist/resources/service/service-port.js.map +1 -0
- package/dist/resources/service/service.d.ts +21 -0
- package/dist/resources/service/service.d.ts.map +1 -0
- package/dist/resources/service/service.js +99 -0
- package/dist/resources/service/service.js.map +1 -0
- package/dist/resources/utils/adapters.d.ts +8 -0
- package/dist/resources/utils/adapters.d.ts.map +1 -0
- package/dist/resources/utils/adapters.js +38 -0
- package/dist/resources/utils/adapters.js.map +1 -0
- package/dist/runner/exporter/assembler.d.ts +50 -0
- package/dist/runner/exporter/assembler.d.ts.map +1 -0
- package/dist/runner/exporter/assembler.js +122 -0
- package/dist/runner/exporter/assembler.js.map +1 -0
- package/dist/runner/exporter/index.d.ts +3 -0
- package/dist/runner/exporter/index.d.ts.map +1 -0
- package/dist/runner/exporter/index.js +19 -0
- package/dist/runner/exporter/index.js.map +1 -0
- package/dist/runner/exporter/loader.d.ts +19 -0
- package/dist/runner/exporter/loader.d.ts.map +1 -0
- package/dist/runner/exporter/loader.js +47 -0
- package/dist/runner/exporter/loader.js.map +1 -0
- package/dist/runner/exporter/manifester.d.ts +21 -0
- package/dist/runner/exporter/manifester.d.ts.map +1 -0
- package/dist/runner/exporter/manifester.js +72 -0
- package/dist/runner/exporter/manifester.js.map +1 -0
- package/dist/runner/exporter/meta.d.ts +2 -0
- package/dist/runner/exporter/meta.d.ts.map +1 -0
- package/dist/runner/exporter/meta.js +5 -0
- package/dist/runner/exporter/meta.js.map +1 -0
- package/dist/runner/exporter/progress-shower.d.ts +11 -0
- package/dist/runner/exporter/progress-shower.d.ts.map +1 -0
- package/dist/runner/exporter/progress-shower.js +68 -0
- package/dist/runner/exporter/progress-shower.js.map +1 -0
- package/dist/runner/exporter/saver.d.ts +27 -0
- package/dist/runner/exporter/saver.d.ts.map +1 -0
- package/dist/runner/exporter/saver.js +49 -0
- package/dist/runner/exporter/saver.js.map +1 -0
- package/dist/runner/exporter/serializer.d.ts +18 -0
- package/dist/runner/exporter/serializer.d.ts.map +1 -0
- package/dist/runner/exporter/serializer.js +47 -0
- package/dist/runner/exporter/serializer.js.map +1 -0
- package/dist/runner/exporter/stage.d.ts +9 -0
- package/dist/runner/exporter/stage.d.ts.map +1 -0
- package/dist/runner/exporter/stage.js +94 -0
- package/dist/runner/exporter/stage.js.map +1 -0
- package/dist/runner/exporter/trace-embedder.d.ts +1 -0
- package/dist/runner/exporter/trace-embedder.d.ts.map +1 -0
- package/dist/runner/exporter/trace-embedder.js +2 -0
- package/dist/runner/exporter/trace-embedder.js.map +1 -0
- package/dist/runner/index.d.ts +2 -0
- package/dist/runner/index.d.ts.map +1 -0
- package/dist/runner/index.js +18 -0
- package/dist/runner/index.js.map +1 -0
- package/dist/runner/proverbs.d.ts +1 -0
- package/dist/runner/proverbs.d.ts.map +1 -0
- package/dist/runner/proverbs.js +2 -0
- package/dist/runner/proverbs.js.map +1 -0
- package/dist/runner/runner.d.ts +13 -0
- package/dist/runner/runner.d.ts.map +1 -0
- package/dist/runner/runner.js +51 -0
- package/dist/runner/runner.js.map +1 -0
- package/dist/runner/silly/proverbs.d.ts +7 -0
- package/dist/runner/silly/proverbs.d.ts.map +1 -0
- package/dist/runner/silly/proverbs.js +20 -0
- package/dist/runner/silly/proverbs.js.map +1 -0
- package/dist/runner/summarizer.d.ts +23 -0
- package/dist/runner/summarizer.d.ts.map +1 -0
- package/dist/runner/summarizer.js +115 -0
- package/dist/runner/summarizer.js.map +1 -0
- package/dist/src.tsbuildinfo +1 -0
- package/dist/test.tsbuildinfo +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +5 -0
- package/dist/version.js.map +1 -0
- package/dist/world/index.d.ts +2 -0
- package/dist/world/index.d.ts.map +1 -0
- package/dist/world/index.js +18 -0
- package/dist/world/index.js.map +1 -0
- package/dist/world/world.d.ts +28 -0
- package/dist/world/world.d.ts.map +1 -0
- package/dist/world/world.js +41 -0
- package/dist/world/world.js.map +1 -0
- package/package.json +106 -0
- package/proverbs.txt +23 -0
- package/src/_imports/_mix.ts +3 -0
- package/src/_imports/acme.cert-manager.io.ts +8202 -0
- package/src/_imports/gateway.networking.k8s.io.ts +12226 -0
- package/src/_imports/index.ts +2 -0
- package/src/_imports/k8s.ts +31028 -0
- package/src/_imports/tsconfig.json +22 -0
- package/src/api-versions.ts +5 -0
- package/src/error.ts +7 -0
- package/src/external/index.ts +34 -0
- package/src/file/exports.ts +63 -0
- package/src/file/factory.ts +150 -0
- package/src/file/file.ts +34 -0
- package/src/file/index.ts +1 -0
- package/src/file/origin.ts +38 -0
- package/src/index.ts +8 -0
- package/src/k8ts-sys-kind.ts +4 -0
- package/src/kind-map.ts +39 -0
- package/src/meta/k8ts-section.ts +6 -0
- package/src/node/abs-resource.ts +32 -0
- package/src/node/dependencies.ts +0 -0
- package/src/node/index.ts +1 -0
- package/src/node/manifest-resource.ts +19 -0
- package/src/node/sub-resource.ts +20 -0
- package/src/node/top-resource.ts +7 -0
- package/src/paths.ts +1 -0
- package/src/resources/configmap/configmap.ts +26 -0
- package/src/resources/configmap/index.ts +1 -0
- package/src/resources/deployment/deployment.ts +54 -0
- package/src/resources/deployment/index.ts +1 -0
- package/src/resources/http-route/http-route.ts +45 -0
- package/src/resources/http-route/index.ts +1 -0
- package/src/resources/index.ts +8 -0
- package/src/resources/namespace/index.ts +1 -0
- package/src/resources/namespace/namespace.ts +26 -0
- package/src/resources/persistent/access-mode.ts +29 -0
- package/src/resources/persistent/block-mode.ts +1 -0
- package/src/resources/persistent/claim/index.ts +1 -0
- package/src/resources/persistent/claim/pvc.ts +52 -0
- package/src/resources/persistent/index.ts +10 -0
- package/src/resources/persistent/volume/backend.ts +14 -0
- package/src/resources/persistent/volume/index.ts +1 -0
- package/src/resources/persistent/volume/parse-backend.ts +23 -0
- package/src/resources/persistent/volume/pv.ts +56 -0
- package/src/resources/pod/container/container.ts +137 -0
- package/src/resources/pod/container/index.ts +1 -0
- package/src/resources/pod/container/mounts.ts +45 -0
- package/src/resources/pod/index.ts +3 -0
- package/src/resources/pod/pod-template.ts +73 -0
- package/src/resources/pod/volume/devices.ts +50 -0
- package/src/resources/pod/volume/index.ts +3 -0
- package/src/resources/pod/volume/volumes.ts +90 -0
- package/src/resources/secret/index.ts +3 -0
- package/src/resources/secret/secret.ts +25 -0
- package/src/resources/service/frontend.ts +11 -0
- package/src/resources/service/index.ts +1 -0
- package/src/resources/service/service-port.ts +24 -0
- package/src/resources/service/service.ts +53 -0
- package/src/resources/utils/adapters.ts +36 -0
- package/src/runner/exporter/FILE xyz.md +47 -0
- package/src/runner/exporter/assembler.ts +170 -0
- package/src/runner/exporter/index.ts +2 -0
- package/src/runner/exporter/loader.ts +54 -0
- package/src/runner/exporter/manifester.ts +77 -0
- package/src/runner/exporter/meta.ts +1 -0
- package/src/runner/exporter/progress-shower.ts +77 -0
- package/src/runner/exporter/saver.ts +62 -0
- package/src/runner/exporter/serializer.ts +49 -0
- package/src/runner/exporter/stage.ts +36 -0
- package/src/runner/exporter/trace-embedder.ts +0 -0
- package/src/runner/index.ts +1 -0
- package/src/runner/proverbs.ts +0 -0
- package/src/runner/runner.ts +53 -0
- package/src/runner/silly/proverbs.ts +14 -0
- package/src/runner/summarizer.ts +133 -0
- package/src/tsconfig.json +16 -0
- package/src/version.ts +1 -0
- package/src/world/index.ts +1 -0
- package/src/world/world.ts +62 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.Secret = void 0;
|
|
37
|
+
const Secret = __importStar(require("./secret"));
|
|
38
|
+
exports.Secret = Secret;
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/secret/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAkC;AAEzB,wBAAM"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ManifestResource } from "../../node/manifest-resource";
|
|
2
|
+
export interface Props {
|
|
3
|
+
data: Record<string, string>;
|
|
4
|
+
stringData: Record<string, string>;
|
|
5
|
+
}
|
|
6
|
+
export declare class Secret extends ManifestResource<Props> {
|
|
7
|
+
kind: import("@k8ts/instruments").Kind.Kind<"Secret", import("@k8ts/instruments").Kind.Version<"v1", import("@k8ts/instruments").Kind.Group<"">>>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=secret.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret.d.ts","sourceRoot":"","sources":["../../../src/resources/secret/secret.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAE/D,MAAM,WAAW,KAAK;IAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC5B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACrC;AAGD,qBAUa,MAAO,SAAQ,gBAAgB,CAAC,KAAK,CAAC;IAC/C,IAAI,8IAAQ;CACf"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
3
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
4
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
5
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
6
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
7
|
+
var _, done = false;
|
|
8
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
9
|
+
var context = {};
|
|
10
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
11
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
12
|
+
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
13
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
14
|
+
if (kind === "accessor") {
|
|
15
|
+
if (result === void 0) continue;
|
|
16
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
17
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
18
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
19
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
20
|
+
}
|
|
21
|
+
else if (_ = accept(result)) {
|
|
22
|
+
if (kind === "field") initializers.unshift(_);
|
|
23
|
+
else descriptor[key] = _;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
27
|
+
done = true;
|
|
28
|
+
};
|
|
29
|
+
var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
|
|
30
|
+
var useValue = arguments.length > 2;
|
|
31
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
32
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
33
|
+
}
|
|
34
|
+
return useValue ? value : void 0;
|
|
35
|
+
};
|
|
36
|
+
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
|
|
37
|
+
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
38
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.Secret = void 0;
|
|
42
|
+
const instruments_1 = require("@k8ts/instruments");
|
|
43
|
+
const api_versions_1 = require("../../api-versions");
|
|
44
|
+
const kind_map_1 = require("../../kind-map");
|
|
45
|
+
const manifest_resource_1 = require("../../node/manifest-resource");
|
|
46
|
+
const ident = api_versions_1.v1.kind("Secret");
|
|
47
|
+
let Secret = (() => {
|
|
48
|
+
let _classDecorators = [(0, kind_map_1.k8ts)(ident), (0, instruments_1.relations)("none"), (0, instruments_1.manifest)({
|
|
49
|
+
body(self) {
|
|
50
|
+
return {
|
|
51
|
+
data: self.props.data,
|
|
52
|
+
stringData: self.props.stringData
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
})];
|
|
56
|
+
let _classDescriptor;
|
|
57
|
+
let _classExtraInitializers = [];
|
|
58
|
+
let _classThis;
|
|
59
|
+
let _classSuper = manifest_resource_1.ManifestResource;
|
|
60
|
+
var Secret = _classThis = class extends _classSuper {
|
|
61
|
+
constructor() {
|
|
62
|
+
super(...arguments);
|
|
63
|
+
this.kind = ident;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
__setFunctionName(_classThis, "Secret");
|
|
67
|
+
(() => {
|
|
68
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
69
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
70
|
+
Secret = _classThis = _classDescriptor.value;
|
|
71
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
72
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
73
|
+
})();
|
|
74
|
+
return Secret = _classThis;
|
|
75
|
+
})();
|
|
76
|
+
exports.Secret = Secret;
|
|
77
|
+
//# sourceMappingURL=secret.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../../../src/resources/secret/secret.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAuD;AAEvD,qDAAuC;AACvC,6CAAqC;AACrC,oEAA+D;AAO/D,MAAM,KAAK,GAAG,iBAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAWlB,MAAM;4BAVlB,IAAA,eAAI,EAAC,KAAK,CAAC,EACX,IAAA,uBAAS,EAAC,MAAM,CAAC,EACjB,IAAA,sBAAQ,EAAC;YACN,IAAI,CAAC,IAAI;gBACL,OAAO;oBACH,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;oBACrB,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU;iBACpC,CAAA;YACL,CAAC;SACJ,CAAC;;;;sBAC0B,oCAAgB;mCAAxB,SAAQ,WAAuB;;;YAC/C,SAAI,GAAG,KAAK,CAAA;QAChB,CAAC;;;;;QAFD,6KAEC;;;QAFY,uDAAM;;;;AAAN,wBAAM"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare namespace Frontend {
|
|
2
|
+
interface ClusterIp {
|
|
3
|
+
type: "ClusterIP";
|
|
4
|
+
}
|
|
5
|
+
interface LoadBalancer {
|
|
6
|
+
type: "LoadBalancer";
|
|
7
|
+
loadBalancerIP?: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export type Frontend = Frontend.ClusterIp | Frontend.LoadBalancer;
|
|
11
|
+
//# sourceMappingURL=frontend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend.d.ts","sourceRoot":"","sources":["../../../src/resources/service/frontend.ts"],"names":[],"mappings":"AAAA,yBAAiB,QAAQ,CAAC;IACtB,UAAiB,SAAS;QACtB,IAAI,EAAE,WAAW,CAAA;KACpB;IAED,UAAiB,YAAY;QACzB,IAAI,EAAE,cAAc,CAAA;QACpB,cAAc,CAAC,EAAE,MAAM,CAAA;KAC1B;CACJ;AACD,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC,SAAS,GAAG,QAAQ,CAAC,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend.js","sourceRoot":"","sources":["../../../src/resources/service/frontend.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/service/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./service"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/service/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Service } from "./service";
|
|
2
|
+
export type Port<Port extends string> = Port.Port<Port>;
|
|
3
|
+
export declare namespace Port {
|
|
4
|
+
interface Props<Port extends string> {
|
|
5
|
+
service: Service<Port>;
|
|
6
|
+
port: Port;
|
|
7
|
+
}
|
|
8
|
+
class Port<Port extends string> {
|
|
9
|
+
readonly service: Service<Port>;
|
|
10
|
+
readonly port: Port;
|
|
11
|
+
constructor(service: Service<Port>, port: Port);
|
|
12
|
+
ref(): {
|
|
13
|
+
kind: string;
|
|
14
|
+
namespace: string | undefined;
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=service-port.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-port.d.ts","sourceRoot":"","sources":["../../../src/resources/service/service-port.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAExC,MAAM,MAAM,IAAI,CAAC,IAAI,SAAS,MAAM,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACvD,yBAAiB,IAAI,CAAC;IAClB,UAAiB,KAAK,CAAC,IAAI,SAAS,MAAM;QACtC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;QACtB,IAAI,EAAE,IAAI,CAAA;KACb;IAED,MAAa,IAAI,CAAC,IAAI,SAAS,MAAM;QAE7B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC;QAC/B,QAAQ,CAAC,IAAI,EAAE,IAAI;oBADV,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,EACtB,IAAI,EAAE,IAAI;QAGvB,GAAG;;;;;KAON;CACJ"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Port = void 0;
|
|
4
|
+
var Port;
|
|
5
|
+
(function (Port_1) {
|
|
6
|
+
class Port {
|
|
7
|
+
constructor(service, port) {
|
|
8
|
+
this.service = service;
|
|
9
|
+
this.port = port;
|
|
10
|
+
}
|
|
11
|
+
ref() {
|
|
12
|
+
return {
|
|
13
|
+
kind: "Service",
|
|
14
|
+
namespace: this.service.meta.tryGet("namespace"),
|
|
15
|
+
name: this.service.meta.get("name")
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
Port_1.Port = Port;
|
|
20
|
+
})(Port || (exports.Port = Port = {}));
|
|
21
|
+
//# sourceMappingURL=service-port.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-port.js","sourceRoot":"","sources":["../../../src/resources/service/service-port.ts"],"names":[],"mappings":";;;AAGA,IAAiB,IAAI,CAoBpB;AApBD,WAAiB,MAAI;IAMjB,MAAa,IAAI;QACb,YACa,OAAsB,EACtB,IAAU;YADV,YAAO,GAAP,OAAO,CAAe;YACtB,SAAI,GAAJ,IAAI,CAAM;QACpB,CAAC;QAEJ,GAAG;YACC,OAAO;gBACH,IAAI,EAAE,SAAS;gBACf,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC;gBAChD,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC;aACtC,CAAA;QACL,CAAC;KACJ;IAbY,WAAI,OAahB,CAAA;AACL,CAAC,EApBgB,IAAI,oBAAJ,IAAI,QAoBpB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type InputPortMapping } from "@k8ts/instruments";
|
|
2
|
+
import { ManifestResource } from "../../node";
|
|
3
|
+
import type { Deployment } from "../deployment/deployment";
|
|
4
|
+
import { Frontend as Frontend_ } from "./frontend";
|
|
5
|
+
import { Port as Port_ } from "./service-port";
|
|
6
|
+
export type Service<Ports extends string> = Service.Service<Ports>;
|
|
7
|
+
export declare namespace Service {
|
|
8
|
+
export import Port = Port_;
|
|
9
|
+
export import Frontend = Frontend_;
|
|
10
|
+
interface Props<Ports extends string> {
|
|
11
|
+
ports: InputPortMapping<Ports>;
|
|
12
|
+
backend: Deployment.Deployment<Ports>;
|
|
13
|
+
frontend: Frontend;
|
|
14
|
+
}
|
|
15
|
+
class Service<Ports extends string = string> extends ManifestResource<Props<Ports>> {
|
|
16
|
+
kind: import("@k8ts/instruments").Kind.Kind<"Service", import("@k8ts/instruments").Kind.Version<"v1", import("@k8ts/instruments").Kind.Group<"">>>;
|
|
17
|
+
get ports(): import("@k8ts/instruments").PortMap<Ports>;
|
|
18
|
+
getPortRef(port: Ports): Port.Port<Ports>;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/resources/service/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAI9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAG1D,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC9C,MAAM,MAAM,OAAO,CAAC,KAAK,SAAS,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;AAClE,yBAAiB,OAAO,CAAC;IACrB,MAAM,QAAQ,IAAI,GAAG,KAAK,CAAA;IAC1B,MAAM,QAAQ,QAAQ,GAAG,SAAS,CAAA;IAClC,UAAiB,KAAK,CAAC,KAAK,SAAS,MAAM;QACvC,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAA;QAC9B,OAAO,EAAE,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QACrC,QAAQ,EAAE,QAAQ,CAAA;KACrB;IAGD,MAkBa,OAAO,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,gBAAgB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtF,IAAI,+IAAQ;QAEZ,IAAI,KAAK,+CAIR;QAED,UAAU,CAAC,IAAI,EAAE,KAAK;KAGzB;CACJ"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
3
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
4
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
5
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
6
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
7
|
+
var _, done = false;
|
|
8
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
9
|
+
var context = {};
|
|
10
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
11
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
12
|
+
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
13
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
14
|
+
if (kind === "accessor") {
|
|
15
|
+
if (result === void 0) continue;
|
|
16
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
17
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
18
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
19
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
20
|
+
}
|
|
21
|
+
else if (_ = accept(result)) {
|
|
22
|
+
if (kind === "field") initializers.unshift(_);
|
|
23
|
+
else descriptor[key] = _;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
27
|
+
done = true;
|
|
28
|
+
};
|
|
29
|
+
var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
|
|
30
|
+
var useValue = arguments.length > 2;
|
|
31
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
32
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
33
|
+
}
|
|
34
|
+
return useValue ? value : void 0;
|
|
35
|
+
};
|
|
36
|
+
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
|
|
37
|
+
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
38
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.Service = void 0;
|
|
42
|
+
const instruments_1 = require("@k8ts/instruments");
|
|
43
|
+
const api_versions_1 = require("../../api-versions");
|
|
44
|
+
const kind_map_1 = require("../../kind-map");
|
|
45
|
+
const node_1 = require("../../node");
|
|
46
|
+
const adapters_1 = require("../utils/adapters");
|
|
47
|
+
const service_port_1 = require("./service-port");
|
|
48
|
+
var Service;
|
|
49
|
+
(function (Service_1) {
|
|
50
|
+
Service_1.Port = service_port_1.Port;
|
|
51
|
+
const ident = api_versions_1.v1.kind("Service");
|
|
52
|
+
let Service = (() => {
|
|
53
|
+
let _classDecorators = [(0, kind_map_1.k8ts)(ident), (0, instruments_1.relations)({
|
|
54
|
+
needs: self => ({
|
|
55
|
+
backend: self.props.backend
|
|
56
|
+
})
|
|
57
|
+
}), (0, instruments_1.manifest)({
|
|
58
|
+
body(self) {
|
|
59
|
+
const svcPorts = self.ports;
|
|
60
|
+
return {
|
|
61
|
+
spec: {
|
|
62
|
+
ports: (0, adapters_1.toServicePorts)(svcPorts).toArray(),
|
|
63
|
+
selector: self.props.backend.meta.pick("%app").labels,
|
|
64
|
+
...self.props.frontend
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
})];
|
|
69
|
+
let _classDescriptor;
|
|
70
|
+
let _classExtraInitializers = [];
|
|
71
|
+
let _classThis;
|
|
72
|
+
let _classSuper = node_1.ManifestResource;
|
|
73
|
+
var Service = _classThis = class extends _classSuper {
|
|
74
|
+
constructor() {
|
|
75
|
+
super(...arguments);
|
|
76
|
+
this.kind = ident;
|
|
77
|
+
}
|
|
78
|
+
get ports() {
|
|
79
|
+
const srcPorts = this.props.backend.ports.pull();
|
|
80
|
+
const svcPorts = srcPorts.map(this.props.ports);
|
|
81
|
+
return svcPorts;
|
|
82
|
+
}
|
|
83
|
+
getPortRef(port) {
|
|
84
|
+
return new Service_1.Port.Port(this, port);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
__setFunctionName(_classThis, "Service");
|
|
88
|
+
(() => {
|
|
89
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
90
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
91
|
+
Service = _classThis = _classDescriptor.value;
|
|
92
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
93
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
94
|
+
})();
|
|
95
|
+
return Service = _classThis;
|
|
96
|
+
})();
|
|
97
|
+
Service_1.Service = Service;
|
|
98
|
+
})(Service || (exports.Service = Service = {}));
|
|
99
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/resources/service/service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA8E;AAE9E,qDAAuC;AACvC,6CAAqC;AACrC,qCAA6C;AAE7C,gDAAkD;AAGlD,iDAA8C;AAE9C,IAAiB,OAAO,CAyCvB;AAzCD,WAAiB,SAAO;IACN,cAAI,GAAG,mBAAK,CAAA;IAQ1B,MAAM,KAAK,GAAG,iBAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAmBnB,OAAO;gCAlBnB,IAAA,eAAI,EAAC,KAAK,CAAC,EACX,IAAA,uBAAS,EAAC;gBACP,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;oBACZ,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO;iBAC9B,CAAC;aACL,CAAC,EACD,IAAA,sBAAQ,EAAC;gBACN,IAAI,CAAC,IAAI;oBACL,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAA;oBAC3B,OAAO;wBACH,IAAI,EAAE;4BACF,KAAK,EAAE,IAAA,yBAAc,EAAC,QAAQ,CAAC,CAAC,OAAO,EAAE;4BACzC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM;4BACrD,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ;yBACzB;qBACJ,CAAA;gBACL,CAAC;aACJ,CAAC;;;;0BAC0D,uBAAgB;wCAAxB,SAAQ,WAA8B;;;gBACtF,SAAI,GAAG,KAAK,CAAA;YAWhB,CAAC;YATG,IAAI,KAAK;gBACL,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAA;gBAChD,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;gBAC/C,OAAO,QAAQ,CAAA;YACnB,CAAC;YAED,UAAU,CAAC,IAAW;gBAClB,OAAO,IAAI,UAAA,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;YACpC,CAAC;;;;;YAXL,6KAYC;;;YAZY,uDAAO;;;;IAAP,iBAAO,UAYnB,CAAA;AACL,CAAC,EAzCgB,OAAO,uBAAP,OAAO,QAyCvB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EnvBuilder, PortMap, PortMapEntry, PortSet, PortSetEntry } from "@k8ts/instruments";
|
|
2
|
+
import { CDK } from "../../_imports";
|
|
3
|
+
export declare function toContainerPort(entry: PortSetEntry): CDK.ContainerPort;
|
|
4
|
+
export declare function toContainerPorts(ports: PortSet<any>): import("immutable").Map<any, CDK.ContainerPort>;
|
|
5
|
+
export declare function toServicePort(entry: PortMapEntry): CDK.ServicePort;
|
|
6
|
+
export declare function toServicePorts(ports: PortMap<any>): import("immutable").List<CDK.ServicePort>;
|
|
7
|
+
export declare function toEnvVars(env: EnvBuilder): import("immutable").Map<string, CDK.EnvVar>;
|
|
8
|
+
//# sourceMappingURL=adapters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapters.d.ts","sourceRoot":"","sources":["../../../src/resources/utils/adapters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACjG,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,aAAa,CAMtE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,mDAEnD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,WAAW,CAOlE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,6CAEjD;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,UAAU,+CAOxC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toContainerPort = toContainerPort;
|
|
4
|
+
exports.toContainerPorts = toContainerPorts;
|
|
5
|
+
exports.toServicePort = toServicePort;
|
|
6
|
+
exports.toServicePorts = toServicePorts;
|
|
7
|
+
exports.toEnvVars = toEnvVars;
|
|
8
|
+
const _imports_1 = require("../../_imports");
|
|
9
|
+
function toContainerPort(entry) {
|
|
10
|
+
return {
|
|
11
|
+
containerPort: entry.port,
|
|
12
|
+
name: entry.name,
|
|
13
|
+
protocol: entry.protocol
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function toContainerPorts(ports) {
|
|
17
|
+
return ports.values.map(toContainerPort);
|
|
18
|
+
}
|
|
19
|
+
function toServicePort(entry) {
|
|
20
|
+
return {
|
|
21
|
+
port: entry.source,
|
|
22
|
+
targetPort: _imports_1.CDK.IntOrString.fromNumber(entry.target),
|
|
23
|
+
protocol: entry.protocol,
|
|
24
|
+
name: entry.name
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function toServicePorts(ports) {
|
|
28
|
+
return ports.values.map(toServicePort).toList();
|
|
29
|
+
}
|
|
30
|
+
function toEnvVars(env) {
|
|
31
|
+
return env.values.map((x, key) => {
|
|
32
|
+
return {
|
|
33
|
+
name: key,
|
|
34
|
+
value: x
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=adapters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapters.js","sourceRoot":"","sources":["../../../src/resources/utils/adapters.ts"],"names":[],"mappings":";;AAGA,0CAMC;AAED,4CAEC;AAED,sCAOC;AAED,wCAEC;AAED,8BAOC;AAlCD,6CAAoC;AAEpC,SAAgB,eAAe,CAAC,KAAmB;IAC/C,OAAO;QACH,aAAa,EAAE,KAAK,CAAC,IAAI;QACzB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,QAAQ,EAAE,KAAK,CAAC,QAAQ;KAC3B,CAAA;AACL,CAAC;AAED,SAAgB,gBAAgB,CAAC,KAAmB;IAChD,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;AAC5C,CAAC;AAED,SAAgB,aAAa,CAAC,KAAmB;IAC7C,OAAO;QACH,IAAI,EAAE,KAAK,CAAC,MAAM;QAClB,UAAU,EAAE,cAAG,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC;QACpD,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,IAAI,EAAE,KAAK,CAAC,IAAI;KACnB,CAAA;AACL,CAAC;AAED,SAAgB,cAAc,CAAC,KAAmB;IAC9C,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,MAAM,EAAE,CAAA;AACnD,CAAC;AAED,SAAgB,SAAS,CAAC,GAAe;IACrC,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE;QAC7B,OAAO;YACH,IAAI,EAAE,GAAG;YACT,KAAK,EAAE,CAAC;SACG,CAAA;IACnB,CAAC,CAAC,CAAA;AACN,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { BaseManifest, Origin, ResourceNode } from "@k8ts/instruments";
|
|
2
|
+
import { Meta } from "@k8ts/metadata";
|
|
3
|
+
import Emittery from "emittery";
|
|
4
|
+
import type { File } from "../../file";
|
|
5
|
+
import { type ResourceLoaderEventsTable } from "./loader";
|
|
6
|
+
import { type ManifesterEventsTable } from "./manifester";
|
|
7
|
+
import { type ManifestSaverEventsTable } from "./saver";
|
|
8
|
+
import { type YamlSerializerEventsTable } from "./serializer";
|
|
9
|
+
export declare class Assembler extends Emittery<AssemblerEventsTable> {
|
|
10
|
+
private readonly _options;
|
|
11
|
+
constructor(_options: AssemblerOptions);
|
|
12
|
+
assemble(inFiles: Iterable<File.Input>): Promise<AssembledResult>;
|
|
13
|
+
}
|
|
14
|
+
export interface Artifact {
|
|
15
|
+
k8ts: ResourceNode;
|
|
16
|
+
manifest: BaseManifest;
|
|
17
|
+
yaml: string;
|
|
18
|
+
}
|
|
19
|
+
export interface AssembledFile {
|
|
20
|
+
file: Origin;
|
|
21
|
+
path: string;
|
|
22
|
+
filename: string;
|
|
23
|
+
bytes: number;
|
|
24
|
+
artifacts: Artifact[];
|
|
25
|
+
}
|
|
26
|
+
export interface AssembledResult {
|
|
27
|
+
files: AssembledFile[];
|
|
28
|
+
options: AssemblerOptions;
|
|
29
|
+
}
|
|
30
|
+
export interface AssemblerOptions {
|
|
31
|
+
cwd?: string;
|
|
32
|
+
printOptions?: boolean;
|
|
33
|
+
outdir: string;
|
|
34
|
+
meta?: Omit<Meta.Input, "name" | "namespace"> | Meta;
|
|
35
|
+
}
|
|
36
|
+
export type AssemblyStage = "loading" | "manifesting" | "serializing" | "saving" | "start" | "reporting" | "done" | "gathering";
|
|
37
|
+
export interface AssemblerEventsTable extends ManifestSaverEventsTable, YamlSerializerEventsTable, ManifesterEventsTable, ResourceLoaderEventsTable {
|
|
38
|
+
["received-file"]: {
|
|
39
|
+
file: Origin;
|
|
40
|
+
};
|
|
41
|
+
["stage"]: {
|
|
42
|
+
stage: AssemblyStage;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export type AnyAssemblerEvent = {
|
|
46
|
+
[K in keyof AssemblerEventsTable]: AssemblerEventsTable[K] & {
|
|
47
|
+
type: K;
|
|
48
|
+
};
|
|
49
|
+
}[keyof AssemblerEventsTable];
|
|
50
|
+
//# sourceMappingURL=assembler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assembler.d.ts","sourceRoot":"","sources":["../../../src/runner/exporter/assembler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAErC,OAAO,QAAQ,MAAM,UAAU,CAAA;AAE/B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AACtC,OAAO,EAAkB,KAAK,yBAAyB,EAAE,MAAM,UAAU,CAAA;AACzE,OAAO,EAAc,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAA;AACrE,OAAO,EAAiB,KAAK,wBAAwB,EAAE,MAAM,SAAS,CAAA;AACtE,OAAO,EAAkB,KAAK,yBAAyB,EAAE,MAAM,cAAc,CAAA;AAE7E,qBAAa,SAAU,SAAQ,QAAQ,CAAC,oBAAoB,CAAC;IAC7C,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,gBAAgB;IAIjD,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;CA6G/C;AACD,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,YAAY,CAAA;IAClB,QAAQ,EAAE,YAAY,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;CACf;AACD,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,QAAQ,EAAE,CAAA;CACxB;AACD,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,aAAa,EAAE,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC5B;AACD,MAAM,WAAW,gBAAgB;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAAC,GAAG,IAAI,CAAA;CACvD;AACD,MAAM,MAAM,aAAa,GACnB,SAAS,GACT,aAAa,GACb,aAAa,GACb,QAAQ,GACR,OAAO,GACP,WAAW,GACX,MAAM,GACN,WAAW,CAAA;AACjB,MAAM,WAAW,oBACb,SAAQ,wBAAwB,EAC5B,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB;IAC7B,CAAC,eAAe,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;IACnC,CAAC,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,aAAa,CAAA;KAAE,CAAA;CACtC;AACD,MAAM,MAAM,iBAAiB,GAAG;KAC3B,CAAC,IAAI,MAAM,oBAAoB,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAAG;QACzD,IAAI,EAAE,CAAC,CAAA;KACV;CACJ,CAAC,MAAM,oBAAoB,CAAC,CAAA"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Assembler = void 0;
|
|
7
|
+
const doddle_1 = require("doddle");
|
|
8
|
+
const emittery_1 = __importDefault(require("emittery"));
|
|
9
|
+
const lodash_1 = require("lodash");
|
|
10
|
+
const loader_1 = require("./loader");
|
|
11
|
+
const manifester_1 = require("./manifester");
|
|
12
|
+
const saver_1 = require("./saver");
|
|
13
|
+
const serializer_1 = require("./serializer");
|
|
14
|
+
class Assembler extends emittery_1.default {
|
|
15
|
+
constructor(_options) {
|
|
16
|
+
super();
|
|
17
|
+
this._options = _options;
|
|
18
|
+
}
|
|
19
|
+
async assemble(inFiles) {
|
|
20
|
+
const _emit = async (event, payload) => {
|
|
21
|
+
return await this.emit(event, payload);
|
|
22
|
+
};
|
|
23
|
+
const loader = new loader_1.ResourceLoader({});
|
|
24
|
+
loader.onAny(_emit);
|
|
25
|
+
const generator = new manifester_1.Manifester({
|
|
26
|
+
cwd: this._options.cwd
|
|
27
|
+
});
|
|
28
|
+
generator.onAny(_emit);
|
|
29
|
+
const serializer = new serializer_1.YamlSerializer({});
|
|
30
|
+
serializer.onAny(_emit);
|
|
31
|
+
const saver = new saver_1.ManifestSaver({
|
|
32
|
+
outdir: this._options.outdir
|
|
33
|
+
});
|
|
34
|
+
saver.onAny(_emit);
|
|
35
|
+
const reports = (0, doddle_1.aseq)(inFiles)
|
|
36
|
+
.before(async () => {
|
|
37
|
+
await _emit("stage", { stage: "gathering" });
|
|
38
|
+
})
|
|
39
|
+
.each(async (file) => {
|
|
40
|
+
await _emit("received-file", { file: file.__node__ });
|
|
41
|
+
})
|
|
42
|
+
.after(async () => {
|
|
43
|
+
await _emit("stage", { stage: "loading" });
|
|
44
|
+
})
|
|
45
|
+
.collect()
|
|
46
|
+
.map(async (file) => {
|
|
47
|
+
const loaded = await loader.load(file);
|
|
48
|
+
loaded.forEach(r => r.meta.add(this._options.meta));
|
|
49
|
+
return {
|
|
50
|
+
file: file.__entity__,
|
|
51
|
+
resources: loaded.filter(x => !x.isExternal)
|
|
52
|
+
};
|
|
53
|
+
})
|
|
54
|
+
.after(async () => {
|
|
55
|
+
await _emit("stage", { stage: "manifesting" });
|
|
56
|
+
})
|
|
57
|
+
.collect()
|
|
58
|
+
.map(async ({ file, resources }) => {
|
|
59
|
+
const manifests = await (0, doddle_1.aseq)(resources)
|
|
60
|
+
.map(async (resource) => {
|
|
61
|
+
return {
|
|
62
|
+
k8ts: resource,
|
|
63
|
+
manifest: await generator.generate(resource)
|
|
64
|
+
};
|
|
65
|
+
})
|
|
66
|
+
.toArray()
|
|
67
|
+
.pull();
|
|
68
|
+
return {
|
|
69
|
+
file,
|
|
70
|
+
manifests
|
|
71
|
+
};
|
|
72
|
+
})
|
|
73
|
+
.after(async () => {
|
|
74
|
+
await _emit("stage", { stage: "serializing" });
|
|
75
|
+
})
|
|
76
|
+
.collect()
|
|
77
|
+
.map(async ({ file, manifests }) => {
|
|
78
|
+
const artifacts = await (0, doddle_1.aseq)(manifests)
|
|
79
|
+
.map(async (obj) => {
|
|
80
|
+
return {
|
|
81
|
+
...obj,
|
|
82
|
+
yaml: await serializer.serialize(obj.manifest)
|
|
83
|
+
};
|
|
84
|
+
})
|
|
85
|
+
.toArray()
|
|
86
|
+
.pull();
|
|
87
|
+
return {
|
|
88
|
+
file,
|
|
89
|
+
artifacts
|
|
90
|
+
};
|
|
91
|
+
})
|
|
92
|
+
.after(async () => {
|
|
93
|
+
await _emit("stage", { stage: "saving" });
|
|
94
|
+
})
|
|
95
|
+
.after(async () => {
|
|
96
|
+
await saver.prepareOnce();
|
|
97
|
+
})
|
|
98
|
+
.collect()
|
|
99
|
+
.map(async ({ file, artifacts }) => {
|
|
100
|
+
const { filename, bytes, path } = await saver.save(file.node, artifacts.map(x => x.yaml));
|
|
101
|
+
return {
|
|
102
|
+
file: file.node,
|
|
103
|
+
path,
|
|
104
|
+
filename,
|
|
105
|
+
bytes,
|
|
106
|
+
artifacts
|
|
107
|
+
};
|
|
108
|
+
})
|
|
109
|
+
.after(async () => {
|
|
110
|
+
await _emit("stage", { stage: "done" });
|
|
111
|
+
})
|
|
112
|
+
.collect()
|
|
113
|
+
.toArray();
|
|
114
|
+
const files = (await reports.pull());
|
|
115
|
+
return {
|
|
116
|
+
files,
|
|
117
|
+
options: (0, lodash_1.cloneDeep)(this._options)
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.Assembler = Assembler;
|
|
122
|
+
//# sourceMappingURL=ass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