workflow

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	//DefaultArgs   DefaultArgs `json:"default_args"`
	TaskGroups  []TaskGroup `json:"task_groups"`
	Description string      `json:"description"`
}

type Task

type Task struct {
	TaskId        string   `json:"id"`
	TaskName      string   `json:"name"`
	Dependencies  []string `json:"dependencies"`
	TaskComponent string   `json:"task_component"`
	RequestBody   string   `json:"request_body"`
}

type TaskComponentInfo

type TaskComponentInfo struct {
	TaskComponentType string `json:"taskComponentType"`
	Data              string `json:"Data"`
}

type TaskGroup

type TaskGroup struct {
	//TaskGroupName   string `json:"task_group_name"`
	TaskGroupId   string `json:"id"`
	TaskGroupName string `json:"name"`
	Description   string `json:"description"`
	Tasks         []Task `json:"tasks"`
}

type TaskOptions

type TaskOptions struct {
	ApiConnectionId string `json:"api_connection_id"`
	Endpoint        string `json:"endpoint"`
	Method          string `json:"method"`
	RequestBody     string `json:"request_body"`
}

type WorkflowInfo

type WorkflowInfo struct {
	WorkflowId   string `json:"id"`
	WorkflowName string `json:"name"`
	WorkflowData Data   `json:"data"`

	CreatedAt string `json:"created_at"`
	UpdatedAt string `json:"updated_at"`
}

type WorkflowReqInfo

type WorkflowReqInfo struct {
	//WorkflowId string `json:"id"`
	WorkflowName string `json:"name"`
	WorkflowData Data   `json:"data"`
}

type WorkflowStatusInfo

type WorkflowStatusInfo struct {
	Message string `json:"message"`
	Phase   string `json:"phase"` //Pending, Provisioning, Provisioned, Failed
	Reason  int    `json:"reason"`
}

type WorkflowTemplateInfo

type WorkflowTemplateInfo struct {
	WorkflowTemplateId string `json:"id"`
	WorkflowData       Data   `json:"data"`
}

Jump to

Keyboard shortcuts

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