@ankhorage/kubernetes 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +6 -6
  2. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesController.d.ts +13 -0
  3. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesController.d.ts.map +1 -0
  4. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesController.js +130 -0
  5. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesController.js.map +1 -0
  6. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesExposure.d.ts +12 -0
  7. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesExposure.d.ts.map +1 -0
  8. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesExposure.js +89 -0
  9. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesExposure.js.map +1 -0
  10. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesPrerequisites.d.ts +18 -0
  11. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesPrerequisites.d.ts.map +1 -0
  12. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesPrerequisites.js +98 -0
  13. package/dist/features/workload-reconciliation/application/use-cases/createKubernetesPrerequisites.js.map +1 -0
  14. package/dist/features/workload-reconciliation/application/use-cases/getKubernetesOutputsAsync.d.ts +5 -0
  15. package/dist/features/workload-reconciliation/application/use-cases/getKubernetesOutputsAsync.d.ts.map +1 -0
  16. package/dist/features/workload-reconciliation/application/use-cases/getKubernetesOutputsAsync.js +33 -0
  17. package/dist/features/workload-reconciliation/application/use-cases/getKubernetesOutputsAsync.js.map +1 -0
  18. package/dist/features/workload-reconciliation/application/use-cases/getKubernetesStatusAsync.d.ts +5 -0
  19. package/dist/features/workload-reconciliation/application/use-cases/getKubernetesStatusAsync.d.ts.map +1 -0
  20. package/dist/features/workload-reconciliation/application/use-cases/getKubernetesStatusAsync.js +35 -0
  21. package/dist/features/workload-reconciliation/application/use-cases/getKubernetesStatusAsync.js.map +1 -0
  22. package/dist/features/workload-reconciliation/application/use-cases/materializeKubernetesSecretsAsync.d.ts +6 -0
  23. package/dist/features/workload-reconciliation/application/use-cases/materializeKubernetesSecretsAsync.d.ts.map +1 -0
  24. package/dist/features/workload-reconciliation/application/use-cases/materializeKubernetesSecretsAsync.js +32 -0
  25. package/dist/features/workload-reconciliation/application/use-cases/materializeKubernetesSecretsAsync.js.map +1 -0
  26. package/dist/features/workload-reconciliation/application/use-cases/planKubernetesResourcesAsync.d.ts +5 -0
  27. package/dist/features/workload-reconciliation/application/use-cases/planKubernetesResourcesAsync.d.ts.map +1 -0
  28. package/dist/features/workload-reconciliation/application/use-cases/planKubernetesResourcesAsync.js +9 -0
  29. package/dist/features/workload-reconciliation/application/use-cases/planKubernetesResourcesAsync.js.map +1 -0
  30. package/dist/features/workload-reconciliation/application/use-cases/prepareKubernetesChangesAsync.d.ts +6 -0
  31. package/dist/features/workload-reconciliation/application/use-cases/prepareKubernetesChangesAsync.d.ts.map +1 -0
  32. package/dist/features/workload-reconciliation/application/use-cases/prepareKubernetesChangesAsync.js +84 -0
  33. package/dist/features/workload-reconciliation/application/use-cases/prepareKubernetesChangesAsync.js.map +1 -0
  34. package/dist/features/workload-reconciliation/application/use-cases/projectKubernetesResourcesAsync.d.ts +11 -0
  35. package/dist/features/workload-reconciliation/application/use-cases/projectKubernetesResourcesAsync.d.ts.map +1 -0
  36. package/dist/features/workload-reconciliation/application/use-cases/projectKubernetesResourcesAsync.js +53 -0
  37. package/dist/features/workload-reconciliation/application/use-cases/projectKubernetesResourcesAsync.js.map +1 -0
  38. package/dist/features/workload-reconciliation/application/use-cases/projectKubernetesWorkload.d.ts +12 -0
  39. package/dist/features/workload-reconciliation/application/use-cases/projectKubernetesWorkload.d.ts.map +1 -0
  40. package/dist/features/workload-reconciliation/application/use-cases/projectKubernetesWorkload.js +45 -0
  41. package/dist/features/workload-reconciliation/application/use-cases/projectKubernetesWorkload.js.map +1 -0
  42. package/dist/features/workload-reconciliation/application/use-cases/reconcileKubernetesResourcesAsync.d.ts +5 -0
  43. package/dist/features/workload-reconciliation/application/use-cases/reconcileKubernetesResourcesAsync.d.ts.map +1 -0
  44. package/dist/features/workload-reconciliation/application/use-cases/reconcileKubernetesResourcesAsync.js +51 -0
  45. package/dist/features/workload-reconciliation/application/use-cases/reconcileKubernetesResourcesAsync.js.map +1 -0
  46. package/dist/features/workload-reconciliation/application/use-cases/removeKubernetesResourcesAsync.d.ts +5 -0
  47. package/dist/features/workload-reconciliation/application/use-cases/removeKubernetesResourcesAsync.d.ts.map +1 -0
  48. package/dist/features/workload-reconciliation/application/use-cases/removeKubernetesResourcesAsync.js +75 -0
  49. package/dist/features/workload-reconciliation/application/use-cases/removeKubernetesResourcesAsync.js.map +1 -0
  50. package/dist/features/workload-reconciliation/application/use-cases/resolveKubernetesWorkloadValues.d.ts +5 -0
  51. package/dist/features/workload-reconciliation/application/use-cases/resolveKubernetesWorkloadValues.d.ts.map +1 -0
  52. package/dist/features/workload-reconciliation/application/use-cases/resolveKubernetesWorkloadValues.js +45 -0
  53. package/dist/features/workload-reconciliation/application/use-cases/resolveKubernetesWorkloadValues.js.map +1 -0
  54. package/dist/features/workload-reconciliation/application/use-cases/validateKubernetesWorkloads.d.ts +4 -0
  55. package/dist/features/workload-reconciliation/application/use-cases/validateKubernetesWorkloads.d.ts.map +1 -0
  56. package/dist/features/workload-reconciliation/application/use-cases/validateKubernetesWorkloads.js +26 -0
  57. package/dist/features/workload-reconciliation/application/use-cases/validateKubernetesWorkloads.js.map +1 -0
  58. package/dist/features/workload-reconciliation/application/use-cases/waitForKubernetesReadinessAsync.d.ts +5 -0
  59. package/dist/features/workload-reconciliation/application/use-cases/waitForKubernetesReadinessAsync.d.ts.map +1 -0
  60. package/dist/features/workload-reconciliation/application/use-cases/waitForKubernetesReadinessAsync.js +56 -0
  61. package/dist/features/workload-reconciliation/application/use-cases/waitForKubernetesReadinessAsync.js.map +1 -0
  62. package/dist/features/workload-reconciliation/composition/createKubernetesDriver.d.ts +4 -4
  63. package/dist/features/workload-reconciliation/composition/createKubernetesDriver.d.ts.map +1 -1
  64. package/dist/features/workload-reconciliation/composition/createKubernetesDriver.js +20 -4
  65. package/dist/features/workload-reconciliation/composition/createKubernetesDriver.js.map +1 -1
  66. package/dist/features/workload-reconciliation/constants.d.ts +14 -0
  67. package/dist/features/workload-reconciliation/constants.d.ts.map +1 -0
  68. package/dist/features/workload-reconciliation/constants.js +14 -0
  69. package/dist/features/workload-reconciliation/constants.js.map +1 -0
  70. package/dist/features/workload-reconciliation/utils/areKubernetesResourcesEquivalent.d.ts +4 -0
  71. package/dist/features/workload-reconciliation/utils/areKubernetesResourcesEquivalent.d.ts.map +1 -0
  72. package/dist/features/workload-reconciliation/utils/areKubernetesResourcesEquivalent.js +41 -0
  73. package/dist/features/workload-reconciliation/utils/areKubernetesResourcesEquivalent.js.map +1 -0
  74. package/dist/features/workload-reconciliation/utils/createKubernetesDesiredResource.d.ts +14 -0
  75. package/dist/features/workload-reconciliation/utils/createKubernetesDesiredResource.d.ts.map +1 -0
  76. package/dist/features/workload-reconciliation/utils/createKubernetesDesiredResource.js +45 -0
  77. package/dist/features/workload-reconciliation/utils/createKubernetesDesiredResource.js.map +1 -0
  78. package/dist/features/workload-reconciliation/utils/createKubernetesIdentity.d.ts +5 -0
  79. package/dist/features/workload-reconciliation/utils/createKubernetesIdentity.d.ts.map +1 -0
  80. package/dist/features/workload-reconciliation/utils/createKubernetesIdentity.js +10 -0
  81. package/dist/features/workload-reconciliation/utils/createKubernetesIdentity.js.map +1 -0
  82. package/dist/features/workload-reconciliation/utils/getKubernetesOwnershipQuery.d.ts +5 -0
  83. package/dist/features/workload-reconciliation/utils/getKubernetesOwnershipQuery.d.ts.map +1 -0
  84. package/dist/features/workload-reconciliation/utils/getKubernetesOwnershipQuery.js +16 -0
  85. package/dist/features/workload-reconciliation/utils/getKubernetesOwnershipQuery.js.map +1 -0
  86. package/dist/features/workload-reconciliation/utils/getKubernetesResourceKey.d.ts +4 -0
  87. package/dist/features/workload-reconciliation/utils/getKubernetesResourceKey.d.ts.map +1 -0
  88. package/dist/features/workload-reconciliation/utils/getKubernetesResourceKey.js +5 -0
  89. package/dist/features/workload-reconciliation/utils/getKubernetesResourceKey.js.map +1 -0
  90. package/dist/features/workload-reconciliation/utils/getKubernetesResourceReference.d.ts +4 -0
  91. package/dist/features/workload-reconciliation/utils/getKubernetesResourceReference.d.ts.map +1 -0
  92. package/dist/features/workload-reconciliation/utils/getKubernetesResourceReference.js +12 -0
  93. package/dist/features/workload-reconciliation/utils/getKubernetesResourceReference.js.map +1 -0
  94. package/dist/features/workload-reconciliation/utils/readKubernetesOwnedResource.d.ts +6 -0
  95. package/dist/features/workload-reconciliation/utils/readKubernetesOwnedResource.d.ts.map +1 -0
  96. package/dist/features/workload-reconciliation/utils/readKubernetesOwnedResource.js +49 -0
  97. package/dist/features/workload-reconciliation/utils/readKubernetesOwnedResource.js.map +1 -0
  98. package/dist/features/workload-reconciliation/utils/sortKubernetesResourcesForRemoval.d.ts +9 -0
  99. package/dist/features/workload-reconciliation/utils/sortKubernetesResourcesForRemoval.d.ts.map +1 -0
  100. package/dist/features/workload-reconciliation/utils/sortKubernetesResourcesForRemoval.js +21 -0
  101. package/dist/features/workload-reconciliation/utils/sortKubernetesResourcesForRemoval.js.map +1 -0
  102. package/dist/features/workload-reconciliation/utils/toKubernetesName.d.ts +3 -0
  103. package/dist/features/workload-reconciliation/utils/toKubernetesName.d.ts.map +1 -0
  104. package/dist/features/workload-reconciliation/utils/toKubernetesName.js +21 -0
  105. package/dist/features/workload-reconciliation/utils/toKubernetesName.js.map +1 -0
  106. package/dist/index.d.ts +2 -1
  107. package/dist/index.d.ts.map +1 -1
  108. package/dist/index.js.map +1 -1
  109. package/dist/types/kubernetesDriver.d.ts +21 -1
  110. package/dist/types/kubernetesDriver.d.ts.map +1 -1
  111. package/dist/types/kubernetesDriver.js.map +1 -1
  112. package/dist/types/kubernetesResources.d.ts +87 -0
  113. package/dist/types/kubernetesResources.d.ts.map +1 -0
  114. package/dist/types/kubernetesResources.js +2 -0
  115. package/dist/types/kubernetesResources.js.map +1 -0
  116. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sortKubernetesResourcesForRemoval.js","sourceRoot":"","sources":["../../../../src/features/workload-reconciliation/utils/sortKubernetesResourcesForRemoval.ts"],"names":[],"mappings":"AASA,yFAAyF;AACzF,MAAM,UAAU,iCAAiC,CAC/C,SAA6C;IAE7C,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC3F,MAAM,OAAO,GAA8B,EAAE,CAAC;IAC9C,OAAO,SAAS,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC;aACnC,MAAM,CACL,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACZ,CAAC,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,CACrD,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,UAAU,KAAK,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CACvF,CACJ;aACA,IAAI,CAAC,mBAAmB,CAAC,CAAC;QAC7B,MAAM,QAAQ,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACzF,IAAI,QAAQ,KAAK,SAAS;YAAE,MAAM;QAClC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACvB,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IACvD,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,qEAAqE;AACrE,SAAS,mBAAmB,CAC1B,IAA6B,EAC7B,KAA8B;IAE9B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC;AACnF,CAAC","sourcesContent":["import type { InfraOwnedResource } from '@ankhorage/contracts/infra';\n\nimport type { KubernetesResource } from '../../../types/kubernetesResources';\n\nexport interface OwnedKubernetesResource {\n readonly resource: KubernetesResource;\n readonly owner: InfraOwnedResource;\n}\n\n/*** Sort owned resources deterministically with dependents before their dependencies. */\nexport function sortKubernetesResourcesForRemoval(\n resources: readonly OwnedKubernetesResource[],\n): readonly OwnedKubernetesResource[] {\n const remaining = new Map(resources.map((item) => [item.owner.identity.resourceId, item]));\n const ordered: OwnedKubernetesResource[] = [];\n while (remaining.size > 0) {\n const leaves = [...remaining.values()]\n .filter(\n ({ owner }) =>\n ![...remaining.values()].some(({ owner: candidate }) =>\n candidate.dependsOn.some(({ resourceId }) => resourceId === owner.identity.resourceId),\n ),\n )\n .sort(compareResourceKeys);\n const selected = leaves.at(0) ?? [...remaining.values()].sort(compareResourceKeys).at(0);\n if (selected === undefined) break;\n ordered.push(selected);\n remaining.delete(selected.owner.identity.resourceId);\n }\n return ordered;\n}\n\n/*** Compare owned resources by stable external resource identity. */\nfunction compareResourceKeys(\n left: OwnedKubernetesResource,\n right: OwnedKubernetesResource,\n): number {\n return (left.owner.externalId ?? '').localeCompare(right.owner.externalId ?? '');\n}\n"]}
