public class BuildConfigHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BuildConfigHelper.CreateGitProjectResults |
| Constructor and Description |
|---|
BuildConfigHelper() |
| Modifier and Type | Method and Description |
|---|---|
static io.fabric8.openshift.api.model.BuildConfig |
createAndApplyBuildConfig(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
String namespace,
String projectName,
String cloneUrl,
Map<String,String> annotations)
Returns the created BuildConfig for the given project name and git repository
|
static io.fabric8.openshift.api.model.BuildConfig |
createBuildConfig(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
String namespace,
String projectName,
String cloneUrl,
Map<String,String> annotations) |
static String |
getBuildConfigConsoleURL(io.fabric8.kubernetes.client.KubernetesClient kubernetes,
String consoleNamespace,
io.fabric8.openshift.api.model.BuildConfig buildConfig)
Returns the URL to the fabric8 console
|
static BuildConfigHelper.CreateGitProjectResults |
importNewGitProject(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
UserDetails userDetails,
File basedir,
String namespace,
String projectName,
String origin,
String message,
boolean apply) |
static BuildConfigHelper.CreateGitProjectResults |
importNewGitProject(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
UserDetails userDetails,
File basedir,
String namespace,
String projectName,
String origin,
String message,
boolean apply,
boolean useLocalGitAddress) |
public static io.fabric8.openshift.api.model.BuildConfig createAndApplyBuildConfig(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
String namespace,
String projectName,
String cloneUrl,
Map<String,String> annotations)
public static io.fabric8.openshift.api.model.BuildConfig createBuildConfig(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
String namespace,
String projectName,
String cloneUrl,
Map<String,String> annotations)
public static String getBuildConfigConsoleURL(io.fabric8.kubernetes.client.KubernetesClient kubernetes, String consoleNamespace, io.fabric8.openshift.api.model.BuildConfig buildConfig)
public static BuildConfigHelper.CreateGitProjectResults importNewGitProject(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient, UserDetails userDetails, File basedir, String namespace, String projectName, String origin, String message, boolean apply) throws org.eclipse.jgit.api.errors.GitAPIException, com.fasterxml.jackson.core.JsonProcessingException
org.eclipse.jgit.api.errors.GitAPIExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic static BuildConfigHelper.CreateGitProjectResults importNewGitProject(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient, UserDetails userDetails, File basedir, String namespace, String projectName, String origin, String message, boolean apply, boolean useLocalGitAddress) throws org.eclipse.jgit.api.errors.GitAPIException, com.fasterxml.jackson.core.JsonProcessingException
org.eclipse.jgit.api.errors.GitAPIExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2011–2017 Red Hat. All rights reserved.