Enum ServiceEntryLocation

    • 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 name
        NullPointerException - if the argument is null
      • value

        public int value()