/* eslint-disable */ // @ts-nocheck /* * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY */ import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb" import * as InsightIoApiResourceV1alpha1Type from "./type.pb" export enum NodePhase { NODE_PHASE_UNSPECIFIED = "NODE_PHASE_UNSPECIFIED", NODE_PHASE_READY = "NODE_PHASE_READY", NODE_PHASE_NOT_READY = "NODE_PHASE_NOT_READY", NODE_PHASE_UNKNOWN = "NODE_PHASE_UNKNOWN", } export type ListNodesRequest = { cluster?: string phase?: NodePhase name?: string page?: number pageSize?: number } export type ListNodesResponse = { items?: NodeSummary[] pagination?: InsightIoApiTypeV1alpha1Page.Pagination } export type NodeSummary = { name?: string phase?: NodePhase podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary gpuVendors?: string[] } export type GetNodeRequest = { cluster?: string name?: string } export type Node = { name?: string cluster?: string operatingSystem?: string address?: string creationTimestamp?: string nodeStatus?: NodeStatus podSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary usage?: usage } export type NodeStatus = { phase?: NodePhase conditions?: NodeCondition[] } export type NodeCondition = { type?: string status?: InsightIoApiResourceV1alpha1Type.ConditionStatus reason?: string message?: string } export type usage = { cpuCapacity?: string cpuAllocated?: number cpuUsage?: number memoryCapacity?: string memoryAllocated?: number memoryUsage?: number storageCapacity?: string storageAllocated?: string storageUsage?: number } export type GPUDashboardURL = { vendor?: string en?: string zh?: string } export type GetGPUResponse = { urls?: GPUDashboardURL[] } export type GetNodeGPUDashboardRequest = { cluster?: string name?: string } export type GetPodGPUDashboardRequest = { cluster?: string namespace?: string name?: string }