Re-generate code and API spec for CronJob API

This commit is contained in:
peay
2017-02-25 06:51:59 -05:00
parent 2b33de0684
commit ca3c4b3993
9 changed files with 407 additions and 129 deletions

View File

@@ -16189,6 +16189,20 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
Ref: ref("k8s.io/kubernetes/pkg/apis/batch/v2alpha1.JobTemplateSpec"),
},
},
"successfulJobsHistoryLimit": {
SchemaProps: spec.SchemaProps{
Description: "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.",
Type: []string{"integer"},
Format: "int32",
},
},
"failedJobsHistoryLimit": {
SchemaProps: spec.SchemaProps{
Description: "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.",
Type: []string{"integer"},
Format: "int32",
},
},
},
Required: []string{"schedule", "jobTemplate"},
},