Documentation ¶
Index ¶
- Variables
- func DurationToString(d time.Duration) string
- func ExpandPath(path string) string
- func ExpandVariables(text string, replaceMap map[string]string) string
- func FileExists(path string) bool
- func GetFullPathFromFile(path string) (string, error)
- func GetProcessEnvironmentMarker(context string) string
- func GetStringListIndex(stringList []string, elem string) int
- func HashMd5File(filePath string) (string, error)
- func IsInStringList(stringList []string, string string) bool
- func ReverseStringList(elements []string) []string
- func WriteToIoWriter(writer io.Writer, format string, vars ...interface{})
- type Command
- type GroupNameSpecifier
Constants ¶
This section is empty.
Variables ¶
View Source
var FailedColor = color.New(color.FgRed).SprintfFunc()
View Source
var OkColor = color.New(color.FgGreen).SprintfFunc()
View Source
var WarningColor = color.New(color.FgYellow).SprintfFunc()
Functions ¶
func DurationToString ¶
func ExpandPath ¶
func FileExists ¶
func GetFullPathFromFile ¶
func GetStringListIndex ¶
func HashMd5File ¶
func IsInStringList ¶
func ReverseStringList ¶
func WriteToIoWriter ¶
Types ¶
type Command ¶
type Command []string
func (*Command) ExpandEnvironment ¶
func (*Command) GetFullyPrepared ¶
type GroupNameSpecifier ¶
type GroupNameSpecifier struct {
// contains filtered or unexported fields
}
func NewGroupNameSpecifier ¶
func NewGroupNameSpecifier(specifier string) (*GroupNameSpecifier, error)
func (*GroupNameSpecifier) IsMatchingGroupAndName ¶
func (s *GroupNameSpecifier) IsMatchingGroupAndName(group string, name string) bool
Click to show internal directories.
Click to hide internal directories.