public class ApplyReplicasDecorator extends NamedResourceDecorator<io.dekorate.deps.kubernetes.api.model.apps.DeploymentSpecFluent>
ANY, name| Constructor and Description |
|---|
ApplyReplicasDecorator(int replicas) |
ApplyReplicasDecorator(String deploymentName,
int replicas) |
| Modifier and Type | Method and Description |
|---|---|
void |
andThenVisit(io.dekorate.deps.kubernetes.api.model.apps.DeploymentSpecFluent deploymentSpec,
io.dekorate.deps.kubernetes.api.model.ObjectMeta resourceMeta) |
visitgetTypepublic ApplyReplicasDecorator(int replicas)
public ApplyReplicasDecorator(String deploymentName, int replicas)
public void andThenVisit(io.dekorate.deps.kubernetes.api.model.apps.DeploymentSpecFluent deploymentSpec, io.dekorate.deps.kubernetes.api.model.ObjectMeta resourceMeta)
andThenVisit in class NamedResourceDecorator<io.dekorate.deps.kubernetes.api.model.apps.DeploymentSpecFluent>Copyright © 2018–2020 Red Hat. All rights reserved.