Documentation ¶
Index ¶
Constants ¶
View Source
const JoinThreadsActionName = "join_threads"
JoinThreadsActionName const
Variables ¶
View Source
var ActionValidators map[string]ActionValidatorFunc = make(map[string]ActionValidatorFunc)
Functions ¶
func TestMinCliVersion ¶
Types ¶
type Action ¶
type Action struct { // Filled internally. Parents []*Action JoinThreadsPoint bool KnowParentIDs map[string]bool SafeID *string // GENERICS // Provider string `json:"provider" validate:"required"` ActionID string `json:"action_id" validate:"required"` ActionName string `json:"action" validate:"required"` FirstAction bool `json:"first_action"` NextAction NextAction `json:"next_action"` // Delegated parse. Input json.RawMessage `json:"input" validate:"required"` Parameters json.RawMessage `json:"parameters" validate:"required"` // Actor out vars names. Output *string `json:"output"` SaveRawResults bool `json:"save_raw_results"` DebugNetwork bool `json:"debug_network"` }
Action struct
type ActionValidatorFunc ¶
ActionValidatorFunc type
type Blueprint ¶
type Blueprint struct { ExecutionUUID *string Actions []Action `json:"actions"` MinCLIVersion *string `json:"min_cli_version"` Raw *[]byte }
Blueprint struct
type ConditionalNextActions ¶
type IRBlueprint ¶
type IRBlueprint struct { BP *Blueprint ExecutionUUID *string // [thread-action-id][thread-path]*Action JoinThreadPoints map[string]*Action Actions map[string]*Action StartAction *Action }
IRBlueprint struct. Intermediate Representation Blueprint. Precompiler.
func GenerateIRB ¶
func GenerateIRB(bp *Blueprint, irbConf *IRBGenConfig) (*IRBlueprint, error)
GenerateIRB func
func NewIRBFromAny ¶
func NewIRBFromAny(any string) (*IRBlueprint, error)
type InternalParameters ¶
type InternalParameters struct {
Waiters []string `json:"_waiters"`
}
InternalParameters struct Config params defined to be used internally.
type NextAction ¶
type NextAction struct { // Filled internally NextOk []*Action // Used internally. Is this a conditional next? ConditionalNext bool // NextOkTrue []*Action NextOkFalse []*Action // NextKo []*Action // Parsed in precompiling. Ok json.RawMessage `json:"ok"` Ko json.RawMessage `json:"ko"` }
NextAction struct
Click to show internal directories.
Click to hide internal directories.