Class DatabaseDeployer<T extends DatabaseDeployer,​C extends DatabaseController>

    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • ocp

        private final io.fabric8.openshift.client.OpenShiftClient ocp
      • dbType

        private final String dbType
      • project

        private String project
      • deployment

        private io.fabric8.kubernetes.api.model.apps.Deployment deployment
      • services

        private List<io.fabric8.kubernetes.api.model.Service> services
    • Constructor Detail

      • DatabaseDeployer

        public DatabaseDeployer​(String dbType,
                                io.fabric8.openshift.client.OpenShiftClient ocp)
    • Method Detail

      • withProject

        public T withProject​(String project)
      • withDeployment

        public T withDeployment​(String yamlPath)
      • withDeployment

        public T withDeployment​(io.fabric8.kubernetes.api.model.apps.Deployment deployment)
      • withServices

        public T withServices​(String... yamlPath)
      • withServices

        public T withServices​(Collection<io.fabric8.kubernetes.api.model.Service> services)
      • deploy

        public C deploy()
      • getThis

        public abstract T getThis()
      • getController

        public abstract C getController​(io.fabric8.kubernetes.api.model.apps.Deployment deployment,
                                        List<io.fabric8.kubernetes.api.model.Service> services,
                                        String dbType,
                                        io.fabric8.openshift.client.OpenShiftClient ocp)