rollout

package
v0.0.11-alpha6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RolloutRestartAnnotation = "fortsa.example.com/restartedAt"
)

Variables

This section is empty.

Functions

func DoRolloutRestart

func DoRolloutRestart(ctx context.Context, client ctrlclient.Client, obj ctrlclient.Object, dryRun bool) error

DoRolloutRestart handles rollout restart of object by patching with annotation TODO: if annotation exists, check status. If rollout failed in some way, report it.

func IsRolloutReady

func IsRolloutReady(ctx context.Context, client ctrlclient.Client, obj ctrlclient.Object) (bool, error)

we only want to issue a rollout when any previous rollout is done. any other status - error, in-progress, whatever, and we don't want to do another rollout automatically.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL