Package io.strimzi.api.kafka.model
Class KafkaConnectS2IResources
- java.lang.Object
-
- io.strimzi.api.kafka.model.KafkaConnectResources
-
- io.strimzi.api.kafka.model.KafkaConnectS2IResources
-
public class KafkaConnectS2IResources extends KafkaConnectResources
Encapsulates the naming scheme used for the resources which the Cluster Operator manages for aKafkaConnectS2Icluster.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringbuildConfigName(String clusterName)Returns the name of the Kafka Connect S2I sourceBuildConfigfor aKafkaConnectS2Icluster of the given name.static StringsourceImageStreamName(String clusterName)Returns the name of the Kafka Connect S2IImageStreamfor aKafkaConnectS2Icluster of the given name.static StringtargetImageStreamName(String clusterName)Returns the name of the Kafka Connect S2I targetImageStreamfor aKafkaConnectS2Icluster of the given name.-
Methods inherited from class io.strimzi.api.kafka.model.KafkaConnectResources
buildName, buildPodName, buildServiceAccountName, configStorageTopicOffsets, configStorageTopicStatus, deploymentName, dockerFileConfigMapName, initContainerClusterRoleBindingName, metricsAndLogConfigMapName, qualifiedServiceName, serviceAccountName, serviceName, url
-
-
-
-
Method Detail
-
buildConfigName
public static String buildConfigName(String clusterName)
Returns the name of the Kafka Connect S2I sourceBuildConfigfor aKafkaConnectS2Icluster of the given name.- Parameters:
clusterName- Themetadata.nameof theKafkaConnectS2Iresource.- Returns:
- The name of the corresponding Kafka Connect S2I source
BuildConfig.
-
targetImageStreamName
public static String targetImageStreamName(String clusterName)
Returns the name of the Kafka Connect S2I targetImageStreamfor aKafkaConnectS2Icluster of the given name.- Parameters:
clusterName- Themetadata.nameof theKafkaConnectS2Iresource.- Returns:
- The name of the corresponding Kafka Connect S2I target
ImageStream.
-
sourceImageStreamName
public static String sourceImageStreamName(String clusterName)
Returns the name of the Kafka Connect S2IImageStreamfor aKafkaConnectS2Icluster of the given name.- Parameters:
clusterName- Themetadata.nameof theKafkaConnectS2Iresource.- Returns:
- The name of the corresponding Kafka Connect S2I
ImageStream.
-
-