Documentation ¶
Index ¶
Constants ¶
View Source
const (
WorkflowName = "temporal-sys-delete-namespace-workflow"
)
Variables ¶
View Source
var Module = fx.Options( fx.Provide(newComponent), )
Functions ¶
func NewActivities ¶
func NewActivities( metadataManager persistence.MetadataManager, metricsHandler metrics.Handler, logger log.Logger, ) *activities
Types ¶
type DeleteNamespaceWorkflowParams ¶
type DeleteNamespaceWorkflowParams struct { // One of NamespaceID or Namespace must be provided. NamespaceID namespace.ID Namespace namespace.Name // NamespaceDeleteDelay indicates duration for how long namespace stays in database // after all namespace resources (i.e. workflow executions) are deleted. // Default is 0, means, namespace will be deleted immediately. NamespaceDeleteDelay time.Duration DeleteExecutionsConfig deleteexecutions.DeleteExecutionsConfig }
type DeleteNamespaceWorkflowResult ¶
type DeleteNamespaceWorkflowResult struct { DeletedNamespaceID namespace.ID DeletedNamespace namespace.Name }
func DeleteNamespaceWorkflow ¶
func DeleteNamespaceWorkflow(ctx workflow.Context, params DeleteNamespaceWorkflowParams) (DeleteNamespaceWorkflowResult, error)
Click to show internal directories.
Click to hide internal directories.