UNPKG

k8ts

Version:

Powerful framework for building Kubernetes manifests in TypeScript.

12 lines (10 loc) 265 B
export namespace Frontend { export interface ClusterIp { type: "ClusterIP" } export interface LoadBalancer { type: "LoadBalancer" loadBalancerIP?: string } } export type Frontend = Frontend.ClusterIp | Frontend.LoadBalancer