public class PodMetricOperationsImpl extends MetricOperationsImpl<io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList> implements Namespaceable<PodMetricOperationsImpl>
METRIC_ENDPOINT_URL
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH
Constructor and Description |
---|
PodMetricOperationsImpl(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
PodMetricOperationsImpl |
inNamespace(String namespace) |
io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList |
metrics(String namespace)
Get PodMetricsList for a namespace.
|
io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics |
metrics(String namespace,
String podName)
Get PodMetrics in a namespace with a name.
|
getMetricEndpointUrlWithPlural, metric, metrics, metrics, withLabels, withName
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrl, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handlePatch, handlePatch, handleRawGet, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleUpdate, handleUpdate, isResourceNamespaced, requestException, requestException, requestFailure, requestFailure, restCall, retryWithExponentialBackoff, unmarshal, unmarshal, unmarshal
public PodMetricOperationsImpl(ClientContext clientContext)
public io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetrics metrics(String namespace, String podName)
namespace
- namespace of podpodName
- name of podpublic io.fabric8.kubernetes.api.model.metrics.v1beta1.PodMetricsList metrics(String namespace)
namespace
- namespace for which PodMetrics are queriespublic PodMetricOperationsImpl inNamespace(String namespace)
inNamespace
in interface Namespaceable<PodMetricOperationsImpl>
Copyright © 2015–2020 Red Hat. All rights reserved.