public class TemplateOperationsImpl extends OpenShiftOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,io.fabric8.openshift.api.model.DoneableTemplate,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList,io.fabric8.openshift.api.model.DoneableTemplate>> implements TemplateOperation
reaperapiGroup, apiVersion, client, config, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER| Constructor and Description |
|---|
TemplateOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String namespace) |
TemplateOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String apiVersion,
String namespace,
String name,
Boolean cascading,
io.fabric8.openshift.api.model.Template item,
String resourceVersion,
Boolean reloadingFromServer,
long gracePeriodSeconds,
Map<String,String> labels,
Map<String,String> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields) |
| Modifier and Type | Method and Description |
|---|---|
TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList,io.fabric8.openshift.api.model.DoneableTemplate> |
load(InputStream is) |
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. |
getConfig, getConfigType, getRootUrl, inNamespaceedit, patch, periodicWatchUntilReady, replacecascading, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, fromServer, get, getDoneableType, getFieldQueryParam, getFields, getGracePeriodSeconds, getItem, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getReloadingFromServer, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleGet, handlePatch, handleReplace, handleResponse, inAnyNamespace, isCascading, isReady, isReaping, isReloadingFromServer, isResourceNamespaced, list, load, load, load, setReaping, waitUntilReady, watch, watch, withField, withFields, withGracePeriod, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withName, withoutLabel, withoutLabel, withoutLabels, withResourceVersionassertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceUrl, getResourceUrl, handleCreate, handleDelete, handleDelete, handleGet, handlePatch, handleReplace, handleResponse, handleResponse, requestException, requestFailure, unmarshal, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOrReplace, createOrReplaceWithNewcreate, createNewfromServerreplacewaitUntilReadyinAnyNamespaceinNamespacewithField, withFields, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withoutLabel, withoutLabel, withoutLabelswithResourceVersionwithGracePerioddelete, deletepublic TemplateOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String namespace)
public TemplateOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String apiVersion,
String namespace,
String name,
Boolean cascading,
io.fabric8.openshift.api.model.Template item,
String resourceVersion,
Boolean reloadingFromServer,
long gracePeriodSeconds,
Map<String,String> labels,
Map<String,String> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields)
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 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,io.fabric8.openshift.api.model.DoneableTemplate> load(InputStream is)
load in interface Loadable<TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList,io.fabric8.openshift.api.model.DoneableTemplate>>load in class BaseOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,io.fabric8.openshift.api.model.DoneableTemplate,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList,io.fabric8.openshift.api.model.DoneableTemplate>>Copyright © 2015–2017 Red Hat. All rights reserved.