k8ts 0.8.1 → 0.9.2
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/dist/default-world.d.ts +5 -0
- package/dist/default-world.d.ts.map +1 -0
- package/dist/default-world.js +54 -0
- package/dist/default-world.js.map +1 -0
- package/dist/env/env.d.ts +6 -8
- package/dist/env/env.d.ts.map +1 -1
- package/dist/env/env.js +29 -28
- package/dist/env/env.js.map +1 -1
- package/dist/env/index.d.ts +1 -1
- package/dist/env/index.d.ts.map +1 -1
- package/dist/env/types.d.ts +7 -5
- package/dist/env/types.d.ts.map +1 -1
- package/dist/env/types.js +11 -0
- package/dist/env/types.js.map +1 -1
- package/dist/index.d.ts +4 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -31
- package/dist/index.js.map +1 -1
- package/dist/kinds/apps.d.ts +30 -0
- package/dist/kinds/apps.d.ts.map +1 -0
- package/dist/kinds/apps.js +33 -0
- package/dist/kinds/apps.js.map +1 -0
- package/dist/kinds/batch.d.ts +18 -0
- package/dist/kinds/batch.d.ts.map +1 -0
- package/dist/kinds/batch.js +21 -0
- package/dist/kinds/batch.js.map +1 -0
- package/dist/kinds/default.d.ts +74 -0
- package/dist/kinds/default.d.ts.map +1 -0
- package/dist/kinds/default.js +78 -0
- package/dist/kinds/default.js.map +1 -0
- package/dist/kinds/gateway.d.ts +30 -0
- package/dist/kinds/gateway.d.ts.map +1 -0
- package/dist/kinds/gateway.js +33 -0
- package/dist/kinds/gateway.js.map +1 -0
- package/dist/kinds/index.d.ts +9 -0
- package/dist/kinds/index.d.ts.map +1 -0
- package/dist/{_imports/_mix.js → kinds/index.js} +9 -4
- package/dist/kinds/index.js.map +1 -0
- package/dist/kinds/metrics.d.ts +18 -0
- package/dist/kinds/metrics.d.ts.map +1 -0
- package/dist/kinds/metrics.js +21 -0
- package/dist/kinds/metrics.js.map +1 -0
- package/dist/kinds/networking.d.ts +14 -0
- package/dist/kinds/networking.d.ts.map +1 -0
- package/dist/kinds/networking.js +17 -0
- package/dist/kinds/networking.js.map +1 -0
- package/dist/kinds/rbac.d.ts +26 -0
- package/dist/kinds/rbac.d.ts.map +1 -0
- package/dist/kinds/rbac.js +29 -0
- package/dist/kinds/rbac.js.map +1 -0
- package/dist/kinds/storage.d.ts +18 -0
- package/dist/kinds/storage.d.ts.map +1 -0
- package/dist/kinds/storage.js +21 -0
- package/dist/kinds/storage.js.map +1 -0
- package/dist/origins/external.d.ts +8 -0
- package/dist/origins/external.d.ts.map +1 -0
- package/dist/origins/external.js +19 -0
- package/dist/origins/external.js.map +1 -0
- package/dist/origins/file/file.d.ts +24 -0
- package/dist/origins/file/file.d.ts.map +1 -0
- package/dist/{node/sub-resource.js → origins/file/file.js} +51 -32
- package/dist/origins/file/file.js.map +1 -0
- package/dist/origins/file/index.d.ts +4 -0
- package/dist/origins/file/index.d.ts.map +1 -0
- package/dist/{file → origins/file}/index.js +2 -0
- package/dist/origins/file/index.js.map +1 -0
- package/dist/origins/file/modifier.d.ts +10 -0
- package/dist/origins/file/modifier.d.ts.map +1 -0
- package/dist/origins/file/modifier.js +21 -0
- package/dist/origins/file/modifier.js.map +1 -0
- package/dist/origins/file/section.d.ts +18 -0
- package/dist/origins/file/section.d.ts.map +1 -0
- package/dist/{external/index.js → origins/file/section.js} +40 -41
- package/dist/origins/file/section.js.map +1 -0
- package/dist/origins/index.d.ts +4 -0
- package/dist/origins/index.d.ts.map +1 -0
- package/dist/{world → origins}/index.js +2 -0
- package/dist/origins/index.js.map +1 -0
- package/dist/origins/world.d.ts +13 -0
- package/dist/origins/world.d.ts.map +1 -0
- package/dist/origins/world.js +27 -0
- package/dist/origins/world.js.map +1 -0
- package/dist/resources/configmap/configmap.d.ts +10 -12
- package/dist/resources/configmap/configmap.d.ts.map +1 -1
- package/dist/resources/configmap/configmap.js +21 -72
- package/dist/resources/configmap/configmap.js.map +1 -1
- package/dist/resources/cronjob/index.d.ts +12 -12
- package/dist/resources/cronjob/index.d.ts.map +1 -1
- package/dist/resources/cronjob/index.js +29 -86
- package/dist/resources/cronjob/index.js.map +1 -1
- package/dist/resources/deployment/deployment.d.ts +28 -29
- package/dist/resources/deployment/deployment.d.ts.map +1 -1
- package/dist/resources/deployment/deployment.js +59 -109
- package/dist/resources/deployment/deployment.js.map +1 -1
- package/dist/resources/external/index.d.ts +19 -0
- package/dist/resources/external/index.d.ts.map +1 -0
- package/dist/resources/external/index.js +44 -0
- package/dist/resources/external/index.js.map +1 -0
- package/dist/resources/http-route/http-route.d.ts +31 -16
- package/dist/resources/http-route/http-route.d.ts.map +1 -1
- package/dist/resources/http-route/http-route.js +28 -80
- package/dist/resources/http-route/http-route.js.map +1 -1
- package/dist/resources/index.d.ts +4 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +4 -0
- package/dist/resources/index.js.map +1 -1
- package/dist/resources/namespace/namespace.d.ts +10 -11
- package/dist/resources/namespace/namespace.d.ts.map +1 -1
- package/dist/resources/namespace/namespace.js +14 -70
- package/dist/resources/namespace/namespace.js.map +1 -1
- package/dist/resources/persistent/access-mode.d.ts +5 -5
- package/dist/resources/persistent/access-mode.d.ts.map +1 -1
- package/dist/resources/persistent/access-mode.js +2 -2
- package/dist/resources/persistent/access-mode.js.map +1 -1
- package/dist/resources/persistent/block-mode.d.ts +1 -1
- package/dist/resources/persistent/block-mode.d.ts.map +1 -1
- package/dist/resources/persistent/claim/pvc.d.ts +25 -24
- package/dist/resources/persistent/claim/pvc.d.ts.map +1 -1
- package/dist/resources/persistent/claim/pvc.js +40 -91
- package/dist/resources/persistent/claim/pvc.js.map +1 -1
- package/dist/resources/persistent/volume/parse-backend.d.ts +2 -2
- package/dist/resources/persistent/volume/parse-backend.d.ts.map +1 -1
- package/dist/resources/persistent/volume/parse-backend.js.map +1 -1
- package/dist/resources/persistent/volume/pv.d.ts +42 -27
- package/dist/resources/persistent/volume/pv.d.ts.map +1 -1
- package/dist/resources/persistent/volume/pv.js +47 -100
- package/dist/resources/persistent/volume/pv.js.map +1 -1
- package/dist/resources/pod/container/container.d.ts +42 -48
- package/dist/resources/pod/container/container.d.ts.map +1 -1
- package/dist/resources/pod/container/container.js +89 -143
- package/dist/resources/pod/container/container.js.map +1 -1
- package/dist/resources/pod/container/mounts.d.ts +29 -30
- package/dist/resources/pod/container/mounts.d.ts.map +1 -1
- package/dist/resources/pod/container/mounts.js +42 -41
- package/dist/resources/pod/container/mounts.js.map +1 -1
- package/dist/resources/pod/pod-template.d.ts +41 -40
- package/dist/resources/pod/pod-template.d.ts.map +1 -1
- package/dist/resources/pod/pod-template.js +76 -110
- package/dist/resources/pod/pod-template.js.map +1 -1
- package/dist/resources/pod/volume/devices.d.ts +18 -20
- package/dist/resources/pod/volume/devices.d.ts.map +1 -1
- package/dist/resources/pod/volume/devices.js +33 -85
- package/dist/resources/pod/volume/devices.js.map +1 -1
- package/dist/resources/pod/volume/index.d.ts +2 -3
- package/dist/resources/pod/volume/index.d.ts.map +1 -1
- package/dist/resources/pod/volume/index.js +3 -5
- package/dist/resources/pod/volume/index.js.map +1 -1
- package/dist/resources/pod/volume/volumes.d.ts +24 -25
- package/dist/resources/pod/volume/volumes.d.ts.map +1 -1
- package/dist/resources/pod/volume/volumes.js +66 -108
- package/dist/resources/pod/volume/volumes.js.map +1 -1
- package/dist/resources/rbac/cluster-role-binding.d.ts +17 -0
- package/dist/resources/rbac/cluster-role-binding.d.ts.map +1 -0
- package/dist/resources/rbac/cluster-role-binding.js +32 -0
- package/dist/resources/rbac/cluster-role-binding.js.map +1 -0
- package/dist/resources/rbac/cluster-role.d.ts +28 -0
- package/dist/resources/rbac/cluster-role.d.ts.map +1 -0
- package/dist/resources/rbac/cluster-role.js +46 -0
- package/dist/resources/rbac/cluster-role.js.map +1 -0
- package/dist/resources/rbac/service-account.d.ts +11 -0
- package/dist/resources/rbac/service-account.d.ts.map +1 -0
- package/dist/resources/rbac/service-account.js +21 -0
- package/dist/resources/rbac/service-account.js.map +1 -0
- package/dist/resources/secret/index.d.ts +1 -3
- package/dist/resources/secret/index.d.ts.map +1 -1
- package/dist/resources/secret/index.js +4 -25
- package/dist/resources/secret/index.js.map +1 -1
- package/dist/resources/secret/secret.d.ts +8 -4
- package/dist/resources/secret/secret.d.ts.map +1 -1
- package/dist/resources/secret/secret.js +12 -65
- package/dist/resources/secret/secret.js.map +1 -1
- package/dist/resources/service/service-port.d.ts +12 -15
- package/dist/resources/service/service-port.d.ts.map +1 -1
- package/dist/resources/service/service-port.js +21 -24
- package/dist/resources/service/service-port.js.map +1 -1
- package/dist/resources/service/service.d.ts +33 -27
- package/dist/resources/service/service.d.ts.map +1 -1
- package/dist/resources/service/service.js +63 -123
- package/dist/resources/service/service.js.map +1 -1
- package/dist/resources/utils/adapters.d.ts +3 -3
- package/dist/resources/utils/adapters.d.ts.map +1 -1
- package/dist/resources/utils/adapters.js +5 -4
- package/dist/resources/utils/adapters.js.map +1 -1
- package/dist/runner/exporter/assembler.d.ts +5 -6
- package/dist/runner/exporter/assembler.d.ts.map +1 -1
- package/dist/runner/exporter/assembler.js +4 -3
- package/dist/runner/exporter/assembler.js.map +1 -1
- package/dist/runner/exporter/loader.d.ts +3 -5
- package/dist/runner/exporter/loader.d.ts.map +1 -1
- package/dist/runner/exporter/loader.js +18 -31
- package/dist/runner/exporter/loader.js.map +1 -1
- package/dist/runner/exporter/manifester.d.ts +5 -5
- package/dist/runner/exporter/manifester.d.ts.map +1 -1
- package/dist/runner/exporter/manifester.js +11 -3
- package/dist/runner/exporter/manifester.js.map +1 -1
- package/dist/runner/exporter/meta.d.ts +1 -1
- package/dist/runner/exporter/meta.d.ts.map +1 -1
- package/dist/runner/exporter/meta.js +0 -2
- package/dist/runner/exporter/meta.js.map +1 -1
- package/dist/runner/exporter/saver.d.ts +2 -2
- package/dist/runner/exporter/saver.d.ts.map +1 -1
- package/dist/runner/exporter/saver.js.map +1 -1
- package/dist/runner/exporter/serializer.d.ts +4 -4
- package/dist/runner/exporter/serializer.d.ts.map +1 -1
- package/dist/runner/exporter/serializer.js +13 -5
- package/dist/runner/exporter/serializer.js.map +1 -1
- package/dist/runner/exporter/validator.d.ts +2 -2
- package/dist/runner/exporter/validator.d.ts.map +1 -1
- package/dist/runner/exporter/validator.js +1 -14
- package/dist/runner/exporter/validator.js.map +1 -1
- package/dist/runner/paths.d.ts.map +1 -0
- package/dist/runner/paths.js.map +1 -0
- package/dist/runner/runner.d.ts +2 -2
- package/dist/runner/runner.d.ts.map +1 -1
- package/dist/runner/runner.js +11 -6
- package/dist/runner/runner.js.map +1 -1
- package/dist/runner/summarizer.d.ts +4 -4
- package/dist/runner/summarizer.d.ts.map +1 -1
- package/dist/runner/summarizer.js +3 -3
- package/dist/runner/summarizer.js.map +1 -1
- package/dist/version.d.ts +2 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +2 -1
- package/dist/version.js.map +1 -1
- package/package.json +12 -18
- package/src/default-world.ts +66 -0
- package/src/env/env.ts +42 -36
- package/src/env/index.ts +1 -1
- package/src/env/types.ts +15 -5
- package/src/index.ts +4 -7
- package/src/kinds/apps.ts +30 -0
- package/src/kinds/batch.ts +18 -0
- package/src/kinds/default.ts +81 -0
- package/src/kinds/gateway.ts +30 -0
- package/src/kinds/index.ts +9 -0
- package/src/kinds/metrics.ts +18 -0
- package/src/kinds/networking.ts +14 -0
- package/src/kinds/rbac.ts +26 -0
- package/src/kinds/storage.ts +18 -0
- package/src/origins/external.ts +14 -0
- package/src/origins/file/file.ts +72 -0
- package/src/origins/file/index.ts +3 -0
- package/src/origins/file/modifier.ts +21 -0
- package/src/origins/file/section.ts +43 -0
- package/src/origins/index.ts +3 -0
- package/src/origins/world.ts +40 -0
- package/src/resources/configmap/configmap.ts +26 -31
- package/src/resources/cronjob/index.ts +33 -43
- package/src/resources/deployment/deployment.ts +85 -76
- package/src/resources/external/index.ts +49 -0
- package/src/resources/http-route/http-route.ts +40 -39
- package/src/resources/index.ts +4 -0
- package/src/resources/namespace/namespace.ts +16 -24
- package/src/resources/persistent/access-mode.ts +6 -6
- package/src/resources/persistent/block-mode.ts +1 -1
- package/src/resources/persistent/claim/pvc.ts +54 -55
- package/src/resources/persistent/volume/parse-backend.ts +2 -2
- package/src/resources/persistent/volume/pv.ts +87 -69
- package/src/resources/pod/container/container.ts +113 -120
- package/src/resources/pod/container/mounts.ts +42 -39
- package/src/resources/pod/pod-template.ts +80 -67
- package/src/resources/pod/volume/devices.ts +41 -42
- package/src/resources/pod/volume/index.ts +2 -3
- package/src/resources/pod/volume/volumes.ts +92 -70
- package/src/resources/rbac/cluster-role-binding.ts +40 -0
- package/src/resources/rbac/cluster-role.ts +99 -0
- package/src/resources/rbac/service-account.ts +25 -0
- package/src/resources/secret/index.ts +1 -3
- package/src/resources/secret/secret.ts +11 -17
- package/src/resources/service/service-port.ts +21 -25
- package/src/resources/service/service.ts +84 -92
- package/src/resources/utils/adapters.ts +4 -3
- package/src/runner/exporter/assembler.ts +9 -9
- package/src/runner/exporter/loader.ts +24 -40
- package/src/runner/exporter/manifester.ts +24 -14
- package/src/runner/exporter/meta.ts +0 -1
- package/src/runner/exporter/saver.ts +3 -2
- package/src/runner/exporter/serializer.ts +20 -7
- package/src/runner/exporter/validator.ts +3 -17
- package/src/runner/runner.ts +17 -12
- package/src/runner/summarizer.ts +9 -9
- package/src/version.ts +2 -1
- package/dist/_imports/_mix.d.ts +0 -4
- package/dist/_imports/_mix.d.ts.map +0 -1
- package/dist/_imports/_mix.js.map +0 -1
- package/dist/_imports/acme.cert-manager.io.d.ts +0 -4832
- package/dist/_imports/acme.cert-manager.io.d.ts.map +0 -1
- package/dist/_imports/acme.cert-manager.io.js +0 -2476
- package/dist/_imports/acme.cert-manager.io.js.map +0 -1
- package/dist/_imports/gateway.networking.k8s.io.d.ts +0 -8786
- package/dist/_imports/gateway.networking.k8s.io.d.ts.map +0 -1
- package/dist/_imports/gateway.networking.k8s.io.js +0 -3668
- package/dist/_imports/gateway.networking.k8s.io.js.map +0 -1
- package/dist/_imports/helm.toolkit.fluxcd.io.d.ts +0 -4894
- package/dist/_imports/helm.toolkit.fluxcd.io.d.ts.map +0 -1
- package/dist/_imports/helm.toolkit.fluxcd.io.js +0 -2430
- package/dist/_imports/helm.toolkit.fluxcd.io.js.map +0 -1
- package/dist/_imports/index.d.ts +0 -3
- package/dist/_imports/index.d.ts.map +0 -1
- package/dist/_imports/index.js +0 -39
- package/dist/_imports/index.js.map +0 -1
- package/dist/_imports/k8s.d.ts +0 -18782
- package/dist/_imports/k8s.d.ts.map +0 -1
- package/dist/_imports/k8s.js +0 -12173
- package/dist/_imports/k8s.js.map +0 -1
- package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts +0 -2367
- package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts.map +0 -1
- package/dist/_imports/kustomize.toolkit.fluxcd.io.js +0 -1285
- package/dist/_imports/kustomize.toolkit.fluxcd.io.js.map +0 -1
- package/dist/_imports/notification.toolkit.fluxcd.io.d.ts +0 -2005
- package/dist/_imports/notification.toolkit.fluxcd.io.d.ts.map +0 -1
- package/dist/_imports/notification.toolkit.fluxcd.io.js +0 -1575
- package/dist/_imports/notification.toolkit.fluxcd.io.js.map +0 -1
- package/dist/_imports/source.toolkit.fluxcd.io.d.ts +0 -4158
- package/dist/_imports/source.toolkit.fluxcd.io.d.ts.map +0 -1
- package/dist/_imports/source.toolkit.fluxcd.io.js +0 -2739
- package/dist/_imports/source.toolkit.fluxcd.io.js.map +0 -1
- package/dist/external/index.d.ts +0 -13
- package/dist/external/index.d.ts.map +0 -1
- package/dist/external/index.js.map +0 -1
- package/dist/file/exports.d.ts +0 -19
- package/dist/file/exports.d.ts.map +0 -1
- package/dist/file/exports.js +0 -53
- package/dist/file/exports.js.map +0 -1
- package/dist/file/factory.d.ts +0 -41
- package/dist/file/factory.d.ts.map +0 -1
- package/dist/file/factory.js +0 -197
- package/dist/file/factory.js.map +0 -1
- package/dist/file/file.d.ts +0 -16
- package/dist/file/file.d.ts.map +0 -1
- package/dist/file/file.js +0 -21
- package/dist/file/file.js.map +0 -1
- package/dist/file/index.d.ts +0 -2
- package/dist/file/index.d.ts.map +0 -1
- package/dist/file/index.js.map +0 -1
- package/dist/file/origin.d.ts +0 -21
- package/dist/file/origin.d.ts.map +0 -1
- package/dist/file/origin.js +0 -27
- package/dist/file/origin.js.map +0 -1
- package/dist/k8ts-sys-kind.d.ts +0 -3
- package/dist/k8ts-sys-kind.d.ts.map +0 -1
- package/dist/k8ts-sys-kind.js +0 -8
- package/dist/k8ts-sys-kind.js.map +0 -1
- package/dist/kind-map.d.ts +0 -12
- package/dist/kind-map.d.ts.map +0 -1
- package/dist/kind-map.js +0 -30
- package/dist/kind-map.js.map +0 -1
- package/dist/kinds.d.ts +0 -115
- package/dist/kinds.d.ts.map +0 -1
- package/dist/kinds.js +0 -95
- package/dist/kinds.js.map +0 -1
- package/dist/meta/k8ts-section.d.ts +0 -3
- package/dist/meta/k8ts-section.d.ts.map +0 -1
- package/dist/meta/k8ts-section.js +0 -10
- package/dist/meta/k8ts-section.js.map +0 -1
- package/dist/node/abs-resource.d.ts +0 -16
- package/dist/node/abs-resource.d.ts.map +0 -1
- package/dist/node/abs-resource.js +0 -79
- package/dist/node/abs-resource.js.map +0 -1
- package/dist/node/dependencies.d.ts +0 -2
- package/dist/node/dependencies.d.ts.map +0 -1
- package/dist/node/dependencies.js +0 -3
- package/dist/node/dependencies.js.map +0 -1
- package/dist/node/equiv-cdk8s.d.ts +0 -9
- package/dist/node/equiv-cdk8s.d.ts.map +0 -1
- package/dist/node/equiv-cdk8s.js +0 -17
- package/dist/node/equiv-cdk8s.js.map +0 -1
- package/dist/node/index.d.ts +0 -5
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.js +0 -12
- package/dist/node/index.js.map +0 -1
- package/dist/node/manifest-resource.d.ts +0 -15
- package/dist/node/manifest-resource.d.ts.map +0 -1
- package/dist/node/manifest-resource.js +0 -20
- package/dist/node/manifest-resource.js.map +0 -1
- package/dist/node/sub-resource.d.ts +0 -8
- package/dist/node/sub-resource.d.ts.map +0 -1
- package/dist/node/sub-resource.js.map +0 -1
- package/dist/node/top-resource.d.ts +0 -7
- package/dist/node/top-resource.d.ts.map +0 -1
- package/dist/node/top-resource.js +0 -8
- package/dist/node/top-resource.js.map +0 -1
- package/dist/paths.d.ts.map +0 -1
- package/dist/paths.js.map +0 -1
- package/dist/resources/persistent/volume/backend.d.ts +0 -19
- package/dist/resources/persistent/volume/backend.d.ts.map +0 -1
- package/dist/resources/persistent/volume/backend.js +0 -3
- package/dist/resources/persistent/volume/backend.js.map +0 -1
- package/dist/resources/service/frontend.d.ts +0 -11
- package/dist/resources/service/frontend.d.ts.map +0 -1
- package/dist/resources/service/frontend.js +0 -3
- package/dist/resources/service/frontend.js.map +0 -1
- package/dist/runner/exporter/trace-embedder.d.ts +0 -2
- package/dist/runner/exporter/trace-embedder.d.ts.map +0 -1
- package/dist/runner/exporter/trace-embedder.js +0 -3
- package/dist/runner/exporter/trace-embedder.js.map +0 -1
- package/dist/world/index.d.ts +0 -2
- package/dist/world/index.d.ts.map +0 -1
- package/dist/world/index.js.map +0 -1
- package/dist/world/world.d.ts +0 -34
- package/dist/world/world.d.ts.map +0 -1
- package/dist/world/world.js +0 -69
- package/dist/world/world.js.map +0 -1
- package/src/_imports/_mix.ts +0 -3
- package/src/_imports/acme.cert-manager.io.ts +0 -8202
- package/src/_imports/gateway.networking.k8s.io.ts +0 -12226
- package/src/_imports/helm.toolkit.fluxcd.io.ts +0 -6748
- package/src/_imports/index.ts +0 -2
- package/src/_imports/k8s.ts +0 -31028
- package/src/_imports/kustomize.toolkit.fluxcd.io.ts +0 -3369
- package/src/_imports/notification.toolkit.fluxcd.io.ts +0 -2848
- package/src/_imports/source.toolkit.fluxcd.io.ts +0 -6054
- package/src/external/index.ts +0 -34
- package/src/file/exports.ts +0 -66
- package/src/file/factory.ts +0 -199
- package/src/file/file.ts +0 -33
- package/src/file/index.ts +0 -1
- package/src/file/origin.ts +0 -41
- package/src/k8ts-sys-kind.ts +0 -4
- package/src/kind-map.ts +0 -42
- package/src/kinds.ts +0 -158
- package/src/meta/k8ts-section.ts +0 -6
- package/src/node/abs-resource.ts +0 -37
- package/src/node/dependencies.ts +0 -0
- package/src/node/equiv-cdk8s.ts +0 -19
- package/src/node/index.ts +0 -4
- package/src/node/manifest-resource.ts +0 -23
- package/src/node/sub-resource.ts +0 -20
- package/src/node/top-resource.ts +0 -7
- package/src/resources/persistent/volume/backend.ts +0 -20
- package/src/resources/service/frontend.ts +0 -11
- package/src/runner/exporter/trace-embedder.ts +0 -0
- package/src/world/index.ts +0 -1
- package/src/world/world.ts +0 -90
- /package/dist/{paths.d.ts → runner/paths.d.ts} +0 -0
- /package/dist/{paths.js → runner/paths.js} +0 -0
- /package/src/{paths.ts → runner/paths.ts} +0 -0
|
@@ -1,71 +1,18 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
3
|
exports.Secret = void 0;
|
|
38
4
|
const instruments_1 = require("@k8ts/instruments");
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
})];
|
|
53
|
-
let _classDescriptor;
|
|
54
|
-
let _classExtraInitializers = [];
|
|
55
|
-
let _classThis;
|
|
56
|
-
let _classSuper = manifest_resource_1.ManifestResource;
|
|
57
|
-
var Secret = class extends _classSuper {
|
|
58
|
-
static { _classThis = this; }
|
|
59
|
-
static {
|
|
60
|
-
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
61
|
-
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
62
|
-
Secret = _classThis = _classDescriptor.value;
|
|
63
|
-
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
64
|
-
__runInitializers(_classThis, _classExtraInitializers);
|
|
65
|
-
}
|
|
66
|
-
kind = kinds_1.api.v1_.Secret;
|
|
67
|
-
};
|
|
68
|
-
return Secret = _classThis;
|
|
69
|
-
})();
|
|
5
|
+
const default_1 = require("../../kinds/default");
|
|
6
|
+
class Secret extends instruments_1.Resource_Top {
|
|
7
|
+
get kind() {
|
|
8
|
+
return default_1.v1.Secret._;
|
|
9
|
+
}
|
|
10
|
+
body() {
|
|
11
|
+
return {
|
|
12
|
+
data: this.props.data,
|
|
13
|
+
stringData: this.props.stringData
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
70
17
|
exports.Secret = Secret;
|
|
71
18
|
//# sourceMappingURL=secret.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../../../src/resources/secret/secret.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../../../src/resources/secret/secret.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAChD,iDAAwC;AAOxC,MAAa,MAAqC,SAAQ,0BAAgC;IACtF,IAAI,IAAI;QACJ,OAAO,YAAE,CAAC,MAAM,CAAC,CAAC,CAAA;IACtB,CAAC;IAES,IAAI;QACV,OAAO;YACH,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;YACrB,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU;SACpC,CAAA;IACL,CAAC;CACJ;AAXD,wBAWC"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { CDK } from "
|
|
2
|
-
import type { Service } from "./service";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
get port(): Props<Port>;
|
|
14
|
-
ref(): CDK.HttpRouteSpecRulesBackendRefs;
|
|
15
|
-
}
|
|
1
|
+
import { CDK } from "@k8ts/sample-interfaces";
|
|
2
|
+
import type { Service, Service_Ref } from "./service";
|
|
3
|
+
export interface Service_Port_Props<Port extends string> {
|
|
4
|
+
service: Service_Ref<Port>;
|
|
5
|
+
name: Port;
|
|
6
|
+
}
|
|
7
|
+
export declare class Port<Port extends string> {
|
|
8
|
+
readonly props: Service_Port_Props<Port>;
|
|
9
|
+
constructor(props: Service_Port_Props<Port>);
|
|
10
|
+
get service(): Service<Port>;
|
|
11
|
+
get port(): Service_Port_Props<Port>;
|
|
12
|
+
ref(): CDK.HttpRouteSpecRulesBackendRefs;
|
|
16
13
|
}
|
|
17
14
|
//# sourceMappingURL=service-port.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-port.d.ts","sourceRoot":"","sources":["../../../src/resources/service/service-port.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"service-port.d.ts","sourceRoot":"","sources":["../../../src/resources/service/service-port.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAA;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAErD,MAAM,WAAW,kBAAkB,CAAC,IAAI,SAAS,MAAM;IACnD,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;IAC1B,IAAI,EAAE,IAAI,CAAA;CACb;AAED,qBAAa,IAAI,CAAC,IAAI,SAAS,MAAM;IACrB,QAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC;gBAA/B,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC;IACpD,IAAI,OAAO,IAC6B,OAAO,CAAC,IAAI,CAAC,CACpD;IAED,IAAI,IAAI,6BAEP;IAGD,GAAG,IAAI,GAAG,CAAC,6BAA6B;CAQ3C"}
|
|
@@ -1,29 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Port = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
props;
|
|
8
|
-
constructor(props) {
|
|
9
|
-
this.props = props;
|
|
10
|
-
}
|
|
11
|
-
get service() {
|
|
12
|
-
return this.props.service;
|
|
13
|
-
}
|
|
14
|
-
get port() {
|
|
15
|
-
return this.props;
|
|
16
|
-
}
|
|
17
|
-
// TODO: Does this need to resolve ports?
|
|
18
|
-
ref() {
|
|
19
|
-
return {
|
|
20
|
-
kind: "Service",
|
|
21
|
-
namespace: this.service.meta.tryGet("namespace"),
|
|
22
|
-
name: this.service.meta.get("name"),
|
|
23
|
-
port: this.service.ports.get(this.props.name).frontend
|
|
24
|
-
};
|
|
25
|
-
}
|
|
4
|
+
class Port {
|
|
5
|
+
props;
|
|
6
|
+
constructor(props) {
|
|
7
|
+
this.props = props;
|
|
26
8
|
}
|
|
27
|
-
|
|
28
|
-
|
|
9
|
+
get service() {
|
|
10
|
+
return this.props.service;
|
|
11
|
+
}
|
|
12
|
+
get port() {
|
|
13
|
+
return this.props;
|
|
14
|
+
}
|
|
15
|
+
// TODO: Does this need to resolve ports?
|
|
16
|
+
ref() {
|
|
17
|
+
return {
|
|
18
|
+
kind: "Service",
|
|
19
|
+
namespace: this.service.meta.tryGet("namespace"),
|
|
20
|
+
name: this.service.meta.get("name"),
|
|
21
|
+
port: this.service.ports.get(this.props.name).frontend
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.Port = Port;
|
|
29
26
|
//# sourceMappingURL=service-port.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-port.js","sourceRoot":"","sources":["../../../src/resources/service/service-port.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"service-port.js","sourceRoot":"","sources":["../../../src/resources/service/service-port.ts"],"names":[],"mappings":";;;AAQA,MAAa,IAAI;IACQ;IAArB,YAAqB,KAA+B;QAA/B,UAAK,GAAL,KAAK,CAA0B;IAAG,CAAC;IACxD,IAAI,OAAO;QACP,OAAO,IAAI,CAAC,KAAK,CAAC,OAA+B,CAAA;IACrD,CAAC;IAED,IAAI,IAAI;QACJ,OAAO,IAAI,CAAC,KAAK,CAAA;IACrB,CAAC;IAED,yCAAyC;IACzC,GAAG;QACC,OAAO;YACH,IAAI,EAAE,SAAS;YACf,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC;YAChD,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC;YACnC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ;SACzD,CAAA;IACL,CAAC;CACJ;AAnBD,oBAmBC"}
|
|
@@ -1,30 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Deployment } from "../deployment";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { Resource_Core_Ref, Resource_Top, type InputPortMapping } from "@k8ts/instruments";
|
|
2
|
+
import { CDK } from "@k8ts/sample-interfaces";
|
|
3
|
+
import { v1 } from "../../kinds/index";
|
|
4
|
+
import { Deployment, type Deployment_Ref } from "../deployment";
|
|
5
|
+
import { Port } from "./service-port";
|
|
6
|
+
export interface Service_Frontend_ClusterIp {
|
|
7
|
+
type: "ClusterIP";
|
|
8
|
+
}
|
|
9
|
+
export interface Service_Frontend_LoadBalancer {
|
|
10
|
+
type: "LoadBalancer";
|
|
11
|
+
loadBalancerIP?: string;
|
|
12
|
+
}
|
|
13
|
+
export type Service_Frontend = Service_Frontend_ClusterIp | Service_Frontend_LoadBalancer;
|
|
14
|
+
export interface Service_Props<DeployPorts extends string, ExposedPorts extends DeployPorts> {
|
|
15
|
+
$ports: InputPortMapping<ExposedPorts>;
|
|
16
|
+
$backend: Deployment_Ref<DeployPorts>;
|
|
17
|
+
$frontend: Service_Frontend;
|
|
18
|
+
}
|
|
19
|
+
export interface Service_Ref<ExposedPorts extends string> extends Resource_Core_Ref<v1.Service._> {
|
|
20
|
+
__PORTS__: ExposedPorts;
|
|
21
|
+
}
|
|
22
|
+
export declare class Service<Name extends string = string, ExposedPorts extends string = string> extends Resource_Top<Name, Service_Props<string, ExposedPorts>> {
|
|
23
|
+
__PORTS__: ExposedPorts;
|
|
24
|
+
get kind(): import("@k8ts/instruments").Kind.Kind<"", "v1", "Service">;
|
|
25
|
+
private get backend();
|
|
26
|
+
get ports(): import("@k8ts/instruments").PortMap<ExposedPorts>;
|
|
27
|
+
protected __needs__(): {
|
|
28
|
+
backend: Deployment<ExposedPorts, string>;
|
|
18
29
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
portRef(name: ExposedPorts): Port.Port<ExposedPorts>;
|
|
25
|
-
get hostname(): string;
|
|
26
|
-
private _getPortoPart;
|
|
27
|
-
address(protocol: "http" | "https", port: ExposedPorts): string;
|
|
28
|
-
}
|
|
30
|
+
portRef(name: ExposedPorts): Port<ExposedPorts>;
|
|
31
|
+
get hostname(): string;
|
|
32
|
+
private _getPortoPart;
|
|
33
|
+
protected body(): CDK.KubeServiceProps;
|
|
34
|
+
address(protocol: "http" | "https", port: ExposedPorts): string;
|
|
29
35
|
}
|
|
30
36
|
//# sourceMappingURL=service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/resources/service/service.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/resources/service/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAC1F,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAA;AAG7C,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAA;AAE/D,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,6BAA6B;IAC1C,IAAI,EAAE,cAAc,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;CAC1B;AACD,MAAM,MAAM,gBAAgB,GAAG,0BAA0B,GAAG,6BAA6B,CAAA;AACzF,MAAM,WAAW,aAAa,CAAC,WAAW,SAAS,MAAM,EAAE,YAAY,SAAS,WAAW;IACvF,MAAM,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAA;IACtC,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC,CAAA;IACrC,SAAS,EAAE,gBAAgB,CAAA;CAC9B;AACD,MAAM,WAAW,WAAW,CAAC,YAAY,SAAS,MAAM,CAAE,SAAQ,iBAAiB,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7F,SAAS,EAAE,YAAY,CAAA;CAC1B;AAED,qBAAa,OAAO,CAChB,IAAI,SAAS,MAAM,GAAG,MAAM,EAC5B,YAAY,SAAS,MAAM,GAAG,MAAM,CACtC,SAAQ,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC7D,SAAS,EAAG,YAAY,CAAA;IACxB,IAAI,IAAI,+DAEP;IAED,OAAO,KAAK,OAAO,GAElB;IAED,IAAI,KAAK,sDASR;cAEkB,SAAS;;;IAM5B,OAAO,CAAC,IAAI,EAAE,YAAY;IAO1B,IAAI,QAAQ,WAEX;IAED,OAAO,CAAC,aAAa;IAcrB,SAAS,CAAC,IAAI,IAAI,GAAG,CAAC,gBAAgB;IActC,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,EAAE,IAAI,EAAE,YAAY;CAGzD"}
|
|
@@ -1,134 +1,74 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
3
|
exports.Service = void 0;
|
|
38
4
|
const instruments_1 = require("@k8ts/instruments");
|
|
39
|
-
const
|
|
40
|
-
const _imports_1 = require("../../_imports");
|
|
5
|
+
const doddle_1 = require("doddle");
|
|
41
6
|
const error_1 = require("../../error");
|
|
42
|
-
const
|
|
43
|
-
const kinds_1 = require("../../kinds");
|
|
44
|
-
const node_1 = require("../../node");
|
|
45
|
-
const equiv_cdk8s_1 = require("../../node/equiv-cdk8s");
|
|
7
|
+
const index_1 = require("../../kinds/index");
|
|
46
8
|
const adapters_1 = require("../utils/adapters");
|
|
47
9
|
const service_port_1 = require("./service-port");
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
portRef(name) {
|
|
105
|
-
return new Service_1.Port.Port({
|
|
106
|
-
service: this,
|
|
107
|
-
name: name
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
get hostname() {
|
|
111
|
-
return `${this.name}.${this.namespace}.svc.cluster.local`;
|
|
112
|
-
}
|
|
113
|
-
_getPortoPart(port, protocol) {
|
|
114
|
-
const portNumber = this.props.$ports[port];
|
|
115
|
-
if (portNumber === 80 && protocol === "http") {
|
|
116
|
-
return "";
|
|
117
|
-
}
|
|
118
|
-
if (portNumber === 443 && protocol === "https") {
|
|
119
|
-
return "";
|
|
120
|
-
}
|
|
121
|
-
if (portNumber === undefined) {
|
|
122
|
-
throw new error_1.MakeError(`Port ${port} is not defined in service ${this.name}`);
|
|
10
|
+
class Service extends instruments_1.Resource_Top {
|
|
11
|
+
__PORTS__;
|
|
12
|
+
get kind() {
|
|
13
|
+
return index_1.v1.Service._;
|
|
14
|
+
}
|
|
15
|
+
get backend() {
|
|
16
|
+
return this.props.$backend;
|
|
17
|
+
}
|
|
18
|
+
// TODO: Ports force evaluates the backend which is not needed
|
|
19
|
+
get ports() {
|
|
20
|
+
const srcPorts = this.backend.ports.pull();
|
|
21
|
+
const knownPorts = (0, doddle_1.seq)(Object.entries(this.props.$ports))
|
|
22
|
+
.filter(([, v]) => v !== undefined)
|
|
23
|
+
.map(([k]) => k)
|
|
24
|
+
.toArray()
|
|
25
|
+
.pull();
|
|
26
|
+
const svcPorts = srcPorts.pick(...knownPorts).map(this.props.$ports);
|
|
27
|
+
return svcPorts;
|
|
28
|
+
}
|
|
29
|
+
__needs__() {
|
|
30
|
+
return {
|
|
31
|
+
backend: this.backend
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
portRef(name) {
|
|
35
|
+
return new service_port_1.Port({
|
|
36
|
+
service: this,
|
|
37
|
+
name: name
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
get hostname() {
|
|
41
|
+
return `${this.name}.${this.namespace}.svc.cluster.local`;
|
|
42
|
+
}
|
|
43
|
+
_getPortoPart(port, protocol) {
|
|
44
|
+
const portNumber = this.props.$ports[port];
|
|
45
|
+
if (portNumber === 80 && protocol === "http") {
|
|
46
|
+
return "";
|
|
47
|
+
}
|
|
48
|
+
if (portNumber === 443 && protocol === "https") {
|
|
49
|
+
return "";
|
|
50
|
+
}
|
|
51
|
+
if (portNumber === undefined) {
|
|
52
|
+
throw new error_1.MakeError(`Port ${port} is not defined in service ${this.name}`);
|
|
53
|
+
}
|
|
54
|
+
return `:${portNumber}`;
|
|
55
|
+
}
|
|
56
|
+
body() {
|
|
57
|
+
const self = this;
|
|
58
|
+
const svcPorts = self.ports;
|
|
59
|
+
return {
|
|
60
|
+
spec: {
|
|
61
|
+
...self.props.$frontend,
|
|
62
|
+
ports: (0, adapters_1.toServicePorts)(svcPorts),
|
|
63
|
+
selector: {
|
|
64
|
+
app: self.props.$backend.name
|
|
123
65
|
}
|
|
124
|
-
return `:${portNumber}`;
|
|
125
|
-
}
|
|
126
|
-
address(protocol, port) {
|
|
127
|
-
return `${protocol}://${this.hostname}${this._getPortoPart(port, protocol)}`;
|
|
128
66
|
}
|
|
129
67
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
68
|
+
}
|
|
69
|
+
address(protocol, port) {
|
|
70
|
+
return `${protocol}://${this.hostname}${this._getPortoPart(port, protocol)}`;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.Service = Service;
|
|
134
74
|
//# sourceMappingURL=service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/resources/service/service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/resources/service/service.ts"],"names":[],"mappings":";;;AAAA,mDAA0F;AAE1F,mCAA4B;AAC5B,uCAAuC;AACvC,6CAAsC;AAEtC,gDAAkD;AAClD,iDAAqC;AAmBrC,MAAa,OAGX,SAAQ,0BAAuD;IAC7D,SAAS,CAAe;IACxB,IAAI,IAAI;QACJ,OAAO,UAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IACvB,CAAC;IAED,IAAY,OAAO;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,QAAoC,CAAA;IAC1D,CAAC;IACD,8DAA8D;IAC9D,IAAI,KAAK;QACL,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAA;QAC1C,MAAM,UAAU,GAAG,IAAA,YAAG,EAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;aACpD,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC;aAClC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;aACf,OAAO,EAAE;aACT,IAAI,EAAoB,CAAA;QAC7B,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,MAAa,CAAC,CAAA;QAC3E,OAAO,QAAQ,CAAA;IACnB,CAAC;IAEkB,SAAS;QACxB,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,OAAO;SACxB,CAAA;IACL,CAAC;IAED,OAAO,CAAC,IAAkB;QACtB,OAAO,IAAI,mBAAI,CAAC;YACZ,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,IAAI;SACb,CAAC,CAAA;IACN,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,oBAAoB,CAAA;IAC7D,CAAC;IAEO,aAAa,CAAC,IAAkB,EAAE,QAA0B;QAChE,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;QAC1C,IAAI,UAAU,KAAK,EAAE,IAAI,QAAQ,KAAK,MAAM,EAAE,CAAC;YAC3C,OAAO,EAAE,CAAA;QACb,CAAC;QACD,IAAI,UAAU,KAAK,GAAG,IAAI,QAAQ,KAAK,OAAO,EAAE,CAAC;YAC7C,OAAO,EAAE,CAAA;QACb,CAAC;QACD,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,IAAI,iBAAS,CAAC,QAAQ,IAAI,8BAA8B,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA;QAC9E,CAAC;QACD,OAAO,IAAI,UAAU,EAAE,CAAA;IAC3B,CAAC;IAES,IAAI;QACV,MAAM,IAAI,GAAG,IAAI,CAAA;QACjB,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAA;QAC3B,OAAO;YACH,IAAI,EAAE;gBACF,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS;gBACvB,KAAK,EAAE,IAAA,yBAAc,EAAC,QAAQ,CAAC;gBAC/B,QAAQ,EAAE;oBACN,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI;iBAChC;aACJ;SACJ,CAAA;IACL,CAAC;IAED,OAAO,CAAC,QAA0B,EAAE,IAAkB;QAClD,OAAO,GAAG,QAAQ,MAAM,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAA;IAChF,CAAC;CACJ;AAxED,0BAwEC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PortMap, PortMapEntry, PortSet, PortSetEntry } from "@k8ts/instruments";
|
|
2
|
-
import { CDK } from "
|
|
2
|
+
import { CDK } from "@k8ts/sample-interfaces";
|
|
3
3
|
export declare function toContainerPort(entry: PortSetEntry): CDK.ContainerPort;
|
|
4
|
-
export declare function toContainerPorts(ports: PortSet<any>):
|
|
4
|
+
export declare function toContainerPorts(ports: PortSet<any>): CDK.ContainerPort[];
|
|
5
5
|
export declare function toServicePort(entry: PortMapEntry): CDK.ServicePort;
|
|
6
|
-
export declare function toServicePorts(ports: PortMap<any>):
|
|
6
|
+
export declare function toServicePorts(ports: PortMap<any>): CDK.ServicePort[];
|
|
7
7
|
//# sourceMappingURL=adapters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapters.d.ts","sourceRoot":"","sources":["../../../src/resources/utils/adapters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"adapters.d.ts","sourceRoot":"","sources":["../../../src/resources/utils/adapters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAA;AAE7C,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,aAAa,CAQtE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,uBAEnD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,WAAW,CAOlE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,qBAEjD"}
|
|
@@ -4,7 +4,8 @@ exports.toContainerPort = toContainerPort;
|
|
|
4
4
|
exports.toContainerPorts = toContainerPorts;
|
|
5
5
|
exports.toServicePort = toServicePort;
|
|
6
6
|
exports.toServicePorts = toServicePorts;
|
|
7
|
-
const
|
|
7
|
+
const sample_interfaces_1 = require("@k8ts/sample-interfaces");
|
|
8
|
+
const doddle_1 = require("doddle");
|
|
8
9
|
function toContainerPort(entry) {
|
|
9
10
|
return {
|
|
10
11
|
containerPort: entry.port,
|
|
@@ -15,17 +16,17 @@ function toContainerPort(entry) {
|
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
18
|
function toContainerPorts(ports) {
|
|
18
|
-
return ports.values.map(toContainerPort);
|
|
19
|
+
return (0, doddle_1.seq)(ports.values.values()).map(toContainerPort).toArray().pull();
|
|
19
20
|
}
|
|
20
21
|
function toServicePort(entry) {
|
|
21
22
|
return {
|
|
22
23
|
port: entry.frontend,
|
|
23
|
-
targetPort:
|
|
24
|
+
targetPort: sample_interfaces_1.CDK.IntOrString.fromString(entry.name),
|
|
24
25
|
protocol: entry.protocol,
|
|
25
26
|
name: entry.name
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
function toServicePorts(ports) {
|
|
29
|
-
return ports.values.map(toServicePort).
|
|
30
|
+
return (0, doddle_1.seq)(ports.values.values()).map(toServicePort).toArray().pull();
|
|
30
31
|
}
|
|
31
32
|
//# sourceMappingURL=adapters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapters.js","sourceRoot":"","sources":["../../../src/resources/utils/adapters.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"adapters.js","sourceRoot":"","sources":["../../../src/resources/utils/adapters.ts"],"names":[],"mappings":";;AAGA,0CAQC;AAED,4CAEC;AAED,sCAOC;AAED,wCAEC;AA3BD,+DAA6C;AAC7C,mCAA4B;AAC5B,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;QACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,IAAI;KAC7B,CAAA;AACL,CAAC;AAED,SAAgB,gBAAgB,CAAC,KAAmB;IAChD,OAAO,IAAA,YAAG,EAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3E,CAAC;AAED,SAAgB,aAAa,CAAC,KAAmB;IAC7C,OAAO;QACH,IAAI,EAAE,KAAK,CAAC,QAAQ;QACpB,UAAU,EAAE,uBAAG,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC;QAClD,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,IAAI,EAAE,KAAK,CAAC,IAAI;KACnB,CAAA;AACL,CAAC;AAED,SAAgB,cAAc,CAAC,KAAmB;IAC9C,OAAO,IAAA,YAAG,EAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,CAAA;AACzE,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OriginNode, type Origin_Exporter } from "@k8ts/instruments";
|
|
2
2
|
import { Meta } from "@k8ts/metadata";
|
|
3
3
|
import Emittery from "emittery";
|
|
4
|
-
import type { File } from "../../file";
|
|
5
4
|
import { type ResourceLoaderEventsTable } from "./loader";
|
|
6
5
|
import { NodeManifest, type ManifesterEventsTable } from "./manifester";
|
|
7
6
|
import { type ManifestSaverEventsTable } from "./saver";
|
|
@@ -10,17 +9,17 @@ import { ValidatorEventsTable } from "./validator";
|
|
|
10
9
|
export declare class Assembler extends Emittery<AssemblerEventsTable> {
|
|
11
10
|
private readonly _options;
|
|
12
11
|
constructor(_options: AssemblerOptions);
|
|
13
|
-
assemble(inFiles: Iterable<
|
|
12
|
+
assemble(inFiles: Iterable<Origin_Exporter>): Promise<AssembledResult>;
|
|
14
13
|
}
|
|
15
14
|
export interface FileNodes {
|
|
16
|
-
file:
|
|
15
|
+
file: OriginNode;
|
|
17
16
|
resources: NodeManifest[];
|
|
18
17
|
}
|
|
19
18
|
export interface Artifact extends NodeManifest {
|
|
20
19
|
yaml: string;
|
|
21
20
|
}
|
|
22
21
|
export interface AssembledFile {
|
|
23
|
-
file:
|
|
22
|
+
file: OriginNode;
|
|
24
23
|
path: string;
|
|
25
24
|
filename: string;
|
|
26
25
|
bytes: number;
|
|
@@ -39,7 +38,7 @@ export interface AssemblerOptions {
|
|
|
39
38
|
export type AssemblyStage = "loading" | "validating" | "manifesting" | "serializing" | "saving" | "start" | "reporting" | "done" | "gathering";
|
|
40
39
|
export interface AssemblerEventsTable extends ManifestSaverEventsTable, SerializerEventsTable, ManifesterEventsTable, ResourceLoaderEventsTable, ValidatorEventsTable {
|
|
41
40
|
["received-file"]: {
|
|
42
|
-
file:
|
|
41
|
+
file: OriginNode;
|
|
43
42
|
};
|
|
44
43
|
["stage"]: {
|
|
45
44
|
stage: AssemblyStage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assembler.d.ts","sourceRoot":"","sources":["../../../src/runner/exporter/assembler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"assembler.d.ts","sourceRoot":"","sources":["../../../src/runner/exporter/assembler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAErC,OAAO,QAAQ,MAAM,UAAU,CAAA;AAE/B,OAAO,EAAkB,KAAK,yBAAyB,EAAE,MAAM,UAAU,CAAA;AACzE,OAAO,EAAc,YAAY,EAAE,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAA;AACnF,OAAO,EAAiB,KAAK,wBAAwB,EAAE,MAAM,SAAS,CAAA;AACtE,OAAO,EAAkB,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAA;AACzE,OAAO,EAAsB,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAEtE,qBAAa,SAAU,SAAQ,QAAQ,CAAC,oBAAoB,CAAC;IAC7C,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,gBAAgB;IAIjD,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,eAAe,CAAC;CAmHpD;AACD,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE,UAAU,CAAA;IAChB,SAAS,EAAE,YAAY,EAAE,CAAA;CAC5B;AACD,MAAM,WAAW,QAAS,SAAQ,YAAY;IAC1C,IAAI,EAAE,MAAM,CAAA;CACf;AACD,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,UAAU,CAAA;IAChB,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,YAAY,GACZ,aAAa,GACb,aAAa,GACb,QAAQ,GACR,OAAO,GACP,WAAW,GACX,MAAM,GACN,WAAW,CAAA;AACjB,MAAM,WAAW,oBACb,SAAQ,wBAAwB,EAC5B,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB;IACxB,CAAC,eAAe,CAAC,EAAE;QAAE,IAAI,EAAE,UAAU,CAAA;KAAE,CAAA;IACvC,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"}
|
|
@@ -36,11 +36,12 @@ class Assembler extends emittery_1.default {
|
|
|
36
36
|
});
|
|
37
37
|
saver.onAny(_emit);
|
|
38
38
|
const reports = (0, doddle_1.aseq)(inFiles)
|
|
39
|
+
.map(x => x.node)
|
|
39
40
|
.before(async () => {
|
|
40
41
|
await _emit("stage", { stage: "gathering" });
|
|
41
42
|
})
|
|
42
43
|
.each(async (file) => {
|
|
43
|
-
await _emit("received-file", { file: file
|
|
44
|
+
await _emit("received-file", { file: file });
|
|
44
45
|
})
|
|
45
46
|
.after(async () => {
|
|
46
47
|
await _emit("stage", { stage: "loading" });
|
|
@@ -50,7 +51,7 @@ class Assembler extends emittery_1.default {
|
|
|
50
51
|
const loaded = await loader.load(file);
|
|
51
52
|
loaded.forEach(r => r.meta.add(this._options.meta));
|
|
52
53
|
return {
|
|
53
|
-
file: file
|
|
54
|
+
file: file,
|
|
54
55
|
resources: loaded.filter(x => !x.isExternal)
|
|
55
56
|
};
|
|
56
57
|
})
|
|
@@ -66,7 +67,7 @@ class Assembler extends emittery_1.default {
|
|
|
66
67
|
.toArray()
|
|
67
68
|
.pull();
|
|
68
69
|
return {
|
|
69
|
-
file: file
|
|
70
|
+
file: file,
|
|
70
71
|
resources: manifests
|
|
71
72
|
};
|
|
72
73
|
})
|