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
KubernetesClientException
public BaseClient(Config config) throws KubernetesClientException
KubernetesClientException
public BaseClient(com.ning.http.client.AsyncHttpClient httpClient, Config config) throws KubernetesClientException
KubernetesClientException
public BaseClient(String masterUrl) throws KubernetesClientException
KubernetesClientException
public void close()
public <T> T unmarshal(InputStream is, Class<T> type) throws KubernetesClientException
unmarshal
in interface Client
KubernetesClientException
public com.ning.http.client.AsyncHttpClient getHttpClient()
getHttpClient
in interface Client
public URL getMasterUrl()
getMasterUrl
in interface Client
public String getApiVersion()
getApiVersion
in interface Client
public String getNamespace()
getNamespace
in interface Client
public Config getConfiguration()
getConfiguration
in interface ConfigAware
Copyright © 2015 Red Hat. All rights reserved.