UNPKG

@topgroup/diginext

Version:

A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.

33 lines 892 B
export interface SimplifiedK8SResource { apiVersion?: string; kind?: string; metadata?: { creationTimestamp?: string; labels?: Record<string, string>; name?: string; namespace?: string; resourceVersion?: string; uid?: string; }; clusterSlug?: string; /** * Cluster's short name * @deprecated */ clusterShortName?: string; /** * Cluster ID */ cluster?: string; /** * Workspace ID */ workspace?: string; } export declare function simplifyK8SResourceData(item: any): SimplifiedK8SResource; /** * Regular expression to match Kubernetes memory format * It looks for digits followed by either Ei, Pi, Ti, Gi, Mi, Ki, E, P, T, G, M, K, or nothing */ export declare function isValidKubernetesMemoryFormat(value: string): boolean; //# sourceMappingURL=k8s-helper.d.ts.map