/* 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 { InstanceTemplateAttribute } from './instance-template-attribute'; // May contain unused imports in some cases // @ts-ignore import type { InstanceTemplateEnv } from './instance-template-env'; // May contain unused imports in some cases // @ts-ignore import type { InstanceTemplateOp } from './instance-template-op'; /** * Template fields and operations shared by the frontend and backend. Requested components require creation template targets when instanceTemplate is declared. Declaring hscale or storageExpansion in ops requires explicit targets for every name. The hscale requirement applies to replica scaling only. * @export * @interface ModeComponentInstanceTemplate */ export interface ModeComponentInstanceTemplate { /** * Instance template names the frontend should render. Create checks names against the chart. Replica hscale and volume expansion targets must include every name in this list. * @type {Set} * @memberof ModeComponentInstanceTemplate */ 'names': Set; /** * Template operations: hscale, storageExpansion, and reserved vscale. Template hscale replicas must sum to the component target. Volume expansion targets must match component volume names and capacities. * @type {Array} * @memberof ModeComponentInstanceTemplate */ 'ops': Array; /** * Template UI attributes. Env overrides require env to be enabled. * @type {Set} * @memberof ModeComponentInstanceTemplate */ 'attributes'?: Set; /** * Allowed env variables, with defaults and required checks applied before persistence. * @type {Array} * @memberof ModeComponentInstanceTemplate */ 'env'?: Array; }