5.2. API 端点
可用的 API 端点如下:
/apis/operators.coreos.com/v1alpha1/clusterserviceversions-
GET:列出 ClusterServiceVersion 类型的对象
-
/apis/operators.coreos.com/v1alpha1/namespaces/{namespace}/clusterserviceversions-
DELETE:删除 ClusterServiceVersion 集合 -
GET:列出 ClusterServiceVersion 类型的对象 -
POST:创建 ClusterServiceVersion
-
/apis/operators.coreos.com/v1alpha1/namespaces/{namespace}/clusterserviceversions/{name}-
DELETE:删除 ClusterServiceVersion -
GET:读取指定的 ClusterServiceVersion -
PATCH: 部分更新指定的 ClusterServiceVersion -
PUT:替换指定的 ClusterServiceVersion
-
/apis/operators.coreos.com/v1alpha1/namespaces/{namespace}/clusterserviceversions/{name}/status-
GET:指定 ClusterServiceVersion 的读取状态 -
PATCH: 部分更新指定 ClusterServiceVersion 的状态 -
PUT:替换指定 ClusterServiceVersion 的状态
-
- HTTP 方法
-
GET - 描述
- 列出 ClusterServiceVersion 类型的对象
| HTTP 代码 | 响应正文 |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | 空 |