Class MetricOperationsImpl<T,L>
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.MetricOperationsImpl<T,L>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.client.dsl.MetricOperation<T,L>
- Direct Known Subclasses:
NodeMetricOperationsImpl,PodMetricOperationsImpl
public abstract class MetricOperationsImpl<T,L> extends OperationSupport implements io.fabric8.kubernetes.client.dsl.MetricOperation<T,L>
-
-
Field Summary
Fields Modifier and Type Field Description static StringMETRIC_ENDPOINT_URL-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, subresource
-
-
Constructor Summary
Constructors Constructor Description MetricOperationsImpl(OperationContext operationContext, Class<T> apiTypeClass, Class<L> apiTypeListClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetMetricEndpointUrlWithPlural(String plural)Tmetric()Get a single metric. name needs to be provided.Lmetrics()Get a list of metricsLmetrics(Map<String,Object> labelsMap)Returns a list of metrics matching specified labels-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
addNamespacedUrlPathParts, assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getKubernetesSerialization, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getOperationContext, getRequestConfig, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrlParts, handleCreate, handleDelete, handleDeploymentRollback, handleGet, handleMetric, handlePatch, handlePatch, handleRaw, handleRawGet, handleResponse, handleResponse, handleScale, handleUpdate, isResourceNamespaced, requestException, requestException, requestFailure, requestFailure, restCall, waitForResult
-
-
-
-
Field Detail
-
METRIC_ENDPOINT_URL
public static final String METRIC_ENDPOINT_URL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetricOperationsImpl
public MetricOperationsImpl(OperationContext operationContext, Class<T> apiTypeClass, Class<L> apiTypeListClass)
-
-