interruption

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInterruption = fmt.Errorf("processing of the deployitem was interrupted")

Functions

This section is empty.

Types

type InterruptionChecker

type InterruptionChecker interface {
	Check(ctx context.Context) error
}

InterruptionChecker is the interface to check for interrupts during the processing of a deployitem.

func NewIgnoreInterruptionChecker

func NewIgnoreInterruptionChecker() InterruptionChecker

func NewStandardInterruptionChecker

func NewStandardInterruptionChecker(deployItem *lsv1alpha1.DeployItem, lsClient client.Client) InterruptionChecker

Jump to

Keyboard shortcuts

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