Documentation
¶
Index ¶
- func CreateNewHardware(ctx context.Context, data string) (string, error)
- func CreateNewTemplate(ctx context.Context, name, data string) (string, error)
- func CreateNewWorkflow(ctx context.Context, templateID string, hardware string) (string, error)
- func GetHardware(ctx context.Context, id string) (types.Hardware, error)
- func GetTemplate(ctx context.Context, id string) (types.Template, error)
- func GetWorkflow(ctx context.Context, id string, fillDetails bool) (types.Workflow, error)
- func Init()
- func ListHardwares(ctx context.Context) ([]types.Hardware, error)
- func ListTemplates(ctx context.Context) ([]types.Template, error)
- func ListWorkflows(ctx context.Context) ([]types.Workflow, error)
- func ParseWorkflowTemplate(data string) *types.WorkflowDetails
- func UpdateHardware(ctx context.Context, id string, data string) error
- func UpdateTemplate(ctx context.Context, id string, data string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewHardware ¶
CreateNewHardware creates a new workflow hardware configuration returns hardware configuration identifier
func CreateNewTemplate ¶
CreateNewTemplate creates a new workflow template
func CreateNewWorkflow ¶
CreateNewWorkflow creates a new workflow with selected template and hardware devices
func GetHardware ¶
GetHardware returns details for the requested hardware ID
func GetTemplate ¶
GetTemplate returns details for the requested template ID
func GetWorkflow ¶
GetWorkflow returns details for the requested workflow ID
func ListHardwares ¶
ListHardwares returns a list of workflow hardwares
func ListTemplates ¶
ListTemplates returns a list of workflow templates
func ListWorkflows ¶
ListWorkflows returns a list of workflows
func ParseWorkflowTemplate ¶
func ParseWorkflowTemplate(data string) *types.WorkflowDetails
ParseWorkflowTemplate parses a template into workflow details
func UpdateHardware ¶
UpdateHardware updates the given workflow hardware configuration
Types ¶
This section is empty.