Class OpenShiftConfig


  • public class OpenShiftConfig
    extends Config
    • Field Detail

      • KUBERNETES_OAPI_VERSION_SYSTEM_PROPERTY

        public static final String KUBERNETES_OAPI_VERSION_SYSTEM_PROPERTY
        See Also:
        Constant Field Values
      • OPENSHIFT_BUILD_TIMEOUT_SYSTEM_PROPERTY

        public static final String OPENSHIFT_BUILD_TIMEOUT_SYSTEM_PROPERTY
        See Also:
        Constant Field Values
      • DEFAULT_BUILD_TIMEOUT

        public static final Long DEFAULT_BUILD_TIMEOUT
    • Constructor Detail

      • OpenShiftConfig

        public OpenShiftConfig​(Config kubernetesConfig)
      • OpenShiftConfig

        public OpenShiftConfig​(Config kubernetesConfig,
                               String openShiftUrl)
      • OpenShiftConfig

        public OpenShiftConfig​(String openShiftUrl,
                               String oapiVersion,
                               String masterUrl,
                               String apiVersion,
                               String namespace,
                               Boolean trustCerts,
                               Boolean disableHostnameVerification,
                               String caCertFile,
                               String caCertData,
                               String clientCertFile,
                               String clientCertData,
                               String clientKeyFile,
                               String clientKeyData,
                               String clientKeyAlgo,
                               String clientKeyPassphrase,
                               String username,
                               String password,
                               String oauthToken,
                               int watchReconnectInterval,
                               int watchReconnectLimit,
                               int connectionTimeout,
                               int requestTimeout,
                               long rollingTimeout,
                               long scaleTimeout,
                               int loggingInterval,
                               Integer maxConcurrentRequests,
                               Integer maxConcurrentRequestsPerHost,
                               String httpProxy,
                               String httpsProxy,
                               String[] noProxy,
                               Map<Integer,​String> errorMessages,
                               String userAgent,
                               okhttp3.TlsVersion[] tlsVersions,
                               long buildTimeout,
                               long websocketTimeout,
                               long websocketPingInterval,
                               String proxyUsername,
                               String proxyPassword,
                               String trustStoreFile,
                               String trustStorePassphrase,
                               String keyStoreFile,
                               String keyStorePassphrase,
                               String impersonateUsername,
                               String[] impersonateGroups,
                               Map<String,​List<String>> impersonateExtras,
                               boolean openshiftApiGroupsEnabled,
                               boolean disableApiGroupCheck)
      • OpenShiftConfig

        public OpenShiftConfig​(Config kubernetesConfig,
                               String openShiftUrl,
                               String oapiVersion,
                               long buildTimeout)
    • Method Detail

      • withOpenshiftApiGroupsEnabled

        public OpenShiftConfig withOpenshiftApiGroupsEnabled​(boolean openshiftApiGroupsEnabled)
      • getOapiVersion

        public String getOapiVersion()
      • setOapiVersion

        public void setOapiVersion​(String oapiVersion)
      • getOpenShiftUrl

        public String getOpenShiftUrl()
      • setOpenShiftUrl

        public void setOpenShiftUrl​(String openShiftUrl)
      • getBuildTimeout

        public long getBuildTimeout()
      • setBuildTimeout

        public void setBuildTimeout​(long buildTimeout)
      • isDisableApiGroupCheck

        public boolean isDisableApiGroupCheck()
      • setDisableApiGroupCheck

        public void setDisableApiGroupCheck​(boolean disableApiGroupCheck)
      • isOpenshiftApiGroupsEnabled

        public boolean isOpenshiftApiGroupsEnabled()
      • setOpenshiftApiGroupsEnabled

        public void setOpenshiftApiGroupsEnabled​(boolean openshiftApiGroupsEnabled)