Versions in this module Expand all Collapse all v1 v1.5.0 Sep 23, 2019 Changes in this version + func After(d time.Duration) *time.Time + func ExpandEnv(args map[string]interface{}, flag string, allowEmpty bool) string + func ExpandEnvUUID(args map[string]interface{}, flag string) uuid.UUID + func GetSanitizedArgs() []string + func InSkipNamespace(skipNamespacePatterns []string, namespace string) bool + func MustParseDuration(args map[string]interface{}, flag string) time.Duration + func MustParseInt(args map[string]interface{}, flag string) int + func SetLogger(logger *log.Logger) + func Throttle(name string, interval time.Duration, tickLimit int32, ...) func(args ...interface{}) + func TruncateString(str string, num int) string + func WithBackoff(fn func() error, backoff Backoff, logger *log.Logger) error + type Backoff struct + MaxRetries int + Sleep time.Duration + type Ticker struct + func NewTicker(name string, interval time.Duration, fn func(time.Time)) *Ticker + func (ticker *Ticker) Start(immediate, async, block bool) + func (ticker *Ticker) WaitForNextTick() chan struct{} + func (ticker *Ticker) WaitForTick(tick time.Time) chan struct{} Other modules containing this package github.com/MagalixCorp/magalix-agent/v2 github.com/MagalixCorp/magalix-agent/v3