Enum ServiceEntryResolution
- java.lang.Object
-
- java.lang.Enum<ServiceEntryResolution>
-
- me.snowdrop.istio.api.networking.v1alpha3.ServiceEntryResolution
-
- All Implemented Interfaces:
Serializable,Comparable<ServiceEntryResolution>
public enum ServiceEntryResolution extends Enum<ServiceEntryResolution>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DNSAttempt to resolve the IP address by querying the ambient DNS, during request processing.NONEAssume that incoming connections have already been resolved (to a specific destination IP address).STATICUse the static IP addresses specified in endpoints as the backing instances associated with the service.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intvalue()static ServiceEntryResolutionvalueOf(String name)Returns the enum constant of this type with the specified name.static ServiceEntryResolution[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ServiceEntryResolution NONE
Assume that incoming connections have already been resolved (to a specific destination IP address). Such connections are typically routed via the proxy using mechanisms such as IP table REDIRECT/ eBPF. After performing any routing related transformations, the proxy will forward the connection to the IP address to which the connection was bound.
-
STATIC
public static final ServiceEntryResolution STATIC
Use the static IP addresses specified in endpoints as the backing instances associated with the service.
-
DNS
public static final ServiceEntryResolution DNS
Attempt to resolve the IP address by querying the ambient DNS, during request processing. If no endpoints are specified, the proxy will resolve the DNS address specified in the hosts field, if wildcards are not used. If endpoints are specified, the DNS addresses specified in the endpoints will be resolved to determine the destination IP address. DNS resolution cannot be used with unix domain socket endpoints.
-
-
Method Detail
-
values
public static ServiceEntryResolution[] 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 (ServiceEntryResolution c : ServiceEntryResolution.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceEntryResolution 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()
-
-