public class OpenShiftBinary extends Object
| Constructor and Description |
|---|
OpenShiftBinary(String path) |
OpenShiftBinary(String path,
String ocConfigPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(List<String> sourcePaths)
Apply configuration files in the order they appear in the list
|
void |
apply(String sourcePath)
Apply configuration file.
|
void |
apply(String namespace,
List<String> sourcePaths)
Apply configuration files in the order they appear in the list, using supplied namespace.
|
void |
apply(String namespace,
String sourcePath)
Apply configuration file in the specified namespace.
|
String |
execute(String... args) |
void |
login(String url,
String token) |
void |
login(String url,
String username,
String password) |
void |
project(String projectName) |
void |
startBuild(String buildConfig,
String sourcePath) |
public OpenShiftBinary(String path)
public void apply(String namespace, String sourcePath)
sourcePath - path to configration filenamespace - namespacepublic void apply(String sourcePath)
sourcePath - path to configration filepublic void apply(List<String> sourcePaths)
sourcePaths - list of paths to configuration filespublic void apply(String namespace, List<String> sourcePaths)
namespace - namespace in which the configuration files should be appliedsourcePaths - list of paths to configuration filespublic void project(String projectName)
Copyright © 2025. All rights reserved.