Documentation ¶
Index ¶
- func CreateEngine(db *database.DB) (resource.Engine, error)
- func CreateFolder(db *database.DB) (resource.Folder, error)
- func CreateUserWithProfile(db *database.DB, username string, firstName string, lastName string, ...) (resource.User, resource.Profile, error)
- func CreateWorkflow(db *database.DB, workflowName string, workflowString string, isActive bool, ...) (resource.Workflow, error)
- func RegisterEngineWorkflow(db *database.DB, workflow *resource.Workflow, engine *resource.Engine) error
- func WriteLog(db *database.DB) (resource.Log, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEngine ¶
CreateEngine creates an engine.
func CreateFolder ¶
CreateFolder creates a folder.
func CreateUserWithProfile ¶
func CreateUserWithProfile( db *database.DB, username string, firstName string, lastName string, email string, avatar32URL string, authUserID uuid.UUID, refreshToken string, ) (resource.User, resource.Profile, error)
CreateUserWithProfile creates a user without password credentials. Arguments are used to create Profile for user.
func CreateWorkflow ¶
func CreateWorkflow( db *database.DB, workflowName string, workflowString string, isActive bool, isDraft bool, folderID *uuid.UUID, creatorID *uuid.UUID, ) (resource.Workflow, error)
CreateWorkflow creates a workflow.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.