Class SidecarSpec
- java.lang.Object
-
- me.snowdrop.istio.api.networking.v1beta1.SidecarSpec
-
- All Implemented Interfaces:
Serializable,IstioSpec
public class SidecarSpec extends Object implements Serializable, IstioSpec
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SidecarSpec()No args constructor for use in serializationSidecarSpec(List<IstioEgressListener> egress, List<IstioIngressListener> ingress, Localhost localhost, OutboundTrafficPolicy outboundTrafficPolicy, WorkloadSelector workloadSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IstioEgressListener>getEgress()List<IstioIngressListener>getIngress()LocalhostgetLocalhost()OutboundTrafficPolicygetOutboundTrafficPolicy()WorkloadSelectorgetWorkloadSelector()voidsetEgress(List<IstioEgressListener> egress)voidsetIngress(List<IstioIngressListener> ingress)voidsetLocalhost(Localhost localhost)voidsetOutboundTrafficPolicy(OutboundTrafficPolicy outboundTrafficPolicy)voidsetWorkloadSelector(WorkloadSelector workloadSelector)
-
-
-
Constructor Detail
-
SidecarSpec
public SidecarSpec()
No args constructor for use in serialization
-
SidecarSpec
public SidecarSpec(List<IstioEgressListener> egress, List<IstioIngressListener> ingress, Localhost localhost, OutboundTrafficPolicy outboundTrafficPolicy, WorkloadSelector workloadSelector)
- Parameters:
localhost-ingress-workloadSelector-outboundTrafficPolicy-egress-
-
-
Method Detail
-
getEgress
public List<IstioEgressListener> getEgress()
-
setEgress
public void setEgress(List<IstioEgressListener> egress)
-
getIngress
public List<IstioIngressListener> getIngress()
-
setIngress
public void setIngress(List<IstioIngressListener> ingress)
-
getLocalhost
public Localhost getLocalhost()
-
setLocalhost
public void setLocalhost(Localhost localhost)
-
getOutboundTrafficPolicy
public OutboundTrafficPolicy getOutboundTrafficPolicy()
-
setOutboundTrafficPolicy
public void setOutboundTrafficPolicy(OutboundTrafficPolicy outboundTrafficPolicy)
-
getWorkloadSelector
public WorkloadSelector getWorkloadSelector()
-
setWorkloadSelector
public void setWorkloadSelector(WorkloadSelector workloadSelector)
-
-