public class CreateOnlyResourceOperation<I,O> extends OperationSupport implements InOutCreateable<I,O>
Modifier and Type | Field and Description |
---|---|
protected Class<O> |
type |
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH
Modifier | Constructor and Description |
---|---|
protected |
CreateOnlyResourceOperation(OperationContext ctx) |
Modifier and Type | Method and Description |
---|---|
O |
create(I item) |
Class<O> |
getType() |
protected O |
handleCreate(I resource) |
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, isResourceNamespaced, requestException, requestException, requestFailure, requestFailure, restCall, retryWithExponentialBackoff, unmarshal, unmarshal, unmarshal, waitForResult
protected CreateOnlyResourceOperation(OperationContext ctx)
protected O handleCreate(I resource) throws ExecutionException, InterruptedException, IOException
Copyright © 2015–2022 Red Hat. All rights reserved.