public static enum KubernetesConstants.ServiceType extends Enum<KubernetesConstants.ServiceType>
Enum Constant and Description |
---|
ClusterIP |
ExternalName |
LoadBalancer |
NodePort |
Modifier and Type | Method and Description |
---|---|
static KubernetesConstants.ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KubernetesConstants.ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KubernetesConstants.ServiceType ClusterIP
public static final KubernetesConstants.ServiceType NodePort
public static final KubernetesConstants.ServiceType LoadBalancer
public static final KubernetesConstants.ServiceType ExternalName
public static KubernetesConstants.ServiceType[] values()
for (KubernetesConstants.ServiceType c : KubernetesConstants.ServiceType.values()) System.out.println(c);
public static KubernetesConstants.ServiceType 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 © 2019 WSO2. All rights reserved.