{ "summary": [ { "name": "container_image", "title": "容器镜像", "primary": [ "id" ], "catelog": "entity" } ], "fields": [ { "name": "id", "title": "id", "type": "str", "length": 32, "nullable": "no" }, { "name": "resellerid", "title": "商户机构id", "type": "str", "length": 32, "nullable": "no" }, { "name": "registry_id", "title": "所属仓库", "type": "str", "length": 32, "nullable": "no" }, { "name": "mirror_id", "title": "来源镜像源", "type": "str", "length": 32 }, { "name": "image_name", "title": "镜像名(namespace/repo)", "type": "str", "length": 256, "nullable": "no" }, { "name": "image_tag", "title": "标签", "type": "str", "length": 128, "nullable": "no" }, { "name": "full_name", "title": "完整名称(name:tag)", "type": "str", "length": 512 }, { "name": "source_image", "title": "源镜像地址", "type": "str", "length": 512 }, { "name": "size_bytes", "title": "镜像大小(字节)", "type": "long", "default": 0 }, { "name": "digest", "title": "镜像摘要(sha256)", "type": "str", "length": 256 }, { "name": "image_type", "title": "类型(vm/base/app/custom)", "type": "char", "length": 16, "default": "custom" }, { "name": "description", "title": "描述", "type": "str", "length": 512 }, { "name": "is_customer", "title": "是否客户自定义镜像", "type": "int", "default": 0 }, { "name": "customer_id", "title": "客户ID", "type": "str", "length": 32 }, { "name": "sync_status", "title": "同步状态(pending/syncing/synced/failed)", "type": "char", "length": 16, "default": "pending" }, { "name": "sync_log", "title": "同步日志", "type": "text" }, { "name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no" }, { "name": "updated_at", "title": "更新时间", "type": "timestamp", "nullable": "no" } ], "codes": [ { "field": "registry_id", "table": "image_registry", "valuefield": "id", "textfield": "name" }, { "field": "mirror_id", "table": "mirror_source", "valuefield": "id", "textfield": "name" }, { "field": "image_type", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='image_type'" }, { "field": "sync_status", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='sync_status'" } ] }