public class TemplateOperationsImpl extends OpenShiftOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>> implements TemplateOperation
OPENSHIFT_APIGROUP_SUFFIXDEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICYapiVersion, listTypetypeapiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCHDEFAULT_BACKOFF_MULTIPLIER, DEFAULT_INITIAL_BACKOFF_MILLIS| Constructor and Description |
|---|
TemplateOperationsImpl(OpenshiftClientContext clientContext) |
TemplateOperationsImpl(OperationContext context,
Map<String,String> parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected io.fabric8.kubernetes.api.builder.VisitableBuilder<io.fabric8.openshift.api.model.Template,?> |
createVisitableBuilder(io.fabric8.openshift.api.model.Template item) |
protected io.fabric8.openshift.api.model.Template |
handleGet(URL resourceUrl) |
protected <T> T |
handleResponse(HttpRequest.Builder requestBuilder,
Class<T> type) |
TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList> |
load(InputStream is) |
TemplateOperationsImpl |
newInstance(OperationContext context) |
TemplateOperationsImpl |
newInstance(OperationContext context,
Map<String,String> parameters) |
io.fabric8.kubernetes.api.model.KubernetesList |
process(File f)
Process a template reading parameter values from a
File in json or yml format. |
io.fabric8.kubernetes.api.model.KubernetesList |
process(InputStream is)
Process a template reading parameter values from an
InputStream in json or yml format. |
io.fabric8.kubernetes.api.model.KubernetesList |
process(Map<String,String> valuesMap)
Process a template reading parameter values from am
Map. |
io.fabric8.kubernetes.api.model.KubernetesList |
process(ParameterValue... values)
Process a template with the specified
ParameterValues. |
io.fabric8.kubernetes.api.model.KubernetesList |
processLocally(File f)
Process a template locally reading parameter values from a
File in json or yml format. |
io.fabric8.kubernetes.api.model.KubernetesList |
processLocally(InputStream is)
Process a template locally reading parameter values from an
InputStream in json or yml format. |
io.fabric8.kubernetes.api.model.KubernetesList |
processLocally(Map<String,String> valuesMap)
Process a template locally reading parameter values from am
Map. |
io.fabric8.kubernetes.api.model.KubernetesList |
processLocally(ParameterValue... values)
Process a template with the specified
ParameterValues. |
MixedOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>> |
withParameters(Map<String,String> parameters) |
getConfig, getConfigType, getRootUrlaccept, edit, edit, editStatus, modifyItemForReplaceOrPatch, patch, patch, patch, patchStatus, replace, replace, replaceStatus, requireFromServer, requireFromServer, validateOperationappendListOptionParams, cascading, createOrReplace, delete, delete, delete, dryRun, edit, fetchListUrl, forOperationType, fromServer, get, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getKind, getLabelQueryParam, getLimit, getListType, getMandatory, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getVersion, handleCreate, handleDeploymentRollback, handlePatch, handlePatch, handleResponse, handleScale, handleUpdate, inAnyNamespace, inform, informOnCondition, inNamespace, isCascading, isReady, isReloadingFromServer, isResourceNamespaced, list, list, list, 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, withLabelSelector, withLimit, withName, withNewFilter, withoutField, withoutFields, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion, withWaitRetryBackoffcreate, create, getTypeassertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handlePatch, handlePatch, handleRawGet, handleResponse, handleResponse, handleResponse, handleScale, handleUpdate, handleUpdate, requestException, requestException, requestFailure, requestFailure, restCall, retryWithExponentialBackoff, unmarshal, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromServerlockResourceVersionwaitUntilCondition, waitUntilReady, withWaitRetryBackoffcreateOrReplacepatch, patch, patch, patcheditStatusreplaceStatuspatchStatusreplacerequirecreate, createinAnyNamespaceinNamespacewithNewFilterwithField, withFields, withInvolvedObject, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabelswithResourceVersionwithGracePeriodwithPropagationPolicyupdateStatusinform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimitdelete, deletedryRun, dryRungetFullResourceName, getName, getNamespacegetNamespacepublic TemplateOperationsImpl(OpenshiftClientContext clientContext)
public TemplateOperationsImpl(OperationContext context, Map<String,String> parameters)
public TemplateOperationsImpl newInstance(OperationContext context)
newInstance in class HasMetadataOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>>public TemplateOperationsImpl newInstance(OperationContext context, Map<String,String> parameters)
public io.fabric8.kubernetes.api.model.KubernetesList process(File f)
ProcessableFile in json or yml format.process in interface Processable<io.fabric8.kubernetes.api.model.KubernetesList>f - The specified File.public io.fabric8.kubernetes.api.model.KubernetesList process(InputStream is)
ProcessableInputStream in json or yml format.process in interface Processable<io.fabric8.kubernetes.api.model.KubernetesList>is - The specified InputStream.public io.fabric8.kubernetes.api.model.KubernetesList process(Map<String,String> valuesMap)
ProcessableMap.process in interface Processable<io.fabric8.kubernetes.api.model.KubernetesList>valuesMap - The specified Map.public io.fabric8.kubernetes.api.model.KubernetesList process(ParameterValue... values)
ProcessableParameterValues.process in interface Processable<io.fabric8.kubernetes.api.model.KubernetesList>values - The specified ParameterValues.public io.fabric8.kubernetes.api.model.KubernetesList processLocally(File f)
ProcessableFile in json or yml format.
This kind of processing is performed locally, without communicating with the server (e.g for generating values using expressions).processLocally in interface Processable<io.fabric8.kubernetes.api.model.KubernetesList>f - The specified File.public io.fabric8.kubernetes.api.model.KubernetesList processLocally(InputStream is)
ProcessableInputStream in json or yml format.
This kind of processing is performed locally, without communicating with the server (e.g for generating values using expressions).processLocally in interface Processable<io.fabric8.kubernetes.api.model.KubernetesList>is - The specified InputStream.public io.fabric8.kubernetes.api.model.KubernetesList processLocally(ParameterValue... values)
ProcessableParameterValues.
This kind of processing is performed locally, without communicating with the server (e.g for generating values using expressions).processLocally in interface Processable<io.fabric8.kubernetes.api.model.KubernetesList>values - The specified ParameterValues.public MixedOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>> withParameters(Map<String,String> parameters)
withParameters in interface Parameterizable<MixedOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>>>public io.fabric8.kubernetes.api.model.KubernetesList processLocally(Map<String,String> valuesMap)
ProcessableMap.
This kind of processing is performed locally, without communicating with the server (e.g for generating values using expressions).processLocally in interface Processable<io.fabric8.kubernetes.api.model.KubernetesList>valuesMap - The specified Map.public TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList> load(InputStream is)
load in interface Loadable<TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>>load in class BaseOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>>protected io.fabric8.openshift.api.model.Template handleGet(URL resourceUrl) throws InterruptedException, IOException
handleGet in class BaseOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>>InterruptedExceptionIOExceptionprotected <T> T handleResponse(HttpRequest.Builder requestBuilder, Class<T> type) throws InterruptedException, IOException
handleResponse in class OperationSupportInterruptedExceptionIOExceptionprotected io.fabric8.kubernetes.api.builder.VisitableBuilder<io.fabric8.openshift.api.model.Template,?> createVisitableBuilder(io.fabric8.openshift.api.model.Template item)
createVisitableBuilder in class HasMetadataOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>>Copyright © 2015–2020 Red Hat. All rights reserved.