Class ClusterOperationsImpl
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.base.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.ClusterOperationsImpl
-
public class ClusterOperationsImpl extends OperationSupport
-
-
Field Summary
Fields Modifier and Type Field Description static StringKUBERNETES_VERSION_ENDPOINTprotected StringversionEndpoint-
Fields inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
apiGroupName, apiGroupVersion, client, config, context, dryRun, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPER
-
-
Constructor Summary
Constructors Constructor Description ClusterOperationsImpl(okhttp3.OkHttpClient client, Config config, String item)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionInfofetchVersion()protected static VersionInfofetchVersionInfoFromResponse(Map<String,String> responseAsMap)protected okhttp3.ResponsehandleVersionGet(String versionEndpointToBeUsed)-
Methods inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceT, getResourceUrl, getResourceUrl, getResourceURLForWriteOperation, getRootUrl, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, isResourceNamespaced, requestException, requestFailure, unmarshal, unmarshal, unmarshal
-
-
-
-
Field Detail
-
versionEndpoint
protected final String versionEndpoint
-
KUBERNETES_VERSION_ENDPOINT
public static final String KUBERNETES_VERSION_ENDPOINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
fetchVersion
public VersionInfo fetchVersion()
-
handleVersionGet
protected okhttp3.Response handleVersionGet(String versionEndpointToBeUsed) throws IOException
- Throws:
IOException
-
fetchVersionInfoFromResponse
protected static VersionInfo fetchVersionInfoFromResponse(Map<String,String> responseAsMap) throws ParseException
- Throws:
ParseException
-
-