Click or drag to resize

KubeServiceSetConfigFile Method (String, String, Boolean)

Maps a logical configuration file path to a temporary file holding the string contents passed encoded as UTF-8. This is typically used for initializing confguration files for unit testing.

Namespace:  Neon.Kube.Service
Assembly:  Neon.Kube.Service (in Neon.Kube.Service.dll) Version: 2.1.0
public void SetConfigFile(
	string logicalPath,
	string contents,
	bool linuxLineEndings = false


Type: SystemString
The logical file path (typically expressed as a Linux path).
Type: SystemString
The content string.
linuxLineEndings (Optional)
Type: SystemBoolean
Optionally convert any Windows style Lline endings (CRLF) into Linux style endings (LF). This defaults to false.
See Also