export enum ResourceType {
  NODE = "nodes",
  NAMESPACE = "namespaces",
  CUSTOM_RESOURCE_DEFINITION = "custom-resource-definitions",
  STATEFUL_SET = "stateful-sets",
  DEPLOYMENT = "deployments",
  POD = "pods",
  SERVICE = "services",
  INGRESS = "ingresses",
  SECRET = "secrets",
  CONFIG_MAP = "config-maps",
  PVC = "pvcs",
  PV = "pvs"
}

export const RESOURCE_DISPLAY_NAMES: Map<ResourceType, string> = new Map([
  [ResourceType.NODE, "Node"],
  [ResourceType.NAMESPACE, "Namespace"],
  [ResourceType.CUSTOM_RESOURCE_DEFINITION, "CRD"],
  [ResourceType.STATEFUL_SET, "Stateful Set"],
  [ResourceType.DEPLOYMENT, "Deployment"],
  [ResourceType.POD, "Pod"],
  [ResourceType.SERVICE, "Service"],
  [ResourceType.INGRESS, "Ingress"],
  [ResourceType.SECRET, "Secret"],
  [ResourceType.CONFIG_MAP, "Config Map"],
  [ResourceType.PVC, "PVC"],
  [ResourceType.PV, "PV"]
]);
