This website requires JavaScript.
0
Pull Requests
Explore
Active Time Tracker
#
0
Create…
New Repository
New Migration
anonymous
Signed in as
anonymous
Profile
Subscriptions
Settings
Help
Sign Out
common
/
machinery-plugins
Private
Watch
1
Fork
You've already forked machinery-plugins
Fork to a different account
0
Code
Pull Requests
Releases
Activity
machinery-plugins
/
task
/
types
/
or
Cancel
Edit File
Preview
Preview Changes
/* * Tencent is pleased to support the open source community by making Blueking Container Service available. * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * http://opensource.org/licenses/MIT * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language governing permissions and * limitations under the License. */ // Package types for task package types import ( "time" ) const ( // TaskTimeFormat task time format, e.g. 2006-01-02T15:04:05Z07:00 TaskTimeFormat = time.RFC3339 // DefaultJsonExtrasContent default json extras content DefaultJsonExtrasContent = "{}" // DefaultMaxExecuteTime default max execute time for 1 hour DefaultMaxExecuteTimeSeconds = 3600 ) const ( // TaskStatusInit INIT task status TaskStatusInit = "INITIALIZING" // TaskStatusRunning running task status TaskStatusRunning = "RUNNING" // TaskStatusSuccess task success TaskStatusSuccess = "SUCCESS" // TaskStatusFailure task failed TaskStatusFailure = "FAILURE" // TaskStatusTimeout task run timeout TaskStatusTimeout = "TIMEOUT" // TaskStatusForceTerminate force task terminate TaskStatusForceTerminate = "FORCETERMINATE" // TaskStatusNotStarted force task terminate TaskStatusNotStarted = "NOTSTARTED" )
Loading…
Loading…
Commit Changes
Add a Signed-off-by trailer by the committer at the end of the commit log message.
Commit directly to the
main
branch.
Create a
new branch
for this commit and start a pull request.
Commit Changes
Cancel
Commit an empty file
The file you're about to commit is empty. Proceed?
Cancel
Commit Changes