workflow

package
v0.0.0-...-e7c744b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GarbageCollectTokenStoreWorkflowName = "auth-garbage-collect-token-store"

GarbageCollectTokenStoreWorkflowName is the name of the token store garbage collection workflow.

View Source
const StartTokenStoreGCActivityName = "auth-start-token-store-gc"

StartTokenStoreGCActivityName is the name of the token store garbage collection starter activity.

Variables

This section is empty.

Functions

This section is empty.

Types

type GarbageCollectTokenStoreWorkflow

type GarbageCollectTokenStoreWorkflow struct{}

GarbageCollectTokenStoreWorkflow defines a Cadence workflow encapsulating high level input-independent components required to garbage collect the token store.

func NewGarbageCollectTokenStoreWorkflow

func NewGarbageCollectTokenStoreWorkflow() *GarbageCollectTokenStoreWorkflow

NewGarbageCollectTokenStoreWorkflow instantiates a token store garbage collection workflow.

func (GarbageCollectTokenStoreWorkflow) Execute

Execute runs the workflow.

func (GarbageCollectTokenStoreWorkflow) Register

Register registers the workflow in the worker.

type StartTokenStoreGCActivity

type StartTokenStoreGCActivity struct {
	// contains filtered or unexported fields
}

StartTokenStoreGCActivity collects the necessary component dependencies for executing a token store garbage collection starting operation.

func NewStartTokenStoreGCActivity

func NewStartTokenStoreGCActivity(tokenStore bvsdkauth.TokenStore) *StartTokenStoreGCActivity

NewStartTokenStoreGCActivity instantiates a activity object for starting the token store garbage collection.

func (*StartTokenStoreGCActivity) Execute

func (a *StartTokenStoreGCActivity) Execute(ctx context.Context) (err error)

Execute executes a token store garbage collection starting operation.

func (StartTokenStoreGCActivity) Register

func (a StartTokenStoreGCActivity) Register(worker worker.Registry)

Register registers the token store garbage collection starting activity.

Jump to

Keyboard shortcuts

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