UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

29 lines (28 loc) 1.49 kB
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { IoK8sApiBatchV1PodFailurePolicyRule } from './'; /** * PodFailurePolicy describes how failed pods influence the backoffLimit. * @export * @interface IoK8sApiBatchV1PodFailurePolicy */ export interface IoK8sApiBatchV1PodFailurePolicy { /** * A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed. * @type {Array<IoK8sApiBatchV1PodFailurePolicyRule>} * @memberof IoK8sApiBatchV1PodFailurePolicy */ rules: Array<IoK8sApiBatchV1PodFailurePolicyRule>; } export declare function IoK8sApiBatchV1PodFailurePolicyFromJSON(json: any): IoK8sApiBatchV1PodFailurePolicy; export declare function IoK8sApiBatchV1PodFailurePolicyFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiBatchV1PodFailurePolicy; export declare function IoK8sApiBatchV1PodFailurePolicyToJSON(value?: IoK8sApiBatchV1PodFailurePolicy | null): any;