Versions in this module Expand all Collapse all v1 v1.0.9 Sep 2, 2020 Changes in this version + func CopyFile(source string, dest string) error + func FindAndRemoveElementFromStringList(s []string, r string) []string + func GetFileContentFromIgnition(ignitionData []byte, fileName string) ([]byte, error) + func GetHostIpsFromInventory(inventory *models.Inventory) ([]string, error) + func GetListOfFilesFromFolder(root, pattern string) ([]string, error) + func GetMCOByOpenshiftVersion(openshiftVersion string) (string, error) + func GetRhcosImageByOpenshiftVersion(openshiftVersion string) (string, error) + func InitLogger(verbose bool, enableJournal bool) *logrus.Logger + func IsOpenshiftVersionIsSupported(openshiftVersion string) bool + func Retry(attempts int, sleep time.Duration, log *logrus.Logger, f func() error) (err error) + func SetFileInIgnition(ignitionData []byte, filePath, fileContents string, mode int) ([]byte, error) + type LogWriter struct + func NewLogWriter(logger *logrus.Logger) *LogWriter + func (l *LogWriter) Write(p []byte) (n int, err error)