Class AbstractOcpDatabaseDeployer<T>

    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • ocp

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

        private final String project
      • deployment

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

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

      • AbstractOcpDatabaseDeployer

        public AbstractOcpDatabaseDeployer​(String project,
                                           io.fabric8.kubernetes.api.model.apps.Deployment deployment,
                                           List<io.fabric8.kubernetes.api.model.Service> services,
                                           io.fabric8.openshift.client.OpenShiftClient ocp)
    • Method Detail

      • deploy

        public T deploy()
        Description copied from interface: Deployer
        Deploys resource
        Specified by:
        deploy in interface Deployer<T>
        Returns:
        Controller for deployed resource
      • getController

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