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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InputStream
replaceValues(InputStream is, Map<String,String> valuesMap)
Returns a stream with the template parameter expressions replaced
-
-
-
Method Detail
-
replaceValues
public static InputStream replaceValues(InputStream is, Map<String,String> valuesMap) throws IOException
Returns a stream with the template parameter expressions replaced- Parameters:
is
-InputStream
inputstream forvaluesMap
- a hashmap containing parameters- Returns:
- returns stream with template parameter expressions replaced
- Throws:
IOException
- in case of any network/object parse problems
-
-