public interface Client extends ConfigAware, Closeable
Modifier and Type | Method and Description |
---|---|
<C> C |
adapt(Class<C> type) |
void |
close() |
String |
getApiVersion() |
URL |
getMasterUrl() |
String |
getNamespace() |
<C> Boolean |
isAdaptable(Class<C> type)
Checks if the client can be adapted to an other client type.
|
io.fabric8.kubernetes.api.model.RootPaths |
rootPaths() |
boolean |
supportsApiPath(String path)
Returns true if this cluster supports the given API path or API Group ID
|
getConfiguration
<C> Boolean isAdaptable(Class<C> type)
C
- The target client type.type
- The target client class.ExtensionAdapter
is found.<C> C adapt(Class<C> type)
URL getMasterUrl()
String getApiVersion()
String getNamespace()
io.fabric8.kubernetes.api.model.RootPaths rootPaths()
boolean supportsApiPath(String path)
path
- Path as stringvoid close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2015–2020 Red Hat. All rights reserved.