Enum IngressControllerMode
- java.lang.Object
-
- java.lang.Enum<IngressControllerMode>
-
- me.snowdrop.istio.api.mesh.v1alpha1.IngressControllerMode
-
- All Implemented Interfaces:
Serializable,Comparable<IngressControllerMode>
public enum IngressControllerMode extends Enum<IngressControllerMode>
- Author:
- Christophe Laprun
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTIstio ingress controller will act on ingress resources that do not contain any annotation or whose annotations match the value specified in the ingress_class parameter described earlier.OFFDisables Istio ingress controller.STRICTIstio ingress controller will only act on ingress resources whose annotations match the value specified in the ingress_class parameter described earlier.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IngressControllerModevalueOf(String name)Returns the enum constant of this type with the specified name.static IngressControllerMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final IngressControllerMode OFF
Disables Istio ingress controller.
-
DEFAULT
public static final IngressControllerMode DEFAULT
Istio ingress controller will act on ingress resources that do not contain any annotation or whose annotations match the value specified in the ingress_class parameter described earlier. Use this mode if Istio ingress controller will be the default ingress controller for the entire kubernetes cluster.
-
STRICT
public static final IngressControllerMode STRICT
Istio ingress controller will only act on ingress resources whose annotations match the value specified in the ingress_class parameter described earlier. Use this mode if Istio ingress controller will be a secondary ingress controller (e.g., in addition to a cloud-provided ingress controller).
-
-
Method Detail
-
values
public static IngressControllerMode[] 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 (IngressControllerMode c : IngressControllerMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IngressControllerMode 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
-
-