Enum ServiceEntryLocation
- java.lang.Object
-
- java.lang.Enum<ServiceEntryLocation>
-
- me.snowdrop.istio.api.networking.v1beta1.ServiceEntryLocation
-
- All Implemented Interfaces:
Serializable,Comparable<ServiceEntryLocation>
public enum ServiceEntryLocation extends Enum<ServiceEntryLocation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MESH_EXTERNALSignifies that the service is external to the mesh.MESH_INTERNALSignifies that the service is part of the mesh.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intvalue()static ServiceEntryLocationvalueOf(String name)Returns the enum constant of this type with the specified name.static ServiceEntryLocation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MESH_EXTERNAL
public static final ServiceEntryLocation MESH_EXTERNAL
Signifies that the service is external to the mesh. Typically used to indicate external services consumed through APIs.
-
MESH_INTERNAL
public static final ServiceEntryLocation MESH_INTERNAL
Signifies that the service is part of the mesh. Typically used to indicate services added explicitly as part of expanding the service mesh to include unmanaged infrastructure (e.g., VMs added to a Kubernetes based service mesh).
-
-
Method Detail
-
values
public static ServiceEntryLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServiceEntryLocation c : ServiceEntryLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceEntryLocation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public int value()
-
-