framework

package
v0.0.0-...-98d7d05 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log = logger

Log : This Log will be used in test cases.

Functions

func CreateTargets

func CreateTargets(tar string) (string, error)

CreateTargets : create target in the database

func CreateTemplate

func CreateTemplate(tmpl string) (string, error)

CreateTemplate : create template in the database

func CreateWorkflow

func CreateWorkflow(template string, target string) (string, error)

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

func PushHardwareData(hwDataFiles []string) error

PushHardwareData : push hardware data

func SetupWorkflow

func SetupWorkflow(tar string, tmpl string) (string, error)

SetupWorkflow ... Set up workflow

func StartStack

func StartStack() error

StartStack : Starting stack

func StartWorkers

func StartWorkers(workers int64, workerStatus chan<- int64, wfID string) (workflow.ActionState, error)

func TearDown

func TearDown() error

TearDown : remove the setup

Types

This section is empty.

Jump to

Keyboard shortcuts

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