Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueueExecutionError ¶
type QueueExecutionError struct {
// contains filtered or unexported fields
}
func (*QueueExecutionError) Error ¶
func (e *QueueExecutionError) Error() string
type TaskRecorder ¶
type TaskRecorder struct { TaskName string RunSuccessful bool RunExecuted bool RollbackSuccessful bool RollbackExecuted bool }
func NewTaskRecorder ¶
func NewTaskRecorder(taskName string, runSuccessful, rollbackSuccessful bool) *TaskRecorder
func (*TaskRecorder) Name ¶
func (t *TaskRecorder) Name() string
func (*TaskRecorder) Rollback ¶
func (t *TaskRecorder) Rollback() error
func (*TaskRecorder) Run ¶
func (t *TaskRecorder) Run() error
Click to show internal directories.
Click to hide internal directories.