step

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoSteps

func DoSteps(ctx context.Context, steps []Step) error

Types

type Result

type Result int
const (
	ResultInvalid Result = iota
	Continue
	Stop
)

type Step

type Step interface {
	Do(ctx context.Context) (Result, error)
	Cleanup(ctx context.Context)
}

Jump to

Keyboard shortcuts

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