// Those methods can be generated by using hack/update-generated-swagger-docs.sh
// AUTO-GENERATED FUNCTIONS START HERE
varmap_CronJob=map[string]string{
"":"CronJob represents the configuration of a single cron job.",
"metadata":"Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
"spec":"Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
"status":"Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
}
func(CronJob)SwaggerDoc()map[string]string{
returnmap_CronJob
}
varmap_CronJobList=map[string]string{
"":"CronJobList is a collection of cron jobs.",
"metadata":"Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
"items":"Items is the list of CronJob.",
}
func(CronJobList)SwaggerDoc()map[string]string{
returnmap_CronJobList
}
varmap_CronJobSpec=map[string]string{
"":"CronJobSpec describes how the job execution will look like and when it will actually run.",
"schedule":"Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.",
"startingDeadlineSeconds":"Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.",
"concurrencyPolicy":"ConcurrencyPolicy specifies how to treat concurrent executions of a Job.",
"suspend":"Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.",
"jobTemplate":"JobTemplate is the object that describes the job that will be created when executing a CronJob.",
}
func(CronJobSpec)SwaggerDoc()map[string]string{
returnmap_CronJobSpec
}
varmap_CronJobStatus=map[string]string{
"":"CronJobStatus represents the current state of a cron job.",
"active":"Active holds pointers to currently running jobs.",
"lastScheduleTime":"LastScheduleTime keeps information of when was the last time the job was successfully scheduled.",
}
func(CronJobStatus)SwaggerDoc()map[string]string{
returnmap_CronJobStatus
}
varmap_Job=map[string]string{
"":"Job represents the configuration of a single job.",
"metadata":"Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
"":"CronJob represents the configuration of a single scheduled job.",
"metadata":"Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
"spec":"Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
"status":"Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
}
func(CronJob)SwaggerDoc()map[string]string{
returnmap_CronJob
}
varmap_CronJobList=map[string]string{
"":"CronJobList is a collection of scheduled jobs.",
"metadata":"Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
"items":"Items is the list of CronJob.",
}
func(CronJobList)SwaggerDoc()map[string]string{
returnmap_CronJobList
}
varmap_CronJobSpec=map[string]string{
"":"CronJobSpec describes how the job execution will look like and when it will actually run.",
"schedule":"Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.",
"startingDeadlineSeconds":"Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.",
"concurrencyPolicy":"ConcurrencyPolicy specifies how to treat concurrent executions of a Job.",
"suspend":"Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.",
"jobTemplate":"JobTemplate is the object that describes the job that will be created when executing a CronJob.",
}
func(CronJobSpec)SwaggerDoc()map[string]string{
returnmap_CronJobSpec
}
varmap_CronJobStatus=map[string]string{
"":"CronJobStatus represents the current state of a Job.",
"active":"Active holds pointers to currently running jobs.",
"lastScheduleTime":"LastScheduleTime keeps information of when was the last time the job was successfully scheduled.",
// Create takes the representation of a scheduledJob and creates it. Returns the server's representation of the scheduledJob, and an error, if there is any.
// Update takes the representation of a scheduledJob and updates it. Returns the server's representation of the scheduledJob, and an error, if there is any.