Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
徐晓伟工作室
gitlab-go
提交
d2f80a1e
G
gitlab-go
项目概览
徐晓伟工作室
/
gitlab-go
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-go
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d2f80a1e
编写于
1月 16, 2024
作者:
徐晓伟
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
📝
调整顺序
上级
0fc7e38d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
89 addition
and
89 deletion
+89
-89
README.md
README.md
+89
-89
未找到文件。
README.md
浏览文件 @
d2f80a1e
...
...
@@ -224,7 +224,7 @@ COPYRIGHT:
gitlab-go access-request - 群组和项目访问请求 API,中文文档:https://docs.gitlab.cn/jh/api/access_requests.html
USAGE:
gitlab-go access-request command [command options]
[arguments...]
gitlab-go access-request command [command options]
COMMANDS:
group, groups 为群组列出访问请求
...
...
@@ -250,7 +250,7 @@ COPYRIGHT:
gitlab-go board - 项目议题板 API,中文文档:https://docs.gitlab.cn/jh/api/boards.html
USAGE:
gitlab-go board command [command options]
[arguments...]
gitlab-go board command [command options]
COMMANDS:
list 列出项目议题板
...
...
@@ -267,35 +267,6 @@ COPYRIGHT:
--help, -h show help
```
-
[
environments 环境 API
](
https://docs.gitlab.cn/jh/api/environments.html
)
```shell
$ go run main.go environments --help
NAME:
gitlab-go environments - 环境 API,中文文档:https://docs.gitlab.cn/jh/api/environments.html
USAGE:
gitlab-go environments command [command options]
COMMANDS:
list 列举环境
create 创建新环境
help, h Shows a list of commands or help for one command
OPTIONS:
--base-url value 实例地址,例如:https://gitlab.xuxiaowei.com.cn/api/v4 (default: "https://gitlab.com/api/v4") [%CI_API_V4_URL%]
--token value your_access_token
--id value 项目 ID 或 URL 编码的路径
--name value 环境名称
--external_url value 该环境的链接位置
--tier value 新环境的层级。允许设置的值为 production, staging, testing, development 和 other
--page value 页码(默认:1),中文文档 https://docs.gitlab.cn/jh/api/rest/index.html#pagination (default: 1)
--per-page value 每页列出的项目数(默认:20;最大:100),中文文档 https://docs.gitlab.cn/jh/api/rest/index.html#pagination (default: 20)
--print-json 打印 JSON (default: false)
--print-time 打印时间 (default: false)
--help, -h show help
```
-
[
container-registry - 容器仓库 API
](
https://docs.gitlab.cn/jh/api/container_registry.html
)
```shell
...
...
@@ -304,7 +275,7 @@ COPYRIGHT:
gitlab-go container-registry - 容器仓库 API,中文文档:https://docs.gitlab.cn/jh/api/container_registry.html
USAGE:
gitlab-go container-registry command [command options]
[arguments...]
gitlab-go container-registry command [command options]
COMMANDS:
list 列出仓库内存储库
...
...
@@ -326,6 +297,35 @@ COPYRIGHT:
--help, -h show help
```
-
[
environments 环境 API
](
https://docs.gitlab.cn/jh/api/environments.html
)
```shell
$ go run main.go environments --help
NAME:
gitlab-go environments - 环境 API,中文文档:https://docs.gitlab.cn/jh/api/environments.html
USAGE:
gitlab-go environments command [command options]
COMMANDS:
list 列举环境
create 创建新环境
help, h Shows a list of commands or help for one command
OPTIONS:
--base-url value 实例地址,例如:https://gitlab.xuxiaowei.com.cn/api/v4 (default: "https://gitlab.com/api/v4") [%CI_API_V4_URL%]
--token value your_access_token
--id value 项目 ID 或 URL 编码的路径
--name value 环境名称
--external_url value 该环境的链接位置
--tier value 新环境的层级。允许设置的值为 production, staging, testing, development 和 other
--page value 页码(默认:1),中文文档 https://docs.gitlab.cn/jh/api/rest/index.html#pagination (default: 1)
--per-page value 每页列出的项目数(默认:20;最大:100),中文文档 https://docs.gitlab.cn/jh/api/rest/index.html#pagination (default: 20)
--print-json 打印 JSON (default: false)
--print-time 打印时间 (default: false)
--help, -h show help
```
-
[
instance-level-ci-variable - 实例级 CI/CD 变量 API
](
https://docs.gitlab.cn/jh/api/instance_level_ci_variables.html
)
```shell
...
...
@@ -334,7 +334,7 @@ COPYRIGHT:
gitlab-go instance-level-ci-variable - 实例级 CI/CD 变量 API,中文文档:https://docs.gitlab.cn/jh/api/instance_level_ci_variables.html
USAGE:
gitlab-go instance-level-ci-variable command [command options]
[arguments...]
gitlab-go instance-level-ci-variable command [command options]
COMMANDS:
list 列出所有实例变量
...
...
@@ -358,7 +358,7 @@ COPYRIGHT:
gitlab-go issue - 议题 API,中文文档:https://docs.gitlab.cn/jh/api/issues.html
USAGE:
gitlab-go issue command [command options]
[arguments...]
gitlab-go issue command [command options]
COMMANDS:
list 列出议题
...
...
@@ -411,7 +411,7 @@ COPYRIGHT:
gitlab-go job-artifact - 作业产物 API,中文文档:https://docs.gitlab.cn/jh/api/job_artifacts.html
USAGE:
gitlab-go job-artifact command [command options]
[arguments...]
gitlab-go job-artifact command [command options]
COMMANDS:
get 获取(下载)作业产物
...
...
@@ -437,7 +437,7 @@ COPYRIGHT:
gitlab-go job - 作业 API,中文文档:https://docs.gitlab.cn/jh/api/jobs.html
USAGE:
gitlab-go job command [command options]
[arguments...]
gitlab-go job command [command options]
COMMANDS:
list 列出项目作业
...
...
@@ -471,7 +471,7 @@ COPYRIGHT:
gitlab-go pipeline - 流水线 API,中文文档:https://docs.gitlab.cn/jh/api/pipelines.html
USAGE:
gitlab-go pipeline command [command options]
[arguments...]
gitlab-go pipeline command [command options]
COMMANDS:
list 列出项目流水线
...
...
@@ -498,7 +498,7 @@ COPYRIGHT:
gitlab-go project - 项目 API,中文文档:https://docs.gitlab.cn/jh/api/projects.html
USAGE:
gitlab-go project command [command options]
[arguments...]
gitlab-go project command [command options]
COMMANDS:
list 列出所有项目
...
...
@@ -518,7 +518,28 @@ COPYRIGHT:
--help, -h show help
```
-
删除(混合命令,多接口命令)
-
mix-archive 归档(混合命令,多接口命令)
```shell
$ go run main.go mix-archive --help
NAME:
gitlab-go mix-archive - 归档(混合命令,多接口命令)
USAGE:
gitlab-go mix-archive command [command options]
COMMANDS:
all 归档所有项目(混合命令,多接口命令)
help, h Shows a list of commands or help for one command
OPTIONS:
--base-url value 实例地址,例如:https://gitlab.xuxiaowei.com.cn/api/v4 (default: "https://gitlab.com/api/v4") [%CI_API_V4_URL%]
--token value your_access_token
--owned 当前用户明确拥有的项目。 (default: false)
--help, -h show help
```
-
mix-delete 删除(混合命令,多接口命令)
```shell
$ go run main.go mix-delete --help
...
...
@@ -526,7 +547,7 @@ COPYRIGHT:
gitlab-go mix-delete - 删除(混合命令,多接口命令)
USAGE:
gitlab-go mix-delete command [command options]
[arguments...]
gitlab-go mix-delete command [command options]
COMMANDS:
artifact, artifacts 根据项目路径/ID、流水线IID范围删除产物(混合命令,多接口命令,立即删除)
...
...
@@ -550,46 +571,33 @@ COPYRIGHT:
--help, -h show help
```
-
归档(混合命令,多接口命令)
```shell
$ go run main.go mix-archive --help
NAME:
gitlab-go mix-archive - 归档(混合命令,多接口命令)
USAGE:
gitlab-go mix-archive command [command options] [arguments...]
COMMANDS:
all 归档所有项目(混合命令,多接口命令)
help, h Shows a list of commands or help for one command
OPTIONS:
--base-url value 实例地址,例如:https://gitlab.xuxiaowei.com.cn/api/v4 (default: "https://gitlab.com/api/v4") [%CI_API_V4_URL%]
--token value your_access_token
--owned 当前用户明确拥有的项目。 (default: false)
--help, -h show help
```
-
取消归档(混合命令,多接口命令)
-
mix-create-environments 创建新环境(混合命令,多接口命令)
```shell
$ go run main.go mix-
unarchive
--help
$ go run main.go mix-
create-environments
--help
NAME:
gitlab-go mix-
unarchive - 取消归档
(混合命令,多接口命令)
gitlab-go mix-
create-environments - 创建新环境
(混合命令,多接口命令)
USAGE:
gitlab-go mix-
unarchive command [command options] [arguments...
]
gitlab-go mix-
create-environments command [command options
]
COMMANDS:
all
取消归档所有项目(混合命令,多接口命令)
all
, a 所有项目创建新环境
help, h Shows a list of commands or help for one command
OPTIONS:
--base-url value 实例地址,例如:https://gitlab.xuxiaowei.com.cn/api/v4 (default: "https://gitlab.com/api/v4") [%CI_API_V4_URL%]
--token value your_access_token
--owned 当前用户明确拥有的项目。 (default: false)
--help, -h show help
--base-url value 实例地址,例如:https://gitlab.xuxiaowei.com.cn/api/v4 (default: "https://gitlab.com/api/v4") [%CI_API_V4_URL%]
--token value your_access_token
--owned 当前用户明确拥有的项目。 (default: false)
--skip-project-path value [ --skip-project-path value ] 跳过项目路径
--skip-project-wiki-path value [ --skip-project-wiki-path value ] 跳过项目wiki路径
--allow-failure 允许失败 (default: false)
--name value 环境名称
--external_url value 该环境的链接位置
--tier value 新环境的层级。允许设置的值为 production, staging, testing, development 和 other
--print-json 打印 JSON (default: false)
--print-time 打印时间 (default: false)
--help, -h show help
```
-
导出(混合命令,多接口命令)
...
...
@@ -600,7 +608,7 @@ COPYRIGHT:
gitlab-go mix-export - 导出(混合命令,多接口命令)
USAGE:
gitlab-go mix-export command [command options]
[arguments...]
gitlab-go mix-export command [command options]
COMMANDS:
all, a 导出所有(混合命令,多接口命令)
...
...
@@ -629,7 +637,7 @@ COPYRIGHT:
gitlab-go mix-transfer - 转移(混合命令,多接口命令)
USAGE:
gitlab-go mix-transfer command [command options]
[arguments...]
gitlab-go mix-transfer command [command options]
COMMANDS:
all, a 将一个命令空间的项目转移到新的命名空间
...
...
@@ -645,33 +653,25 @@ COPYRIGHT:
--help, -h show help
```
-
创建新环境
(混合命令,多接口命令)
-
取消归档
(混合命令,多接口命令)
```shell
$ go run main.go mix-
create-environments
--help
$ go run main.go mix-
unarchive
--help
NAME:
gitlab-go mix-
create-environments - 创建新环境
(混合命令,多接口命令)
gitlab-go mix-
unarchive - 取消归档
(混合命令,多接口命令)
USAGE:
gitlab-go mix-
create-environments
command [command options]
gitlab-go mix-
unarchive
command [command options]
COMMANDS:
all
所有项目创建新环境
all
取消归档所有项目(混合命令,多接口命令)
help, h Shows a list of commands or help for one command
OPTIONS:
--base-url value 实例地址,例如:https://gitlab.xuxiaowei.com.cn/api/v4 (default: "https://gitlab.com/api/v4") [%CI_API_V4_URL%]
--token value your_access_token
--owned 当前用户明确拥有的项目。 (default: false)
--skip-project-path value [ --skip-project-path value ] 跳过项目路径
--skip-project-wiki-path value [ --skip-project-wiki-path value ] 跳过项目wiki路径
--allow-failure 允许失败 (default: false)
--name value 环境名称
--external_url value 该环境的链接位置
--tier value 新环境的层级。允许设置的值为 production, staging, testing, development 和 other
--print-json 打印 JSON (default: false)
--print-time 打印时间 (default: false)
--help, -h show help
--base-url value 实例地址,例如:https://gitlab.xuxiaowei.com.cn/api/v4 (default: "https://gitlab.com/api/v4") [%CI_API_V4_URL%]
--token value your_access_token
--owned 当前用户明确拥有的项目。 (default: false)
--help, -h show help
```
### test
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录