Class OpenShiftSupport
java.lang.Object
org.wildfly.glow.deployment.openshift.api.OpenShiftSupport
- Author:
- jdenise
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeploy(List<Path> deployments, String applicationName, GlowMessageWriter writer, Path target, ScanResults scanResults, boolean ha, Map<String, String> extraEnv, Map<String, String> buildExtraEnv, Set<String> disabledDeployers, Set<String> enabledDeployers, Path initScript, Path cliScript, OpenShiftConfiguration config, org.jboss.galleon.universe.maven.repo.MavenRepoManager mvnResolver, String stability, Map<String, String> serverImageBuildLabels, boolean dryRun, List<org.wildfly.channel.Channel> channels) static PathgetBuildDirectory(Path target) static PathgetDeployersDirectory(Path target) static PathgetDeploymentDirectory(Path target) static PathgetDeploymentsDirectory(Path target) static PathgetDockerAppDirectory(Path target) static PathgetDockerDirectory(Path target) static PathgetDockerServerDirectory(Path target) static PathgetExtensionsDirectory(Path target) static PathgetImagesDirectory(Path target) static StringgetResolvedEnvs(Layer layer, Set<Env> input, Set<String> disabledDeployers, Set<String> enabledDeployers) static PathgetTmpDirectory(Path target)
-
Constructor Details
-
OpenShiftSupport
public OpenShiftSupport()
-
-
Method Details
-
getDeploymentDirectory
- Throws:
IOException
-
getBuildDirectory
- Throws:
IOException
-
getImagesDirectory
- Throws:
IOException
-
getDockerServerDirectory
- Throws:
IOException
-
getDockerAppDirectory
- Throws:
IOException
-
getExtensionsDirectory
- Throws:
IOException
-
getDeploymentsDirectory
- Throws:
IOException
-
getDockerDirectory
- Throws:
IOException
-
getTmpDirectory
- Throws:
IOException
-
getDeployersDirectory
- Throws:
IOException
-
getResolvedEnvs
public static ConfigurationResolver.ResolvedEnvs getResolvedEnvs(Layer layer, Set<Env> input, Set<String> disabledDeployers, Set<String> enabledDeployers) throws Exception - Throws:
Exception
-
getPossibleDeployer
public static String getPossibleDeployer(Set<Layer> layers, Set<String> disabledDeployers, Set<String> enabledDeployers) throws Exception - Throws:
Exception
-
deploy
public static void deploy(List<Path> deployments, String applicationName, GlowMessageWriter writer, Path target, ScanResults scanResults, boolean ha, Map<String, String> extraEnv, Map<String, throws ExceptionString> buildExtraEnv, Set<String> disabledDeployers, Set<String> enabledDeployers, Path initScript, Path cliScript, OpenShiftConfiguration config, org.jboss.galleon.universe.maven.repo.MavenRepoManager mvnResolver, String stability, Map<String, String> serverImageBuildLabels, boolean dryRun, List<org.wildfly.channel.Channel> channels) - Throws:
Exception
-