/* tslint:disable */ /* eslint-disable */ /** * Admin API * The Admin API is used to manage the ApeCloud platform. * * 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. */ // May contain unused imports in some cases // @ts-ignore import type { EngineOptionsServicePattern } from './engine-options-service-pattern'; // May contain unused imports in some cases // @ts-ignore import type { LocalizedDescription } from './localized-description'; /** * * @export * @interface EndpointOption */ export interface EndpointOption { /** * * @type {LocalizedDescription} * @memberof EndpointOption */ 'title': LocalizedDescription; /** * * @type {string} * @memberof EndpointOption */ 'component': string; /** * * @type {string} * @memberof EndpointOption */ 'portName': string; /** * * @type {number} * @memberof EndpointOption */ 'port': number; /** * * @type {string} * @memberof EndpointOption */ 'protocol': string; /** * * @type {string} * @memberof EndpointOption */ 'targetPort': string; /** * * @type {Array} * @memberof EndpointOption */ 'type': Array; /** * whether the endpoint supports system use, such as health check, dms, databases & accounts management etc. * @type {boolean} * @memberof EndpointOption */ 'supportsSystemUse'?: boolean; /** * * @type {EngineOptionsServicePattern} * @memberof EndpointOption */ 'servicePattern'?: EngineOptionsServicePattern; /** * ServiceName regular expression * @type {string} * @memberof EndpointOption */ 'serviceNameRegex'?: string; /** * service suffix, defined in ComponentDefinition * @type {string} * @memberof EndpointOption */ 'serviceName'?: string; /** * selector of k8s service * @type {{ [key: string]: string; }} * @memberof EndpointOption */ 'selector'?: { [key: string]: string; }; /** * selector of k8s service * @type {{ [key: string]: string; }} * @memberof EndpointOption */ 'disasterRecoverySelector'?: { [key: string]: string; }; /** * whether the endpoint follows the network mode of the component * @type {boolean} * @memberof EndpointOption */ 'followNetworkMode'?: boolean; /** * compatible KubeBlocks Major versions * @type {string} * @memberof EndpointOption */ 'compatibleKBVersion'?: string | null; }