Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
lcr
提交
6b30b504
L
lcr
项目概览
openeuler
/
lcr
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
lcr
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
6b30b504
编写于
10月 29, 2019
作者:
Z
zhuchunyi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
replace defs.json by link
上级
b4050921
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
466 deletion
+2
-466
src/json/schema/schema/oci/runtime/defs.json
src/json/schema/schema/oci/runtime/defs.json
+1
-233
src/json/schema/schema/oci/runtime/defs.json
src/json/schema/schema/oci/runtime/defs.json
+1
-233
未找到文件。
src/json/schema/schema/oci/runtime/defs.json
已删除
100644 → 0
浏览文件 @
b4050921
{
" description"
:
"Definitions used throughout the OpenContainer Specification"
,
"definitions"
:
{
"int8"
:
{
"type"
:
"integer"
,
"minimum"
:
-128
,
"maximum"
:
127
},
"int16"
:
{
"type"
:
"integer"
,
"minimum"
:
-32768
,
"maximum"
:
32767
},
"int32"
:
{
"type"
:
"integer"
,
"minimum"
:
-2147483648
,
"maximum"
:
2147483647
},
"int64"
:
{
"type"
:
"integer"
,
"minimum"
:
-9223372036854776000
,
"maximum"
:
9223372036854776000
},
"uint8"
:
{
"type"
:
"integer"
,
"minimum"
:
0
,
"maximum"
:
255
},
"uint16"
:
{
"type"
:
"integer"
,
"minimum"
:
0
,
"maximum"
:
65535
},
"uint32"
:
{
"type"
:
"integer"
,
"minimum"
:
0
,
"maximum"
:
4294967295
},
"uint64"
:
{
"type"
:
"integer"
,
"minimum"
:
0
,
"maximum"
:
18446744073709552000
},
"uint16Pointer"
:
{
"oneOf"
:
[
{
"$ref"
:
"#/definitions/uint16"
},
{
"type"
:
"null"
}
]
},
"uint64Pointer"
:
{
"oneOf"
:
[
{
"$ref"
:
"#/definitions/uint64"
},
{
"type"
:
"null"
}
]
},
"stringPointer"
:
{
"oneOf"
:
[
{
"type"
:
"string"
},
{
"type"
:
"null"
}
]
},
"percent"
:
{
"type"
:
"integer"
,
"minimum"
:
0
,
"maximum"
:
100
},
"UID"
:
{
"$ref"
:
"#/definitions/uint32"
},
"GID"
:
{
"$ref"
:
"#/definitions/uint32"
},
"ArrayOfGIDs"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/GID"
}
},
"FilePath"
:
{
"type"
:
"string"
},
"Env"
:
{
"$ref"
:
"#/definitions/ArrayOfStrings"
},
"Hook"
:
{
"type"
:
"object"
,
"properties"
:
{
"path"
:
{
"$ref"
:
"#/definitions/FilePath"
},
"args"
:
{
"$ref"
:
"#/definitions/ArrayOfStrings"
},
"env"
:
{
"$ref"
:
"#/definitions/Env"
},
"timeout"
:
{
"type"
:
"integer"
,
"minimum"
:
1
}
},
"required"
:
[
"path"
]
},
"ArrayOfHooks"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/Hook"
}
},
"IDMapping"
:
{
"type"
:
"object"
,
"properties"
:
{
"hostID"
:
{
"$ref"
:
"#/definitions/uint32"
},
"containerID"
:
{
"$ref"
:
"#/definitions/uint32"
},
"size"
:
{
"$ref"
:
"#/definitions/uint32"
}
},
"required"
:
[
"hostID"
,
"containerID"
,
"size"
]
},
"Mount"
:
{
"type"
:
"object"
,
"properties"
:
{
"source"
:
{
"$ref"
:
"#/definitions/FilePath"
},
"destination"
:
{
"$ref"
:
"#/definitions/FilePath"
},
"options"
:
{
"$ref"
:
"#/definitions/ArrayOfStrings"
},
"type"
:
{
"type"
:
"string"
}
},
"required"
:
[
"destination"
]
},
"ArrayOfStrings"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
},
"mapStringString"
:
{
"type"
:
"object"
,
"patternProperties"
:
{
".{1,}"
:
{
"type"
:
"string"
}
}
},
"mapStringInt"
:
{
"type"
:
"object"
,
"patternProperties"
:
{
".{1,}"
:
{
"type"
:
"integer"
}
}
},
"mapStringBool"
:
{
"type"
:
"object"
,
"patternProperties"
:
{
".{1,}"
:
{
"type"
:
"boolean"
}
}
},
"mapIntString"
:
{
"type"
:
"object"
,
"patternProperties"
:
{
".{2,}"
:
{
"type"
:
"string"
}
}
},
"mapIntInt"
:
{
"type"
:
"object"
,
"patternProperties"
:
{
".{2,}"
:
{
"type"
:
"integer"
}
}
},
"mapIntBool"
:
{
"type"
:
"object"
,
"patternProperties"
:
{
".{2,}"
:
{
"type"
:
"boolean"
}
}
},
"mapStringObject"
:
{
"type"
:
"object"
,
"patternProperties"
:
{
".{1,}"
:
{
"type"
:
"object"
}
}
},
"ociVersion"
:
{
"description"
:
"The version of Open Container Runtime Specification that the document complies with"
,
"type"
:
"string"
},
"annotations"
:
{
"$ref"
:
"#/definitions/mapStringString"
}
}
}
src/json/schema/schema/oci/runtime/defs.json
0 → 120000
浏览文件 @
6b30b504
../../defs.json
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录