skyflow_backbend

module
v0.0.0-...-fefb669 Latest Latest
Warning

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

Go to latest
Published: May 31, 2025 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
cmd
skyflow command
skyflowcli command
gen
pb module
pkg
server
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 workflow parser.
Description: This package contains the parser service and configuration for the workflow parser.
parser/decoder
package quota defined skyflow quota here
package quota defined skyflow quota here
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/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