states

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAIN_MENU_OPTION_WORKFLOW int = iota
	MAIN_MENU_OPTION_EXIT
)
View Source
const (
	STATE_MAIN int = iota
	STATE_EXIT
	STATE_WORKFLOW_LIST
	STATE_WORKFLOW_CONFIRM
	STATE_WORKFLOW_FAIL_LOAD
	STATE_WORKFLOW_RUN
	STATE_WORKFLOW_FINISH
	STATE_WORKFLOW_FAIL_RUN

	STATE_COUNT
)

Variables

This section is empty.

Functions

func Exit

func Exit(setState *statemachine.StateMachine) error
func MainMenu(sm *statemachine.StateMachine) error

func WorkflowConfirm

func WorkflowConfirm(sm *statemachine.StateMachine) error

func WorkflowFailLoad

func WorkflowFailLoad(sm *statemachine.StateMachine) error

func WorkflowFailRun

func WorkflowFailRun(sm *statemachine.StateMachine) error

func WorkflowFinish

func WorkflowFinish(sm *statemachine.StateMachine) error

func WorkflowList

func WorkflowList(sm *statemachine.StateMachine) error

func WorkflowRun

func WorkflowRun(sm *statemachine.StateMachine) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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