Codota Logo
Config.getClientKeyAlgo
Code IndexAdd Codota to your IDE (free)

How to use
getClientKeyAlgo
method
in
io.fabric8.kubernetes.client.Config

Best Java code snippets using io.fabric8.kubernetes.client.Config.getClientKeyAlgo (Showing top 12 results out of 315)

  • Common ways to obtain Config
private void myMethod () {
Config c =
  • Codota IconString str;new ConfigBuilder().withMasterUrl(str).build()
  • Codota Iconnew Config()
  • Codota Iconnew ConfigBuilder().build()
  • Smart code suggestions by Codota
}
origin: spring-cloud/spring-cloud-kubernetes

    base.getClientKeyAlgo()))
.withClientKeyPassphrase(
    or(kubernetesClientProperties.getClientKeyPassphrase(),
origin: fabric8io/kubernetes-client

public static KeyManager[] keyManagers(Config config) throws NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException, CertificateException, InvalidKeySpecException, IOException {
  return keyManagers(config.getClientCertData(), config.getClientCertFile(), config.getClientKeyData(), config.getClientKeyFile(), config.getClientKeyAlgo(), config.getClientKeyPassphrase(), config.getKeyStoreFile(), config.getKeyStorePassphrase());
}
origin: fabric8io/kubernetes-client

config.setClientKeyFile(Utils.getSystemPropertyOrEnvVar(KUBERNETES_CLIENT_KEY_FILE_SYSTEM_PROPERTY, config.getClientKeyFile()));
config.setClientKeyData(Utils.getSystemPropertyOrEnvVar(KUBERNETES_CLIENT_KEY_DATA_SYSTEM_PROPERTY, config.getClientKeyData()));
config.setClientKeyAlgo(Utils.getSystemPropertyOrEnvVar(KUBERNETES_CLIENT_KEY_ALGO_SYSTEM_PROPERTY, config.getClientKeyAlgo()));
config.setClientKeyPassphrase(Utils.getSystemPropertyOrEnvVar(KUBERNETES_CLIENT_KEY_PASSPHRASE_SYSTEM_PROPERTY, new String(config.getClientKeyPassphrase())));
config.setUserAgent(Utils.getSystemPropertyOrEnvVar(KUBERNETES_USER_AGENT, config.getUserAgent()));
origin: fabric8io/spring-cloud-kubernetes

@Bean
@ConditionalOnMissingBean(Config.class)
public Config kubernetesClientConfig(KubernetesClientProperties kubernetesClientProperties) {
  Config base = new Config();
  Config properties = new ConfigBuilder(base)
      //Only set values that have been explicitly specified
      .withMasterUrl(or(kubernetesClientProperties.getMasterUrl(), base.getMasterUrl()))
      .withApiVersion(or(kubernetesClientProperties.getApiVersion(), base.getApiVersion()))
      .withNamespace(or(kubernetesClientProperties.getNamespace(), base.getNamespace()))
      .withUsername(or(kubernetesClientProperties.getUsername(), base.getUsername()))
      .withPassword(or(kubernetesClientProperties.getPassword(), base.getPassword()))
      .withCaCertFile(or(kubernetesClientProperties.getCaCertFile(), base.getCaCertFile()))
      .withCaCertData(or(kubernetesClientProperties.getCaCertData(), base.getCaCertData()))
      .withClientKeyFile(or(kubernetesClientProperties.getClientKeyFile(), base.getClientKeyFile()))
      .withClientKeyData(or(kubernetesClientProperties.getClientKeyData(), base.getClientKeyData()))
      .withClientCertFile(or(kubernetesClientProperties.getClientCertFile(), base.getClientCertFile()))
      .withClientCertData(or(kubernetesClientProperties.getClientCertData(), base.getClientCertData()))
      //No magic is done for the properties below so we leave them as is.
      .withClientKeyAlgo(or(kubernetesClientProperties.getClientKeyAlgo(), base.getClientKeyAlgo()))
      .withClientKeyPassphrase(or(kubernetesClientProperties.getClientKeyPassphrase(), base.getClientKeyPassphrase()))
      .withConnectionTimeout(or(kubernetesClientProperties.getConnectionTimeout(), base.getConnectionTimeout()))
      .withRequestTimeout(or(kubernetesClientProperties.getRequestTimeout(), base.getRequestTimeout()))
      .withRollingTimeout(or(kubernetesClientProperties.getRollingTimeout(), base.getRollingTimeout()))
      .withTrustCerts(or(kubernetesClientProperties.isTrustCerts(), base.isTrustCerts()))
      .build();
  if (properties.getNamespace() == null || properties.getNamespace().isEmpty()) {
    LOG.warn("No namespace has been detected. Please specify KUBERNETES_NAMESPACE env var, or use a later kubernetes version (1.3 or later)");
  }
  return properties;
}
origin: fabric8io/kubernetes-client

kubernetesConfig.getClientCertFile(), kubernetesConfig.getClientCertData(),
kubernetesConfig.getClientKeyFile(), kubernetesConfig.getClientKeyData(),
kubernetesConfig.getClientKeyAlgo(), kubernetesConfig.getClientKeyPassphrase(),
kubernetesConfig.getUsername(), kubernetesConfig.getPassword(), kubernetesConfig.getOauthToken(),
kubernetesConfig.getWatchReconnectInterval(), kubernetesConfig.getWatchReconnectLimit(),
origin: org.domeos/kubernetes-client

public static KeyManager[] keyManagers(Config config) throws NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException, CertificateException, InvalidKeySpecException, IOException {
  return keyManagers(config.getClientCertData(), config.getClientCertFile(), config.getClientKeyData(), config.getClientKeyFile(), config.getClientKeyAlgo(), config.getClientKeyPassphrase());
}
origin: fabric8io/kubernetes-client

assertEquals("algo", config.getClientKeyAlgo());
assertEquals("passphrase", config.getClientKeyPassphrase());
origin: org.domeos/kubernetes-client

config.setClientKeyFile(Utils.getSystemPropertyOrEnvVar(KUBERNETES_CLIENT_KEY_FILE_SYSTEM_PROPERTY, config.getClientKeyFile()));
config.setClientKeyData(Utils.getSystemPropertyOrEnvVar(KUBERNETES_CLIENT_KEY_DATA_SYSTEM_PROPERTY, config.getClientKeyData()));
config.setClientKeyAlgo(Utils.getSystemPropertyOrEnvVar(KUBERNETES_CLIENT_KEY_ALGO_SYSTEM_PROPERTY, config.getClientKeyAlgo()));
config.setClientKeyPassphrase(Utils.getSystemPropertyOrEnvVar(KUBERNETES_CLIENT_KEY_PASSPHRASE_SYSTEM_PROPERTY, new String(config.getClientKeyPassphrase())));
config.setUserAgent(Utils.getSystemPropertyOrEnvVar(KUBERNETES_USER_AGENT, config.getUserAgent()));
origin: io.fabric8/sping-cloud-kubernetes-core

@Bean
@ConditionalOnMissingBean(Config.class)
public Config kubernetesClientConfig() {
  Config base = new Config();
  Config properites = new ConfigBuilder(base)
      //Only set values that have been explicitly specified
      .withMasterUrl(or(properties.getMasterUrl(), base.getMasterUrl()))
      .withMasterUrl(or(properties.getApiVersion(), base.getApiVersion()))
      .withMasterUrl(or(properties.getApiVersion(), base.getMasterUrl()))
      .withUsername(or(properties.getUsername(), base.getUsername()))
      .withPassword(or(properties.getPassword(), base.getPassword()))
      .withCaCertFile(or(properties.getCaCertFile(), base.getCaCertFile()))
      .withCaCertData(or(properties.getCaCertData(), base.getCaCertData()))
      .withClientKeyFile(or(properties.getClientKeyFile(), base.getClientKeyFile()))
      .withClientKeyData(or(properties.getClientKeyData(), base.getClientKeyData()))
      .withClientCertFile(or(properties.getClientCertFile(), base.getClientCertFile()))
      .withClientCertData(or(properties.getClientCertData(), base.getClientCertData()))
      //No magic is done for the properties below so we leave them as is.
      .withClientKeyAlgo(or(properties.getClientKeyAlgo(), base.getClientKeyAlgo()))
      .withClientKeyPassphrase(or(properties.getClientKeyPassphrase(), base.getClientKeyPassphrase()))
      .withConnectionTimeout(or(properties.getConnectionTimeout(), base.getConnectionTimeout()))
      .withRequestTimeout(or(properties.getRequestTimeout(), base.getRequestTimeout()))
      .withRollingTimeout(or(properties.getRollingTimeout(), base.getRollingTimeout()))
      .withTrustCerts(or(properties.isTrustCerts(), base.isTrustCerts()))
      .build();
  if (!base.equals(properites)) {
    System.out.println("Objects different");
  }
  return properites;
}
origin: io.fabric8/spring-cloud-kubernetes-core

@Bean
@ConditionalOnMissingBean(Config.class)
public Config kubernetesClientConfig(KubernetesClientProperties kubernetesClientProperties) {
  Config base = new Config();
  Config properties = new ConfigBuilder(base)
      //Only set values that have been explicitly specified
      .withMasterUrl(or(kubernetesClientProperties.getMasterUrl(), base.getMasterUrl()))
      .withApiVersion(or(kubernetesClientProperties.getApiVersion(), base.getApiVersion()))
      .withNamespace(or(kubernetesClientProperties.getNamespace(), base.getNamespace()))
      .withUsername(or(kubernetesClientProperties.getUsername(), base.getUsername()))
      .withPassword(or(kubernetesClientProperties.getPassword(), base.getPassword()))
      .withCaCertFile(or(kubernetesClientProperties.getCaCertFile(), base.getCaCertFile()))
      .withCaCertData(or(kubernetesClientProperties.getCaCertData(), base.getCaCertData()))
      .withClientKeyFile(or(kubernetesClientProperties.getClientKeyFile(), base.getClientKeyFile()))
      .withClientKeyData(or(kubernetesClientProperties.getClientKeyData(), base.getClientKeyData()))
      .withClientCertFile(or(kubernetesClientProperties.getClientCertFile(), base.getClientCertFile()))
      .withClientCertData(or(kubernetesClientProperties.getClientCertData(), base.getClientCertData()))
      //No magic is done for the properties below so we leave them as is.
      .withClientKeyAlgo(or(kubernetesClientProperties.getClientKeyAlgo(), base.getClientKeyAlgo()))
      .withClientKeyPassphrase(or(kubernetesClientProperties.getClientKeyPassphrase(), base.getClientKeyPassphrase()))
      .withConnectionTimeout(or(kubernetesClientProperties.getConnectionTimeout(), base.getConnectionTimeout()))
      .withRequestTimeout(or(kubernetesClientProperties.getRequestTimeout(), base.getRequestTimeout()))
      .withRollingTimeout(or(kubernetesClientProperties.getRollingTimeout(), base.getRollingTimeout()))
      .withTrustCerts(or(kubernetesClientProperties.isTrustCerts(), base.isTrustCerts()))
      .build();
  if (properties.getNamespace() == null || properties.getNamespace().isEmpty()) {
    LOG.warn("No namespace has been detected. Please specify KUBERNETES_NAMESPACE env var, or use a later kubernetes version (1.3 or later)");
  }
  return properties;
}
origin: org.springframework.cloud/spring-cloud-kubernetes-core

    base.getClientKeyAlgo()))
