public class CreateOnlyResourceOperationsImpl<I,O> extends OperationSupport implements InOutCreateable<I,O>
apiGroupName, apiGroupVersion, client, config, context, dryRun, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPER
Constructor and Description |
---|
CreateOnlyResourceOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String apiGroupName,
String apiGroupVersion,
String plural,
Class<O> outputClassType) |
CreateOnlyResourceOperationsImpl(OperationContext context,
String apiGroupName,
String apiGroupVersion,
String plural,
Class<O> outputClassType) |
Modifier and Type | Method and Description |
---|---|
O |
create(I... resources) |
O |
create(I item) |
I |
getItem() |
boolean |
isResourceNamespaced() |
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, 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, requestFailure, retryWithExponentialBackoff, unmarshal, unmarshal, unmarshal
public CreateOnlyResourceOperationsImpl(okhttp3.OkHttpClient client, Config config, String apiGroupName, String apiGroupVersion, String plural, Class<O> outputClassType)
public boolean isResourceNamespaced()
isResourceNamespaced
in class OperationSupport
public I getItem()
Copyright © 2015–2020 Red Hat. All rights reserved.