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>
-
Field Summary
Fields inherited from class io.dekorate.kubernetes.decorator.NamedResourceDecorator
kind, nameFields inherited from class io.dekorate.kubernetes.decorator.Decorator
ANY -
Constructor Summary
ConstructorsConstructorDescriptionApplyReplicasToStatefulSetDecorator(int replicas) ApplyReplicasToStatefulSetDecorator(String statefulSetName, int replicas) -
Method Summary
Modifier and TypeMethodDescriptionvoidandThenVisit(io.fabric8.kubernetes.api.model.apps.StatefulSetSpecFluent statefulSetSpec, io.fabric8.kubernetes.api.model.ObjectMeta resourceMeta) Methods inherited from class io.dekorate.kubernetes.decorator.NamedResourceDecorator
after, andThenVisit, getName, visitMethods inherited from class io.dekorate.kubernetes.decorator.Decorator
before, compareToMethods inherited from class io.fabric8.kubernetes.api.builder.TypedVisitor
getTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fabric8.kubernetes.api.builder.Visitor
addRequirement, addRequirement, canVisit, getRequirement, hasItem, hasVisitMethodMatching, order, visit
-
Constructor Details
-
ApplyReplicasToStatefulSetDecorator
public ApplyReplicasToStatefulSetDecorator(int replicas) -
ApplyReplicasToStatefulSetDecorator
-
-
Method Details
-
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>
-