internal static string ToSerializedValue(this FrontEndServiceType value)
        {
            switch (value)
            {
            case FrontEndServiceType.NodePort:
                return("NodePort");

            case FrontEndServiceType.LoadBalancer:
                return("LoadBalancer");
            }
            return(null);
        }
Esempio n. 2
0
 public static string ToSerialString(this FrontEndServiceType value) => value switch
 {