Package io.quarkus.kubernetes.deployment
Class ApplyReplicasToStatefulSetDecorator
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.TypedVisitor<T>
-
- io.dekorate.kubernetes.decorator.Decorator<io.fabric8.kubernetes.api.builder.VisitableBuilder>
-
- io.dekorate.kubernetes.decorator.NamedResourceDecorator<io.fabric8.kubernetes.api.model.apps.StatefulSetSpecFluent>
-
- io.quarkus.kubernetes.deployment.ApplyReplicasToStatefulSetDecorator
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Visitor<io.fabric8.kubernetes.api.builder.VisitableBuilder>,Comparable<io.dekorate.kubernetes.decorator.Decorator>
public class ApplyReplicasToStatefulSetDecorator extends io.dekorate.kubernetes.decorator.NamedResourceDecorator<io.fabric8.kubernetes.api.model.apps.StatefulSetSpecFluent>
-
-
Constructor Summary
Constructors Constructor Description ApplyReplicasToStatefulSetDecorator(int replicas)ApplyReplicasToStatefulSetDecorator(String statefulSetName, int replicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidandThenVisit(io.fabric8.kubernetes.api.model.apps.StatefulSetSpecFluent statefulSetSpec, io.fabric8.kubernetes.api.model.ObjectMeta resourceMeta)
-
-
-
Constructor Detail
-
ApplyReplicasToStatefulSetDecorator
public ApplyReplicasToStatefulSetDecorator(int replicas)
-
ApplyReplicasToStatefulSetDecorator
public ApplyReplicasToStatefulSetDecorator(String statefulSetName, int replicas)
-
-
Method Detail
-
andThenVisit
public void andThenVisit(io.fabric8.kubernetes.api.model.apps.StatefulSetSpecFluent statefulSetSpec, io.fabric8.kubernetes.api.model.ObjectMeta resourceMeta)- Specified by:
andThenVisitin classio.dekorate.kubernetes.decorator.NamedResourceDecorator<io.fabric8.kubernetes.api.model.apps.StatefulSetSpecFluent>
-
-