@@ -0,0 +1,3 @@
1
+ /*** Convert an arbitrary stable identifier into a deterministic Kubernetes DNS label. */
2
+ export declare function toKubernetesName(value: string): string;
3
+ //# sourceMappingURL=toKubernetesName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toKubernetesName.d.ts","sourceRoot":"","sources":["../../../../src/features/workload-reconciliation/utils/toKubernetesName.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAWtD"}
@@ -0,0 +1,21 @@
1
+ /*** Convert an arbitrary stable identifier into a deterministic Kubernetes DNS label. */
2
+ export function toKubernetesName(value) {
3
+ const normalized = value
4
+ .toLowerCase()
5
+ .replace(/[^a-z0-9-]+/g, '-')
6
+ .replace(/^-+|-+$/g, '') || 'resource';
7
+ if (normalized.length <= 63)
8
+ return normalized;
9
+ const suffix = hash(value).toString(36).padStart(7, '0').slice(-7);
10
+ return `${normalized.slice(0, 55).replace(/-+$/g, '')}-${suffix}`;
11
+ }
12
+ /*** Produce a stable non-cryptographic suffix used only for Kubernetes name uniqueness. */
13
+ function hash(value) {
14
+ let result = 2_166_136_261;
15
+ for (const character of value) {
16
+ result ^= character.codePointAt(0) ?? 0;
17
+ result = Math.imul(result, 16_777_619);
18
+ }
19
+ return result >>> 0;
20
+ }
21
+ //# sourceMappingURL=toKubernetesName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toKubernetesName.js","sourceRoot":"","sources":["../../../../src/features/workload-reconciliation/utils/toKubernetesName.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,MAAM,UAAU,gBAAgB,CAAC,KAAa;IAC5C,MAAM,UAAU,GACd,KAAK;SACF,WAAW,EAAE;SACb,OAAO,CAAC,cAAc,EAAE,GAAG,CAAC;SAC5B,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,UAAU,CAAC;IAE3C,IAAI,UAAU,CAAC,MAAM,IAAI,EAAE;QAAE,OAAO,UAAU,CAAC;IAE/C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,MAAM,EAAE,CAAC;AACpE,CAAC;AAED,2FAA2F;AAC3F,SAAS,IAAI,CAAC,KAAa;IACzB,IAAI,MAAM,GAAG,aAAa,CAAC;IAC3B,KAAK,MAAM,SAAS,IAAI,KAAK,EAAE,CAAC;QAC9B,MAAM,IAAI,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QACxC,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACzC,CAAC;IACD,OAAO,MAAM,KAAK,CAAC,CAAC;AACtB,CAAC","sourcesContent":["/*** Convert an arbitrary stable identifier into a deterministic Kubernetes DNS label. */\nexport function toKubernetesName(value: string): string {\n const normalized =\n value\n .toLowerCase()\n .replace(/[^a-z0-9-]+/g, '-')\n .replace(/^-+|-+$/g, '') || 'resource';\n\n if (normalized.length <= 63) return normalized;\n\n const suffix = hash(value).toString(36).padStart(7, '0').slice(-7);\n return `${normalized.slice(0, 55).replace(/-+$/g, '')}-${suffix}`;\n}\n\n/*** Produce a stable non-cryptographic suffix used only for Kubernetes name uniqueness. */\nfunction hash(value: string): number {\n let result = 2_166_136_261;\n for (const character of value) {\n result ^= character.codePointAt(0) ?? 0;\n result = Math.imul(result, 16_777_619);\n }\n return result >>> 0;\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /** Public shared Kubernetes workload-driver boundary. */
2
2
  export { createKubernetesDriver } from './features/workload-reconciliation/composition/createKubernetesDriver';
