22.2. API 端点
可用的 API 端点如下:
/apis/whereabouts.cni.cncf.io/v1alpha1/ippools-
GET: 列出类型为 IPPool 的对象
-
/apis/whereabouts.cni.cncf.io/v1alpha1/namespaces/{namespace}/ippools-
DELETE:删除 IPPool 集合 -
GET: 列出类型为 IPPool 的对象 -
POST:创建 IPPool
-
/apis/whereabouts.cni.cncf.io/v1alpha1/namespaces/{namespace}/ippools/{name}-
DELETE:删除 IPPool -
GET:读取指定的 IPPool -
PATCH: 部分更新指定的 IPPool -
PUT:替换指定的 IPPool
-
22.2.1. /apis/whereabouts.cni.cncf.io/v1alpha1/ippools 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
- HTTP 方法
-
GET - 描述
- 列出 IPPool 类型的对象
| HTTP 代码 | 响应正文 |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | 空 |