public enum KubernetesRibbonMode extends Enum<KubernetesRibbonMode>
| Enum Constant and Description |
|---|
POD
using pod ip and port.
|
SERVICE
using kubernetes service name and port.
|
| Modifier and Type | Method and Description |
|---|---|
static KubernetesRibbonMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KubernetesRibbonMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KubernetesRibbonMode POD
public static final KubernetesRibbonMode SERVICE
public static KubernetesRibbonMode[] values()
for (KubernetesRibbonMode c : KubernetesRibbonMode.values()) System.out.println(c);
public static KubernetesRibbonMode 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.