Class OpenShiftBinary


  • public class OpenShiftBinary
    extends Object
    • Constructor Detail

      • OpenShiftBinary

        public OpenShiftBinary​(String path)
      • OpenShiftBinary

        public OpenShiftBinary​(String path,
                               String ocConfigPath)
    • Method Detail

      • apply

        public void apply​(String namespace,
                          String sourcePath)
        Apply configuration file in the specified namespace. Delegates to `oc apply --filename='sourcepath' --namespace='namespace'`
        Parameters:
        sourcePath - path to configration file
        namespace - namespace
      • apply

        public void apply​(String sourcePath)
        Apply configuration file. Delegates to `oc apply --filename='sourcepath`
        Parameters:
        sourcePath - path to configration file
      • apply

        public void apply​(List<String> sourcePaths)
        Apply configuration files in the order they appear in the list
        Parameters:
        sourcePaths - list of paths to configuration files
      • apply

        public void apply​(String namespace,
                          List<String> sourcePaths)
        Apply configuration files in the order they appear in the list, using supplied namespace.
        Parameters:
        namespace - namespace in which the configuration files should be applied
        sourcePaths - list of paths to configuration files
      • project

        public void project​(String projectName)
      • startBuild

        public void startBuild​(String buildConfig,
                               String sourcePath)