3
- export type { KubernetesDriver } from './types/kubernetesDriver';
3
+ export type { KubernetesDriver, KubernetesDriverOptions, KubernetesDriverRequest, } from './types/kubernetesDriver';
4
+ export type { KubernetesApi, KubernetesDesiredResource, KubernetesOwnershipQuery, KubernetesProjection, KubernetesResource, KubernetesResourceMetadata, KubernetesResourceObservation, KubernetesResourceReference, KubernetesSecretBinding, } from './types/kubernetesResources';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAC;AAC/G,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAC;AAC/G,YAAY,EACV,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,aAAa,EACb,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,6BAA6B,CAAC"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAC","sourcesContent":["/** Public shared Kubernetes workload-driver boundary. */\nexport { createKubernetesDriver } from './features/workload-reconciliation/composition/createKubernetesDriver';\nexport type { KubernetesDriver } from './types/kubernetesDriver';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAC","sourcesContent":["/** Public shared Kubernetes workload-driver boundary. */\nexport { createKubernetesDriver } from './features/workload-reconciliation/composition/createKubernetesDriver';\nexport type {\n KubernetesDriver,\n KubernetesDriverOptions,\n KubernetesDriverRequest,\n} from './types/kubernetesDriver';\nexport type {\n KubernetesApi,\n KubernetesDesiredResource,\n KubernetesOwnershipQuery,\n KubernetesProjection,\n KubernetesResource,\n KubernetesResourceMetadata,\n KubernetesResourceObservation,\n KubernetesResourceReference,\n KubernetesSecretBinding,\n} from './types/kubernetesResources';\n"]}
@@ -1,5 +1,25 @@
1
- /** Public non-provider driver boundary composed by Kubernetes runtime adapters. */
1
+ import type { InfraAdapterId, InfraDestroyRequest, InfraExecutionContext, InfraOutput, InfraPlanAction, InfraReconcileResult, InfraResourceStatus, InfraResult, InfraWorkloadSpec } from '@ankhorage/contracts/infra';
2
+ import type { KubernetesApi, KubernetesProjection } from './kubernetesResources';
3
+ export interface KubernetesDriverOptions {
4
+ readonly api: KubernetesApi;
5
+ readonly defaultReadinessTimeoutSeconds?: number;
6
+ }
7
+ export interface KubernetesDriverRequest {
8
+ readonly context: InfraExecutionContext;
9
+ /** The composing runtime adapter remains the canonical Infra resource owner. */
10
+ readonly ownerAdapter: InfraAdapterId;
11
+ readonly workloads: readonly InfraWorkloadSpec[];
12
+ readonly availableOutputs?: readonly InfraOutput[];
13
+ readonly namespace?: string;
14
+ }
2
15
  export interface KubernetesDriver {
3
16
  readonly kind: 'kubernetes';
17
+ projectAsync(request: KubernetesDriverRequest): Promise<InfraResult<KubernetesProjection>>;
18
+ planAsync(request: KubernetesDriverRequest): Promise<InfraResult<readonly InfraPlanAction[]>>;
19
+ reconcileAsync(request: KubernetesDriverRequest): Promise<InfraResult<InfraReconcileResult>>;
20
+ removeAsync(request: KubernetesDriverRequest, destroy: InfraDestroyRequest): Promise<InfraResult<InfraReconcileResult>>;
21
+ statusAsync(request: KubernetesDriverRequest): Promise<InfraResult<readonly InfraResourceStatus[]>>;
22
+ waitUntilReadyAsync(request: KubernetesDriverRequest): Promise<InfraResult<readonly InfraResourceStatus[]>>;
23
+ outputsAsync(request: KubernetesDriverRequest): Promise<InfraResult<readonly InfraOutput[]>>;
4
24
  }
