接口 SidecarOuterClass.IstioEgressListenerOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
SidecarOuterClass.IstioEgressListener, SidecarOuterClass.IstioEgressListener.Builder
封闭类:
SidecarOuterClass

public static interface SidecarOuterClass.IstioEgressListenerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    The IP or the Unix domain socket to which the listener should be bound to.
    com.google.protobuf.ByteString
    The IP or the Unix domain socket to which the listener should be bound to.
    When the bind address is an IP, the captureMode option dictates how traffic to the listener is expected to be captured (or not).
    int
    When the bind address is an IP, the captureMode option dictates how traffic to the listener is expected to be captured (or not).
    getHosts(int index)
    One or more service hosts exposed by the listener in `namespace/dnsName` format.
    com.google.protobuf.ByteString
    getHostsBytes(int index)
    One or more service hosts exposed by the listener in `namespace/dnsName` format.
    int
    One or more service hosts exposed by the listener in `namespace/dnsName` format.
    One or more service hosts exposed by the listener in `namespace/dnsName` format.
    The port associated with the listener.
    The port associated with the listener.
    boolean
    The port associated with the listener.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • hasPort

      boolean hasPort()
       The port associated with the listener. If using Unix domain socket,
       use 0 as the port number, with a valid protocol. The port if
       specified, will be used as the default destination port associated
       with the imported hosts. If the port is omitted, Istio will infer the
       listener ports based on the imported hosts. Note that when multiple
       egress listeners are specified, where one or more listeners have
       specific ports while others have no port, the hosts exposed on a
       listener port will be based on the listener with the most specific
       port.
       
      .istio.networking.v1alpha3.Port port = 1;
      返回:
      Whether the port field is set.
    • getPort

       The port associated with the listener. If using Unix domain socket,
       use 0 as the port number, with a valid protocol. The port if
       specified, will be used as the default destination port associated
       with the imported hosts. If the port is omitted, Istio will infer the
       listener ports based on the imported hosts. Note that when multiple
       egress listeners are specified, where one or more listeners have
       specific ports while others have no port, the hosts exposed on a
       listener port will be based on the listener with the most specific
       port.
       
      .istio.networking.v1alpha3.Port port = 1;
      返回:
      The port.
    • getPortOrBuilder

       The port associated with the listener. If using Unix domain socket,
       use 0 as the port number, with a valid protocol. The port if
       specified, will be used as the default destination port associated
       with the imported hosts. If the port is omitted, Istio will infer the
       listener ports based on the imported hosts. Note that when multiple
       egress listeners are specified, where one or more listeners have
       specific ports while others have no port, the hosts exposed on a
       listener port will be based on the listener with the most specific
       port.
       
      .istio.networking.v1alpha3.Port port = 1;
    • getBind

      String getBind()
       The IP or the Unix domain socket to which the listener should be bound
       to. Port MUST be specified if bind is not empty. Format: `x.x.x.x` or
       `unix:///path/to/uds` or `unix://@foobar` (Linux abstract namespace). If
       omitted, Istio will automatically configure the defaults based on imported
       services, the workload instances to which this configuration is applied to and
       the captureMode. If captureMode is `NONE`, bind will default to
       127.0.0.1.
       
      string bind = 2;
      返回:
      The bind.
    • getBindBytes

      com.google.protobuf.ByteString getBindBytes()
       The IP or the Unix domain socket to which the listener should be bound
       to. Port MUST be specified if bind is not empty. Format: `x.x.x.x` or
       `unix:///path/to/uds` or `unix://@foobar` (Linux abstract namespace). If
       omitted, Istio will automatically configure the defaults based on imported
       services, the workload instances to which this configuration is applied to and
       the captureMode. If captureMode is `NONE`, bind will default to
       127.0.0.1.
       
      string bind = 2;
      返回:
      The bytes for bind.
    • getCaptureModeValue

      int getCaptureModeValue()
       When the bind address is an IP, the captureMode option dictates
       how traffic to the listener is expected to be captured (or not).
       captureMode must be DEFAULT or `NONE` for Unix domain socket binds.
       
      .istio.networking.v1alpha3.CaptureMode capture_mode = 3;
      返回:
      The enum numeric value on the wire for captureMode.
    • getCaptureMode

       When the bind address is an IP, the captureMode option dictates
       how traffic to the listener is expected to be captured (or not).
       captureMode must be DEFAULT or `NONE` for Unix domain socket binds.
       
      .istio.networking.v1alpha3.CaptureMode capture_mode = 3;
      返回:
      The captureMode.
    • getHostsList

      List<String> getHostsList()
       One or more service hosts exposed by the listener
       in `namespace/dnsName` format. Services in the specified namespace
       matching `dnsName` will be exposed.
       The corresponding service can be a service in the service registry
       (e.g., a Kubernetes or cloud foundry service) or a service specified
       using a `ServiceEntry` or `VirtualService` configuration. Any
       associated `DestinationRule` in the same namespace will also be used.
      
       The `dnsName` should be specified using FQDN format, optionally including
       a wildcard character in the left-most component (e.g., `prod/*.example.com`).
       Set the `dnsName` to `*` to select all services from the specified namespace
       (e.g., `prod/*`).
      
       The `namespace` can be set to `*`, `.`, or `~`, representing any, the current,
       or no namespace, respectively. For example, `*/foo.example.com` selects the
       service from any available namespace while `./foo.example.com` only selects
       the service from the namespace of the sidecar. If a host is set to `*/*`,
       Istio will configure the sidecar to be able to reach every service in the
       mesh that is exported to the sidecar's namespace. The value `~/*` can be used
       to completely trim the configuration for sidecars that simply receive traffic
       and respond, but make no outbound connections of their own.
      
       NOTE: Only services and configuration artifacts exported to the sidecar's
       namespace (e.g., `exportTo` value of `*`) can be referenced.
       Private configurations (e.g., `exportTo` set to `.`) will
       not be available. Refer to the `exportTo` setting in `VirtualService`,
       `DestinationRule`, and `ServiceEntry` configurations for details.
      
       **WARNING:** The list of egress hosts in a `Sidecar` must also include
       the Mixer control plane services if they are enabled. Envoy will not
       be able to reach them otherwise. For example, add host
       `istio-system/istio-telemetry.istio-system.svc.cluster.local` if telemetry
       is enabled, `istio-system/istio-policy.istio-system.svc.cluster.local` if
       policy is enabled, or add `istio-system/*` to allow all services in the
       `istio-system` namespace. This requirement is temporary and will be removed
       in a future Istio release.
       
      repeated string hosts = 4 [(.google.api.field_behavior) = REQUIRED];
      返回:
      A list containing the hosts.
    • getHostsCount

      int getHostsCount()
       One or more service hosts exposed by the listener
       in `namespace/dnsName` format. Services in the specified namespace
       matching `dnsName` will be exposed.
       The corresponding service can be a service in the service registry
       (e.g., a Kubernetes or cloud foundry service) or a service specified
       using a `ServiceEntry` or `VirtualService` configuration. Any
       associated `DestinationRule` in the same namespace will also be used.
      
       The `dnsName` should be specified using FQDN format, optionally including
       a wildcard character in the left-most component (e.g., `prod/*.example.com`).
       Set the `dnsName` to `*` to select all services from the specified namespace
       (e.g., `prod/*`).
      
       The `namespace` can be set to `*`, `.`, or `~`, representing any, the current,
       or no namespace, respectively. For example, `*/foo.example.com` selects the
       service from any available namespace while `./foo.example.com` only selects
       the service from the namespace of the sidecar. If a host is set to `*/*`,
       Istio will configure the sidecar to be able to reach every service in the
       mesh that is exported to the sidecar's namespace. The value `~/*` can be used
       to completely trim the configuration for sidecars that simply receive traffic
       and respond, but make no outbound connections of their own.
      
       NOTE: Only services and configuration artifacts exported to the sidecar's
       namespace (e.g., `exportTo` value of `*`) can be referenced.
       Private configurations (e.g., `exportTo` set to `.`) will
       not be available. Refer to the `exportTo` setting in `VirtualService`,
       `DestinationRule`, and `ServiceEntry` configurations for details.
      
       **WARNING:** The list of egress hosts in a `Sidecar` must also include
       the Mixer control plane services if they are enabled. Envoy will not
       be able to reach them otherwise. For example, add host
       `istio-system/istio-telemetry.istio-system.svc.cluster.local` if telemetry
       is enabled, `istio-system/istio-policy.istio-system.svc.cluster.local` if
       policy is enabled, or add `istio-system/*` to allow all services in the
       `istio-system` namespace. This requirement is temporary and will be removed
       in a future Istio release.
       
      repeated string hosts = 4 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The count of hosts.
    • getHosts

      String getHosts(int index)
       One or more service hosts exposed by the listener
       in `namespace/dnsName` format. Services in the specified namespace
       matching `dnsName` will be exposed.
       The corresponding service can be a service in the service registry
       (e.g., a Kubernetes or cloud foundry service) or a service specified
       using a `ServiceEntry` or `VirtualService` configuration. Any
       associated `DestinationRule` in the same namespace will also be used.
      
       The `dnsName` should be specified using FQDN format, optionally including
       a wildcard character in the left-most component (e.g., `prod/*.example.com`).
       Set the `dnsName` to `*` to select all services from the specified namespace
       (e.g., `prod/*`).
      
       The `namespace` can be set to `*`, `.`, or `~`, representing any, the current,
       or no namespace, respectively. For example, `*/foo.example.com` selects the
       service from any available namespace while `./foo.example.com` only selects
       the service from the namespace of the sidecar. If a host is set to `*/*`,
       Istio will configure the sidecar to be able to reach every service in the
       mesh that is exported to the sidecar's namespace. The value `~/*` can be used
       to completely trim the configuration for sidecars that simply receive traffic
       and respond, but make no outbound connections of their own.
      
       NOTE: Only services and configuration artifacts exported to the sidecar's
       namespace (e.g., `exportTo` value of `*`) can be referenced.
       Private configurations (e.g., `exportTo` set to `.`) will
       not be available. Refer to the `exportTo` setting in `VirtualService`,
       `DestinationRule`, and `ServiceEntry` configurations for details.
      
       **WARNING:** The list of egress hosts in a `Sidecar` must also include
       the Mixer control plane services if they are enabled. Envoy will not
       be able to reach them otherwise. For example, add host
       `istio-system/istio-telemetry.istio-system.svc.cluster.local` if telemetry
       is enabled, `istio-system/istio-policy.istio-system.svc.cluster.local` if
       policy is enabled, or add `istio-system/*` to allow all services in the
       `istio-system` namespace. This requirement is temporary and will be removed
       in a future Istio release.
       
      repeated string hosts = 4 [(.google.api.field_behavior) = REQUIRED];
      参数:
      index - The index of the element to return.
      返回:
      The hosts at the given index.
    • getHostsBytes

      com.google.protobuf.ByteString getHostsBytes(int index)
       One or more service hosts exposed by the listener
       in `namespace/dnsName` format. Services in the specified namespace
       matching `dnsName` will be exposed.
       The corresponding service can be a service in the service registry
       (e.g., a Kubernetes or cloud foundry service) or a service specified
       using a `ServiceEntry` or `VirtualService` configuration. Any
       associated `DestinationRule` in the same namespace will also be used.
      
       The `dnsName` should be specified using FQDN format, optionally including
       a wildcard character in the left-most component (e.g., `prod/*.example.com`).
       Set the `dnsName` to `*` to select all services from the specified namespace
       (e.g., `prod/*`).
      
       The `namespace` can be set to `*`, `.`, or `~`, representing any, the current,
       or no namespace, respectively. For example, `*/foo.example.com` selects the
       service from any available namespace while `./foo.example.com` only selects
       the service from the namespace of the sidecar. If a host is set to `*/*`,
       Istio will configure the sidecar to be able to reach every service in the
       mesh that is exported to the sidecar's namespace. The value `~/*` can be used
       to completely trim the configuration for sidecars that simply receive traffic
       and respond, but make no outbound connections of their own.
      
       NOTE: Only services and configuration artifacts exported to the sidecar's
       namespace (e.g., `exportTo` value of `*`) can be referenced.
       Private configurations (e.g., `exportTo` set to `.`) will
       not be available. Refer to the `exportTo` setting in `VirtualService`,
       `DestinationRule`, and `ServiceEntry` configurations for details.
      
       **WARNING:** The list of egress hosts in a `Sidecar` must also include
       the Mixer control plane services if they are enabled. Envoy will not
       be able to reach them otherwise. For example, add host
       `istio-system/istio-telemetry.istio-system.svc.cluster.local` if telemetry
       is enabled, `istio-system/istio-policy.istio-system.svc.cluster.local` if
       policy is enabled, or add `istio-system/*` to allow all services in the
       `istio-system` namespace. This requirement is temporary and will be removed
       in a future Istio release.
       
      repeated string hosts = 4 [(.google.api.field_behavior) = REQUIRED];
      参数:
      index - The index of the value to return.
      返回:
      The bytes of the hosts at the given index.