/* 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 { ResourceStats } from './resource-stats'; /** * A node hosting platform components. CPU and memory report capacity, allocatable capacity and actual usage in cores and GiB respectively. Filesystem statistics report root filesystem capacity and usage in GiB. Unavailable samples are -1. * @export * @interface PlatformComponentNode */ export interface PlatformComponentNode { /** * * @type {string} * @memberof PlatformComponentNode */ 'name'?: string; /** * Internal node IP, falling back to external IP * @type {string} * @memberof PlatformComponentNode */ 'ip'?: string; /** * Kubernetes node role, control-plane or worker * @type {string} * @memberof PlatformComponentNode */ 'role'?: string; /** * Ready when the NodeReady condition is True, otherwise NotReady * @type {string} * @memberof PlatformComponentNode */ 'status'?: string; /** * Names of platform components with Pods assigned to this node * @type {Array} * @memberof PlatformComponentNode */ 'components'?: Array; /** * * @type {ResourceStats} * @memberof PlatformComponentNode */ 'cpuStats'?: ResourceStats; /** * * @type {ResourceStats} * @memberof PlatformComponentNode */ 'memoryStats'?: ResourceStats; /** * * @type {ResourceStats} * @memberof PlatformComponentNode */ 'filesystemStats'?: ResourceStats; }