forked from rancher/types
/
zz_generated_cron_job_config.go
26 lines (24 loc) · 1.7 KB
/
zz_generated_cron_job_config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package client
const (
CronJobConfigType = "cronJobConfig"
CronJobConfigFieldConcurrencyPolicy = "concurrencyPolicy"
CronJobConfigFieldFailedJobsHistoryLimit = "failedJobsHistoryLimit"
CronJobConfigFieldJobAnnotations = "jobAnnotations"
CronJobConfigFieldJobConfig = "jobConfig"
CronJobConfigFieldJobLabels = "jobLabels"
CronJobConfigFieldSchedule = "schedule"
CronJobConfigFieldStartingDeadlineSeconds = "startingDeadlineSeconds"
CronJobConfigFieldSuccessfulJobsHistoryLimit = "successfulJobsHistoryLimit"
CronJobConfigFieldSuspend = "suspend"
)
type CronJobConfig struct {
ConcurrencyPolicy string `json:"concurrencyPolicy,omitempty" yaml:"concurrencyPolicy,omitempty"`
FailedJobsHistoryLimit *int64 `json:"failedJobsHistoryLimit,omitempty" yaml:"failedJobsHistoryLimit,omitempty"`
JobAnnotations map[string]string `json:"jobAnnotations,omitempty" yaml:"jobAnnotations,omitempty"`
JobConfig *JobConfig `json:"jobConfig,omitempty" yaml:"jobConfig,omitempty"`
JobLabels map[string]string `json:"jobLabels,omitempty" yaml:"jobLabels,omitempty"`
Schedule string `json:"schedule,omitempty" yaml:"schedule,omitempty"`
StartingDeadlineSeconds *int64 `json:"startingDeadlineSeconds,omitempty" yaml:"startingDeadlineSeconds,omitempty"`
SuccessfulJobsHistoryLimit *int64 `json:"successfulJobsHistoryLimit,omitempty" yaml:"successfulJobsHistoryLimit,omitempty"`
Suspend *bool `json:"suspend,omitempty" yaml:"suspend,omitempty"`
}