Class KafkaConnectS2IResources


  • public class KafkaConnectS2IResources
    extends KafkaConnectResources
    Encapsulates the naming scheme used for the resources which the Cluster Operator manages for a KafkaConnectS2I cluster.
    • Method Detail

      • buildConfigName

        public static String buildConfigName​(String clusterName)
        Returns the name of the Kafka Connect S2I source BuildConfig for a KafkaConnectS2I cluster of the given name.
        Parameters:
        clusterName - The metadata.name of the KafkaConnectS2I resource.
        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 target ImageStream for a KafkaConnectS2I cluster of the given name.
        Parameters:
        clusterName - The metadata.name of the KafkaConnectS2I resource.
        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 S2I ImageStream for a KafkaConnectS2I cluster of the given name.
        Parameters:
        clusterName - The metadata.name of the KafkaConnectS2I resource.
        Returns:
        The name of the corresponding Kafka Connect S2I ImageStream.