Documentation ¶
Index ¶
- func CreateCronTrigger(t *testing.T, client *gophercloud.ServiceClient, workflow *workflows.Workflow) (*crontriggers.CronTrigger, error)
- func CreateExecution(t *testing.T, client *gophercloud.ServiceClient, workflow *workflows.Workflow) (*executions.Execution, error)
- func CreateWorkflow(t *testing.T, client *gophercloud.ServiceClient) (*workflows.Workflow, error)
- func DeleteCronTrigger(t *testing.T, client *gophercloud.ServiceClient, ...)
- func DeleteExecution(t *testing.T, client *gophercloud.ServiceClient, ...)
- func DeleteWorkflow(t *testing.T, client *gophercloud.ServiceClient, workflow *workflows.Workflow)
- func GetCronTrigger(t *testing.T, client *gophercloud.ServiceClient, id string) (*crontriggers.CronTrigger, error)
- func GetEchoWorkflowDefinition(workflowName string) string
- func GetWorkflow(t *testing.T, client *gophercloud.ServiceClient, id string) (*workflows.Workflow, error)
- func ListCronTriggers(t *testing.T, client *gophercloud.ServiceClient, ...) ([]crontriggers.CronTrigger, error)
- func ListExecutions(t *testing.T, client *gophercloud.ServiceClient, ...) ([]executions.Execution, error)
- func ListWorkflows(t *testing.T, client *gophercloud.ServiceClient, ...) ([]workflows.Workflow, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCronTrigger ¶
func CreateCronTrigger(t *testing.T, client *gophercloud.ServiceClient, workflow *workflows.Workflow) (*crontriggers.CronTrigger, error)
CreateCronTrigger creates a cron trigger for the given workflow.
func CreateExecution ¶
func CreateExecution(t *testing.T, client *gophercloud.ServiceClient, workflow *workflows.Workflow) (*executions.Execution, error)
CreateExecution creates an execution for the given workflow.
func CreateWorkflow ¶
func CreateWorkflow(t *testing.T, client *gophercloud.ServiceClient) (*workflows.Workflow, error)
CreateWorkflow creates a workflow on Mistral API. The created workflow is a dummy workflow that performs a simple echo.
func DeleteCronTrigger ¶
func DeleteCronTrigger(t *testing.T, client *gophercloud.ServiceClient, crontrigger *crontriggers.CronTrigger)
DeleteCronTrigger deletes a cron trigger.
func DeleteExecution ¶
func DeleteExecution(t *testing.T, client *gophercloud.ServiceClient, execution *executions.Execution)
DeleteExecution deletes an execution.
func DeleteWorkflow ¶
func DeleteWorkflow(t *testing.T, client *gophercloud.ServiceClient, workflow *workflows.Workflow)
DeleteWorkflow deletes the given workflow.
func GetCronTrigger ¶
func GetCronTrigger(t *testing.T, client *gophercloud.ServiceClient, id string) (*crontriggers.CronTrigger, error)
GetCronTrigger gets a cron trigger.
func GetEchoWorkflowDefinition ¶
GetEchoWorkflowDefinition returns a simple workflow definition that does nothing except a simple "echo" command.
func GetWorkflow ¶
func GetWorkflow(t *testing.T, client *gophercloud.ServiceClient, id string) (*workflows.Workflow, error)
GetWorkflow gets a workflow.
func ListCronTriggers ¶
func ListCronTriggers(t *testing.T, client *gophercloud.ServiceClient, opts crontriggers.ListOptsBuilder) ([]crontriggers.CronTrigger, error)
ListCronTriggers lists cron triggers.
func ListExecutions ¶
func ListExecutions(t *testing.T, client *gophercloud.ServiceClient, opts executions.ListOptsBuilder) ([]executions.Execution, error)
ListExecutions lists the executions.
func ListWorkflows ¶
func ListWorkflows(t *testing.T, client *gophercloud.ServiceClient, opts workflows.ListOptsBuilder) ([]workflows.Workflow, error)
ListWorkflows lists the workflows.
Types ¶
This section is empty.