public enum KubernetesLoadBalancerMode extends Enum<KubernetesLoadBalancerMode>
| Enum Constant and Description |
|---|
POD
using pod ip and port.
|
SERVICE
using kubernetes service name and port.
|
| Modifier and Type | Method and Description |
|---|---|
static KubernetesLoadBalancerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KubernetesLoadBalancerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KubernetesLoadBalancerMode POD
public static final KubernetesLoadBalancerMode SERVICE
public static KubernetesLoadBalancerMode[] values()
for (KubernetesLoadBalancerMode c : KubernetesLoadBalancerMode.values()) System.out.println(c);
public static KubernetesLoadBalancerMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.