deletenamespace

package
v1.26.2-121.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowName = "temporal-sys-delete-namespace-workflow"
)

Variables

Functions

func NewLocalActivities added in v1.23.0

func NewLocalActivities(
	metadataManager persistence.MetadataManager,
	metricsHandler metrics.Handler,
	logger log.Logger,
) *localActivities

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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