Interface OpenShiftClientService
-
public interface OpenShiftClientServiceThis service has specific methods that are required by the OpenShift ui.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DefaultSettingsgetDefaultSettings()Gets the OpenShift provisioning by default settings.TemplateDescriptorModelgetTemplateModel(String url)Gets the template descriptor model for a template pointed by a given url.booleanisValidProjectName(String projectName)Indicates if an OpenShift project name is valid.
-
-
-
Method Detail
-
getDefaultSettings
DefaultSettings getDefaultSettings()
Gets the OpenShift provisioning by default settings.
-
getTemplateModel
TemplateDescriptorModel getTemplateModel(String url)
Gets the template descriptor model for a template pointed by a given url.- Parameters:
url- location of the template file.- Returns:
- the template descriptor model.
-
isValidProjectName
boolean isValidProjectName(String projectName)
Indicates if an OpenShift project name is valid.- Parameters:
projectName- an OpenShift project name to check.- Returns:
- true if the project name is valid, false in any other case.
-
-