user

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WorkflowIDPrefixUpdateUserFromNGC is the prefix for the UpdateUserFromNGC workflow ID
	WorkflowIDPrefixUpdateUserFromNGC = "user_update_from_ngc_"
	// WorkflowIDPrefixUpdateUserFromNGCImmediate is the prefix for the UpdateUserFromNGC immediate workflow ID
	WorkflowIDPrefixUpdateUserFromNGCImmediate = "user_update_from_ngc_immediate_"
)

Variables

This section is empty.

Functions

func ExecuteUpdateUserFromNGCWithAuxiliaryIDWorkflow

func ExecuteUpdateUserFromNGCWithAuxiliaryIDWorkflow(ctx context.Context, tc client.Client, auxiliaryID string, ngcToken, encryptionKey string, immediate bool) (*string, error)

ExecuteUpdateUserFromNGCWithAuxiliaryIDWorkflow is a helper function to trigger execution of the UpdateUserFromNGCWithAuxiliaryID workflow

func ExecuteUpdateUserFromNGCWorkflow

func ExecuteUpdateUserFromNGCWorkflow(ctx context.Context, tc client.Client, userID uuid.UUID, starfleetID string, ngcToken string, immediate bool) (*string, error)

ExecuteUpdateUserFromNGCWorkflow is a helper function to trigger execution of the UpdateUserFromNGC workflow

func UpdateUserFromNGC

func UpdateUserFromNGC(ctx workflow.Context, userID uuid.UUID, encryptedNgcToken []byte, immediate bool) error

UpdateUserFromNGC is a Temporal workflow to fetch user data from NGC and update Forge DB

func UpdateUserFromNGCWithAuxiliaryID

func UpdateUserFromNGCWithAuxiliaryID(ctx workflow.Context, auxiliaryID string, encryptedNgcToken []byte, immediate bool) error

UpdateUserFromNGCWithAuxiliaryID is a Temporal workflow to fetch user data from NGC and update Forge DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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