Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PollingInterval = func(defaultValue time.Duration) time.Duration { if str, ok := os.LookupEnv("SYSTEM_UPGRADE_PLAN_POLLING_INTERVAL"); ok { if d, err := time.ParseDuration(str); err != nil { logrus.Errorf("failed to parse $%s: %v", "SYSTEM_UPGRADE_PLAN_POLLING_INTERVAL", err) } else if d > time.Minute { return d } } return defaultValue }(defaultPollingInterval) )
Functions ¶
func RegisterCRD ¶
RegisterCRD registers the Plan custom resource definition
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.