package task // TaskType defines the business type of an async task type TaskType string const ( TypeTopologyAnalysis TaskType = "TOPOLOGY_ANALYSIS" TypeEventAnalysis TaskType = "EVENT_ANALYSIS" TypeBatchImport TaskType = "BATCH_IMPORT" TypeTest TaskType = "TEST" ) // TaskStatus defines the lifecycle status of an async task type TaskStatus string const ( StatusPending TaskStatus = "PENDING" StatusRunning TaskStatus = "RUNNING" StatusCompleted TaskStatus = "COMPLETED" StatusFailed TaskStatus = "FAILED" ) // UnifiedTaskType defines all async task types in a single location type UnifiedTaskType string const ( TaskTypeTopologyAnalysis UnifiedTaskType = "TOPOLOGY_ANALYSIS" TaskTypePerformanceAnalysis UnifiedTaskType = "PERFORMANCE_ANALYSIS" TaskTypeEventAnalysis UnifiedTaskType = "EVENT_ANALYSIS" TaskTypeBatchImport UnifiedTaskType = "BATCH_IMPORT" TaskTypeTest UnifiedTaskType = "TEST" )