UNPKG

mcp-server-kubernetes

Version:

MCP server for interacting with Kubernetes clusters via kubectl

689 lines (688 loc) 15.5 kB
import { z } from "zod"; export declare const CreateNamespaceResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const DeleteNamespaceResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const CreatePodResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const CreateDeploymentResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const DeletePodResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const DeleteDeploymentResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const CleanupResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const ListPodsResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const ListDeploymentsResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const ListServicesResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const ListNamespacesResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const ListNodesResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const GetLogsResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const GetEventsResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const ListCronJobsResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const CreateCronJobResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const DescribeCronJobResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const ListJobsResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const GetJobLogsResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const PortForwardResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; }, { message: string; success: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { content: { message: string; success: boolean; }[]; }, { content: { message: string; success: boolean; }[]; }>; export declare const ScaleDeploymentResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; }, { message: string; success: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { content: { message: string; success: boolean; }[]; }, { content: { message: string; success: boolean; }[]; }>; export declare const DeleteCronJobResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; }, { message: string; success: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { content: { message: string; success: boolean; }[]; }, { content: { message: string; success: boolean; }[]; }>; export declare const CreateConfigMapResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; }, { message: string; success: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { content: { message: string; success: boolean; }[]; }, { content: { message: string; success: boolean; }[]; }>; export declare const GetConfigMapResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { message: string; success: boolean; data?: Record<string, string> | undefined; }, { message: string; success: boolean; data?: Record<string, string> | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { content: { message: string; success: boolean; data?: Record<string, string> | undefined; }[]; }, { content: { message: string; success: boolean; data?: Record<string, string> | undefined; }[]; }>; export declare const UpdateConfigMapResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; }, { message: string; success: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { content: { message: string; success: boolean; }[]; }, { content: { message: string; success: boolean; }[]; }>; export declare const DeleteConfigMapResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; }, { message: string; success: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { content: { message: string; success: boolean; }[]; }, { content: { message: string; success: boolean; }[]; }>; export declare const ListContextsResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const GetCurrentContextResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const SetCurrentContextResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const DescribeNodeResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const ExecInPodResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>;