-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmod.ts
27 lines (20 loc) · 889 Bytes
/
mod.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { flags, k8s, object_hash } from "./deps.ts";
export { deepmerge as merge, k8s, url, yaml } from "./deps.ts";
export type Deployment = k8s.V1Deployment;
export type Service = k8s.V1Service;
export type StatefulSet = k8s.V1StatefulSet;
export type ConfigMap = k8s.V1ConfigMap;
export type ContainerPort = k8s.V1ContainerPort;
export type ServicePort = k8s.V1ServicePort;
export type EnvVar = k8s.V1EnvVar;
export type Container = k8s.V1Container;
export type Probe = k8s.V1Probe;
export type VolumeMount = k8s.V1VolumeMount;
export type ResourceRequirements = k8s.V1ResourceRequirements;
export type EnvType = "staging" | "production";
export const hash = object_hash.default;
export const args = flags.parse(Deno.args);
export const env = args["env"] as EnvType || "staging";
export * from "./construct/mod.ts";
export * from "./trait/mod.ts";
export * from "./util/mod.ts";