Documentation ¶
Index ¶
- Constants
- func BoolFalsePointer() *bool
- func BoolTruePointer() *bool
- func CastToString(val interface{}) string
- func GetPNameFromTask(round int, hostname string, command string, args []string, role PNameRole) string
- func GetTaskName(tester string, testStartTime time.Time) string
- func IntToChar(i int) string
- func UniqueStringSlice(ins ...[]string) []string
- func WriteNewTruncFile(filename string, buffer []byte) error
- type PNameRole
Constants ¶
View Source
const (
// TimeDateFormat used for ancientt outputs
TimeDateFormat = "2006-01-02T15:04:05-0700"
)
Variables ¶
This section is empty.
Functions ¶
func BoolFalsePointer ¶
func BoolFalsePointer() *bool
BoolFalsePointer return bool true as a pointer
func CastToString ¶
func CastToString(val interface{}) string
CastToString cast interface{} to string
func GetPNameFromTask ¶
func GetPNameFromTask(round int, hostname string, command string, args []string, role PNameRole) string
GetPNameFromTask get a "persistent" name for a task This is done by calculating the checksums of the used names.
func GetTaskName ¶
GetTaskName get a task name
func UniqueStringSlice ¶ added in v0.2.2
UniqueStringSlice return deduplicated string slice from one or more ins.
func WriteNewTruncFile ¶
WriteNewTruncFile write new or truncate existing file
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.