public class NodeMetricOperationsImpl extends MetricOperationsImpl<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList> implements NodeMetricOperation
METRIC_ENDPOINT_URL
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, subresource
METRIC_ENDPOINT_URL
Constructor and Description |
---|
NodeMetricOperationsImpl(Client client) |
NodeMetricOperationsImpl(OperationContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
isResourceNamespaced() |
io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics |
metrics(String nodeName) |
NodeMetricOperation |
withLabels(Map<String,String> labels) |
NodeMetricOperation |
withName(String name) |
getMetricEndpointUrlWithPlural, metric, metrics, metrics
addNamespacedUrlPathParts, assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getOperationContext, getRequestConfig, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrlParts, handleCreate, handleDelete, handleDeploymentRollback, handleGet, handleMetric, handlePatch, handlePatch, handleRaw, handleRawGet, handleResponse, handleResponse, handleScale, handleUpdate, requestException, requestException, requestFailure, requestFailure, restCall, unmarshal, unmarshal, unmarshal, waitForResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
metric, metrics, metrics
public NodeMetricOperationsImpl(Client client)
public NodeMetricOperationsImpl(OperationContext context)
public io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics metrics(String nodeName)
metrics
in interface NodeMetricOperation
public NodeMetricOperation withLabels(Map<String,String> labels)
withLabels
in interface MetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList>
withLabels
in interface NodeMetricOperation
public NodeMetricOperation withName(String name)
withName
in interface MetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList>
withName
in interface Nameable<NodeMetricOperation>
public boolean isResourceNamespaced()
isResourceNamespaced
in class OperationSupport
Copyright © 2015–2023 Red Hat. All rights reserved.