{ "summary": [{ "name": "mirror_source", "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": "name", "title": "镜像源名称", "type": "str", "length": 128, "nullable": "no"}, {"name": "source_type", "title": "类型(public_mirror/private_registry/hub)", "type": "char", "length": 32, "nullable": "no"}, {"name": "registry_url", "title": "Registry URL", "type": "str", "length": 512, "nullable": "no"}, {"name": "upstream_url", "title": "上游源地址(如docker.io)", "type": "str", "length": 512}, {"name": "region", "title": "区域(cn/us/eu)", "type": "char", "length": 8, "default": "cn"}, {"name": "auth_user", "title": "认证用户名", "type": "str", "length": 128}, {"name": "auth_password", "title": "认证密码(加密)", "type": "str", "length": 256}, {"name": "is_default", "title": "是否默认源", "type": "int", "default": 0}, {"name": "priority", "title": "优先级(越小越高)", "type": "int", "default": 100}, {"name": "status", "title": "状态(active/inactive/error)", "type": "char", "length": 16, "default": "active"}, {"name": "health_check_at", "title": "最后健康检查", "type": "timestamp"}, {"name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no"}, {"name": "updated_at", "title": "更新时间", "type": "timestamp", "nullable": "no"} ], "codes": [ {"field": "source_type", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='mirror_source_type'"}, {"field": "region", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='mirror_region'"}, {"field": "status", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='mirror_status'"} ] }