public interface TemplateResource<T,L> extends Resource<T>
| Modifier and Type | Method and Description |
|---|---|
L |
process(File f)
Process a template reading parameter values from a
File in json or yml format. |
L |
process(InputStream is)
Process a template reading parameter values from an
InputStream in json or yml format. |
L |
process(Map<String,String> map)
Process a template reading parameter values from am
Map. |
L |
process(ParameterValue... values)
Process a template with the specified
ParameterValues. |
L |
processLocally(File f)
Process a template locally reading parameter values from a
File in json or yml format. |
L |
processLocally(InputStream is)
Process a template locally reading parameter values from an
InputStream in json or yml format. |
L |
processLocally(Map<String,String> map)
Process a template locally reading parameter values from am
Map. |
L |
processLocally(ParameterValue... values)
Process a template with the specified
ParameterValues. |
cascading, isReady, lockResourceVersion, lockResourceVersion, requirefromServerwithResourceVersionwaitUntilCondition, waitUntilReadycreate, createOrReplaceaccept, edit, edit, edit, editStatus, patch, patch, patch, patch, patch, patch, patchStatusreplace, replaceStatuscreate, createOrReplace, delete, patchStatus, updateStatuswithGracePeriodwithPropagationPolicyreplace, replaceStatusdryRun, dryRuninform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimitL process(File f)
File in json or yml format.f - The specified File.L process(InputStream is)
InputStream in json or yml format.is - The specified InputStream.L process(Map<String,String> map)
Map.map - The specified Map.L process(ParameterValue... values)
ParameterValues.values - The specified ParameterValues.L processLocally(File f)
File in json or yml format.
This kind of processing is performed locally, without communicating with the server (e.g for generating values using
expressions).f - The specified File.L processLocally(InputStream is)
InputStream in json or yml format.
This kind of processing is performed locally, without communicating with the server (e.g for generating values using
expressions).is - The specified InputStream.L processLocally(Map<String,String> map)
Map.
This kind of processing is performed locally, without communicating with the server (e.g for generating values using
expressions).map - The specified Map.L processLocally(ParameterValue... values)
ParameterValues.
This kind of processing is performed locally, without communicating with the server (e.g for generating values using
expressions).values - The specified ParameterValues.Copyright © 2015–2022 Red Hat. All rights reserved.