Class CreateOnlyResourceOperationsImpl<T>
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.base.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperationsImpl<T>
-
- All Implemented Interfaces:
Createable<T>
- Direct Known Subclasses:
LocalCreateOnlyResourceReviewOperationsImpl
public class CreateOnlyResourceOperationsImpl<T> extends OperationSupport implements Createable<T>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
apiGroupName, apiGroupVersion, client, config, context, dryRun, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPER
-
-
Constructor Summary
Constructors Constructor Description CreateOnlyResourceOperationsImpl(OperationContext context, String apiGroupName, String apiGroupVersion, String plural, Class<T> subjectAccessRequestClass)CreateOnlyResourceOperationsImpl(okhttp3.OkHttpClient client, Config config, String apiGroupName, String apiGroupVersion, String plural, Class<T> subjectAccessRequestClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(T item)Tcreate(T... resources)TgetItem()booleanisResourceNamespaced()-
Methods inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceT, getResourceUrl, getResourceUrl, getResourceURLForWriteOperation, getRootUrl, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, requestException, requestFailure, unmarshal, unmarshal, unmarshal
-
-
-
-
Method Detail
-
isResourceNamespaced
public boolean isResourceNamespaced()
- Overrides:
isResourceNamespacedin classOperationSupport
-
create
public T create(T... resources)
- Specified by:
createin interfaceCreateable<T>
-
create
public T create(T item)
- Specified by:
createin interfaceCreateable<T>
-
getItem
public T getItem()
-
-