workflow

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetCmd

func NewGetCmd(f *cmdutil.Factory) *cobra.Command

func NewGoLiveCmd

func NewGoLiveCmd(f *cmdutil.Factory) *cobra.Command

func NewListCmd

func NewListCmd(f *cmdutil.Factory) *cobra.Command

func NewPauseCmd

func NewPauseCmd(f *cmdutil.Factory) *cobra.Command

func NewRunCmd

func NewRunCmd(f *cmdutil.Factory) *cobra.Command

func NewWorkflowCmd

func NewWorkflowCmd(f *cmdutil.Factory) *cobra.Command

Types

type Workflow

type Workflow struct {
	ID         string `json:"id"`
	Name       string `json:"name"`
	Enabled    bool   `json:"enabled"`
	Visibility string `json:"visibility"`
	CreatedAt  string `json:"createdAt"`
	UpdatedAt  string `json:"updatedAt"`
}

Workflow is the API response shape for a single workflow in the list.

type WorkflowDetail

type WorkflowDetail struct {
	ID         string        `json:"id"`
	Name       string        `json:"name"`
	Enabled    bool          `json:"enabled"`
	Visibility string        `json:"visibility"`
	CreatedAt  string        `json:"createdAt"`
	UpdatedAt  string        `json:"updatedAt"`
	Nodes      []interface{} `json:"nodes"`
	Edges      []interface{} `json:"edges"`
	PublicTags []string      `json:"publicTags,omitempty"`
}

WorkflowDetail extends Workflow with node/edge counts and tags.

Jump to

Keyboard shortcuts

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