/* tslint:disable */ /* eslint-disable */ /** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * `HardAntiAffinity` - Strictly enforce pod anti-affinity across nodes. Pods will not be scheduled when the anti-affinity constraints cannot be satisfied. * `SoftAntiAffinity` - Prefer to spread pods across nodes using anti-affinity, but allow scheduling on the same node when constraints cannot be fully satisfied. * `Disabled` - Do not apply pod anti-affinity constraints on nodes. * @export * @enum {string} */ export const SchedulingPolicyType = { HardAntiAffinity: 'HardAntiAffinity', SoftAntiAffinity: 'SoftAntiAffinity', Disabled: 'Disabled' } as const; export type SchedulingPolicyType = typeof SchedulingPolicyType[keyof typeof SchedulingPolicyType];