k8ts
Version:
Powerful framework for building Kubernetes manifests in TypeScript.
7 lines • 494 B
TypeScript
import type { PortMap, PortMapEntry, PortSet, PortSetEntry } from "@k8ts/instruments";
import { CDK } from "@k8ts/sample-interfaces";
export declare function toContainerPort(entry: PortSetEntry): CDK.ContainerPort;
export declare function toContainerPorts(ports: PortSet<any>): CDK.ContainerPort[];
export declare function toServicePort(entry: PortMapEntry): CDK.ServicePort;
export declare function toServicePorts(ports: PortMap<any>): CDK.ServicePort[];
//# sourceMappingURL=adapters.d.ts.map