get_kubeconfig_info
Retrieve saved kubeconfig details or validate kubeconfig content format by passing either the configuration name or the file content.
Instructions
获取 kubeconfig 文件详细信息或验证 kubeconfig 内容格式
两种用法:
传 name:读取已保存的 kubeconfig 并返回详情
传 content:验证传入的 kubeconfig 内容格式
Args: name: 已保存的配置名称(与 content 二选一) content: kubeconfig 文件内容(与 name 二选一,用于验证格式)
Returns: kubeconfig 详细信息或验证结果
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| content | No |