@crossdelta/infrastructure 0.2.27 → 0.3.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,30 @@
1
+ /**
2
+ * @crossdelta/infrastructure
3
+ *
4
+ * Kubernetes-as-Code library with multi-provider support.
5
+ *
6
+ * ## Quick Start
7
+ *
8
+ * ```typescript
9
+ * import { createDOKSCluster, deployK8sService, ports } from '@crossdelta/infrastructure'
10
+ *
11
+ * // Create cluster
12
+ * const { provider } = createDOKSCluster({ name: 'my-cluster', region: 'fra1' })
13
+ *
14
+ * // Deploy service
15
+ * deployK8sService(provider, 'default', {
16
+ * name: 'api',
17
+ * image: 'my-registry/api:latest',
18
+ * ports: ports().http(3000).public().build(),
19
+ * })
20
+ * ```
21
+ *
22
+ * @see https://github.com/orderboss/platform/tree/main/packages/infrastructure
23
+ */
24
+ export * from './core';
25
+ export type { RuntimeDeploymentConfig, RuntimeDeploymentResult } from './core/runtime';
26
+ export { deployRuntime, detectRuntime, registerRuntime } from './core/runtime';
1
27
  export * from './helpers';
2
- export * from './types';
3
28
  export * from './runtimes/doks';
29
+ export * from './runtimes/local';
30
+ export * from './types';