Skip to main content
Glama
TehilaTheStudent

Huawei CCE MCP Server

response.ts1.24 kB
import { z } from 'zod'; import { HuaweiClusterSchema } from './entities/cluster.js'; import { HuaweiPodSchema } from './entities/pod.js'; import { HuaweiNamespaceSchema } from './entities/namespace.js' // cluster export const HuaweiListClustersResponseSchema = z.object({ kind: z.literal('Cluster'), apiVersion: z.string(), items: z.array(HuaweiClusterSchema) }); export type HuaweiListClustersResponse = z.infer<typeof HuaweiListClustersResponseSchema>; export const HuaweiGetClusterByIdResponseSchema = HuaweiClusterSchema; export type HuaweiGetClusterByIdResponse = z.infer<typeof HuaweiGetClusterByIdResponseSchema>; // pod export const HuaweiListPodsResponseSchema = z.object({ kind: z.literal('PodList'), apiVersion: z.string(), metadata: z.object({ resourceVersion: z.string(), }), items: z.array(HuaweiPodSchema), }); export type HuaweiListPodsResponse = z.infer<typeof HuaweiListPodsResponseSchema>; // namespace export const HuaweiListNamespacesResponseSchema = z.object({ kind: z.literal('NamespaceList'), apiVersion: z.string(), metadata: z.any(), items: z.array(HuaweiNamespaceSchema), }); export type HuaweiListNamespacesResponse = z.infer<typeof HuaweiListNamespacesResponseSchema>;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TehilaTheStudent/try-cce-gitlab'

If you have feedback or need assistance with the MCP directory API, please join our Discord server