Documentation
¶
Index ¶
- Variables
- func CreateTargets(tar string) (string, error)
- func CreateTemplate(tmpl string) (string, error)
- func CreateWorkflow(template string, target string) (string, error)
- func GetCurrentStatus(ctx context.Context, wfID string, status chan workflow.ActionState)
- func PushHardwareData(hwDataFiles []string) error
- func SetupWorkflow(tar string, tmpl string) (string, error)
- func StartStack() error
- func StartWorkers(workers int64, workerStatus chan<- int64, wfID string) (workflow.ActionState, error)
- func TearDown() error
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = logger
Log : This Log will be used in test cases.
Functions ¶
func CreateTargets ¶
CreateTargets : create target in the database
func CreateTemplate ¶
CreateTemplate : create template in the database
func CreateWorkflow ¶
CreateWorkflow : create workflow
func GetCurrentStatus ¶
func GetCurrentStatus(ctx context.Context, wfID string, status chan workflow.ActionState)
GetCurrentStatus : get the current status of workflow from server
func PushHardwareData ¶
PushHardwareData : push hardware data
func SetupWorkflow ¶
SetupWorkflow ... Set up workflow
func StartWorkers ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.