public interface Client extends ConfigAware, Closeable
Modifier and Type | Method and Description |
---|---|
<C extends Client> |
adapt(Class<C> type) |
void |
close() |
String |
getApiVersion() |
com.ning.http.client.AsyncHttpClient |
getHttpClient() |
URL |
getMasterUrl() |
String |
getNamespace() |
<C extends Client> |
isAdaptable(Class<C> type)
Checks if the client can be adapted to an other client type.
|
io.fabric8.kubernetes.api.model.RootPaths |
rootPaths() |
<T> T |
unmarshal(InputStream is,
Class<T> type) |
getConfiguration
<C extends Client> Boolean isAdaptable(Class<C> type)
C
- The target client type.type
- The target client class.ExtensionAdapter
is found.URL getMasterUrl()
String getApiVersion()
String getNamespace()
com.ning.http.client.AsyncHttpClient getHttpClient()
io.fabric8.kubernetes.api.model.RootPaths rootPaths()
<T> T unmarshal(InputStream is, Class<T> type)
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2015 Red Hat. All rights reserved.