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 ListBoxModel
doFillCredentialsIdItems
(String credentialsId) static String
static String
getHostClusterApiServerUrl
(String defaultHost, String defaultPort) Takes in defaults, with assumption that the 'env' pipeline global var is better populated as pipelines evolvegetName()
boolean
void
setCredentialsId
(String credentialsId) void
setDefaultProject
(String defaultProject) void
setServerCertificateAuthority
(String serverCertificateAuthority) void
setServerUrl
(String serverUrl) void
setSkipTlsVerify
(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
-