Documentation ¶
Index ¶
- func Failf(format string, args ...interface{})
- func FailfWithOffset(offset int, format string, args ...interface{})
- func GetKubectlArgs(args []string) []string
- func Logf(format string, args ...interface{})
- func NowStamp() string
- func ParseCmdOutput(output string) []string
- func RandomSuffix() string
- func RegisterFlags()
- func ReplaceFileConent(src, target string, filePath string) error
- func Skipf(format string, args ...interface{})
- type TestContextType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailfWithOffset ¶
FailfWithOffset calls "Fail" and logs the error at "offset" levels above its caller (for example, for call chain f -> g -> FailfWithOffset(1, ...) error would be logged for "f").
func GetKubectlArgs ¶
GetKubectlArgs wraps with default kubectl related args.
func ParseCmdOutput ¶
ParseCmdOutput converts given command output string into individual objects according to line breakers, and ignores the empty elements in it.
func RandomSuffix ¶
func RandomSuffix() string
RandomSuffix provides a random string to append to certain base name.
func ReplaceFileConent ¶
ReplaceFileConent tries to replace the source content of given file with the target concent, source content can be regex.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.
|
Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string. |
Click to show internal directories.
Click to hide internal directories.