Documentation ¶
Index ¶
Constants ¶
View Source
const ( QuerySliceDelimiter = "," OrderDelimiter = ":" ASCOrdering = "asc" DESCOrdering = "desc" )
View Source
const ( DataModelEntitySetNameSuffix = "_set" WorkspaceTypeDataModelName = "workspace_data" DataModelTypeEntity = "entity" DataModelTypeEntitySet = "entity_set" DataModelTypeWorkspace = "workspace" WorkspaceTypeDataModelHeaderKey = "Key" WorkspaceTypeDataModelHeaderValue = "Value" WorkspaceTypeDataModelMaxHeaderNum = 2 DataModelPrimaryHeader = "id" DataModelRefPrefix = "this." WorkspaceTypeDataModelRefPrefix = "workspace." )
DataModel's restriction
View Source
const ( DataModelTypeSubmission = "dataModel" FilePathTypeSubmission = "filePath" )
Submission's type
View Source
const ( SubmissionPending = "Pending" SubmissionRunning = "Running" SubmissionFailed = "Failed" SubmissionFinished = "Finished" SubmissionSucceeded = "Succeeded" SubmissionCancelling = "Cancelling" SubmissionCancelled = "Cancelled" )
View Source
const ( RunPending = "Pending" RunRunning = "Running" RunFailed = "Failed" RunSucceeded = "Succeeded" RunCancelling = "Cancelling" RunCancelled = "Cancelled" )
status enum for run
View Source
const ( TaskQueued = "Queued" TaskInitializing = "Initializing" TaskRunning = "Running" TaskFailed = "Failed" TaskSucceeded = "Succeeded" TaskCancelled = "Cancelled" )
status enum for task
View Source
const ( WorkspaceDirName = "workspace" WorkspaceYAMLName = "workspace.yaml" WorkflowDirName = "workflow" NotebookDirName = "notebook" DataModelDirName = "data" )
View Source
const ImportWorkspaceFileTypeExt = ".zip"
View Source
const WsDataModelValueHeader = "Value"
workspace datamodel value header
View Source
const (
XRequestIDKey = "X-Request-ID"
)
Variables ¶
View Source
var ( NonFinishedSubmissionStatuses = []string{SubmissionPending, SubmissionRunning, SubmissionCancelling} FinishedSubmissionStatuses = []string{SubmissionCancelled, SubmissionFinished} AllowCancelSubmissionStatuses = []string{SubmissionPending, SubmissionRunning} )
submission status groups
View Source
var ( NonFinishedRunStatuses = []string{RunPending, RunRunning, RunCancelling} FinishedRunStatuses = []string{RunCancelled, RunSucceeded, RunFailed} AllowCancelRunStatuses = []string{RunPending, RunRunning} )
run status groups
View Source
var ( NonFinishedTaskStatuses = []string{TaskQueued, TaskInitializing, TaskRunning} FinishedTaskStatuses = []string{TaskSucceeded, TaskFailed, TaskCancelled} )
task status groups
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.