Enum ApplyTo
- java.lang.Object
-
- java.lang.Enum<ApplyTo>
-
- me.snowdrop.istio.api.networking.v1alpha3.ApplyTo
-
- All Implemented Interfaces:
Serializable,Comparable<ApplyTo>
public enum ApplyTo extends Enum<ApplyTo>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLUSTERApplies the patch to a cluster in a CDS output.FILTER_CHAINApplies the patch to the filter chain.HTTP_FILTERApplies the patch to the HTTP filter chain in the http connection manager, to modify an existing filter or add a new filter.HTTP_ROUTEApplies the patch to a route object inside the matched virtual host in a route configuration.INVALIDLISTENERApplies the patch to the listener.NETWORK_FILTERApplies the patch to the network filter chain, to modify an existing filter or add a new filter.ROUTE_CONFIGURATIONApplies the patch to the Route configuration (rds output) inside a HTTP connection manager.VIRTUAL_HOSTApplies the patch to a virtual host inside a route configuration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intvalue()static ApplyTovalueOf(String name)Returns the enum constant of this type with the specified name.static ApplyTo[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID
public static final ApplyTo INVALID
-
LISTENER
public static final ApplyTo LISTENER
Applies the patch to the listener.
-
FILTER_CHAIN
public static final ApplyTo FILTER_CHAIN
Applies the patch to the filter chain.
-
NETWORK_FILTER
public static final ApplyTo NETWORK_FILTER
Applies the patch to the network filter chain, to modify an existing filter or add a new filter.
-
HTTP_FILTER
public static final ApplyTo HTTP_FILTER
Applies the patch to the HTTP filter chain in the http connection manager, to modify an existing filter or add a new filter.
-
ROUTE_CONFIGURATION
public static final ApplyTo ROUTE_CONFIGURATION
Applies the patch to the Route configuration (rds output) inside a HTTP connection manager. This does not apply to the virtual host. Currently, only MERGE operation is allowed on the route configuration objects.
-
VIRTUAL_HOST
public static final ApplyTo VIRTUAL_HOST
Applies the patch to a virtual host inside a route configuration.
-
HTTP_ROUTE
public static final ApplyTo HTTP_ROUTE
Applies the patch to a route object inside the matched virtual host in a route configuration. Currently, only MERGE operation is allowed on the route objects.
-
CLUSTER
public static final ApplyTo CLUSTER
Applies the patch to a cluster in a CDS output. Also used to add new clusters.
-
-
Method Detail
-
values
public static ApplyTo[] 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 (ApplyTo c : ApplyTo.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplyTo 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()
-
-