Class NodeMetricOperationsImpl
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.MetricOperationsImpl<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList>
-
- io.fabric8.kubernetes.client.dsl.internal.NodeMetricOperationsImpl
-
- All Implemented Interfaces:
MetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList>
,Nameable<NodeMetricOperation>
,NodeMetricOperation
public class NodeMetricOperationsImpl extends MetricOperationsImpl<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList> implements NodeMetricOperation
-
-
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 NodeMetricOperationsImpl(Client client)
NodeMetricOperationsImpl(OperationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isResourceNamespaced()
io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics
metrics(String nodeName)
NodeMetricOperation
withLabels(Map<String,String> labels)
NodeMetricOperation
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, 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
-
NodeMetricOperationsImpl
public NodeMetricOperationsImpl(Client client)
-
NodeMetricOperationsImpl
public NodeMetricOperationsImpl(OperationContext context)
-
-
Method Detail
-
metrics
public io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics metrics(String nodeName)
- Specified by:
metrics
in interfaceNodeMetricOperation
-
withLabels
public NodeMetricOperation withLabels(Map<String,String> labels)
- Specified by:
withLabels
in interfaceMetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList>
- Specified by:
withLabels
in interfaceNodeMetricOperation
-
withName
public NodeMetricOperation withName(String name)
- Specified by:
withName
in interfaceMetricOperation<io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetrics,io.fabric8.kubernetes.api.model.metrics.v1beta1.NodeMetricsList>
- Specified by:
withName
in interfaceNameable<NodeMetricOperation>
-
isResourceNamespaced
public boolean isResourceNamespaced()
- Overrides:
isResourceNamespaced
in classOperationSupport
-
-