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.
Click to show internal directories.
Click to hide internal directories.