Class ControllerConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.ControllerConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ControllerConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ControllerConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<ControllerConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ControllerConfig contains the configuration for a controller- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ControllerConfig()No args constructor for use in serializationControllerConfig(Integer clientBurst, Integer clientQPS, Integer concurrentReconciles, Integer queueBurst, Integer queueQPS, Integer replicas, io.fabric8.kubernetes.api.model.ResourceRequirements resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControllerConfigBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetClientBurst()ClientBurst specifies client rate limiter burst for a controllerIntegergetClientQPS()ClientQPS specifies client rate limiter QPS for a controllerIntegergetConcurrentReconciles()ConcurrentReconciles specifies number of concurrent reconciles for a controllerIntegergetQueueBurst()QueueBurst specifies workqueue rate limiter burst for a controllerIntegergetQueueQPS()QueueQPS specifies workqueue rate limiter QPS for a controllerIntegergetReplicas()Replicas specifies the number of replicas the specific controller pod should use.io.fabric8.kubernetes.api.model.ResourceRequirementsgetResources()ControllerConfig contains the configuration for a controllervoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClientBurst(Integer clientBurst)ClientBurst specifies client rate limiter burst for a controllervoidsetClientQPS(Integer clientQPS)ClientQPS specifies client rate limiter QPS for a controllervoidsetConcurrentReconciles(Integer concurrentReconciles)ConcurrentReconciles specifies number of concurrent reconciles for a controllervoidsetQueueBurst(Integer queueBurst)QueueBurst specifies workqueue rate limiter burst for a controllervoidsetQueueQPS(Integer queueQPS)QueueQPS specifies workqueue rate limiter QPS for a controllervoidsetReplicas(Integer replicas)Replicas specifies the number of replicas the specific controller pod should use.voidsetResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)ControllerConfig contains the configuration for a controllerControllerConfigBuildertoBuilder()
-
-
-
Method Detail
-
getClientBurst
public Integer getClientBurst()
ClientBurst specifies client rate limiter burst for a controller
-
setClientBurst
public void setClientBurst(Integer clientBurst)
ClientBurst specifies client rate limiter burst for a controller
-
getClientQPS
public Integer getClientQPS()
ClientQPS specifies client rate limiter QPS for a controller
-
setClientQPS
public void setClientQPS(Integer clientQPS)
ClientQPS specifies client rate limiter QPS for a controller
-
getConcurrentReconciles
public Integer getConcurrentReconciles()
ConcurrentReconciles specifies number of concurrent reconciles for a controller
-
setConcurrentReconciles
public void setConcurrentReconciles(Integer concurrentReconciles)
ConcurrentReconciles specifies number of concurrent reconciles for a controller
-
getQueueBurst
public Integer getQueueBurst()
QueueBurst specifies workqueue rate limiter burst for a controller
-
setQueueBurst
public void setQueueBurst(Integer queueBurst)
QueueBurst specifies workqueue rate limiter burst for a controller
-
getQueueQPS
public Integer getQueueQPS()
QueueQPS specifies workqueue rate limiter QPS for a controller
-
setQueueQPS
public void setQueueQPS(Integer queueQPS)
QueueQPS specifies workqueue rate limiter QPS for a controller
-
getReplicas
public Integer getReplicas()
Replicas specifies the number of replicas the specific controller pod should use. This is ONLY for controllers that have been split out into their own pods. This is ignored for all others.
-
setReplicas
public void setReplicas(Integer replicas)
Replicas specifies the number of replicas the specific controller pod should use. This is ONLY for controllers that have been split out into their own pods. This is ignored for all others.
-
getResources
public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()
ControllerConfig contains the configuration for a controller
-
setResources
public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
ControllerConfig contains the configuration for a controller
-
edit
public ControllerConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ControllerConfigBuilder>
-
toBuilder
public ControllerConfigBuilder toBuilder()
-
-