state

package
v0.1.0-latest-stable Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 27 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 BlueFieldSoftware stays in permanent Error state.
	RetryWindow = 30 * time.Minute
	// RetryInterval is the minimum time to wait before retrying a failed download.
	RetryInterval = 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 GetBlueFieldSoftwareState

func GetBlueFieldSoftwareState(bfs *provisioningv1.BlueFieldSoftware, recorder record.EventRecorder) State

Jump to

Keyboard shortcuts

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