Package com.openshift.jenkins.plugins
Class ClusterConfig
- All Implemented Interfaces:
Describable<ClusterConfig>,Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ListBoxModeldoFillCredentialsIdItems(String credentialsId) static Stringstatic StringgetHostClusterApiServerUrl(String defaultHost, String defaultPort) Takes in defaults, with assumption that the 'env' pipeline global var is better populated as pipelines evolvegetName()booleanvoidsetCredentialsId(String credentialsId) voidsetDefaultProject(String defaultProject) voidsetServerCertificateAuthority(String serverCertificateAuthority) voidsetServerUrl(String serverUrl) voidsetSkipTlsVerify(boolean skipTLSVerify) toString()Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ClusterConfig
-
-
Method Details
-
getName
-
getServerUrl
-
setServerUrl
-
getServerCertificateAuthority
-
setServerCertificateAuthority
-
isSkipTlsVerify
public boolean isSkipTlsVerify() -
setSkipTlsVerify
@DataBoundSetter public void setSkipTlsVerify(boolean skipTLSVerify) -
getDefaultProject
-
setDefaultProject
-
getCredentialsId
-
setCredentialsId
-
toString
-
getHostClusterApiServerUrl
- Returns:
- Returns a URL to contact the API server of the OpenShift cluster running this node or throws an Exception if it cannot be determined.
-
getHostClusterApiServerUrl
Takes in defaults, with assumption that the 'env' pipeline global var is better populated as pipelines evolve- Parameters:
defaultHost- the default hostdefaultPort- the default port- Returns:
- Returns a URL to contact the API server of the OpenShift cluster running this node or throws an Exception if it cannot be determined.
-
doFillCredentialsIdItems
-