state

package
v0.0.0-...-0697e84 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RetryWindow is the maximum time to keep retrying after the first error.
	// After this window expires, the BFB stays in permanent Error state.
	RetryWindow = 6 * time.Hour
	// RetryInterval is the minimum time to wait before retrying a failed download.
	RetryInterval = 10 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State interface {
	Handle(ctx context.Context, client client.Client) error
}

func GetBFBState

func GetBFBState(bfb *provisioningv1.BFB, recorder record.EventRecorder) State

Jump to

Keyboard shortcuts

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