@@ -10,21 +10,23 @@ type Processes struct {
10
10
// Process is a struct that consumes a yaml configration and holds config for a
11
11
// process that needs to be run.
12
12
type Process struct {
13
- Name string `yaml:"name"`
14
- CMD string `yaml:"command"`
15
- Args []string `yaml:"arguments"`
16
- LoggerConfig LoggingConfig `yaml:"logging_config"`
17
- CombindOutput bool `yaml:"combine_output,omitempty"`
18
- TermTimeout int `yaml:"termination_timeout_seconds,omitempty"`
19
- StartDelay int `yaml:"start_delay_seconds,omitempty"`
13
+ Name string `yaml:"name"`
14
+ CMD string `yaml:"command"`
15
+ Args []string `yaml:"arguments"`
16
+ LoggerConfig LoggingConfig `yaml:"logging_config"`
17
+ CombindOutput bool `yaml:"combine_output,omitempty"`
18
+ TermTimeout int `yaml:"termination_timeout_seconds,omitempty"`
19
+ StartDelay int `yaml:"start_delay_seconds,omitempty"`
20
+ WorkingDirectory string `yaml:"working_dir,omitempty"`
20
21
}
21
22
22
23
// SecretProcess is a struct that consumes a yaml configration and holds config for a
23
24
// secret collection process that needs to be run.
24
25
type SecretProcess struct {
25
- Name string `yaml:"name"`
26
- CMD string `yaml:"command"`
27
- Args []string `yaml:"arguments"`
28
- TermTimeout int `yaml:"termination_timeout_seconds,omitempty"`
29
- Skip bool `yaml:"skip"`
26
+ Name string `yaml:"name"`
27
+ CMD string `yaml:"command"`
28
+ Args []string `yaml:"arguments"`
29
+ TermTimeout int `yaml:"termination_timeout_seconds,omitempty"`
30
+ Skip bool `yaml:"skip"`
31
+ WorkingDirectory string `yaml:"working_dir,omitempty"`
30
32
}
0 commit comments