Documentation ¶
Index ¶
- Variables
- func CRD() (*crd.CRD, error)
- func DigestStatus(plan *upgradeapiv1.Plan, secretCache corectlv1.SecretCache) (upgradeapiv1.PlanStatus, error)
- func MungeVersion(version string) string
- func ResolveChannel(ctx context.Context, url, latestVersion, clusterID string) (string, error)
- func SelectConcurrentNodeNames(plan *upgradeapiv1.Plan, nodeCache corectlv1.NodeCache) ([]string, error)
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 DigestStatus ¶ added in v0.3.0
func DigestStatus(plan *upgradeapiv1.Plan, secretCache corectlv1.SecretCache) (upgradeapiv1.PlanStatus, error)
func MungeVersion ¶ added in v0.3.0
func ResolveChannel ¶ added in v0.3.0
func SelectConcurrentNodeNames ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.