internal static string ToSerializedValue(this FrontEndServiceType value) { switch (value) { case FrontEndServiceType.NodePort: return("NodePort"); case FrontEndServiceType.LoadBalancer: return("LoadBalancer"); } return(null); }
public static string ToSerialString(this FrontEndServiceType value) => value switch {