feat: expose concurrency policy to kubernetes jobs
This commit is contained in:
3 files changed
+20
-9
No files matched your search
@@ -299,12 +299,21 @@ const (
|
||||
)
|
||||
|
||||
type ProcessCron struct {
|
||||
ID string `yaml:"id"`
|
||||
Schedule string `yaml:"schedule"`
|
||||
Suffix string `yaml:"suffix"`
|
||||
Suspend bool `yaml:"suspend"`
|
||||
ID string `yaml:"id"`
|
||||
Schedule string `yaml:"schedule"`
|
||||
Suffix string `yaml:"suffix"`
|
||||
Suspend bool `yaml:"suspend"`
|
||||
ConcurrencyPolicy ProcessCronConcurrencyPolicy `yaml:"concurrency_policy"`
|
||||
}
|
||||
|
||||
type ProcessCronConcurrencyPolicy string
|
||||
|
||||
const (
|
||||
ProcessCronConcurrencyPolicy_Allow ProcessCronConcurrencyPolicy = "Allow"
|
||||
ProcessCronConcurrencyPolicy_Forbid ProcessCronConcurrencyPolicy = "Forbid"
|
||||
ProcessCronConcurrencyPolicy_Replace ProcessCronConcurrencyPolicy = "Replace"
|
||||
)
|
||||
|
||||
type ProcessPortMap struct {
|
||||
ContainerPort int32 `yaml:"container_port"`
|
||||
HostPort int32 `yaml:"host_port"`
|
||||
|
||||
Reference in new issue
Block a user