public class HasMetadataOperationsImpl<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>> extends HasMetadataOperation<T,L,Resource<T>> implements MixedOperation<T,L,Resource<T>>
Modifier and Type | Field and Description |
---|---|
protected ResourceDefinitionContext |
rdc |
DEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICY
apiVersion, listType
type
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH
Constructor and Description |
---|
HasMetadataOperationsImpl(Client client,
ResourceDefinitionContext rdc,
Class<T> type,
Class<L> listType) |
HasMetadataOperationsImpl(OperationContext context,
ResourceDefinitionContext rdc,
Class<T> type,
Class<L> listType) |
Modifier and Type | Method and Description |
---|---|
static OperationContext |
defaultContext(Client client) |
OperationContext |
getOperationContext() |
boolean |
isResourceNamespaced() |
HasMetadataOperationsImpl<T,L> |
newInstance(OperationContext context) |
accept, edit, edit, editStatus, modifyItemForReplaceOrPatch, patch, patch, patch, patchStatus, replace, replace, replaceStatus, requireFromServer
appendListOptionParams, create, createOrReplace, createOrReplace, delete, delete, delete, dryRun, dryRun, edit, fetchListUrl, forOperationType, fromServer, get, getConfigType, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getKind, getLimit, getListType, getMandatory, getNonNullItem, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getVersion, getWatchReconnectInterval, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handleResponse, handleScale, handleUpdate, inAnyNamespace, inform, informOnCondition, inNamespace, inWriteContext, isReady, isReloadingFromServer, list, list, list, load, load, load, load, lockResourceVersion, lockResourceVersion, newResource, patch, patch, patchStatus, replace, replaceStatus, require, resource, resources, runnableInformer, setListType, setType, submitList, submitWatch, updateApiVersion, updateApiVersion, updateStatus, waitUntilCondition, waitUntilReady, watch, watch, watch, withField, withFields, withGracePeriod, withIndexers, withInvolvedObject, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withLimit, withName, withNewFilter, withoutField, withoutFields, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion
create, getType
assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getParameters, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrl, handleApproveOrDeny, handleCreate, handleDelete, handleDeploymentRollback, handleGet, handleMetric, handlePatch, handlePatch, handleRawGet, handleResponse, handleResponse, handleScale, handleUpdate, requestException, requestException, requestFailure, requestFailure, restCall, retryWithExponentialBackoff, unmarshal, unmarshal, unmarshal, waitForResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inAnyNamespace
inNamespace
delete, delete, dryRun, dryRun, load, load, load, load, resource
resources, withNewFilter
withField, withFields, withInvolvedObject, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels
withResourceVersion
waitUntilCondition, waitUntilReady
inform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimit
create, createOrReplace, delete, patchStatus, updateStatus
withGracePeriod
withPropagationPolicy
replace, replaceStatus
getFullResourceName, getName, getNamespace
patch, patch
getNamespace
protected final ResourceDefinitionContext rdc
public HasMetadataOperationsImpl(Client client, ResourceDefinitionContext rdc, Class<T> type, Class<L> listType)
public HasMetadataOperationsImpl(OperationContext context, ResourceDefinitionContext rdc, Class<T> type, Class<L> listType)
public static OperationContext defaultContext(Client client)
public HasMetadataOperationsImpl<T,L> newInstance(OperationContext context)
newInstance
in class HasMetadataOperation<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>,Resource<T extends io.fabric8.kubernetes.api.model.HasMetadata>>
public boolean isResourceNamespaced()
isResourceNamespaced
in class BaseOperation<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>,Resource<T extends io.fabric8.kubernetes.api.model.HasMetadata>>
public OperationContext getOperationContext()
Copyright © 2015–2022 Red Hat. All rights reserved.