public class BaseClient extends Object implements Client
| Constructor and Description |
|---|
BaseClient() |
BaseClient(com.ning.http.client.AsyncHttpClient httpClient,
Config config) |
BaseClient(Config config) |
BaseClient(String masterUrl) |
| Modifier and Type | Method and Description |
|---|---|
<C extends Client> |
adapt(Class<C> type) |
void |
close() |
String |
getApiVersion() |
Config |
getConfiguration() |
com.ning.http.client.AsyncHttpClient |
getHttpClient() |
URL |
getMasterUrl() |
String |
getNamespace() |
io.fabric8.kubernetes.api.model.RootPaths |
rootPaths() |
<T> T |
unmarshal(InputStream is,
Class<T> type) |
public BaseClient()
throws KubernetesClientException
KubernetesClientExceptionpublic BaseClient(Config config) throws KubernetesClientException
KubernetesClientExceptionpublic BaseClient(com.ning.http.client.AsyncHttpClient httpClient,
Config config)
throws KubernetesClientException
KubernetesClientExceptionpublic BaseClient(String masterUrl) throws KubernetesClientException
KubernetesClientExceptionpublic void close()
public <T> T unmarshal(InputStream is, Class<T> type) throws KubernetesClientException
unmarshal in interface ClientKubernetesClientExceptionpublic com.ning.http.client.AsyncHttpClient getHttpClient()
getHttpClient in interface Clientpublic URL getMasterUrl()
getMasterUrl in interface Clientpublic String getApiVersion()
getApiVersion in interface Clientpublic String getNamespace()
getNamespace in interface Clientpublic Config getConfiguration()
getConfiguration in interface ConfigAwareCopyright © 2015 Red Hat. All rights reserved.