Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CertFile contains the address for the API's TLS certificate. CertFile = "api/api-tls-cert.pem" // KeyFile contains the address for the API's TLS certificate key file. KeyFile = "api/api-tls-key.pem" )
Variables ¶
This section is empty.
Functions ¶
func GetAllLinesButLast ¶
GetAllLinesButLast receives a string with multiple lines and returns all but the last line.
func GetLastLine ¶
GetLastLine receives a string with multiple lines and returns it's last
func SanitizeSafetyJSON ¶
SanitizeSafetyJSON returns a sanitized string from Safety container logs. Safety might return a JSON with the "\" and "\"" characters, which needs to be sanitized to be unmarshalled correctly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.