Class CreateOnlyResourceOperation<I,O>
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation<I,O>
-
- All Implemented Interfaces:
InOutCreateable<I,O>
- Direct Known Subclasses:
BaseOperation
,CreateOnlyResourceOperationsImpl
public class CreateOnlyResourceOperation<I,O> extends OperationSupport implements InOutCreateable<I,O>
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<O>
type
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, subresource
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CreateOnlyResourceOperation(OperationContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description O
create(I item)
Class<O>
getType()
protected O
handleCreate(I resource)
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
addNamespacedUrlPathParts, assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getKubernetesSerialization, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getOperationContext, getRequestConfig, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrlParts, handleCreate, handleDelete, handleDeploymentRollback, handleGet, handleMetric, handlePatch, handlePatch, handleRaw, handleRawGet, handleResponse, handleResponse, handleScale, handleUpdate, isResourceNamespaced, requestException, requestException, requestFailure, requestFailure, restCall, waitForResult
-
-
-
-
Constructor Detail
-
CreateOnlyResourceOperation
protected CreateOnlyResourceOperation(OperationContext ctx)
-
-
Method Detail
-
handleCreate
protected O handleCreate(I resource) throws ExecutionException, InterruptedException, IOException
-
-