.withClientKeyPassphrase(
    or(kubernetesClientProperties.getClientKeyPassphrase(),
origin: io.fabric8/openshift-client

kubernetesConfig.getClientCertFile(), kubernetesConfig.getClientCertData(),
kubernetesConfig.getClientKeyFile(), kubernetesConfig.getClientKeyData(),
kubernetesConfig.getClientKeyAlgo(), kubernetesConfig.getClientKeyPassphrase(),
kubernetesConfig.getUsername(), kubernetesConfig.getPassword(), kubernetesConfig.getOauthToken(),
kubernetesConfig.getWatchReconnectInterval(), kubernetesConfig.getWatchReconnectLimit(),
io.fabric8.kubernetes.clientConfiggetClientKeyAlgo

Popular methods of Config

  • getMasterUrl
  • getOauthToken
  • getNamespace
  • getPassword
  • getUsername
  • getCaCertData
  • getClientCertData
  • getClientKeyData
  • getClientKeyPassphrase
  • getCaCertFile
  • getClientCertFile
  • getClientKeyFile
  • getClientCertFile,
  • getClientKeyFile,
  • getRequestTimeout,
  • isTrustCerts,
  • autoConfigure,
  • getApiVersion,
  • getConnectionTimeout,
  • getRollingTimeout,
  • <init>

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getSystemService (Context)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • JFrame (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now