接口 SidecarOuterClass.SidecarOrBuilder

    • 方法详细资料

      • hasWorkloadSelector

        boolean hasWorkloadSelector()
         Criteria used to select the specific set of pods/VMs on which this
         `Sidecar` configuration should be applied. If omitted, the `Sidecar`
         configuration will be applied to all workload instances in the same namespace.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 1;
        返回:
        Whether the workloadSelector field is set.
      • getWorkloadSelector

        SidecarOuterClass.WorkloadSelector getWorkloadSelector()
         Criteria used to select the specific set of pods/VMs on which this
         `Sidecar` configuration should be applied. If omitted, the `Sidecar`
         configuration will be applied to all workload instances in the same namespace.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 1;
        返回:
        The workloadSelector.
      • getWorkloadSelectorOrBuilder

        SidecarOuterClass.WorkloadSelectorOrBuilder getWorkloadSelectorOrBuilder()
         Criteria used to select the specific set of pods/VMs on which this
         `Sidecar` configuration should be applied. If omitted, the `Sidecar`
         configuration will be applied to all workload instances in the same namespace.
         
        .istio.networking.v1alpha3.WorkloadSelector workload_selector = 1;
      • getIngressList

        java.util.List<SidecarOuterClass.IstioIngressListener> getIngressList()
         Ingress specifies the configuration of the sidecar for processing
         inbound traffic to the attached workload instance. If omitted, Istio will
         automatically configure the sidecar based on the information about the workload
         obtained from the orchestration platform (e.g., exposed ports, services,
         etc.). If specified, inbound ports are configured if and only if the
         workload instance is associated with a service.
         
        repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;
      • getIngress

        SidecarOuterClass.IstioIngressListener getIngress​(int index)
         Ingress specifies the configuration of the sidecar for processing
         inbound traffic to the attached workload instance. If omitted, Istio will
         automatically configure the sidecar based on the information about the workload
         obtained from the orchestration platform (e.g., exposed ports, services,
         etc.). If specified, inbound ports are configured if and only if the
         workload instance is associated with a service.
         
        repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;
      • getIngressCount

        int getIngressCount()
         Ingress specifies the configuration of the sidecar for processing
         inbound traffic to the attached workload instance. If omitted, Istio will
         automatically configure the sidecar based on the information about the workload
         obtained from the orchestration platform (e.g., exposed ports, services,
         etc.). If specified, inbound ports are configured if and only if the
         workload instance is associated with a service.
         
        repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;
      • getIngressOrBuilderList

        java.util.List<? extends SidecarOuterClass.IstioIngressListenerOrBuilder> getIngressOrBuilderList()
         Ingress specifies the configuration of the sidecar for processing
         inbound traffic to the attached workload instance. If omitted, Istio will
         automatically configure the sidecar based on the information about the workload
         obtained from the orchestration platform (e.g., exposed ports, services,
         etc.). If specified, inbound ports are configured if and only if the
         workload instance is associated with a service.
         
        repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;
      • getIngressOrBuilder

        SidecarOuterClass.IstioIngressListenerOrBuilder getIngressOrBuilder​(int index)
         Ingress specifies the configuration of the sidecar for processing
         inbound traffic to the attached workload instance. If omitted, Istio will
         automatically configure the sidecar based on the information about the workload
         obtained from the orchestration platform (e.g., exposed ports, services,
         etc.). If specified, inbound ports are configured if and only if the
         workload instance is associated with a service.
         
        repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;
      • getEgressList

        java.util.List<SidecarOuterClass.IstioEgressListener> getEgressList()
         Egress specifies the configuration of the sidecar for processing
         outbound traffic from the attached workload instance to other
         services in the mesh. If not specified, inherits the system
         detected defaults from the namespace-wide or the global default Sidecar.
         
        repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;
      • getEgress

        SidecarOuterClass.IstioEgressListener getEgress​(int index)
         Egress specifies the configuration of the sidecar for processing
         outbound traffic from the attached workload instance to other
         services in the mesh. If not specified, inherits the system
         detected defaults from the namespace-wide or the global default Sidecar.
         
        repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;
      • getEgressCount

        int getEgressCount()
         Egress specifies the configuration of the sidecar for processing
         outbound traffic from the attached workload instance to other
         services in the mesh. If not specified, inherits the system
         detected defaults from the namespace-wide or the global default Sidecar.
         
        repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;
      • getEgressOrBuilderList

        java.util.List<? extends SidecarOuterClass.IstioEgressListenerOrBuilder> getEgressOrBuilderList()
         Egress specifies the configuration of the sidecar for processing
         outbound traffic from the attached workload instance to other
         services in the mesh. If not specified, inherits the system
         detected defaults from the namespace-wide or the global default Sidecar.
         
        repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;
      • getEgressOrBuilder

        SidecarOuterClass.IstioEgressListenerOrBuilder getEgressOrBuilder​(int index)
         Egress specifies the configuration of the sidecar for processing
         outbound traffic from the attached workload instance to other
         services in the mesh. If not specified, inherits the system
         detected defaults from the namespace-wide or the global default Sidecar.
         
        repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;
      • hasOutboundTrafficPolicy

        boolean hasOutboundTrafficPolicy()
         Configuration for the outbound traffic policy.  If your
         application uses one or more external services that are not known
         apriori, setting the policy to `ALLOW_ANY` will cause the
         sidecars to route any unknown traffic originating from the
         application to its requested destination. If not specified,
         inherits the system detected defaults from the namespace-wide or
         the global default Sidecar.
         
        .istio.networking.v1alpha3.OutboundTrafficPolicy outbound_traffic_policy = 4;
        返回:
        Whether the outboundTrafficPolicy field is set.
      • getOutboundTrafficPolicy

        SidecarOuterClass.OutboundTrafficPolicy getOutboundTrafficPolicy()
         Configuration for the outbound traffic policy.  If your
         application uses one or more external services that are not known
         apriori, setting the policy to `ALLOW_ANY` will cause the
         sidecars to route any unknown traffic originating from the
         application to its requested destination. If not specified,
         inherits the system detected defaults from the namespace-wide or
         the global default Sidecar.
         
        .istio.networking.v1alpha3.OutboundTrafficPolicy outbound_traffic_policy = 4;
        返回:
        The outboundTrafficPolicy.
      • getOutboundTrafficPolicyOrBuilder

        SidecarOuterClass.OutboundTrafficPolicyOrBuilder getOutboundTrafficPolicyOrBuilder()
         Configuration for the outbound traffic policy.  If your
         application uses one or more external services that are not known
         apriori, setting the policy to `ALLOW_ANY` will cause the
         sidecars to route any unknown traffic originating from the
         application to its requested destination. If not specified,
         inherits the system detected defaults from the namespace-wide or
         the global default Sidecar.
         
        .istio.networking.v1alpha3.OutboundTrafficPolicy outbound_traffic_policy = 4;