Categories:

System functions (System Information)

SYSTEM$REGISTRY_LIST_IMAGES — Deprecated

Lists images in an image repository.

See also:

Working with an Image Registry and Repository

语法

SYSTEM$REGISTRY_LIST_IMAGES( '/<dbName>/<schemaName>/<repositoryName>' )

实参

必填:

dbName

在其中创建存储库的数据库名称。

schemaName

在其中创建存储库的数据库名称。

repositoryName

镜像仓库的名称。

返回

返回列出所有镜像的 JSON 对象。

使用说明

  • 您需要获得存储库的读取权限,才能获取镜像列表。

示例

This function retrieves a list of images from the /tutorial_db/data_schema/tutorial_repository repository.

SELECT SYSTEM$REGISTRY_LIST_IMAGES('/tutorial_db/data_schema/tutorial_repository');

输出示例,显示了包含仓库中两个镜像的列表:

+-----------------------------------------------------------------------------+
| SYSTEM$REGISTRY_LIST_IMAGES('/TUTORIAL_DB/DATA_SCHEMA/TUTORIAL_REPOSITORY') |
%-----------------------------------------------------------------------------%
| {"images":["my_echo_service_image","my_job_image"]}                         |
+-----------------------------------------------------------------------------+