Documentation ¶
Index ¶
- Constants
- func Error(err error)
- func Event(a ...interface{})
- func Fatal(err error)
- func Printf(l string, a ...interface{})
- func Println(a ...interface{})
- func RetryOnError(ctx context.Context, retryCount int, fn func() error) error
- func SendEMail(mailTo []string, subject string, body string) error
- func Sleep(ctx context.Context, sleepTime time.Duration)
Constants ¶
View Source
const LimitIgnoreLabels = "status/DNM,status/WIP,S: DNM,S: WIP"
Variables ¶
This section is empty.
Functions ¶
func RetryOnError ¶
RetryOnError defines a action with retry when "fn" returns error, we can specify the number and interval of retries code snippet from https://github.com/pingcap/schrodinger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.