Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager interface {
RegisterHandler(ctx context.Context, handler OperationHandler, ops []fftypes.OpType)
PrepareOperation(ctx context.Context, op *fftypes.Operation) (*fftypes.PreparedOperation, error)
RunOperation(ctx context.Context, op *fftypes.PreparedOperation, options ...RunOperationOption) error
RetryOperation(ctx context.Context, ns string, opID *fftypes.UUID) (*fftypes.Operation, error)
AddOrReuseOperation(ctx context.Context, op *fftypes.Operation) error
}
type OperationHandler ¶
type RunOperationOption ¶
type RunOperationOption int
const (
RemainPendingOnFailure RunOperationOption = iota
)
Click to show internal directories.
Click to hide internal directories.