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>>
FieldValidateable.Validation
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, subresource
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, handleReplace, modifyItemForReplaceOrPatch, patch, patch, patch, patch, patch, patchStatus, patchStatus, replace, replaceStatus, scale, scale, scale, update, update, updateStatus, waitUntilScaled
appendListOptionParams, create, createOrReplace, createOrReplace, delete, delete, delete, deleteAll, dryRun, dryRun, edit, fetchListUrl, fieldManager, fieldValidation, forceConflicts, forOperationType, fromServer, get, getApiEndpointPath, getConfigType, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getItemOrRequireFromServer, getKind, getLimit, getListType, getNonNullItem, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getVersion, getWatchReconnectInterval, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handleResponse, handleScale, handleUpdate, inAnyNamespace, inform, informOnCondition, inNamespace, inWriteContext, isReady, item, list, list, list, load, load, load, load, lockResourceVersion, lockResourceVersion, newResource, replace, replaceStatus, require, requireFromServer, resource, resources, runnableInformer, serverSideApply, 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, withTimeout
create, getType
addNamespacedUrlPathParts, assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, 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
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
withTimeout, withTimeoutInMillis
withGracePeriod
withPropagationPolicy
replace, replaceStatus
getFullResourceName, getName, getNamespace
withTimeoutInMillis
patch, patch
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()
getOperationContext
in class OperationSupport
Copyright © 2015–2023 Red Hat. All rights reserved.