package
0.0.0-20240806115739-0c692f180c80
Repository: https://github.com/mendersoftware/workflows.git
Documentation: pkg.go.dev
# Functions
GetWorkflowsFromPath parse the workflows stored as JSON files in a directory and returns them.
ParseWorkflowFromJSON parse a JSON string and returns a Workflow struct.
StatusToString returns the job's status as a string.
# Constants
No description provided by the author
ErrMsgMissingParamF is the error message for missing input parameters.
Status.
Status.
Status.
Status.
Type of tasks.
Type of tasks.
Type of tasks.
Type of tasks.
# Variables
ErrInvalidStatus is the error for invalid status.
# Structs
CLITask stores the parameters of the CLI commands for a WorkflowTask.
HTTPTask stores the parameters of the HTTP calls for a WorkflowTask.
InputParameter defines the input parameter of a job.
Job defines the execution job a workflow.
NATSTask stores the parameters of the NATS parameters for a WorkflowTask.
SMTPTask stores the parameters of the SMTP messages for a WorkflowTask.
Task stores the definition of a task within a workflow.
TaskResult contains the result of the execution of a task.
TaskResultCLI contains the CLI command, the output and the exit status.
TaskResultHTTPRequest contains the request.
TaskResultHTTPResponse contains the response.
No description provided by the author
TaskResultSMTP contains the SMTP message, the output and the exit status.
Workflow stores the definition of a workflow.
# Type aliases
No description provided by the author