timeout

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateCheckpointTimeoutChecker

func ActivateCheckpointTimeoutChecker(checkpoint string)

func ActivateIgnoreTimeoutChecker

func ActivateIgnoreTimeoutChecker()

func ActivateStandardTimeoutChecker

func ActivateStandardTimeoutChecker()

func TimeoutExceeded

func TimeoutExceeded(ctx context.Context, deployItem *lsv1alpha1.DeployItem, checkpoint string) (time.Duration, lserrors.LsError)

TimeoutExceeded checks whether the progressing timeout of a DeployItem has been exceeded.

Types

type TimeoutChecker

type TimeoutChecker interface {
	TimeoutExceeded(ctx context.Context, deployItem *lsv1alpha1.DeployItem, checkpoint string) (time.Duration, lserrors.LsError)
}

Jump to

Keyboard shortcuts

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