5
25
  //# sourceMappingURL=kubernetesDriver.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kubernetesDriver.d.ts","sourceRoot":"","sources":["../../src/types/kubernetesDriver.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;CAC7B"}
1
+ {"version":3,"file":"kubernetesDriver.d.ts","sourceRoot":"","sources":["../../src/types/kubernetesDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,EACX,iBAAiB,EAClB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAEjF,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;IAC5B,QAAQ,CAAC,8BAA8B,CAAC,EAAE,MAAM,CAAC;CAClD;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,qBAAqB,CAAC;IACxC,gFAAgF;IAChF,QAAQ,CAAC,YAAY,EAAE,cAAc,CAAC;IACtC,QAAQ,CAAC,SAAS,EAAE,SAAS,iBAAiB,EAAE,CAAC;IACjD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS,WAAW,EAAE,CAAC;IACnD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,YAAY,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAC3F,SAAS,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,eAAe,EAAE,CAAC,CAAC,CAAC;IAC9F,cAAc,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAC7F,WAAW,CACT,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAC9C,WAAW,CACT,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,WAAW,CAAC,SAAS,mBAAmB,EAAE,CAAC,CAAC,CAAC;IACxD,mBAAmB,CACjB,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,WAAW,CAAC,SAAS,mBAAmB,EAAE,CAAC,CAAC,CAAC;IACxD,YAAY,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,WAAW,EAAE,CAAC,CAAC,CAAC;CAC9F"}
@@ -1 +1 @@
1
- {"version":3,"file":"kubernetesDriver.js","sourceRoot":"","sources":["../../src/types/kubernetesDriver.ts"],"names":[],"mappings":"","sourcesContent":["/** Public non-provider driver boundary composed by Kubernetes runtime adapters. */\nexport interface KubernetesDriver {\n readonly kind: 'kubernetes';\n}\n"]}
1
+ {"version":3,"file":"kubernetesDriver.js","sourceRoot":"","sources":["../../src/types/kubernetesDriver.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n InfraAdapterId,\n InfraDestroyRequest,\n InfraExecutionContext,\n InfraOutput,\n InfraPlanAction,\n InfraReconcileResult,\n InfraResourceStatus,\n InfraResult,\n InfraWorkloadSpec,\n} from '@ankhorage/contracts/infra';\n\nimport type { KubernetesApi, KubernetesProjection } from './kubernetesResources';\n\nexport interface KubernetesDriverOptions {\n readonly api: KubernetesApi;\n readonly defaultReadinessTimeoutSeconds?: number;\n}\n\nexport interface KubernetesDriverRequest {\n readonly context: InfraExecutionContext;\n /** The composing runtime adapter remains the canonical Infra resource owner. */\n readonly ownerAdapter: InfraAdapterId;\n readonly workloads: readonly InfraWorkloadSpec[];\n readonly availableOutputs?: readonly InfraOutput[];\n readonly namespace?: string;\n}\n\nexport interface KubernetesDriver {\n readonly kind: 'kubernetes';\n projectAsync(request: KubernetesDriverRequest): Promise<InfraResult<KubernetesProjection>>;\n planAsync(request: KubernetesDriverRequest): Promise<InfraResult<readonly InfraPlanAction[]>>;\n reconcileAsync(request: KubernetesDriverRequest): Promise<InfraResult<InfraReconcileResult>>;\n removeAsync(\n request: KubernetesDriverRequest,\n destroy: InfraDestroyRequest,\n ): Promise<InfraResult<InfraReconcileResult>>;\n statusAsync(\n request: KubernetesDriverRequest,\n ): Promise<InfraResult<readonly InfraResourceStatus[]>>;\n waitUntilReadyAsync(\n request: KubernetesDriverRequest,\n ): Promise<InfraResult<readonly InfraResourceStatus[]>>;\n outputsAsync(request: KubernetesDriverRequest): Promise<InfraResult<readonly InfraOutput[]>>;\n}\n"]}
@@ -0,0 +1,87 @@
1
+ import type { InfraOwnedResource, InfraPlanAction, InfraResourceStatus, InfraSecretReference } from '@ankhorage/contracts/infra';
2
+ export interface KubernetesResourceMetadata {
3
+ readonly name: string;
4
+ readonly namespace?: string;
5
+ readonly labels: Readonly<Record<string, string>>;
6
+ readonly annotations: Readonly<Record<string, string>>;
7
+ }
8
+ export interface KubernetesResource {
9
+ readonly apiVersion: string;
10
+ readonly kind: string;
11
+ readonly metadata: KubernetesResourceMetadata;
12
+ readonly data?: Readonly<Record<string, string>>;
13
+ readonly stringData?: Readonly<Record<string, string>>;
14
+ readonly spec?: Readonly<Record<string, unknown>>;
15
+ }
16
+ export interface KubernetesResourceReference {
17
+ readonly apiVersion: string;
18
+ readonly kind: string;
19
+ readonly name: string;
20
+ readonly namespace?: string;
21
+ }
22
+ export interface KubernetesOwnershipQuery {
23
+ readonly namespace: string;
24
+ readonly labels: Readonly<Record<string, string>>;
25
+ readonly signal?: AbortSignal;
26
+ }
27
+ export interface KubernetesResourceObservation {
28
+ readonly state: InfraResourceStatus['state'];
29
+ readonly detail?: string;
30
+ /** Values that are explicitly safe to expose through Infra public outputs. */
31
+ readonly publicOutputs?: Readonly<Record<string, string | number | boolean>>;
32
+ }
33
+ /** Generic Kubernetes API boundary implemented from already authenticated cluster access. */
34
+ export interface KubernetesApi {
35
+ listOwnedAsync(query: KubernetesOwnershipQuery): Promise<readonly KubernetesResource[]>;
36
+ applyAsync(resource: KubernetesResource, signal?: AbortSignal): Promise<void>;
37
+ deleteAsync(resource: KubernetesResourceReference, signal?: AbortSignal): Promise<void>;
38
+ observeAsync(resource: KubernetesResourceReference, signal?: AbortSignal): Promise<KubernetesResourceObservation>;
39
+ waitUntilReadyAsync(resource: KubernetesResourceReference, options: {
40
+ readonly timeoutSeconds: number;
41
+ readonly signal?: AbortSignal;
42
+ }): Promise<KubernetesResourceObservation>;
43
+ }
44
+ export interface KubernetesSecretBinding {
45
+ readonly resource: KubernetesResourceReference;
46
+ readonly key: string;
47
+ readonly reference: InfraSecretReference;
48
+ }
49
+ export interface KubernetesDesiredResource {
50
+ readonly resource: KubernetesResource;
51
+ readonly owner: InfraOwnedResource;
52
+ }
53
+ /** Serializable desired resources contain references, never resolved secret values. */
54
+ export interface KubernetesProjection {
55
+ readonly resources: readonly KubernetesDesiredResource[];
56
+ readonly secretBindings: readonly KubernetesSecretBinding[];
57
+ }
58
+ export interface KubernetesPreparedChange {
59
+ readonly action: InfraPlanAction;
60
+ readonly desired?: KubernetesDesiredResource;
61
+ readonly actual?: KubernetesResource;
62
+ }
63
+ export interface KubernetesResolvedWorkloadValues {
64
+ readonly environment: Readonly<Record<string, string>>;
65
+ readonly files: Readonly<Record<string, string>>;
66
+ readonly secrets: readonly KubernetesSecretTarget[];
67
+ }
68
+ export interface KubernetesSecretTarget {
69
+ readonly key: string;
70
+ readonly reference: InfraSecretReference;
71
+ readonly target: {
72
+ readonly kind: 'environment';
73
+ readonly name: string;
74
+ } | {
75
+ readonly kind: 'file';
76
+ readonly path: string;
77
+ };
78
+ }
79
+ export interface KubernetesWorkloadProjection {
80
+ readonly resources: readonly KubernetesDesiredResource[];
81
+ readonly secretBindings: readonly KubernetesSecretBinding[];
82
+ }
83
+ export interface KubernetesPreparedChanges {
84
+ readonly changes: readonly KubernetesPreparedChange[];
85
+ readonly projection: KubernetesProjection;
86
+ }
87
+ //# sourceMappingURL=kubernetesResources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kubernetesResources.d.ts","sourceRoot":"","sources":["../../src/types/kubernetesResources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClD,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,0BAA0B,CAAC;IAC9C,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjD,QAAQ,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACvD,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;CAC/B;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAC7C,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,8EAA8E;IAC9E,QAAQ,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;CAC9E;AAED,6FAA6F;AAC7F,MAAM,WAAW,aAAa;IAC5B,cAAc,CAAC,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAAC,SAAS,kBAAkB,EAAE,CAAC,CAAC;IACxF,UAAU,CAAC,QAAQ,EAAE,kBAAkB,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9E,WAAW,CAAC,QAAQ,EAAE,2BAA2B,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxF,YAAY,CACV,QAAQ,EAAE,2BAA2B,EACrC,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C,mBAAmB,CACjB,QAAQ,EAAE,2BAA2B,EACrC,OAAO,EAAE;QAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAA;KAAE,GAC1E,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC3C;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,QAAQ,EAAE,2BAA2B,CAAC;IAC/C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAC;CAC1C;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAC;CACpC;AAED,uFAAuF;AACvF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,SAAS,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACzD,QAAQ,CAAC,cAAc,EAAE,SAAS,uBAAuB,EAAE,CAAC;CAC7D;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;IACjC,QAAQ,CAAC,OAAO,CAAC,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC;CACtC;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACvD,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjD,QAAQ,CAAC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACrD;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAC;IACzC,QAAQ,CAAC,MAAM,EACX;QAAE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GACvD;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CACtD;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,SAAS,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACzD,QAAQ,CAAC,cAAc,EAAE,SAAS,uBAAuB,EAAE,CAAC;CAC7D;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,OAAO,EAAE,SAAS,wBAAwB,EAAE,CAAC;IACtD,QAAQ,CAAC,UAAU,EAAE,oBAAoB,CAAC;CAC3C"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=kubernetesResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kubernetesResources.js","sourceRoot":"","sources":["../../src/types/kubernetesResources.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n InfraOwnedResource,\n InfraPlanAction,\n InfraResourceStatus,\n InfraSecretReference,\n} from '@ankhorage/contracts/infra';\n\nexport interface KubernetesResourceMetadata {\n readonly name: string;\n readonly namespace?: string;\n readonly labels: Readonly<Record<string, string>>;\n readonly annotations: Readonly<Record<string, string>>;\n}\n\nexport interface KubernetesResource {\n readonly apiVersion: string;\n readonly kind: string;\n readonly metadata: KubernetesResourceMetadata;\n readonly data?: Readonly<Record<string, string>>;\n readonly stringData?: Readonly<Record<string, string>>;\n readonly spec?: Readonly<Record<string, unknown>>;\n}\n\nexport interface KubernetesResourceReference {\n readonly apiVersion: string;\n readonly kind: string;\n readonly name: string;\n readonly namespace?: string;\n}\n\nexport interface KubernetesOwnershipQuery {\n readonly namespace: string;\n readonly labels: Readonly<Record<string, string>>;\n readonly signal?: AbortSignal;\n}\n\nexport interface KubernetesResourceObservation {\n readonly state: InfraResourceStatus['state'];\n readonly detail?: string;\n /** Values that are explicitly safe to expose through Infra public outputs. */\n readonly publicOutputs?: Readonly<Record<string, string | number | boolean>>;\n}\n\n/** Generic Kubernetes API boundary implemented from already authenticated cluster access. */\nexport interface KubernetesApi {\n listOwnedAsync(query: KubernetesOwnershipQuery): Promise<readonly KubernetesResource[]>;\n applyAsync(resource: KubernetesResource, signal?: AbortSignal): Promise<void>;\n deleteAsync(resource: KubernetesResourceReference, signal?: AbortSignal): Promise<void>;\n observeAsync(\n resource: KubernetesResourceReference,\n signal?: AbortSignal,\n ): Promise<KubernetesResourceObservation>;\n waitUntilReadyAsync(\n resource: KubernetesResourceReference,\n options: { readonly timeoutSeconds: number; readonly signal?: AbortSignal },\n ): Promise<KubernetesResourceObservation>;\n}\n\nexport interface KubernetesSecretBinding {\n readonly resource: KubernetesResourceReference;\n readonly key: string;\n readonly reference: InfraSecretReference;\n}\n\nexport interface KubernetesDesiredResource {\n readonly resource: KubernetesResource;\n readonly owner: InfraOwnedResource;\n}\n\n/** Serializable desired resources contain references, never resolved secret values. */\nexport interface KubernetesProjection {\n readonly resources: readonly KubernetesDesiredResource[];\n readonly secretBindings: readonly KubernetesSecretBinding[];\n}\n\nexport interface KubernetesPreparedChange {\n readonly action: InfraPlanAction;\n readonly desired?: KubernetesDesiredResource;\n readonly actual?: KubernetesResource;\n}\n\nexport interface KubernetesResolvedWorkloadValues {\n readonly environment: Readonly<Record<string, string>>;\n readonly files: Readonly<Record<string, string>>;\n readonly secrets: readonly KubernetesSecretTarget[];\n}\n\nexport interface KubernetesSecretTarget {\n readonly key: string;\n readonly reference: InfraSecretReference;\n readonly target:\n | { readonly kind: 'environment'; readonly name: string }\n | { readonly kind: 'file'; readonly path: string };\n}\n\nexport interface KubernetesWorkloadProjection {\n readonly resources: readonly KubernetesDesiredResource[];\n readonly secretBindings: readonly KubernetesSecretBinding[];\n}\n\nexport interface KubernetesPreparedChanges {\n readonly changes: readonly KubernetesPreparedChange[];\n readonly projection: KubernetesProjection;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/kubernetes",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Shared Kubernetes workload driver for provider-neutral Ankhorage infrastructure.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",