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>>
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
DEFAULT_BACKOFF_MULTIPLIER, DEFAULT_INITIAL_BACKOFF_MILLIS
Constructor and Description |
---|
HasMetadataOperationsImpl(ClientContext clientContext,
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(ClientContext clientContext) |
static OperationContext |
defaultContext(OperationContext context,
ClientContext clientContext) |
OperationContext |
getOperationContext() |
boolean |
isResourceNamespaced() |
HasMetadataOperationsImpl<T,L> |
newInstance(OperationContext context) |
protected void |
validateOperation(Class<T> type) |
accept, createVisitableBuilder, edit, edit, editStatus, modifyItemForReplaceOrPatch, patch, patch, patch, patchStatus, replace, replace, replaceStatus, requireFromServer, requireFromServer
appendListOptionParams, cascading, createOrReplace, delete, delete, delete, dryRun, edit, fetchListUrl, forOperationType, fromServer, get, getConfigType, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getKind, getLabelQueryParam, getLimit, getListType, getMandatory, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getVersion, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handlePatch, handleResponse, handleScale, handleUpdate, inAnyNamespace, inform, informOnCondition, inNamespace, isCascading, isReady, isReloadingFromServer, list, list, list, load, load, load, load, lockResourceVersion, require, runnableInformer, sendPatchedObject, setListType, setNamespace, setType, updateApiVersion, updateApiVersion, updateStatus, waitUntilCondition, waitUntilReady, watch, watch, watch, withField, withFields, withGracePeriod, withIndexers, withInvolvedObject, withItem, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withLimit, withName, withNewFilter, withoutField, withoutFields, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion, withWaitRetryBackoff
create, create, getType
assertResponseCode, 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, handleRawGet, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleUpdate, handleUpdate, requestException, requestException, requestFailure, requestFailure, restCall, retryWithExponentialBackoff, unmarshal, unmarshal, unmarshal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inAnyNamespace
inNamespace
withNewFilter
withField, withFields, withInvolvedObject, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels
withResourceVersion
withGracePeriod
withPropagationPolicy
updateStatus
inform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimit
delete, delete
create, create
createOrReplace
dryRun, dryRun
replace
replaceStatus
getFullResourceName, getName, getNamespace
getNamespace
public HasMetadataOperationsImpl(ClientContext clientContext, ResourceDefinitionContext rdc, Class<T> type, Class<L> listType)
public HasMetadataOperationsImpl(OperationContext context, ResourceDefinitionContext rdc, Class<T> type, Class<L> listType)
public static OperationContext defaultContext(OperationContext context, ClientContext clientContext)
public static OperationContext defaultContext(ClientContext clientContext)
protected void validateOperation(Class<T> type)
validateOperation
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 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.