Documentation ¶
Index ¶
Constants ¶
const GarbageCollectTokenStoreWorkflowName = "auth-garbage-collect-token-store"
GarbageCollectTokenStoreWorkflowName is the name of the token store garbage collection workflow.
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 ¶
func (w GarbageCollectTokenStoreWorkflow) Execute(ctx workflow.Context) (err error)
Execute runs the workflow.
func (GarbageCollectTokenStoreWorkflow) Register ¶
func (w GarbageCollectTokenStoreWorkflow) Register(worker worker.Registry)
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.