Package io.strimzi.api.kafka.model
Class JmxTransResources
java.lang.Object
io.strimzi.api.kafka.model.JmxTransResources
Encapsulates the naming scheme used for the resources which the Cluster Operator manages for a
JmxTrans instance.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringconfigMapName(String kafkaClusterName) Returns the name of the JmxTransConfigMap.static StringdeploymentName(String kafkaClusterName) Returns the name of the JmxTransDeployment.static StringserviceAccountName(String kafkaClusterName) Returns the name of the JmxTransServiceAccount.
-
Method Details
-
deploymentName
Returns the name of the JmxTransDeployment.- Parameters:
kafkaClusterName- Themetadata.nameof theKafkaresource.- Returns:
- The name of the corresponding JmxTrans
Deployment.
-
serviceAccountName
Returns the name of the JmxTransServiceAccount.- Parameters:
kafkaClusterName- Themetadata.nameof theKafkaresource.- Returns:
- The name of the corresponding JmxTrans
ServiceAccount.
-
configMapName
Returns the name of the JmxTransConfigMap.- Parameters:
kafkaClusterName- Themetadata.nameof theKafkaresource.- Returns:
- The name of the corresponding JmxTrans
ConfigMap.
-