flow

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirektivActionIDHeader = "Direktiv-ActionID"
)

Variables

View Source
var (
	ErrCodeInternal           = "direktiv.internal.error"
	ErrCodeWorkflowUnparsable = "direktiv.workflow.unparsable"
	ErrCodeMultipleErrors     = "direktiv.workflow.multipleErrors"
	ErrCodeCancelledByParent  = "direktiv.cancels.parent"
	ErrCodeSoftTimeout        = "direktiv.cancels.timeout.soft"
	ErrCodeHardTimeout        = "direktiv.cancels.timeout.hard"
	ErrCodeJQBadQuery         = "direktiv.jq.badCommand"
	ErrCodeJQNotObject        = "direktiv.jq.notObject"
	ErrCodeJQNoResults        = "direktiv.jq.badCommand"
	ErrCodeJQManyResults      = "direktiv.jq.badCommand"
)

Functions

func GetInodePath

func GetInodePath(path string) string

GetInodePath returns the exact path to a inode.

func NoCancelContext added in v0.8.2

func NoCancelContext(ctx context.Context) context.Context

WithoutCancel returns a context that is never canceled.

func Run

func Run(circuit *core.Circuit) error

Types

type ServiceResponse

type ServiceResponse struct {
	ErrorCode    string      `json:"errorCode"`
	ErrorMessage string      `json:"errorMessage"`
	Data         interface{} `json:"data"`
}

ServiceResponse is the response structure for internal knative services.

Directories

Path Synopsis
Package states implements the logic for Direktiv workflow states.
Package states implements the logic for Direktiv workflow states.

Jump to

Keyboard shortcuts

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