deletenamespace

package
v1.21.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 21 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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