Class SidecarSpecFluentImpl<A extends SidecarSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- me.snowdrop.istio.api.networking.v1alpha3.SidecarSpecFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,SidecarSpecFluent<A>
- Direct Known Subclasses:
DoneableSidecarSpec,SidecarFluentImpl.SpecNestedImpl,SidecarSpecBuilder
public class SidecarSpecFluentImpl<A extends SidecarSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements SidecarSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSidecarSpecFluentImpl.EgressNestedImpl<N>classSidecarSpecFluentImpl.IngressNestedImpl<N>classSidecarSpecFluentImpl.LocalhostNestedImpl<N>classSidecarSpecFluentImpl.OutboundTrafficPolicyNestedImpl<N>classSidecarSpecFluentImpl.WorkloadSelectorNestedImpl<N>-
Nested classes/interfaces inherited from interface me.snowdrop.istio.api.networking.v1alpha3.SidecarSpecFluent
SidecarSpecFluent.EgressNested<N>, SidecarSpecFluent.IngressNested<N>, SidecarSpecFluent.LocalhostNested<N>, SidecarSpecFluent.OutboundTrafficPolicyNested<N>, SidecarSpecFluent.WorkloadSelectorNested<N>
-
-
Constructor Summary
Constructors Constructor Description SidecarSpecFluentImpl()SidecarSpecFluentImpl(SidecarSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
SidecarSpecFluentImpl
public SidecarSpecFluentImpl()
-
SidecarSpecFluentImpl
public SidecarSpecFluentImpl(SidecarSpec instance)
-
-
Method Detail
-
addToEgress
public A addToEgress(int index, IstioEgressListener item)
- Specified by:
addToEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
setToEgress
public A setToEgress(int index, IstioEgressListener item)
- Specified by:
setToEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
addToEgress
public A addToEgress(IstioEgressListener... items)
- Specified by:
addToEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
addAllToEgress
public A addAllToEgress(Collection<IstioEgressListener> items)
- Specified by:
addAllToEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
removeFromEgress
public A removeFromEgress(IstioEgressListener... items)
- Specified by:
removeFromEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
removeAllFromEgress
public A removeAllFromEgress(Collection<IstioEgressListener> items)
- Specified by:
removeAllFromEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
removeMatchingFromEgress
public A removeMatchingFromEgress(io.fabric8.kubernetes.api.builder.Predicate<IstioEgressListenerBuilder> predicate)
- Specified by:
removeMatchingFromEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
getEgress
@Deprecated public List<IstioEgressListener> getEgress()
Deprecated.This method has been deprecated, please use method buildEgress instead.- Specified by:
getEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>- Returns:
- The buildable object.
-
buildEgress
public List<IstioEgressListener> buildEgress()
- Specified by:
buildEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
buildEgress
public IstioEgressListener buildEgress(int index)
- Specified by:
buildEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
buildFirstEgress
public IstioEgressListener buildFirstEgress()
- Specified by:
buildFirstEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
buildLastEgress
public IstioEgressListener buildLastEgress()
- Specified by:
buildLastEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
buildMatchingEgress
public IstioEgressListener buildMatchingEgress(io.fabric8.kubernetes.api.builder.Predicate<IstioEgressListenerBuilder> predicate)
- Specified by:
buildMatchingEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
hasMatchingEgress
public Boolean hasMatchingEgress(io.fabric8.kubernetes.api.builder.Predicate<IstioEgressListenerBuilder> predicate)
- Specified by:
hasMatchingEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withEgress
public A withEgress(List<IstioEgressListener> egress)
- Specified by:
withEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withEgress
public A withEgress(IstioEgressListener... egress)
- Specified by:
withEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
hasEgress
public Boolean hasEgress()
- Specified by:
hasEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
addNewEgress
public SidecarSpecFluent.EgressNested<A> addNewEgress()
- Specified by:
addNewEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
addNewEgressLike
public SidecarSpecFluent.EgressNested<A> addNewEgressLike(IstioEgressListener item)
- Specified by:
addNewEgressLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
setNewEgressLike
public SidecarSpecFluent.EgressNested<A> setNewEgressLike(int index, IstioEgressListener item)
- Specified by:
setNewEgressLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editEgress
public SidecarSpecFluent.EgressNested<A> editEgress(int index)
- Specified by:
editEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editFirstEgress
public SidecarSpecFluent.EgressNested<A> editFirstEgress()
- Specified by:
editFirstEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editLastEgress
public SidecarSpecFluent.EgressNested<A> editLastEgress()
- Specified by:
editLastEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editMatchingEgress
public SidecarSpecFluent.EgressNested<A> editMatchingEgress(io.fabric8.kubernetes.api.builder.Predicate<IstioEgressListenerBuilder> predicate)
- Specified by:
editMatchingEgressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
addToIngress
public A addToIngress(int index, IstioIngressListener item)
- Specified by:
addToIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
setToIngress
public A setToIngress(int index, IstioIngressListener item)
- Specified by:
setToIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
addToIngress
public A addToIngress(IstioIngressListener... items)
- Specified by:
addToIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
addAllToIngress
public A addAllToIngress(Collection<IstioIngressListener> items)
- Specified by:
addAllToIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
removeFromIngress
public A removeFromIngress(IstioIngressListener... items)
- Specified by:
removeFromIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
removeAllFromIngress
public A removeAllFromIngress(Collection<IstioIngressListener> items)
- Specified by:
removeAllFromIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
removeMatchingFromIngress
public A removeMatchingFromIngress(io.fabric8.kubernetes.api.builder.Predicate<IstioIngressListenerBuilder> predicate)
- Specified by:
removeMatchingFromIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
getIngress
@Deprecated public List<IstioIngressListener> getIngress()
Deprecated.This method has been deprecated, please use method buildIngress instead.- Specified by:
getIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>- Returns:
- The buildable object.
-
buildIngress
public List<IstioIngressListener> buildIngress()
- Specified by:
buildIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
buildIngress
public IstioIngressListener buildIngress(int index)
- Specified by:
buildIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
buildFirstIngress
public IstioIngressListener buildFirstIngress()
- Specified by:
buildFirstIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
buildLastIngress
public IstioIngressListener buildLastIngress()
- Specified by:
buildLastIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
buildMatchingIngress
public IstioIngressListener buildMatchingIngress(io.fabric8.kubernetes.api.builder.Predicate<IstioIngressListenerBuilder> predicate)
- Specified by:
buildMatchingIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
hasMatchingIngress
public Boolean hasMatchingIngress(io.fabric8.kubernetes.api.builder.Predicate<IstioIngressListenerBuilder> predicate)
- Specified by:
hasMatchingIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withIngress
public A withIngress(List<IstioIngressListener> ingress)
- Specified by:
withIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withIngress
public A withIngress(IstioIngressListener... ingress)
- Specified by:
withIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
hasIngress
public Boolean hasIngress()
- Specified by:
hasIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
addNewIngress
public SidecarSpecFluent.IngressNested<A> addNewIngress()
- Specified by:
addNewIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
addNewIngressLike
public SidecarSpecFluent.IngressNested<A> addNewIngressLike(IstioIngressListener item)
- Specified by:
addNewIngressLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
setNewIngressLike
public SidecarSpecFluent.IngressNested<A> setNewIngressLike(int index, IstioIngressListener item)
- Specified by:
setNewIngressLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editIngress
public SidecarSpecFluent.IngressNested<A> editIngress(int index)
- Specified by:
editIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editFirstIngress
public SidecarSpecFluent.IngressNested<A> editFirstIngress()
- Specified by:
editFirstIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editLastIngress
public SidecarSpecFluent.IngressNested<A> editLastIngress()
- Specified by:
editLastIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editMatchingIngress
public SidecarSpecFluent.IngressNested<A> editMatchingIngress(io.fabric8.kubernetes.api.builder.Predicate<IstioIngressListenerBuilder> predicate)
- Specified by:
editMatchingIngressin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
getLocalhost
@Deprecated public Localhost getLocalhost()
Deprecated.This method has been deprecated, please use method buildLocalhost instead.- Specified by:
getLocalhostin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>- Returns:
- The buildable object.
-
buildLocalhost
public Localhost buildLocalhost()
- Specified by:
buildLocalhostin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withLocalhost
public A withLocalhost(Localhost localhost)
- Specified by:
withLocalhostin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
hasLocalhost
public Boolean hasLocalhost()
- Specified by:
hasLocalhostin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withNewLocalhost
public SidecarSpecFluent.LocalhostNested<A> withNewLocalhost()
- Specified by:
withNewLocalhostin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withNewLocalhostLike
public SidecarSpecFluent.LocalhostNested<A> withNewLocalhostLike(Localhost item)
- Specified by:
withNewLocalhostLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editLocalhost
public SidecarSpecFluent.LocalhostNested<A> editLocalhost()
- Specified by:
editLocalhostin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editOrNewLocalhost
public SidecarSpecFluent.LocalhostNested<A> editOrNewLocalhost()
- Specified by:
editOrNewLocalhostin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editOrNewLocalhostLike
public SidecarSpecFluent.LocalhostNested<A> editOrNewLocalhostLike(Localhost item)
- Specified by:
editOrNewLocalhostLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
getOutboundTrafficPolicy
@Deprecated public OutboundTrafficPolicy getOutboundTrafficPolicy()
Deprecated.This method has been deprecated, please use method buildOutboundTrafficPolicy instead.- Specified by:
getOutboundTrafficPolicyin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>- Returns:
- The buildable object.
-
buildOutboundTrafficPolicy
public OutboundTrafficPolicy buildOutboundTrafficPolicy()
- Specified by:
buildOutboundTrafficPolicyin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withOutboundTrafficPolicy
public A withOutboundTrafficPolicy(OutboundTrafficPolicy outboundTrafficPolicy)
- Specified by:
withOutboundTrafficPolicyin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
hasOutboundTrafficPolicy
public Boolean hasOutboundTrafficPolicy()
- Specified by:
hasOutboundTrafficPolicyin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withNewOutboundTrafficPolicy
public SidecarSpecFluent.OutboundTrafficPolicyNested<A> withNewOutboundTrafficPolicy()
- Specified by:
withNewOutboundTrafficPolicyin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withNewOutboundTrafficPolicyLike
public SidecarSpecFluent.OutboundTrafficPolicyNested<A> withNewOutboundTrafficPolicyLike(OutboundTrafficPolicy item)
- Specified by:
withNewOutboundTrafficPolicyLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editOutboundTrafficPolicy
public SidecarSpecFluent.OutboundTrafficPolicyNested<A> editOutboundTrafficPolicy()
- Specified by:
editOutboundTrafficPolicyin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editOrNewOutboundTrafficPolicy
public SidecarSpecFluent.OutboundTrafficPolicyNested<A> editOrNewOutboundTrafficPolicy()
- Specified by:
editOrNewOutboundTrafficPolicyin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editOrNewOutboundTrafficPolicyLike
public SidecarSpecFluent.OutboundTrafficPolicyNested<A> editOrNewOutboundTrafficPolicyLike(OutboundTrafficPolicy item)
- Specified by:
editOrNewOutboundTrafficPolicyLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
getWorkloadSelector
@Deprecated public WorkloadSelector getWorkloadSelector()
Deprecated.This method has been deprecated, please use method buildWorkloadSelector instead.- Specified by:
getWorkloadSelectorin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>- Returns:
- The buildable object.
-
buildWorkloadSelector
public WorkloadSelector buildWorkloadSelector()
- Specified by:
buildWorkloadSelectorin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withWorkloadSelector
public A withWorkloadSelector(WorkloadSelector workloadSelector)
- Specified by:
withWorkloadSelectorin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
hasWorkloadSelector
public Boolean hasWorkloadSelector()
- Specified by:
hasWorkloadSelectorin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withNewWorkloadSelector
public SidecarSpecFluent.WorkloadSelectorNested<A> withNewWorkloadSelector()
- Specified by:
withNewWorkloadSelectorin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
withNewWorkloadSelectorLike
public SidecarSpecFluent.WorkloadSelectorNested<A> withNewWorkloadSelectorLike(WorkloadSelector item)
- Specified by:
withNewWorkloadSelectorLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editWorkloadSelector
public SidecarSpecFluent.WorkloadSelectorNested<A> editWorkloadSelector()
- Specified by:
editWorkloadSelectorin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editOrNewWorkloadSelector
public SidecarSpecFluent.WorkloadSelectorNested<A> editOrNewWorkloadSelector()
- Specified by:
editOrNewWorkloadSelectorin interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
editOrNewWorkloadSelectorLike
public SidecarSpecFluent.WorkloadSelectorNested<A> editOrNewWorkloadSelectorLike(WorkloadSelector item)
- Specified by:
editOrNewWorkloadSelectorLikein interfaceSidecarSpecFluent<A extends SidecarSpecFluent<A>>
-
-