Package io.fabric8.kubernetes.client
Interface Client
-
- All Superinterfaces:
AutoCloseable
,Closeable
,ConfigAware
- All Known Subinterfaces:
AdmissionRegistrationAPIGroupDSL
,ApiextensionsAPIGroupDSL
,AppsAPIGroupDSL
,AuthorizationAPIGroupDSL
,AutoscalingAPIGroupDSL
,BatchAPIGroupDSL
,CertificatesAPIGroupDSL
,DiscoveryAPIGroupDSL
,ExtensionsAPIGroupDSL
,GenericKubernetesClient<C>
,KubernetesClient
,MetricAPIGroupDSL
,NamespacedKubernetesClient
,NetworkAPIGroupDSL
,PolicyAPIGroupDSL
,RbacAPIGroupDSL
,SchedulingAPIGroupDSL
,StorageAPIGroupDSL
,V1AdmissionRegistrationAPIGroupDSL
,V1ApiextensionAPIGroupDSL
,V1APIGroupDSL
,V1AuthorizationAPIGroupDSL
,V1AutoscalingAPIGroupDSL
,V1beta1AdmissionRegistrationAPIGroupDSL
,V1beta1ApiextensionAPIGroupDSL
,V1beta1AuthorizationAPIGroupDSL
,V1beta1CertificatesAPIGroupDSL
,V1beta1DiscoveryAPIGroupDSL
,V1beta1NetworkAPIGroupDSL
,V1beta1SchedulingAPIGroupDSL
,V1CertificatesAPIGroupDSL
,V1NetworkAPIGroupDSL
,V1SchedulingAPIGroupDSL
,V2beta1AutoscalingAPIGroupDSL
,V2beta2AutoscalingAPIGroupDSL
- All Known Implementing Classes:
AdmissionRegistrationAPIGroupClient
,ApiextensionsAPIGroupClient
,AppsAPIGroupClient
,AuthorizationAPIGroupClient
,AutoAdaptableKubernetesClient
,AutoscalingAPIGroupClient
,BaseClient
,BatchAPIGroupClient
,CertificatesAPIGroupClient
,DefaultKubernetesClient
,DiscoveryAPIGroupClient
,ExtensionsAPIGroupClient
,ManagedKubernetesClient
,MetricAPIGroupClient
,NetworkAPIGroupClient
,PolicyAPIGroupClient
,RbacAPIGroupClient
,SchedulingAPIGroupClient
,StorageAPIGroupClient
,V1AdmissionRegistrationAPIGroupClient
,V1ApiextensionsAPIGroupClient
,V1APIGroupClient
,V1AuthorizationAPIGroupClient
,V1AutoscalingAPIGroupClient
,V1beta1AdmissionRegistrationAPIGroupClient
,V1beta1ApiextensionsAPIGroupClient
,V1beta1AuthorizationAPIGroupClient
,V1beta1CertificatesAPIGroupClient
,V1beta1DiscoveryAPIGroupClient
,V1beta1NetworkAPIGroupClient
,V1beta1SchedulingAPIGroupClient
,V1CertificatesAPIGroupClient
,V1NetworkAPIGroupClient
,V1SchedulingAPIGroupClient
,V2beta1AutoscalingAPIGroupClient
,V2beta2AutoscalingAPIGroupClient
public interface Client extends ConfigAware, Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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-
Methods inherited from interface io.fabric8.kubernetes.client.ConfigAware
getConfiguration
-
-
-
-
Method Detail
-
isAdaptable
<C> Boolean isAdaptable(Class<C> type)
Checks if the client can be adapted to an other client type.- Type Parameters:
C
- The target client type.- Parameters:
type
- The target client class.- Returns:
- Returns true if a working
ExtensionAdapter
is found.
-
adapt
<C> C adapt(Class<C> type)
-
getMasterUrl
URL getMasterUrl()
-
getApiVersion
String getApiVersion()
-
getNamespace
String getNamespace()
-
rootPaths
io.fabric8.kubernetes.api.model.RootPaths rootPaths()
-
supportsApiPath
boolean supportsApiPath(String path)
Returns true if this cluster supports the given API path or API Group ID- Parameters:
path
- Path as string- Returns:
- returns boolean value indicating whether it supports.
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-