bean

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 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 WorkflowStageDto

type WorkflowStageDto struct {
	Id           int                    `json:"id"`
	StageName    WorkflowStageName      `json:"stageName"`
	Status       WorkflowStageStatus    `json:"status"`
	Message      string                 `json:"message"`
	Metadata     map[string]interface{} `json:"metadata"`
	WorkflowId   int                    `json:"workflowId"`
	WorkflowType string                 `json:"workflowType"`
	StartTime    string                 `json:"startTime"`
	EndTime      string                 `json:"endTime"`
}

type WorkflowStageName

type WorkflowStageName string
const (
	WORKFLOW_PREPARATION WorkflowStageName = "Preparation"
	WORKFLOW_EXECUTION   WorkflowStageName = "Execution"
	POD_EXECUTION        WorkflowStageName = "Execution"
)

func (WorkflowStageName) ToString

func (n WorkflowStageName) ToString() string

type WorkflowStageStatus

type WorkflowStageStatus string
const (
	WORKFLOW_STAGE_STATUS_NOT_STARTED WorkflowStageStatus = "NOT_STARTED"
	WORKFLOW_STAGE_STATUS_UNKNOWN     WorkflowStageStatus = "UNKNOWN"
	WORKFLOW_STAGE_STATUS_RUNNING     WorkflowStageStatus = "RUNNING"
	WORKFLOW_STAGE_STATUS_SUCCEEDED   WorkflowStageStatus = "SUCCEEDED"
	WORKFLOW_STAGE_STATUS_FAILED      WorkflowStageStatus = "FAILED"
	WORKFLOW_STAGE_STATUS_ABORTED     WorkflowStageStatus = "ABORTED"
	WORKFLOW_STAGE_STATUS_TIMEOUT     WorkflowStageStatus = "TIMEOUT"
)

func (WorkflowStageStatus) IsTerminal

func (n WorkflowStageStatus) IsTerminal() bool

func (WorkflowStageStatus) ToString

func (n WorkflowStageStatus) ToString() string

type WorkflowStageStatusFor

type WorkflowStageStatusFor string
const (
	WORKFLOW_STAGE_STATUS_TYPE_WORKFLOW WorkflowStageStatusFor = "workflow"
	WORKFLOW_STAGE_STATUS_TYPE_POD      WorkflowStageStatusFor = "pod"
)

func (WorkflowStageStatusFor) ToString

func (n WorkflowStageStatusFor) ToString() string

Jump to

Keyboard shortcuts

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