common

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataTypeRun        DataType = "run"
	DataTypeRunConfig  DataType = "runconfig"
	DataTypeRunCounter DataType = "runcounter"

	CacheCleanerLockKey     = "cachecleaner"
	WorkspaceCleanerLockKey = "workspacecleaner"
	LogCleanerLockKey       = "logcleaner"
	TaskUpdaterLockKey      = "taskupdater"
)
View Source
const (
	MaxCacheKeyLength = 200
)

Variables

This section is empty.

Functions

func GenExecutorTask added in v0.3.0

func GenExecutorTask(tx *sql.Tx, r *types.Run, rt *types.RunTask, rc *types.RunConfig, executor *types.Executor) *types.ExecutorTask

func GenExecutorTaskSpecData added in v0.3.0

func GenExecutorTaskSpecData(r *types.Run, rt *types.RunTask, rc *types.RunConfig) *types.ExecutorTaskSpecData

func NewRunEvent

func NewRunEvent(d *db.DB, tx *sql.Tx, run *types.Run, runConfig *types.RunConfig, runEventType types.RunEventType) (*types.RunEvent, error)

func OSTRootGroup added in v0.3.0

func OSTRootGroup(group string) string

func OSTSubGroupTypes added in v0.3.0

func OSTSubGroupTypes(group string) []string

func OSTSubGroups added in v0.3.0

func OSTSubGroups(group string) []string

func OSTSubGroupsAndGroupTypes added in v0.3.0

func OSTSubGroupsAndGroupTypes(group string) []string

func TaskFetcherLockKey added in v0.8.0

func TaskFetcherLockKey(taskID string) string

Types

type DataType

type DataType string

Jump to

Keyboard shortcuts

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