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_URLapiGroupName, apiGroupVersion, client, config, context, dryRun, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPER| Constructor and Description |
|---|
PodMetricOperationsImpl(okhttp3.OkHttpClient client,
Config config) |
| 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, withNameassertResponseCode, 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, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleUpdate, handleUpdate, isResourceNamespaced, requestException, requestFailure, retryWithExponentialBackoff, unmarshal, unmarshal, unmarshalpublic PodMetricOperationsImpl(okhttp3.OkHttpClient client,
Config config)
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.