public static enum KubernetesConfigOptions.ServiceExposedType extends Enum<KubernetesConfigOptions.ServiceExposedType>
Enum Constant and Description |
---|
ClusterIP |
Headless_ClusterIP |
LoadBalancer |
NodePort |
Modifier and Type | Method and Description |
---|---|
boolean |
isClusterIP()
Check whether it is ClusterIP type.
|
ServiceType |
serviceType() |
static KubernetesConfigOptions.ServiceExposedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KubernetesConfigOptions.ServiceExposedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KubernetesConfigOptions.ServiceExposedType ClusterIP
public static final KubernetesConfigOptions.ServiceExposedType NodePort
public static final KubernetesConfigOptions.ServiceExposedType LoadBalancer
public static final KubernetesConfigOptions.ServiceExposedType Headless_ClusterIP
public static KubernetesConfigOptions.ServiceExposedType[] values()
for (KubernetesConfigOptions.ServiceExposedType c : KubernetesConfigOptions.ServiceExposedType.values()) System.out.println(c);
public static KubernetesConfigOptions.ServiceExposedType 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 nullpublic ServiceType serviceType()
public boolean isClusterIP()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.