v2

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

func GetEchoWorkflowDefinition(workflowName string) string

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

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.

Jump to

Keyboard shortcuts

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