workflow

package
v0.0.0-...-32f65d2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterGithubInstallationWorkflow

func AfterGithubInstallationWorkflow(
	ctx workflow.Context,
	params AfterGithubInstallationParams,
) (err error)

func CountUsers

func CountUsers(ctx workflow.Context) (int, error)

func CreateTenantDBWorkflow

func CreateTenantDBWorkflow(
	ctx workflow.Context,
	params CreateTenantDBParams,
) (err error)

func ExecuteAfterGithubInstallationWorkflow

func ExecuteAfterGithubInstallationWorkflow(
	ctx context.Context,
	temporalClient client.Client,
	params ExecuteAfterGithubInstallationParams,
) (string, error)

func ExecuteCountUsersWorkflow

func ExecuteCountUsersWorkflow(
	ctx context.Context,
	temporalClient client.Client,
	cfg onboarding.Config,
) (int, error)

func ExecuteCreateTenantDBWorkflow

func ExecuteCreateTenantDBWorkflow(
	ctx context.Context,
	temporalClient client.Client,
	params ExecuteCreateTenantDBWorkflowParams,
) (string, error)

Types

type AfterGithubInstallationParams

type AfterGithubInstallationParams struct {
	InstallationID int64
	AuthID         string
	DBURL          string
}

type CreateTenantDBParams

type CreateTenantDBParams struct {
	DBName           string
	AuthID           string
	OrganizationName string
}

type ExecuteAfterGithubInstallationParams

type ExecuteAfterGithubInstallationParams struct {
	TemporalOnboardingQueueName string
	InstallationID              int64
	AuthID                      string
	DBURL                       string
	DBDomainName                string
}

type ExecuteCreateTenantDBWorkflowParams

type ExecuteCreateTenantDBWorkflowParams struct {
	TemporalOnboardingQueueName string
	AuthID                      string
	DBName                      string
	OrganizationName            string
}

Jump to

Keyboard shortcuts

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