resource

package
v0.0.0-...-f2f1368 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEngine

func CreateEngine(db *database.DB) (resource.Engine, error)

CreateEngine creates an engine.

func CreateFolder

func CreateFolder(db *database.DB) (resource.Folder, error)

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.

func RegisterEngineWorkflow

func RegisterEngineWorkflow(db *database.DB, workflow *resource.Workflow, engine *resource.Engine) error

RegisterEngineWorkflow ...

func WriteLog

func WriteLog(db *database.DB) (resource.Log, error)

WriteLog writes a log to the database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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