2021-12-07 13:18:08 -05:00

54 lines
2.1 KiB
TypeScript

/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.22.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1beta1JobTemplateSpec } from './v1beta1JobTemplateSpec';
/**
* CronJobSpec describes how the job execution will look like and when it will actually run.
*/
export declare class V1beta1CronJobSpec {
/**
* Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn\'t finished yet; - \"Replace\": cancels currently running job and replaces it with a new one
*/
'concurrencyPolicy'?: string;
/**
* The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
*/
'failedJobsHistoryLimit'?: number;
'jobTemplate': V1beta1JobTemplateSpec;
/**
* The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
*/
'schedule': string;
/**
* 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.
*/
'startingDeadlineSeconds'?: number;
/**
* The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.
*/
'successfulJobsHistoryLimit'?: number;
/**
* This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
*/
'suspend'?: boolean;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}