public final class Clients extends Object
限定符和类型 | 方法和说明 |
---|---|
static io.kubernetes.client.ApiClient |
createClientFromCluster(KubernetesCluster cluster)
Return a client.
|
static io.kubernetes.client.ApiClient |
createClientFromConfig(String masterUrl,
String credentialsId,
String serverCertificateAuthority,
boolean skipTlsVerify) |
@Nonnull public static io.kubernetes.client.ApiClient createClientFromCluster(@Nonnull KubernetesCluster cluster) throws KubernetesClientException
cluster
- Kubernetes clusterKubernetesClientException
public static io.kubernetes.client.ApiClient createClientFromConfig(String masterUrl, String credentialsId, String serverCertificateAuthority, boolean skipTlsVerify) throws KubernetesClientException
Copyright © 2016–2019 Alauda. All rights reserved.