public class JKubeFileInterpolator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FILTER |
| Modifier and Type | Method and Description |
|---|---|
static String |
interpolate(File file,
Properties properties,
String filter)
Interpolate a docker file with the given properties and filter
|
static String |
interpolate(String line,
Properties properties,
String filter)
Replace properties in a string
|
public static final String DEFAULT_FILTER
public static String interpolate(File file, Properties properties, String filter) throws IOException
file - file to interpolate.properties - properties to interpolate in the provided dockerFile.filter - filter for parsing properties from DockerfileIOException - if there's a problem while performing IO operations.public static String interpolate(String line, Properties properties, String filter)
line - string provided with parametersproperties - project propertiesfilter - filter for interpolationCopyright © 2023. All rights reserved.