migration

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: EUPL-1.2 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFailed added in v1.0.0

func IsFailed(err error) bool

func IsNotReady added in v1.0.0

func IsNotReady(err error) bool

func ReasonForError added in v1.0.0

func ReasonForError(err error) string

func StepError added in v1.0.0

func StepError(wrapped error, reason string) error

Types

type ObjectStepper added in v1.0.0

type ObjectStepper interface {
	lshr.Object
	IsDryRun() bool
}

type ReconcileFunc added in v1.0.0

type ReconcileFunc func() error

type Step added in v1.0.0

type Step struct {
	Name      string
	Reconcile ReconcileFunc
}

func (*Step) ConditionType added in v1.0.0

func (s *Step) ConditionType() string

type Stepper added in v1.0.0

type Stepper struct {
	Obj     ObjectStepper
	Steps   []Step
	Patcher *patch.SerialPatcher
}

Jump to

Keyboard shortcuts

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