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, client, config, context, dryRun, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPER
DEFAULT_BACKOFF_MULTIPLIER, DEFAULT_INITIAL_BACKOFF_MILLIS
Constructor and Description |
---|
HasMetadataOperationsImpl(okhttp3.OkHttpClient client,
Config config,
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(OperationContext context,
okhttp3.OkHttpClient client,
Config config) |
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
cascading, createOrReplace, delete, delete, delete, dryRun, edit, fetchListUrl, forOperationType, fromServer, get, getConfigType, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getKind, getLabelQueryParam, getListType, getMandatory, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getRootPaths, 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, 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, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleUpdate, handleUpdate, requestException, requestException, requestFailure, requestFailure, 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, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels
withResourceVersion
withGracePeriod
withPropagationPolicy
inform, inform, inform, informOnCondition, runnableInformer, withIndexers
delete, delete
create, create
createOrReplace
patch, patch, patch, patch
updateStatus
editStatus
replaceStatus
patchStatus
replace
dryRun, dryRun
getFullResourceName, getName, getNamespace
getNamespace
public HasMetadataOperationsImpl(okhttp3.OkHttpClient client, Config config, 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, okhttp3.OkHttpClient client, Config config)
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–2020 Red Hat. All rights reserved.