Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobContext ¶
type JobContext struct { Name string `yaml:"name"` // Workspace 容器工作目录 [必填] Workspace string `yaml:"workspace"` // Envs 用户注入环境变量, 包括安装脚本环境变量 [optional] Envs EnvVar `yaml:"envs"` // SecretEnvs 用户注入敏感信息环境变量, value不能在stdout stderr中输出 [optional] SecretEnvs EnvVar `yaml:"secret_envs"` // WorkflowName WorkflowName string `yaml:"workflow_name"` // TaskID TaskID int64 `yaml:"task_id"` // Paths 执行脚本Path Paths string `yaml:"paths"` // ConfigMapName save the name of the configmap in which the jobContext resides ConfigMapName string `yaml:"config_map_name"` Steps []*Step `yaml:"steps"` Outputs []string `yaml:"outputs"` }
Click to show internal directories.
Click to hide internal directories.