typekro 0.43.0 → 0.44.1
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/compositions/typekro-runtime/typekro-runtime.d.ts +3 -2
- package/dist/compositions/typekro-runtime/typekro-runtime.d.ts.map +1 -1
- package/dist/compositions/typekro-runtime/typekro-runtime.js.map +1 -1
- package/dist/core/kubernetes/bun-api-client.d.ts.map +1 -1
- package/dist/core/kubernetes/bun-api-client.js +39 -9
- package/dist/core/kubernetes/bun-api-client.js.map +1 -1
- package/dist/core/kubernetes/bun-http-library.d.ts.map +1 -1
- package/dist/core/kubernetes/bun-http-library.js +5 -1
- package/dist/core/kubernetes/bun-http-library.js.map +1 -1
- package/dist/factories/apisix/compositions/apisix-bootstrap.d.ts +2 -1
- package/dist/factories/apisix/compositions/apisix-bootstrap.d.ts.map +1 -1
- package/dist/factories/apisix/compositions/apisix-bootstrap.js.map +1 -1
- package/dist/factories/apisix/compositions/apisix-helm-repository.d.ts +3 -7
- package/dist/factories/apisix/compositions/apisix-helm-repository.d.ts.map +1 -1
- package/dist/factories/apisix/compositions/apisix-helm-repository.js.map +1 -1
- package/dist/factories/apisix/resources/helm.d.ts +2 -2
- package/dist/factories/apisix/resources/helm.d.ts.map +1 -1
- package/dist/factories/apisix/resources/helm.js.map +1 -1
- package/dist/factories/cert-manager/compositions/cert-manager-bootstrap.d.ts +3 -2
- package/dist/factories/cert-manager/compositions/cert-manager-bootstrap.d.ts.map +1 -1
- package/dist/factories/cert-manager/compositions/cert-manager-bootstrap.js.map +1 -1
- package/dist/factories/cilium/compositions/cilium-bootstrap.d.ts +2 -76
- package/dist/factories/cilium/compositions/cilium-bootstrap.d.ts.map +1 -1
- package/dist/factories/cilium/compositions/cilium-bootstrap.js.map +1 -1
- package/dist/factories/cilium/resources/helm.d.ts +3 -2
- package/dist/factories/cilium/resources/helm.d.ts.map +1 -1
- package/dist/factories/cilium/resources/helm.js.map +1 -1
- package/dist/factories/clickhouse/compositions/clickhouse-helm-repository.d.ts +3 -7
- package/dist/factories/clickhouse/compositions/clickhouse-helm-repository.d.ts.map +1 -1
- package/dist/factories/clickhouse/compositions/clickhouse-helm-repository.js.map +1 -1
- package/dist/factories/clickhouse/compositions/clickhouse-operator-bootstrap.d.ts +3 -28
- package/dist/factories/clickhouse/compositions/clickhouse-operator-bootstrap.d.ts.map +1 -1
- package/dist/factories/clickhouse/compositions/clickhouse-operator-bootstrap.js.map +1 -1
- package/dist/factories/clickstack/compositions/clickstack-bootstrap.d.ts +7 -254
- package/dist/factories/clickstack/compositions/clickstack-bootstrap.d.ts.map +1 -1
- package/dist/factories/clickstack/compositions/clickstack-bootstrap.js.map +1 -1
- package/dist/factories/clickstack/compositions/clickstack-helm-repository.d.ts +3 -7
- package/dist/factories/clickstack/compositions/clickstack-helm-repository.d.ts.map +1 -1
- package/dist/factories/clickstack/compositions/clickstack-helm-repository.js.map +1 -1
- package/dist/factories/clickstack/compositions/k8s-telemetry.d.ts +4 -16
- package/dist/factories/clickstack/compositions/k8s-telemetry.d.ts.map +1 -1
- package/dist/factories/clickstack/compositions/k8s-telemetry.js.map +1 -1
- package/dist/factories/clickstack/compositions/otel-helm-repository.d.ts +3 -7
- package/dist/factories/clickstack/compositions/otel-helm-repository.d.ts.map +1 -1
- package/dist/factories/clickstack/compositions/otel-helm-repository.js.map +1 -1
- package/dist/factories/clickstack/types.d.ts +5 -0
- package/dist/factories/clickstack/types.d.ts.map +1 -1
- package/dist/factories/clickstack/types.js.map +1 -1
- package/dist/factories/clickstack/utils/storage.d.ts +13 -0
- package/dist/factories/clickstack/utils/storage.d.ts.map +1 -1
- package/dist/factories/clickstack/utils/storage.js +31 -2
- package/dist/factories/clickstack/utils/storage.js.map +1 -1
- package/dist/factories/cnpg/compositions/cnpg-bootstrap.d.ts +3 -27
- package/dist/factories/cnpg/compositions/cnpg-bootstrap.d.ts.map +1 -1
- package/dist/factories/cnpg/compositions/cnpg-bootstrap.js.map +1 -1
- package/dist/factories/dagster/compositions/dagster-bootstrap.d.ts +3 -450
- package/dist/factories/dagster/compositions/dagster-bootstrap.d.ts.map +1 -1
- package/dist/factories/dagster/compositions/dagster-bootstrap.js.map +1 -1
- package/dist/factories/dagster/compositions/dagster-helm-repository.d.ts +3 -7
- package/dist/factories/dagster/compositions/dagster-helm-repository.d.ts.map +1 -1
- package/dist/factories/dagster/compositions/dagster-helm-repository.js.map +1 -1
- package/dist/factories/envoy-ai-gateway/compositions/platform.d.ts +6 -34
- package/dist/factories/envoy-ai-gateway/compositions/platform.d.ts.map +1 -1
- package/dist/factories/envoy-ai-gateway/compositions/platform.js.map +1 -1
- package/dist/factories/envoy-ai-gateway/compositions/repository.d.ts +3 -7
- package/dist/factories/envoy-ai-gateway/compositions/repository.d.ts.map +1 -1
- package/dist/factories/envoy-ai-gateway/compositions/repository.js.map +1 -1
- package/dist/factories/external-dns/compositions/external-dns-bootstrap.d.ts +3 -1
- package/dist/factories/external-dns/compositions/external-dns-bootstrap.d.ts.map +1 -1
- package/dist/factories/external-dns/compositions/external-dns-bootstrap.js.map +1 -1
- package/dist/factories/flux/git-repository.d.ts +10 -12
- package/dist/factories/flux/git-repository.d.ts.map +1 -1
- package/dist/factories/flux/git-repository.js.map +1 -1
- package/dist/factories/flux/kustomize/kustomization.d.ts +17 -49
- package/dist/factories/flux/kustomize/kustomization.d.ts.map +1 -1
- package/dist/factories/flux/kustomize/kustomization.js.map +1 -1
- package/dist/factories/harbor/compositions/harbor-installation.d.ts +6 -309
- package/dist/factories/harbor/compositions/harbor-installation.d.ts.map +1 -1
- package/dist/factories/harbor/compositions/harbor-installation.js.map +1 -1
- package/dist/factories/harbor/compositions/harbor-rook-s3-credentials.d.ts +2 -8
- package/dist/factories/harbor/compositions/harbor-rook-s3-credentials.d.ts.map +1 -1
- package/dist/factories/harbor/compositions/harbor-rook-s3-credentials.js.map +1 -1
- package/dist/factories/hatchet/compositions/hatchet-installation.d.ts +3 -43
- package/dist/factories/hatchet/compositions/hatchet-installation.d.ts.map +1 -1
- package/dist/factories/hatchet/compositions/hatchet-installation.js.map +1 -1
- package/dist/factories/inngest/compositions/inngest-bootstrap.d.ts +3 -116
- package/dist/factories/inngest/compositions/inngest-bootstrap.d.ts.map +1 -1
- package/dist/factories/inngest/compositions/inngest-bootstrap.js.map +1 -1
- package/dist/factories/nats/compositions/nack-controller-bootstrap.d.ts +4 -15
- package/dist/factories/nats/compositions/nack-controller-bootstrap.d.ts.map +1 -1
- package/dist/factories/nats/compositions/nack-controller-bootstrap.js.map +1 -1
- package/dist/factories/nats/compositions/nats-bootstrap.d.ts +5 -26
- package/dist/factories/nats/compositions/nats-bootstrap.d.ts.map +1 -1
- package/dist/factories/nats/compositions/nats-bootstrap.js.map +1 -1
- package/dist/factories/opensearch/compositions/operator-bootstrap.d.ts +5 -23
- package/dist/factories/opensearch/compositions/operator-bootstrap.d.ts.map +1 -1
- package/dist/factories/opensearch/compositions/operator-bootstrap.js.map +1 -1
- package/dist/factories/opensearch/compositions/repository.d.ts +3 -7
- package/dist/factories/opensearch/compositions/repository.d.ts.map +1 -1
- package/dist/factories/opensearch/compositions/repository.js.map +1 -1
- package/dist/factories/ory/compositions/ory-identity-stack.d.ts +3 -2067
- package/dist/factories/ory/compositions/ory-identity-stack.d.ts.map +1 -1
- package/dist/factories/ory/compositions/ory-identity-stack.js.map +1 -1
- package/dist/factories/ory/compositions/ory-platform-stack.d.ts +3 -184
- package/dist/factories/ory/compositions/ory-platform-stack.d.ts.map +1 -1
- package/dist/factories/ory/compositions/ory-platform-stack.js.map +1 -1
- package/dist/factories/pebble/compositions/pebble-bootstrap.d.ts +3 -15
- package/dist/factories/pebble/compositions/pebble-bootstrap.d.ts.map +1 -1
- package/dist/factories/pebble/compositions/pebble-bootstrap.js.map +1 -1
- package/dist/factories/rook/compositions/object-storage-claim.d.ts +3 -18
- package/dist/factories/rook/compositions/object-storage-claim.d.ts.map +1 -1
- package/dist/factories/rook/compositions/object-storage-claim.js.map +1 -1
- package/dist/factories/rook/compositions/rook-ceph-helm-repository.d.ts +3 -7
- package/dist/factories/rook/compositions/rook-ceph-helm-repository.d.ts.map +1 -1
- package/dist/factories/rook/compositions/rook-ceph-helm-repository.js.map +1 -1
- package/dist/factories/rook/compositions/rook-ceph-operator-installation.d.ts +4 -30
- package/dist/factories/rook/compositions/rook-ceph-operator-installation.d.ts.map +1 -1
- package/dist/factories/rook/compositions/rook-ceph-operator-installation.js.map +1 -1
- package/dist/factories/rook/compositions/rook-ceph-platform.d.ts +5 -277
- package/dist/factories/rook/compositions/rook-ceph-platform.d.ts.map +1 -1
- package/dist/factories/rook/compositions/rook-ceph-platform.js.map +1 -1
- package/dist/factories/searxng/compositions/searxng-bootstrap.d.ts +2 -1
- package/dist/factories/searxng/compositions/searxng-bootstrap.d.ts.map +1 -1
- package/dist/factories/searxng/compositions/searxng-bootstrap.js +22 -22
- package/dist/factories/searxng/compositions/searxng-bootstrap.js.map +1 -1
- package/dist/factories/simple/index.d.ts +3 -3
- package/dist/factories/simple/index.d.ts.map +1 -1
- package/dist/factories/simple/index.js.map +1 -1
- package/dist/factories/traefik/compositions/traefik-bootstrap.d.ts +4 -47
- package/dist/factories/traefik/compositions/traefik-bootstrap.d.ts.map +1 -1
- package/dist/factories/traefik/compositions/traefik-bootstrap.js.map +1 -1
- package/dist/factories/traefik/compositions/traefik-helm-repository.d.ts +3 -7
- package/dist/factories/traefik/compositions/traefik-helm-repository.d.ts.map +1 -1
- package/dist/factories/traefik/compositions/traefik-helm-repository.js.map +1 -1
- package/dist/factories/traefik/resources/helm.d.ts +2 -2
- package/dist/factories/traefik/resources/helm.d.ts.map +1 -1
- package/dist/factories/traefik/resources/helm.js.map +1 -1
- package/dist/factories/valkey/compositions/valkey-bootstrap.d.ts +4 -16
- package/dist/factories/valkey/compositions/valkey-bootstrap.d.ts.map +1 -1
- package/dist/factories/valkey/compositions/valkey-bootstrap.js.map +1 -1
- package/dist/factories/valkey/compositions/valkey-helm-repository.d.ts +3 -7
- package/dist/factories/valkey/compositions/valkey-helm-repository.d.ts.map +1 -1
- package/dist/factories/valkey/compositions/valkey-helm-repository.js.map +1 -1
- package/package.json +7 -5
- package/dist/core/aspects/metadata.d.ts +0 -16
- package/dist/core/aspects/metadata.d.ts.map +0 -1
- package/dist/core/aspects/targets.d.ts +0 -9
- package/dist/core/aspects/targets.d.ts.map +0 -1
- package/dist/core/composition/analysis-metadata.d.ts +0 -15
- package/dist/core/composition/analysis-metadata.d.ts.map +0 -1
- package/dist/core/composition/index.d.ts +0 -12
- package/dist/core/composition/index.d.ts.map +0 -1
- package/dist/core/composition/nested-status-cel.d.ts +0 -82
- package/dist/core/composition/nested-status-cel.d.ts.map +0 -1
- package/dist/core/config/defaults.d.ts +0 -109
- package/dist/core/config/defaults.d.ts.map +0 -1
- package/dist/core/config/env.d.ts +0 -12
- package/dist/core/config/env.d.ts.map +0 -1
- package/dist/core/config/index.d.ts +0 -3
- package/dist/core/config/index.d.ts.map +0 -1
- package/dist/core/containers/exec.d.ts +0 -19
- package/dist/core/containers/exec.d.ts.map +0 -1
- package/dist/core/containers/registries/docker-session.d.ts +0 -14
- package/dist/core/containers/registries/docker-session.d.ts.map +0 -1
- package/dist/core/containers/registries/ecr.d.ts +0 -21
- package/dist/core/containers/registries/ecr.d.ts.map +0 -1
- package/dist/core/containers/registries/index.d.ts +0 -9
- package/dist/core/containers/registries/index.d.ts.map +0 -1
- package/dist/core/containers/registries/orbstack.d.ts +0 -13
- package/dist/core/containers/registries/orbstack.d.ts.map +0 -1
- package/dist/core/deployment/closure-planner.d.ts +0 -20
- package/dist/core/deployment/closure-planner.d.ts.map +0 -1
- package/dist/core/deployment/crd-manager.d.ts +0 -79
- package/dist/core/deployment/crd-manager.d.ts.map +0 -1
- package/dist/core/deployment/deletion-result.d.ts +0 -22
- package/dist/core/deployment/deletion-result.d.ts.map +0 -1
- package/dist/core/deployment/event-filter.d.ts +0 -142
- package/dist/core/deployment/event-filter.d.ts.map +0 -1
- package/dist/core/deployment/event-monitor.d.ts +0 -243
- package/dist/core/deployment/event-monitor.d.ts.map +0 -1
- package/dist/core/deployment/handle-tracing.d.ts +0 -14
- package/dist/core/deployment/handle-tracing.d.ts.map +0 -1
- package/dist/core/deployment/kro-instance-admission.d.ts +0 -17
- package/dist/core/deployment/kro-instance-admission.d.ts.map +0 -1
- package/dist/core/deployment/kro-instance-safety.d.ts +0 -237
- package/dist/core/deployment/kro-instance-safety.d.ts.map +0 -1
- package/dist/core/deployment/nested-composition-status.d.ts +0 -33
- package/dist/core/deployment/nested-composition-status.d.ts.map +0 -1
- package/dist/core/deployment/readiness-waiter.d.ts +0 -60
- package/dist/core/deployment/readiness-waiter.d.ts.map +0 -1
- package/dist/core/deployment/resource-applier.d.ts +0 -87
- package/dist/core/deployment/resource-applier.d.ts.map +0 -1
- package/dist/core/deployment/resource-tagging.d.ts +0 -220
- package/dist/core/deployment/resource-tagging.d.ts.map +0 -1
- package/dist/core/deployment/schema-cel-evaluator.d.ts +0 -5
- package/dist/core/deployment/schema-cel-evaluator.d.ts.map +0 -1
- package/dist/core/deployment/singleton-gitops.d.ts +0 -10
- package/dist/core/deployment/singleton-gitops.d.ts.map +0 -1
- package/dist/core/expressions/analysis/alias-inliner.d.ts +0 -14
- package/dist/core/expressions/analysis/alias-inliner.d.ts.map +0 -1
- package/dist/core/expressions/analysis/array-method-converters.d.ts +0 -19
- package/dist/core/expressions/analysis/array-method-converters.d.ts.map +0 -1
- package/dist/core/expressions/analysis/ast-helpers.d.ts +0 -49
- package/dist/core/expressions/analysis/ast-helpers.d.ts.map +0 -1
- package/dist/core/expressions/analysis/ast-node-converters.d.ts +0 -15
- package/dist/core/expressions/analysis/ast-node-converters.d.ts.map +0 -1
- package/dist/core/expressions/analysis/ast-type-guards.d.ts +0 -14
- package/dist/core/expressions/analysis/ast-type-guards.d.ts.map +0 -1
- package/dist/core/expressions/analysis/call-expression-converters.d.ts +0 -18
- package/dist/core/expressions/analysis/call-expression-converters.d.ts.map +0 -1
- package/dist/core/expressions/analysis/cel-emitter.d.ts +0 -86
- package/dist/core/expressions/analysis/cel-emitter.d.ts.map +0 -1
- package/dist/core/expressions/analysis/expression-classifier.d.ts +0 -77
- package/dist/core/expressions/analysis/expression-classifier.d.ts.map +0 -1
- package/dist/core/expressions/analysis/expression-metadata.d.ts +0 -15
- package/dist/core/expressions/analysis/expression-metadata.d.ts.map +0 -1
- package/dist/core/expressions/analysis/fn-toString-self-test.d.ts +0 -146
- package/dist/core/expressions/analysis/fn-toString-self-test.d.ts.map +0 -1
- package/dist/core/expressions/analysis/operator-utils.d.ts +0 -35
- package/dist/core/expressions/analysis/operator-utils.d.ts.map +0 -1
- package/dist/core/expressions/analysis/ready-when.d.ts +0 -3
- package/dist/core/expressions/analysis/ready-when.d.ts.map +0 -1
- package/dist/core/expressions/analysis/scope-resolver.d.ts +0 -57
- package/dist/core/expressions/analysis/scope-resolver.d.ts.map +0 -1
- package/dist/core/expressions/analysis/strict-cel.d.ts +0 -26
- package/dist/core/expressions/analysis/strict-cel.d.ts.map +0 -1
- package/dist/core/expressions/analysis/string-method-converters.d.ts +0 -27
- package/dist/core/expressions/analysis/string-method-converters.d.ts.map +0 -1
- package/dist/core/expressions/composition/composition-analyzer-helpers.d.ts +0 -114
- package/dist/core/expressions/composition/composition-analyzer-helpers.d.ts.map +0 -1
- package/dist/core/expressions/composition/composition-analyzer-ternary.d.ts +0 -78
- package/dist/core/expressions/composition/composition-analyzer-ternary.d.ts.map +0 -1
- package/dist/core/expressions/composition/composition-analyzer-traversal.d.ts +0 -37
- package/dist/core/expressions/composition/composition-analyzer-traversal.d.ts.map +0 -1
- package/dist/core/expressions/composition/context-tracker.d.ts +0 -39
- package/dist/core/expressions/composition/context-tracker.d.ts.map +0 -1
- package/dist/core/expressions/composition/expression-analyzer.d.ts +0 -101
- package/dist/core/expressions/composition/expression-analyzer.d.ts.map +0 -1
- package/dist/core/expressions/composition/imperative-analyzer.d.ts +0 -21
- package/dist/core/expressions/composition/imperative-analyzer.d.ts.map +0 -1
- package/dist/core/expressions/composition/index.d.ts +0 -17
- package/dist/core/expressions/composition/index.d.ts.map +0 -1
- package/dist/core/expressions/composition/integration-hooks.d.ts +0 -71
- package/dist/core/expressions/composition/integration-hooks.d.ts.map +0 -1
- package/dist/core/expressions/composition/scope-manager.d.ts +0 -93
- package/dist/core/expressions/composition/scope-manager.d.ts.map +0 -1
- package/dist/core/expressions/composition/types.d.ts +0 -41
- package/dist/core/expressions/composition/types.d.ts.map +0 -1
- package/dist/core/expressions/conditional/conditional-expression-processor.d.ts +0 -154
- package/dist/core/expressions/conditional/conditional-expression-processor.d.ts.map +0 -1
- package/dist/core/expressions/conditional/conditional-integration.d.ts +0 -111
- package/dist/core/expressions/conditional/conditional-integration.d.ts.map +0 -1
- package/dist/core/expressions/factory/dependency-tracker.d.ts +0 -222
- package/dist/core/expressions/factory/dependency-tracker.d.ts.map +0 -1
- package/dist/core/expressions/factory/resource-analyzer.d.ts +0 -139
- package/dist/core/expressions/factory/resource-analyzer.d.ts.map +0 -1
- package/dist/core/expressions/factory/resource-type-validator.d.ts +0 -149
- package/dist/core/expressions/factory/resource-type-validator.d.ts.map +0 -1
- package/dist/core/expressions/factory/status-ast-utils.d.ts +0 -36
- package/dist/core/expressions/factory/status-ast-utils.d.ts.map +0 -1
- package/dist/core/expressions/factory/status-cel-generation.d.ts +0 -67
- package/dist/core/expressions/factory/status-cel-generation.d.ts.map +0 -1
- package/dist/core/expressions/factory/status-field-analysis.d.ts +0 -58
- package/dist/core/expressions/factory/status-field-analysis.d.ts.map +0 -1
- package/dist/core/expressions/magic-proxy/magic-assignable-analyzer.d.ts +0 -123
- package/dist/core/expressions/magic-proxy/magic-assignable-analyzer.d.ts.map +0 -1
- package/dist/core/expressions/magic-proxy/magic-proxy-analyzer.d.ts +0 -153
- package/dist/core/expressions/magic-proxy/magic-proxy-analyzer.d.ts.map +0 -1
- package/dist/core/expressions/magic-proxy/magic-proxy-ast.d.ts +0 -44
- package/dist/core/expressions/magic-proxy/magic-proxy-ast.d.ts.map +0 -1
- package/dist/core/expressions/magic-proxy/magic-proxy-types.d.ts +0 -36
- package/dist/core/expressions/magic-proxy/magic-proxy-types.d.ts.map +0 -1
- package/dist/core/expressions/magic-proxy/optionality-analysis.d.ts +0 -54
- package/dist/core/expressions/magic-proxy/optionality-analysis.d.ts.map +0 -1
- package/dist/core/expressions/magic-proxy/optionality-cel-generation.d.ts +0 -51
- package/dist/core/expressions/magic-proxy/optionality-cel-generation.d.ts.map +0 -1
- package/dist/core/expressions/magic-proxy/optionality-hydration.d.ts +0 -84
- package/dist/core/expressions/magic-proxy/optionality-hydration.d.ts.map +0 -1
- package/dist/core/expressions/magic-proxy/optionality-optional-chaining.d.ts +0 -61
- package/dist/core/expressions/magic-proxy/optionality-optional-chaining.d.ts.map +0 -1
- package/dist/core/expressions/validation/resource-field-utils.d.ts +0 -69
- package/dist/core/expressions/validation/resource-field-utils.d.ts.map +0 -1
- package/dist/core/kubernetes/bun-watch.d.ts +0 -30
- package/dist/core/kubernetes/bun-watch.d.ts.map +0 -1
- package/dist/core/kubernetes/client-node-runtime.d.ts +0 -10
- package/dist/core/kubernetes/client-node-runtime.d.ts.map +0 -1
- package/dist/core/proxy/index.d.ts +0 -8
- package/dist/core/proxy/index.d.ts.map +0 -1
- package/dist/core/proxy/known-status-fields.d.ts +0 -27
- package/dist/core/proxy/known-status-fields.d.ts.map +0 -1
- package/dist/core/readiness/strategy-configuration.d.ts +0 -12
- package/dist/core/readiness/strategy-configuration.d.ts.map +0 -1
- package/dist/core/references/cel-lexical-scanner.d.ts +0 -113
- package/dist/core/references/cel-lexical-scanner.d.ts.map +0 -1
- package/dist/core/runtime/standalone-operation.d.ts +0 -12
- package/dist/core/runtime/standalone-operation.d.ts.map +0 -1
- package/dist/core/runtime-patches/crd-patcher.d.ts +0 -30
- package/dist/core/runtime-patches/crd-patcher.d.ts.map +0 -1
- package/dist/core/runtime-patches/crd-schema-fix.d.ts +0 -145
- package/dist/core/runtime-patches/crd-schema-fix.d.ts.map +0 -1
- package/dist/core/runtime-patches/index.d.ts +0 -8
- package/dist/core/runtime-patches/index.d.ts.map +0 -1
- package/dist/core/serialization/arktype-ast.d.ts +0 -21
- package/dist/core/serialization/arktype-ast.d.ts.map +0 -1
- package/dist/core/serialization/kro-post-processing.d.ts +0 -46
- package/dist/core/serialization/kro-post-processing.d.ts.map +0 -1
- package/dist/core/serialization/status-analysis-pipeline.d.ts +0 -67
- package/dist/core/serialization/status-analysis-pipeline.d.ts.map +0 -1
- package/dist/core/validation/cel-dialect.d.ts +0 -246
- package/dist/core/validation/cel-dialect.d.ts.map +0 -1
- package/dist/core/validation/cel-validator.d.ts +0 -77
- package/dist/core/validation/cel-validator.d.ts.map +0 -1
- package/dist/core/validation/literal-status.d.ts +0 -107
- package/dist/core/validation/literal-status.d.ts.map +0 -1
- package/dist/core/validation/structural-spec-dependence.d.ts +0 -179
- package/dist/core/validation/structural-spec-dependence.d.ts.map +0 -1
- package/dist/factories/cert-manager/utils/helm-values-mapper.d.ts +0 -23
- package/dist/factories/cert-manager/utils/helm-values-mapper.d.ts.map +0 -1
- package/dist/factories/cert-manager/utils/index.d.ts +0 -2
- package/dist/factories/cert-manager/utils/index.d.ts.map +0 -1
- package/dist/factories/flux/kustomize/types.d.ts +0 -2
- package/dist/factories/flux/kustomize/types.d.ts.map +0 -1
- package/dist/factories/nats/compositions/nack-controller-migration.d.ts +0 -18
- package/dist/factories/nats/compositions/nack-controller-migration.d.ts.map +0 -1
- package/dist/factories/ory/schemas/maester-crds.d.ts +0 -9
- package/dist/factories/ory/schemas/maester-crds.d.ts.map +0 -1
- package/dist/factories/pebble/utils/helm-values-mapper.d.ts +0 -21
- package/dist/factories/pebble/utils/helm-values-mapper.d.ts.map +0 -1
- package/dist/factories/shared.d.ts +0 -18
- package/dist/factories/shared.d.ts.map +0 -1
- package/dist/shared/own-property.d.ts +0 -15
- package/dist/shared/own-property.d.ts.map +0 -1
- package/dist/utils/cel-escape.d.ts +0 -12
- package/dist/utils/cel-escape.d.ts.map +0 -1
- package/dist/utils/cel-resource-identifiers.d.ts +0 -23
- package/dist/utils/cel-resource-identifiers.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"optionality-hydration.d.ts","sourceRoot":"","sources":["../../../../src/core/expressions/magic-proxy/optionality-hydration.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAG1D,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,cAAc,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,EACxC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAChD,sBAAsB,CA+BxB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,cAAc,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,EACxC,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,EAClD,QAAQ,EAAE,kBAAkB,GAC3B,uBAAuB,CAoEzB;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,OAAO,EACnB,iBAAiB,EAAE,sBAAsB,EACzC,OAAO,EAAE,kBAAkB,GAC1B,0BAA0B,EAAE,CAiD9B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,OAAO,EACnB,cAAc,EAAE,uBAAuB,EACvC,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,aAAa,GACpB,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAc5B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,cAAc,EAAE,uBAAuB,EACvC,QAAQ,EAAE,kBAAkB,GAC3B,aAAa,EAAE,CAqBjB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,OAAO,EACpB,cAAc,EAAE,uBAAuB,EACvC,QAAQ,EAAE,kBAAkB,GAC3B,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAc5B;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,OAAO,EACpB,KAAK,EAAE,cAAc,EACrB,QAAQ,EAAE,kBAAkB,GAC3B,aAAa,CAkBf;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,GAAG,MAAM,CAUtF;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,WAAW,EAAE,OAAO,EACpB,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,EAC/B,QAAQ,EAAE,kBAAkB,GAC3B,aAAa,CAMf;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,GAAG,MAAM,CAUzF;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,OAAO,EACnB,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,EAC/B,OAAO,EAAE,kBAAkB,GAC1B,aAAa,CAGf;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,GAAG,MAAM,CAGzF;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAChD,WAAW,EAAE,OAAO,EACpB,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,EAC/B,QAAQ,EAAE,kBAAkB,GAC3B,aAAa,CAMf;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,OAAO,EACpB,eAAe,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,EACzC,QAAQ,EAAE,kBAAkB,GAC3B,aAAa,CAOf;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,OAAO,EACnB,aAAa,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,EACvC,OAAO,EAAE,kBAAkB,GAC1B,aAAa,CAGf;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAClD,WAAW,EAAE,OAAO,EACpB,aAAa,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,EACvC,QAAQ,EAAE,kBAAkB,GAC3B,aAAa,CAiBf;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CACxD,iBAAiB,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,EAC7C,UAAU,EAAE,MAAM,GACjB,aAAa,CAAC,OAAO,CAAC,EAAE,CAiC1B;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CACnD,aAAa,EAAE,aAAa,CAAC,OAAO,CAAC,EACrC,OAAO,EAAE,kBAAkB,GAC1B,MAAM,CAoCR"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Optional chaining pattern analysis and CEL generation
|
|
3
|
-
* for the Enhanced Type Optionality Handler.
|
|
4
|
-
*
|
|
5
|
-
* These standalone functions handle analyzing optional chaining patterns
|
|
6
|
-
* in expressions with Enhanced types and generating corresponding CEL expressions.
|
|
7
|
-
*/
|
|
8
|
-
import type { KubernetesRef } from '../../types/common.js';
|
|
9
|
-
import type { CelConversionResult } from '../analysis/shared-types.js';
|
|
10
|
-
import type { EnhancedTypeFieldInfo, OptionalChainingPattern, OptionalityContext } from './optionality-types.js';
|
|
11
|
-
/**
|
|
12
|
-
* Analyze optional chaining patterns in expressions with Enhanced types
|
|
13
|
-
*/
|
|
14
|
-
export declare function analyzeOptionalChainingPatterns(expression: unknown, context: OptionalityContext): {
|
|
15
|
-
patterns: OptionalChainingPattern[];
|
|
16
|
-
enhancedTypeFields: EnhancedTypeFieldInfo[];
|
|
17
|
-
requiresSpecialHandling: boolean;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Analyze Enhanced type field information
|
|
21
|
-
*/
|
|
22
|
-
export declare function analyzeEnhancedTypeField(kubernetesRef: KubernetesRef<unknown>, context: OptionalityContext): EnhancedTypeFieldInfo;
|
|
23
|
-
/**
|
|
24
|
-
* Generate CEL expression for optional chaining with Enhanced types
|
|
25
|
-
*/
|
|
26
|
-
export declare function generateOptionalChainingCelExpression(expression: unknown, optionalChainingAnalysis: {
|
|
27
|
-
patterns: OptionalChainingPattern[];
|
|
28
|
-
enhancedTypeFields: EnhancedTypeFieldInfo[];
|
|
29
|
-
requiresSpecialHandling: boolean;
|
|
30
|
-
}, context: OptionalityContext, analyzeAndGenerate: (expr: unknown, ctx: OptionalityContext) => CelConversionResult): CelConversionResult;
|
|
31
|
-
/**
|
|
32
|
-
* Generate Kro CEL expression with ? prefix operator for optional chaining
|
|
33
|
-
*
|
|
34
|
-
* Kro uses the ? operator as a prefix before field names for optional access
|
|
35
|
-
*/
|
|
36
|
-
export declare function generateKroOptionalChainingExpression(patterns: OptionalChainingPattern[], _context: OptionalityContext): string;
|
|
37
|
-
/**
|
|
38
|
-
* Convert a field path to Kro's ? prefix optional syntax
|
|
39
|
-
* Example: resources.service.status.loadBalancer.ingress[0].ip
|
|
40
|
-
* Becomes: resources.service.status.?loadBalancer.?ingress[0].?ip
|
|
41
|
-
*
|
|
42
|
-
* The ? operator should be placed before fields that might not exist
|
|
43
|
-
*/
|
|
44
|
-
export declare function convertToKroOptionalSyntax(resourcePath: string): string;
|
|
45
|
-
/**
|
|
46
|
-
* Generate has() check expression for optional chaining
|
|
47
|
-
*/
|
|
48
|
-
export declare function generateHasCheckOptionalChainingExpression(patterns: OptionalChainingPattern[], _context: OptionalityContext): string;
|
|
49
|
-
/**
|
|
50
|
-
* Generate nested has() checks for a field path
|
|
51
|
-
*/
|
|
52
|
-
export declare function generateNestedHasChecksForPath(resourcePath: string): string[];
|
|
53
|
-
/**
|
|
54
|
-
* Calculate chaining depth for a field path
|
|
55
|
-
*/
|
|
56
|
-
export declare function calculateChainingDepth(fieldPath: string): number;
|
|
57
|
-
/**
|
|
58
|
-
* Generate optional chaining CEL pattern for a KubernetesRef
|
|
59
|
-
*/
|
|
60
|
-
export declare function generateOptionalChainingCelPattern(kubernetesRef: KubernetesRef<unknown>, context: OptionalityContext): string;
|
|
61
|
-
//# sourceMappingURL=optionality-optional-chaining.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"optionality-optional-chaining.d.ts","sourceRoot":"","sources":["../../../../src/core/expressions/magic-proxy/optionality-optional-chaining.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAiB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAOvE,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,OAAO,EACnB,OAAO,EAAE,kBAAkB,GAC1B;IACD,QAAQ,EAAE,uBAAuB,EAAE,CAAC;IACpC,kBAAkB,EAAE,qBAAqB,EAAE,CAAC;IAC5C,uBAAuB,EAAE,OAAO,CAAC;CAClC,CAkCA;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,aAAa,EAAE,aAAa,CAAC,OAAO,CAAC,EACrC,OAAO,EAAE,kBAAkB,GAC1B,qBAAqB,CAkBvB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,OAAO,EACnB,wBAAwB,EAAE;IACxB,QAAQ,EAAE,uBAAuB,EAAE,CAAC;IACpC,kBAAkB,EAAE,qBAAqB,EAAE,CAAC;IAC5C,uBAAuB,EAAE,OAAO,CAAC;CAClC,EACD,OAAO,EAAE,kBAAkB,EAC3B,kBAAkB,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,kBAAkB,KAAK,mBAAmB,GAClF,mBAAmB,CA4DrB;AAED;;;;GAIG;AACH,wBAAgB,qCAAqC,CACnD,QAAQ,EAAE,uBAAuB,EAAE,EACnC,QAAQ,EAAE,kBAAkB,GAC3B,MAAM,CAwBR;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CA0BvE;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CACxD,QAAQ,EAAE,uBAAuB,EAAE,EACnC,QAAQ,EAAE,kBAAkB,GAC3B,MAAM,CAqBR;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CAU7E;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAEhE;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAChD,aAAa,EAAE,aAAa,CAAC,OAAO,CAAC,EACrC,OAAO,EAAE,kBAAkB,GAC1B,MAAM,CAcR"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Resource Field Utilities
|
|
3
|
-
*
|
|
4
|
-
* Kubernetes field knowledge utilities for resource reference validation.
|
|
5
|
-
* These functions handle field type resolution, field availability checking,
|
|
6
|
-
* similarity matching, and deprecation detection.
|
|
7
|
-
*/
|
|
8
|
-
import type { KubernetesRef } from '../../types/common.js';
|
|
9
|
-
import type { Enhanced } from '../../types/kubernetes.js';
|
|
10
|
-
import type { SchemaProxy } from '../../types/serialization.js';
|
|
11
|
-
import type { ResourceValidationMetadata } from './resource-validation-types.js';
|
|
12
|
-
import type { TypeInfo } from './type-safety.js';
|
|
13
|
-
/**
|
|
14
|
-
* Get field type from schema proxy
|
|
15
|
-
*/
|
|
16
|
-
export declare function getSchemaFieldType(_schemaProxy: SchemaProxy<Record<string, unknown>, Record<string, unknown>>, _fieldPath: string): TypeInfo | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Get field type from a resource
|
|
19
|
-
*/
|
|
20
|
-
export declare function getResourceFieldType(_resource: Enhanced<unknown, unknown>, fieldPath: string): TypeInfo | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* Get available fields from a schema proxy
|
|
23
|
-
*/
|
|
24
|
-
export declare function getAvailableSchemaFields(_schemaProxy: SchemaProxy<Record<string, unknown>, Record<string, unknown>>): string[];
|
|
25
|
-
/**
|
|
26
|
-
* Get available fields from a resource
|
|
27
|
-
*/
|
|
28
|
-
export declare function getAvailableResourceFields(resource: Enhanced<unknown, unknown>): string[];
|
|
29
|
-
/**
|
|
30
|
-
* Check if a field path is a common Kubernetes field
|
|
31
|
-
*/
|
|
32
|
-
export declare function isCommonKubernetesField(fieldPath: string): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Find similar field names using string similarity
|
|
35
|
-
*/
|
|
36
|
-
export declare function findSimilarFieldNames(target: string, available: string[]): string[];
|
|
37
|
-
/**
|
|
38
|
-
* Find similar resource names using string similarity
|
|
39
|
-
*/
|
|
40
|
-
export declare function findSimilarResourceNames(target: string, available: string[]): string[];
|
|
41
|
-
/**
|
|
42
|
-
* Check if a field is deprecated
|
|
43
|
-
*/
|
|
44
|
-
export declare function isDeprecatedField(_resource: Enhanced<unknown, unknown>, fieldPath: string): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Get replacement for a deprecated field
|
|
47
|
-
*/
|
|
48
|
-
export declare function getFieldReplacement(_resource: Enhanced<unknown, unknown>, fieldPath: string): string | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* Check if accessing a field has performance implications
|
|
51
|
-
*/
|
|
52
|
-
export declare function hasPerformanceImplications(_resource: Enhanced<unknown, unknown>, fieldPath: string): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Extract API version from a resource
|
|
55
|
-
*/
|
|
56
|
-
export declare function getResourceApiVersion(_resource: Enhanced<unknown, unknown>): string | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Extract kind from a resource
|
|
59
|
-
*/
|
|
60
|
-
export declare function getResourceKind(resource: Enhanced<unknown, unknown>): string | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Get the result type from a reference chain
|
|
63
|
-
*/
|
|
64
|
-
export declare function getChainResultType(refs: KubernetesRef<unknown>[]): TypeInfo | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* Create default validation metadata
|
|
67
|
-
*/
|
|
68
|
-
export declare function createDefaultMetadata(): ResourceValidationMetadata;
|
|
69
|
-
//# sourceMappingURL=resource-field-utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource-field-utils.d.ts","sourceRoot":"","sources":["../../../../src/core/expressions/validation/resource-field-utils.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAC3E,UAAU,EAAE,MAAM,GACjB,QAAQ,GAAG,SAAS,CAItB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,EACrC,SAAS,EAAE,MAAM,GAChB,QAAQ,GAAG,SAAS,CAsDtB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,EAAE,CAG9H;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,MAAM,EAAE,CA2EzF;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAsClE;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAQnF;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAOtF;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAInG;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,EACrC,SAAS,EAAE,MAAM,GAChB,MAAM,GAAG,SAAS,CAQpB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,EACrC,SAAS,EAAE,MAAM,GAChB,OAAO,CAIT;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,MAAM,GAAG,SAAS,CAG/F;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,MAAM,GAAG,SAAS,CAGxF;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,GAAG,QAAQ,GAAG,SAAS,CAQvF;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,0BAA0B,CAUlE"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as http from 'node:http';
|
|
2
|
-
import * as https from 'node:https';
|
|
3
|
-
import type * as k8s from '@kubernetes/client-node';
|
|
4
|
-
export interface KubernetesWatch {
|
|
5
|
-
watch(path: string, queryParams: Record<string, string | number | boolean | undefined>, callback: (phase: string, apiObj: unknown, watchObj: unknown) => void, done: (error: unknown) => void): Promise<{
|
|
6
|
-
abort(): void;
|
|
7
|
-
}>;
|
|
8
|
-
}
|
|
9
|
-
export type BunWatchRequestFactory = (protocol: 'http:' | 'https:', options: https.RequestOptions, callback: (response: http.IncomingMessage) => void) => http.ClientRequest;
|
|
10
|
-
/**
|
|
11
|
-
* Streaming Kubernetes watch transport for Bun.
|
|
12
|
-
*
|
|
13
|
-
* The upstream Watch uses node-fetch and passes client certificates through an
|
|
14
|
-
* https.Agent. Bun's fetch compatibility layer does not reliably honor that
|
|
15
|
-
* agent, which turns an authenticated kubeconfig into `system:anonymous`.
|
|
16
|
-
* This implementation applies KubeConfig authentication, extracts the TLS
|
|
17
|
-
* material, and sends it directly through node:https like the ordinary Bun API
|
|
18
|
-
* transport.
|
|
19
|
-
*/
|
|
20
|
-
export declare class BunCompatibleWatch implements KubernetesWatch {
|
|
21
|
-
private readonly kubeConfig;
|
|
22
|
-
private readonly requestFactory;
|
|
23
|
-
constructor(kubeConfig: k8s.KubeConfig, requestFactory?: BunWatchRequestFactory);
|
|
24
|
-
watch(path: string, queryParams: Record<string, string | number | boolean | undefined>, callback: (phase: string, apiObj: unknown, watchObj: unknown) => void, done: (error: unknown) => void): Promise<{
|
|
25
|
-
abort(): void;
|
|
26
|
-
}>;
|
|
27
|
-
}
|
|
28
|
-
export declare function createWatchForRuntime(kubeConfig: k8s.KubeConfig): KubernetesWatch;
|
|
29
|
-
export declare function watchErrorMessage(error: unknown): string;
|
|
30
|
-
//# sourceMappingURL=bun-watch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bun-watch.d.ts","sourceRoot":"","sources":["../../../src/core/kubernetes/bun-watch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,GAAG,MAAM,yBAAyB,CAAC;AAKpD,MAAM,WAAW,eAAe;IAC9B,KAAK,CACH,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAClE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,EACrE,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GAC7B,OAAO,CAAC;QAAE,KAAK,IAAI,IAAI,CAAA;KAAE,CAAC,CAAC;CAC/B;AAOD,MAAM,MAAM,sBAAsB,GAAG,CACnC,QAAQ,EAAE,OAAO,GAAG,QAAQ,EAC5B,OAAO,EAAE,KAAK,CAAC,cAAc,EAC7B,QAAQ,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC,eAAe,KAAK,IAAI,KAC/C,IAAI,CAAC,aAAa,CAAC;AAWxB;;;;;;;;;GASG;AACH,qBAAa,kBAAmB,YAAW,eAAe;IAEtD,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,cAAc;gBADd,UAAU,EAAE,GAAG,CAAC,UAAU,EAC1B,cAAc,GAAE,sBAA8C;IAG3E,KAAK,CACT,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAClE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,EACrE,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GAC7B,OAAO,CAAC;QAAE,KAAK,IAAI,IAAI,CAAA;KAAE,CAAC;CA+G9B;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,GAAG,CAAC,UAAU,GAAG,eAAe,CAIjF;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAKxD"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type * as KubernetesClientNode from '@kubernetes/client-node';
|
|
2
|
-
/**
|
|
3
|
-
* Load the Kubernetes SDK only when a caller actually needs cluster I/O.
|
|
4
|
-
*
|
|
5
|
-
* The SDK's legacy HTTP dependency emits Node's `punycode` deprecation during
|
|
6
|
-
* module evaluation. Keeping it behind this boundary makes TypeKro package
|
|
7
|
-
* imports quiet and avoids loading the full client for planning and YAML work.
|
|
8
|
-
*/
|
|
9
|
-
export declare function getKubernetesClientNode(): typeof KubernetesClientNode;
|
|
10
|
-
//# sourceMappingURL=client-node-runtime.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client-node-runtime.d.ts","sourceRoot":"","sources":["../../../src/core/kubernetes/client-node-runtime.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,oBAAoB,MAAM,yBAAyB,CAAC;AAKrE;;;;;;GAMG;AACH,wBAAgB,uBAAuB,IAAI,OAAO,oBAAoB,CAGrE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Core Proxy Engine
|
|
3
|
-
*
|
|
4
|
-
* Exports the foundational `createResource` function and its options type.
|
|
5
|
-
*/
|
|
6
|
-
export type { CreateResourceOptions } from './create-resource.js';
|
|
7
|
-
export { createResource } from './create-resource.js';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/proxy/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Known status fields for standard Kubernetes resource kinds
|
|
3
|
-
*
|
|
4
|
-
* Used by the proxy's status property access trap to detect typos at runtime
|
|
5
|
-
* when debug mode is enabled. Only fires for known K8s kinds — CRDs and
|
|
6
|
-
* cross-composition references have unknown kinds, so no false positives.
|
|
7
|
-
*
|
|
8
|
-
* @see ROADMAP.md Phase 2.12
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Check if a status field access looks like a typo of a known field.
|
|
12
|
-
*
|
|
13
|
-
* Returns the closest known field name if the accessed property:
|
|
14
|
-
* 1. Is NOT already a known field for the kind
|
|
15
|
-
* 2. Has a Levenshtein distance ≤ MAX_TYPO_DISTANCE to a known field
|
|
16
|
-
* 3. The kind is in the KNOWN_STATUS_FIELDS registry
|
|
17
|
-
*
|
|
18
|
-
* Returns `null` if no typo is detected (either valid field, unknown kind,
|
|
19
|
-
* or no close match found).
|
|
20
|
-
*/
|
|
21
|
-
export declare function detectStatusFieldTypo(kind: string, accessedField: string): string | null;
|
|
22
|
-
/**
|
|
23
|
-
* Get the list of known status fields for a kind.
|
|
24
|
-
* Returns undefined for unknown kinds.
|
|
25
|
-
*/
|
|
26
|
-
export declare function getKnownStatusFields(kind: string): readonly string[] | undefined;
|
|
27
|
-
//# sourceMappingURL=known-status-fields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"known-status-fields.d.ts","sourceRoot":"","sources":["../../../src/core/proxy/known-status-fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA6IH;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CA8BxF;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAEhF"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { PlanValue } from '../planning/types.js';
|
|
2
|
-
type LiteralValue = string | number | boolean | null;
|
|
3
|
-
export declare function readinessLiteral(value: LiteralValue): PlanValue;
|
|
4
|
-
export declare function readinessConfiguration(entries: Readonly<Record<string, PlanValue | undefined>>): PlanValue;
|
|
5
|
-
export declare function optionalReadinessString(configuration: PlanValue | undefined, key: string): string | undefined;
|
|
6
|
-
export declare function requiredReadinessString(configuration: PlanValue | undefined, key: string): string;
|
|
7
|
-
export declare function optionalReadinessNumber(configuration: PlanValue | undefined, key: string): number | undefined;
|
|
8
|
-
export declare function optionalReadinessBoolean(configuration: PlanValue | undefined, key: string): boolean | undefined;
|
|
9
|
-
export declare function requiredReadinessNumber(configuration: PlanValue | undefined, key: string): number;
|
|
10
|
-
export declare function requiredReadinessBoolean(configuration: PlanValue | undefined, key: string): boolean;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=strategy-configuration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"strategy-configuration.d.ts","sourceRoot":"","sources":["../../../src/core/readiness/strategy-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,KAAK,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAErD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,YAAY,GAAG,SAAS,CAE/D;AAED,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS,CAAC,CAAC,GACvD,SAAS,CAQX;AASD,wBAAgB,uBAAuB,CACrC,aAAa,EAAE,SAAS,GAAG,SAAS,EACpC,GAAG,EAAE,MAAM,GACV,MAAM,GAAG,SAAS,CAGpB;AAED,wBAAgB,uBAAuB,CACrC,aAAa,EAAE,SAAS,GAAG,SAAS,EACpC,GAAG,EAAE,MAAM,GACV,MAAM,CAMR;AAED,wBAAgB,uBAAuB,CACrC,aAAa,EAAE,SAAS,GAAG,SAAS,EACpC,GAAG,EAAE,MAAM,GACV,MAAM,GAAG,SAAS,CAGpB;AAED,wBAAgB,wBAAwB,CACtC,aAAa,EAAE,SAAS,GAAG,SAAS,EACpC,GAAG,EAAE,MAAM,GACV,OAAO,GAAG,SAAS,CAGrB;AAED,wBAAgB,uBAAuB,CAAC,aAAa,EAAE,SAAS,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAMjG;AAED,wBAAgB,wBAAwB,CACtC,aAAa,EAAE,SAAS,GAAG,SAAS,EACpC,GAAG,EAAE,MAAM,GACV,OAAO,CAMT"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Preserve offsets while hiding quoted CEL data from reference scanners.
|
|
3
|
-
*
|
|
4
|
-
* "Preserve offsets" is the whole contract, and it is a contract about UTF-16
|
|
5
|
-
* **code units**, because that is what `String.prototype.indexOf`, `slice`,
|
|
6
|
-
* `length` and every `RegExpExecArray.index` in the callers are counted in. So
|
|
7
|
-
* the walk is by code unit — `split('')` — and every blanked unit becomes one
|
|
8
|
-
* space, which makes `maskCelStringLiterals(x).length === x.length` for every
|
|
9
|
-
* input.
|
|
10
|
-
*
|
|
11
|
-
* Iterating by *code point* (`[...expression]`, `Array.from`, `for…of`, a `/u`
|
|
12
|
-
* regex replacing each match with a single space) breaks it silently: an astral
|
|
13
|
-
* character — an emoji, anything above U+FFFF — is one code point and two code
|
|
14
|
-
* units, so blanking it emits one space where the original had two units, and
|
|
15
|
-
* every offset after it drifts by one between the mask and the text it is
|
|
16
|
-
* supposed to index. A caller then slices a fragment one character short, reads
|
|
17
|
-
* a bracket index that points between two tokens, or re-lexes a literal from
|
|
18
|
-
* the wrong place — and only for expressions that happen to contain an emoji
|
|
19
|
-
* inside a string, which is exactly the bug that does not show up in a test
|
|
20
|
-
* suite written in ASCII.
|
|
21
|
-
*/
|
|
22
|
-
export declare function maskCelStringLiterals(expression: string): string;
|
|
23
|
-
/** Half-open `[start, end)` range of one closed CEL string literal, quotes included. */
|
|
24
|
-
export interface CelStringLiteralSpan {
|
|
25
|
-
readonly start: number;
|
|
26
|
-
readonly end: number;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* End of the `STRING_LIT`/`BYTES_LIT` token starting at `at`, or `at` for none.
|
|
30
|
-
*
|
|
31
|
-
* The langdef lexis (cel-spec `doc/langdef.md`) is
|
|
32
|
-
* `STRING_LIT ::= [rR]? ( '"' ~('"'|NEWLINE)* '"' | "'" ~("'"|NEWLINE)* "'"`
|
|
33
|
-
* `| '"""' ~'"""'* '"""' | "'''" ~"'''"* "'''" )` and
|
|
34
|
-
* `BYTES_LIT ::= [bB] STRING_LIT`. cel-go accepts the two prefix letters in
|
|
35
|
-
* either order and in either case, so at most one of each is taken. A prefix
|
|
36
|
-
* letter with no quote behind it is not a string at all and is handed back for
|
|
37
|
-
* `IDENT` to consume, which is what makes `b + "x"` an identifier, an operator
|
|
38
|
-
* and a string rather than a bytes literal.
|
|
39
|
-
*
|
|
40
|
-
* Escapes are lexed in the NON-raw forms only: cel-go's lexer spells the raw
|
|
41
|
-
* forms `RAW '"' ~["\n\r]* '"'`, with no `ESC_SEQ` alternative, so the `"` in
|
|
42
|
-
* `r"a\"` CLOSES the literal. A single-delimiter form cannot span a newline; a
|
|
43
|
-
* triple-quoted one can, and closes at the first matching triple. An
|
|
44
|
-
* unterminated literal is not a token — the caller then steps over the opening
|
|
45
|
-
* quote as ordinary text, which is the behaviour marker-laden template text
|
|
46
|
-
* depends on.
|
|
47
|
-
*
|
|
48
|
-
* This is the STRING-ONLY entry point: it knows nothing about `//` comments, so
|
|
49
|
-
* a caller that runs over text which is not wholly CEL — KRO mixed templates,
|
|
50
|
-
* where `http://` must not read as a comment — can lex the literal family
|
|
51
|
-
* completely without inheriting comment masking. Callers that ARE looking at
|
|
52
|
-
* whole CEL expressions want {@link maskClosedCelLiteralsAndComments} instead.
|
|
53
|
-
*/
|
|
54
|
-
export declare function celStringLiteralEnd(text: string, at: number): number;
|
|
55
|
-
/**
|
|
56
|
-
* End of the `COMMENT ::= '//' ~NEWLINE*` starting at `at`, or `at` for none.
|
|
57
|
-
*
|
|
58
|
-
* The comment stops BEFORE its newline, so masking one never disturbs the line
|
|
59
|
-
* structure of a multi-line expression.
|
|
60
|
-
*
|
|
61
|
-
* Exported as the comment half of this lexis, the sibling of
|
|
62
|
-
* {@link celStringLiteralEnd}, for callers that walk a REGION of CEL rather
|
|
63
|
-
* than a whole expression and so cannot use the whole-text masks below. Such a
|
|
64
|
-
* caller owes itself the ordering rule {@link celLiteralRegions} encodes: ask
|
|
65
|
-
* this question and the string question at the same index, in one source-ordered
|
|
66
|
-
* walk, so that a `//` inside a literal opens no comment and a quote inside a
|
|
67
|
-
* comment opens no literal.
|
|
68
|
-
*/
|
|
69
|
-
export declare function celLineCommentEnd(text: string, at: number): number;
|
|
70
|
-
/**
|
|
71
|
-
* Locate every CLOSED CEL string literal in `expression`, in source order.
|
|
72
|
-
*
|
|
73
|
-
* The whole `STRING_LIT`/`BYTES_LIT` family is recognised — `r`/`R`/`b`/`B`
|
|
74
|
-
* prefixes in either order, the two triple-quoted forms, escapes in the non-raw
|
|
75
|
-
* forms — and the span INCLUDES the prefix letters, because they are part of
|
|
76
|
-
* the token.
|
|
77
|
-
*
|
|
78
|
-
* The walk is source-ordered and consumes an `IDENT` whole, which is what keeps
|
|
79
|
-
* a prefix letter that merely ENDS an identifier from opening a literal:
|
|
80
|
-
* `ab"x"` is the identifier `ab` followed by a string, never a bytes literal.
|
|
81
|
-
* Restarting the scan at every character cannot make that distinction. A quote
|
|
82
|
-
* inside a `//` comment opens no literal — see {@link celLiteralRegions}.
|
|
83
|
-
*
|
|
84
|
-
* A quote that is never terminated is NOT reported as a literal: callers run
|
|
85
|
-
* over text that is not always well-formed CEL — marker-laden strings derived
|
|
86
|
-
* from template literals may carry a bare apostrophe (`it's ready`) — and
|
|
87
|
-
* swallowing the rest of such a string would silently suppress substitutions
|
|
88
|
-
* in real expression text. Offsets index UTF-16 code units so a caller can
|
|
89
|
-
* splice by them.
|
|
90
|
-
*/
|
|
91
|
-
export declare function celStringLiteralSpans(expression: string): CelStringLiteralSpan[];
|
|
92
|
-
/**
|
|
93
|
-
* Blank out every CLOSED CEL string literal AND every `//` line comment.
|
|
94
|
-
*
|
|
95
|
-
* This is what a scanner that REWRITES an expression must read: a token inside
|
|
96
|
-
* quoted data is not a reference, and neither is one inside a comment. Offsets
|
|
97
|
-
* and length are preserved exactly — one space per UTF-16 code unit, newlines
|
|
98
|
-
* left in place — so a caller may match over the masked copy and splice
|
|
99
|
-
* replacements into the original text at the reported offsets.
|
|
100
|
-
*/
|
|
101
|
-
export declare function maskClosedCelLiteralsAndComments(expression: string): string;
|
|
102
|
-
export interface CelLambdaScope {
|
|
103
|
-
readonly variable: string;
|
|
104
|
-
readonly bodyStart: number;
|
|
105
|
-
readonly bodyEnd: number;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Locate each lexical CEL collection-macro body without treating a lambda
|
|
109
|
-
* identifier as expression-global.
|
|
110
|
-
*/
|
|
111
|
-
export declare function collectCelLambdaScopes(expression: string): CelLambdaScope[];
|
|
112
|
-
export declare function isCelLambdaLocalAt(identifier: string, offset: number, scopes: readonly CelLambdaScope[]): boolean;
|
|
113
|
-
//# sourceMappingURL=cel-lexical-scanner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cel-lexical-scanner.d.ts","sourceRoot":"","sources":["../../../src/core/references/cel-lexical-scanner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAuBhE;AAED,wFAAwF;AACxF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AASD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CA6BpE;AAUD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAIlE;AAqDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,oBAAoB,EAAE,CAIhF;AAED;;;;;;;;GAQG;AACH,wBAAgB,gCAAgC,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAE3E;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,EAAE,CAqB3E;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,SAAS,cAAc,EAAE,GAChC,OAAO,CAIT"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface StandaloneOperationOptions {
|
|
2
|
-
readonly abortSignals?: readonly (AbortSignal | undefined)[];
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* Run one standalone TypeKro operation in one lazily loaded Effect scope.
|
|
6
|
-
*
|
|
7
|
-
* The Promise facade preserves the original rejection value. Effect causes
|
|
8
|
-
* and FiberFailure wrappers never cross the public boundary.
|
|
9
|
-
*/
|
|
10
|
-
export declare function runStandaloneOperation<A>(operation: (abortSignal: AbortSignal) => Promise<A>, options?: StandaloneOperationOptions): Promise<A>;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=standalone-operation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standalone-operation.d.ts","sourceRoot":"","sources":["../../../src/core/runtime/standalone-operation.ts"],"names":[],"mappings":"AAAA,UAAU,0BAA0B;IAClC,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,SAAS,CAAC,EAAE,CAAC;CAC9D;AAsCD;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAAC,CAAC,EAC5C,SAAS,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,OAAO,CAAC,CAAC,CAAC,EACnD,OAAO,GAAE,0BAA+B,GACvC,OAAO,CAAC,CAAC,CAAC,CA+BZ"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CRD Patcher Utilities
|
|
3
|
-
*
|
|
4
|
-
* Provides utilities to patch existing CRDs in a Kubernetes cluster to fix
|
|
5
|
-
* schema validation issues that occur with newer Kubernetes versions (1.33+).
|
|
6
|
-
*
|
|
7
|
-
* This is useful when CRDs were installed before the schema fix was available,
|
|
8
|
-
* and you need to update them without deleting and recreating.
|
|
9
|
-
*/
|
|
10
|
-
import type * as k8s from '@kubernetes/client-node';
|
|
11
|
-
/**
|
|
12
|
-
* Check if a CRD needs the schema fix
|
|
13
|
-
*/
|
|
14
|
-
export declare function crdNeedsSchemaFix(crd: unknown): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Patch a CRD in the cluster to fix schema validation issues
|
|
17
|
-
*
|
|
18
|
-
* @param kubeConfig - Kubernetes configuration
|
|
19
|
-
* @param crdName - Name of the CRD to patch (e.g., 'helmreleases.helm.toolkit.fluxcd.io')
|
|
20
|
-
* @returns true if the CRD was patched, false if no patch was needed
|
|
21
|
-
*/
|
|
22
|
-
export declare function patchCRDSchema(kubeConfig: k8s.KubeConfig, crdName: string): Promise<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* Patch all Flux CRDs that need the schema fix
|
|
25
|
-
*
|
|
26
|
-
* @param kubeConfig - Kubernetes configuration
|
|
27
|
-
* @returns Number of CRDs that were patched
|
|
28
|
-
*/
|
|
29
|
-
export declare function patchFluxCRDSchemas(kubeConfig: k8s.KubeConfig): Promise<number>;
|
|
30
|
-
//# sourceMappingURL=crd-patcher.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crd-patcher.d.ts","sourceRoot":"","sources":["../../../src/core/runtime-patches/crd-patcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,KAAK,GAAG,MAAM,yBAAyB,CAAC;AASpD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAiCvD;AAED;;;;;;GAMG;AACH,wBAAsB,cAAc,CAClC,UAAU,EAAE,GAAG,CAAC,UAAU,EAC1B,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,OAAO,CAAC,CAoDlB;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,UAAU,EAAE,GAAG,CAAC,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAyBrF"}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CRD Schema Fix Utilities
|
|
3
|
-
*
|
|
4
|
-
* Provides utilities to fix CRD schema validation issues that occur with newer
|
|
5
|
-
* Kubernetes versions (1.33+) which have stricter OpenAPI schema validation.
|
|
6
|
-
*
|
|
7
|
-
* ## Background
|
|
8
|
-
*
|
|
9
|
-
* Kubernetes 1.33 introduced stricter validation for CRD schemas. Specifically,
|
|
10
|
-
* when a field uses `x-kubernetes-preserve-unknown-fields: true`, it now requires
|
|
11
|
-
* a `type` field to be present. Many CRDs (including Flux) don't include this,
|
|
12
|
-
* causing 422 validation errors.
|
|
13
|
-
*
|
|
14
|
-
* ## Usage
|
|
15
|
-
*
|
|
16
|
-
* This utility should be used in bootstrap compositions that install CRDs from
|
|
17
|
-
* external sources (like Flux install.yaml) that may not be compatible with
|
|
18
|
-
* newer Kubernetes versions.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import { fixCRDSchemaForK8s133 } from '../../../core/runtime-patches/crd-schema-fix.js';
|
|
23
|
-
*
|
|
24
|
-
* // In a yamlFile transform or custom deployment logic:
|
|
25
|
-
* const fixedManifests = manifests.map(m => fixCRDSchemaForK8s133(m));
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* ## Smart Application
|
|
29
|
-
*
|
|
30
|
-
* The `needsCRDSchemaFix` function can be used to check if a CRD actually needs
|
|
31
|
-
* the fix before applying it. This is useful when using 'replace' strategy to
|
|
32
|
-
* avoid overwriting manual patches on existing clusters.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```typescript
|
|
36
|
-
* import { needsCRDSchemaFix, fixCRDSchemaForK8s133 } from '../../../core/runtime-patches/crd-schema-fix.js';
|
|
37
|
-
*
|
|
38
|
-
* // Only apply fix if needed
|
|
39
|
-
* const transform = (manifest) => {
|
|
40
|
-
* if (needsCRDSchemaFix(manifest)) {
|
|
41
|
-
* return fixCRDSchemaForK8s133(manifest);
|
|
42
|
-
* }
|
|
43
|
-
* return manifest;
|
|
44
|
-
* };
|
|
45
|
-
* ```
|
|
46
|
-
*/
|
|
47
|
-
import type { KubernetesResource } from '../types/kubernetes.js';
|
|
48
|
-
/**
|
|
49
|
-
* Known field paths that need x-kubernetes-preserve-unknown-fields: true
|
|
50
|
-
* These are fields that accept arbitrary user-defined values (like Helm values)
|
|
51
|
-
*/
|
|
52
|
-
/**
|
|
53
|
-
* Known field paths that need x-kubernetes-preserve-unknown-fields: true
|
|
54
|
-
* These are fields that accept arbitrary user-defined values (like Helm values)
|
|
55
|
-
*
|
|
56
|
-
* Shared across crd-schema-fix.ts (manifest transform), crd-patcher.ts (live cluster patching),
|
|
57
|
-
* and yaml-file.ts (CRD JSON patching after deployment).
|
|
58
|
-
*/
|
|
59
|
-
export declare const FIELDS_NEEDING_PRESERVE_UNKNOWN: Set<string>;
|
|
60
|
-
/**
|
|
61
|
-
* Result of checking if a CRD needs schema fixes
|
|
62
|
-
*/
|
|
63
|
-
export interface CRDSchemaCheckResult {
|
|
64
|
-
/** Whether the CRD needs any fixes */
|
|
65
|
-
needsFix: boolean;
|
|
66
|
-
/** List of issues found that need fixing */
|
|
67
|
-
issues: string[];
|
|
68
|
-
/** CRD name if available */
|
|
69
|
-
crdName?: string;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Recursively check if a schema node needs the preserve-unknown-fields fix.
|
|
73
|
-
*
|
|
74
|
-
* Used by crd-patcher.ts for fast boolean checks before generating patches.
|
|
75
|
-
*
|
|
76
|
-
* @param obj - Schema node to check
|
|
77
|
-
* @param fieldName - Field name for known-field matching
|
|
78
|
-
* @returns true if this node or any descendant needs the fix
|
|
79
|
-
*/
|
|
80
|
-
export declare function schemaFieldNeedsFix(obj: any, fieldName?: string): boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Generate JSON patch operations to fix a CRD schema node.
|
|
83
|
-
*
|
|
84
|
-
* Used by crd-patcher.ts (live cluster patching) and yaml-file.ts (post-deployment CRD fixing).
|
|
85
|
-
*
|
|
86
|
-
* @param obj - Schema node to generate patches for
|
|
87
|
-
* @param basePath - JSON pointer base path (e.g., `/spec/versions/0/schema/openAPIV3Schema`)
|
|
88
|
-
* @param fieldName - Field name for known-field matching
|
|
89
|
-
* @returns Array of JSON patch operations
|
|
90
|
-
*/
|
|
91
|
-
export declare function generateSchemaFixPatches(obj: any, basePath: string, fieldName?: string): Array<{
|
|
92
|
-
op: string;
|
|
93
|
-
path: string;
|
|
94
|
-
value: unknown;
|
|
95
|
-
}>;
|
|
96
|
-
/**
|
|
97
|
-
* Check if a CRD schema has issues that need fixing for Kubernetes 1.33+
|
|
98
|
-
*
|
|
99
|
-
* This function performs a non-destructive check to determine if a CRD
|
|
100
|
-
* has schema validation issues without modifying the manifest.
|
|
101
|
-
*
|
|
102
|
-
* @param manifest - A Kubernetes resource manifest
|
|
103
|
-
* @returns Check result indicating if fixes are needed and what issues were found
|
|
104
|
-
*/
|
|
105
|
-
export declare function needsCRDSchemaFix(manifest: KubernetesResource): CRDSchemaCheckResult;
|
|
106
|
-
/**
|
|
107
|
-
* Fix CRD schema validation issues for Kubernetes 1.33+
|
|
108
|
-
*
|
|
109
|
-
* Kubernetes 1.33 requires a `type` field when `x-kubernetes-preserve-unknown-fields` is used.
|
|
110
|
-
* This function patches CRDs to:
|
|
111
|
-
* 1. Add `type: object` to fields that use `x-kubernetes-preserve-unknown-fields` without a type
|
|
112
|
-
* 2. Add `x-kubernetes-preserve-unknown-fields: true` to known Helm values fields that need it
|
|
113
|
-
*
|
|
114
|
-
* @param manifest - A Kubernetes resource manifest
|
|
115
|
-
* @returns The manifest with CRD schema fixes applied (or unchanged if not a CRD)
|
|
116
|
-
*/
|
|
117
|
-
export declare function fixCRDSchemaForK8s133(manifest: KubernetesResource): KubernetesResource;
|
|
118
|
-
/**
|
|
119
|
-
* Apply CRD schema fixes to an array of manifests
|
|
120
|
-
*
|
|
121
|
-
* @param manifests - Array of Kubernetes resource manifests
|
|
122
|
-
* @returns Array with CRD schema fixes applied to any CRDs
|
|
123
|
-
*/
|
|
124
|
-
export declare function fixCRDSchemasForK8s133(manifests: KubernetesResource[]): KubernetesResource[];
|
|
125
|
-
/**
|
|
126
|
-
* Smart CRD schema fix that only applies changes when needed
|
|
127
|
-
*
|
|
128
|
-
* This function checks if a CRD actually needs the fix before applying it.
|
|
129
|
-
* This is useful when using 'replace' strategy to avoid overwriting manual
|
|
130
|
-
* patches on existing clusters.
|
|
131
|
-
*
|
|
132
|
-
* @param manifest - A Kubernetes resource manifest
|
|
133
|
-
* @returns The manifest with CRD schema fixes applied only if needed
|
|
134
|
-
*/
|
|
135
|
-
export declare function smartFixCRDSchemaForK8s133(manifest: KubernetesResource): KubernetesResource;
|
|
136
|
-
/**
|
|
137
|
-
* Apply smart CRD schema fixes to an array of manifests
|
|
138
|
-
*
|
|
139
|
-
* Only applies fixes to CRDs that actually need them.
|
|
140
|
-
*
|
|
141
|
-
* @param manifests - Array of Kubernetes resource manifests
|
|
142
|
-
* @returns Array with CRD schema fixes applied only where needed
|
|
143
|
-
*/
|
|
144
|
-
export declare function smartFixCRDSchemasForK8s133(manifests: KubernetesResource[]): KubernetesResource[];
|
|
145
|
-
//# sourceMappingURL=crd-schema-fix.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crd-schema-fix.d.ts","sourceRoot":"","sources":["../../../src/core/runtime-patches/crd-schema-fix.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAGH,OAAO,KAAK,EAAe,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAI9E;;;GAGG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,aAI1C,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,4CAA4C;IAC5C,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;GAQG;AAEH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CA0CzE;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CAEtC,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,MAAM,EAChB,SAAS,CAAC,EAAE,MAAM,GACjB,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC,CAmDrD;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,oBAAoB,CAuEpF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,kBAAkB,CA0FtF;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,kBAAkB,EAAE,GAAG,kBAAkB,EAAE,CAE5F;AAED;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,kBAAkB,GAAG,kBAAkB,CAc3F;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,kBAAkB,EAAE,GAAG,kBAAkB,EAAE,CAEjG"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Core Utilities
|
|
3
|
-
*
|
|
4
|
-
* Provides utility functions for CRD schema fixes and patching.
|
|
5
|
-
*/
|
|
6
|
-
export { crdNeedsSchemaFix, patchCRDSchema, patchFluxCRDSchemas } from './crd-patcher.js';
|
|
7
|
-
export { fixCRDSchemaForK8s133, fixCRDSchemasForK8s133 } from './crd-schema-fix.js';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/runtime-patches/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Helpers for reading ArkType's JSON AST.
|
|
3
|
-
*
|
|
4
|
-
* ArkType serializes a constraint two different ways depending on whether it
|
|
5
|
-
* carries metadata. Declared plainly it is its own value (`maxLength: 46`);
|
|
6
|
-
* declared with a custom error message — anything configured through
|
|
7
|
-
* `.configure({ message })` — it becomes `{ rule: 46, meta: { message } }`
|
|
8
|
-
* instead. Every consumer that reads the AST has to account for both, or a
|
|
9
|
-
* schema that explains its limit to the caller quietly stops carrying that
|
|
10
|
-
* limit into the artifacts generated from it.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Read the rule out of an ArkType constraint, with or without metadata.
|
|
14
|
-
*
|
|
15
|
-
* Bounds and patterns wrap as `{ rule, meta }`; a domain wraps as
|
|
16
|
-
* `{ domain, meta }`. Anything else — including a flagged pattern
|
|
17
|
-
* (`{ rule, flags }`), which a caller has to see whole in order to reject its
|
|
18
|
-
* flags rather than discard them — is returned unchanged.
|
|
19
|
-
*/
|
|
20
|
-
export declare function arkConstraintRule(value: unknown): unknown;
|
|
21
|
-
//# sourceMappingURL=arktype-ast.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"arktype-ast.d.ts","sourceRoot":"","sources":["../../../src/core/serialization/arktype-ast.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAMzD"}
|