skyflow_backend

module
v0.0.0-...-1f88bb8 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0

README

Skyflow

Skyflow is a workflow based on AWS Amazon States Language (ASL), aonther implementation of AWS StepFunction.

repository code struct

代码结构

+ proto             // api proto file defintion
+ gen               // protoc generate code
    |- pb           // generated protobuf files. *.pb.go
    |- apidoc       // generated api doc files . swagger.json / openapi.json
+ docs              // docs for this repository
+ schemas           // schemas for statemachine language
+ cmd               // build command defintion
    |- skyflow      // skyflow server
    |- skyflowcli   // skyflow cli
+ config            // config struct defintion
+ workflow          // main service part for workflow
    |- parser       // statemachine parser
    |- executor     // execution executor
    |- tempate      // template management
+ server            // server defintion
    |- apiserver    // api server
    |- dispatcher   // dispatcher server
+ examples          // example test file

调用依赖图

flowchart TD
    A1[cmd.skyflow_server]
    A2[cmd.skyflow_cli]
    B1(server.apiserver)
    B2(server.dispatcher)
    B2(server.dispatcher)
    B3(server.exporter)
    A1 --> B1
    A1 --> B2
    A1 --> B3
    C1(workflow.parser)
    C2(workflow.template)
    C3(workflow.executor)
    B1 --> C2
    B1 --> C1
    B1 --> C3
    B2 --> C1
    B2 --> C3
    B3 --> C3
    D1(workflow.repository)
    C1 --> D1
    C2 --> D1
    C3 --> D1
    F1(pkg)
    C1 --> F1
    C2 --> F1
    C3 --> F1
    D1 --> F1
    P1(proto.gen)
    A2 --> P1

Directories

Path Synopsis
api module
cmd
skyflow command
skyflowcli command
internal
pkg
server
executor
package executor provides the main executor for workflow event processing.
package executor provides the main executor for workflow event processing.
expression
package expression show how to evaluate a boolean expression in workflow
package expression show how to evaluate a boolean expression in workflow
expression/stepfunction
stepfunction stepfunction style expression evaluator
stepfunction stepfunction style expression evaluator
parser
Description: This package contains the parser service and configuration for the state machine parser.
Description: This package contains the parser service and configuration for the state machine parser.
parser/states
Package states implements the State behavior for the workflow states are the basic step in the workflow, they can be combined to form a complex workflow
Package states implements the State behavior for the workflow states are the basic step in the workflow, they can be combined to form a complex workflow
po
persistent object for workflow
persistent object for workflow
repository/lock
加锁服务, 可以使用DB /Redis or 其他资源服务完成加锁需求
加锁服务, 可以使用DB /Redis or 其他资源服务完成加锁需求
repository/queue
package queue define the queue interface and message type for workflow
package queue define the queue interface and message type for workflow
template
package template
package template
vo

Jump to

Keyboard shortcuts

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