Class PodMetricOperationsImpl
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.MetricOperationsImpl<io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList>
-
- io.fabric8.kubernetes.client.dsl.internal.PodMetricOperationsImpl
-
- All Implemented Interfaces:
MetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList>
,Nameable<PodMetricOperation>
,Namespaceable<PodMetricOperation>
,PodMetricOperation
public class PodMetricOperationsImpl extends MetricOperationsImpl<io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList> implements PodMetricOperation
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.MetricOperationsImpl
METRIC_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
-
Fields inherited from interface io.fabric8.kubernetes.client.dsl.MetricOperation
METRIC_ENDPOINT_URL
-
-
Constructor Summary
Constructors Constructor Description PodMetricOperationsImpl(Client client)
PodMetricOperationsImpl(OperationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodMetricOperationsImpl
inNamespace(String namespace)
io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList
metrics(String namespace)
io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics
metrics(String namespace, String podName)
PodMetricOperation
withLabels(Map<String,String> labels)
PodMetricOperation
withName(String name)
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.MetricOperationsImpl
getMetricEndpointUrlWithPlural, metric, metrics, metrics
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.MetricOperation
metric, metrics, metrics
-
-
-
-
Constructor Detail
-
PodMetricOperationsImpl
public PodMetricOperationsImpl(Client client)
-
PodMetricOperationsImpl
public PodMetricOperationsImpl(OperationContext context)
-
-
Method Detail
-
metrics
public io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics metrics(String namespace, String podName)
- Specified by:
metrics
in interfacePodMetricOperation
-
metrics
public io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList metrics(String namespace)
- Specified by:
metrics
in interfacePodMetricOperation
-
inNamespace
public PodMetricOperationsImpl inNamespace(String namespace)
- Specified by:
inNamespace
in interfaceNamespaceable<PodMetricOperation>
-
withName
public PodMetricOperation withName(String name)
- Specified by:
withName
in interfaceMetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList>
- Specified by:
withName
in interfaceNameable<PodMetricOperation>
-
withLabels
public PodMetricOperation withLabels(Map<String,String> labels)
- Specified by:
withLabels
in interfaceMetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList>
- Specified by:
withLabels
in interfacePodMetricOperation
-
-