Class ReplaceValueStream
java.lang.Object
io.fabric8.kubernetes.client.utils.ReplaceValueStream
public class ReplaceValueStream extends Object
Replaces template parameter values in the stream to avoid
parsing issues of templates with numeric expressions
-
Method Summary
Modifier and Type Method Description static InputStreamreplaceValues(InputStream is, Map<String,String> valuesMap)Returns a stream with the template parameter expressions replaced
-
Method Details
-
replaceValues
public static InputStream replaceValues(InputStream is, Map<String,String> valuesMap) throws IOExceptionReturns a stream with the template parameter expressions replaced- Parameters:
is-InputStreaminputstream forvaluesMap- a hashmap containing parameters- Returns:
- returns stream with template parameter expressions replaced
- Throws:
IOException
-