Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
水淹萌龙
kubesphere
提交
a9237a5c
K
kubesphere
项目概览
水淹萌龙
/
kubesphere
与 Fork 源项目一致
Fork自
KubeSphere / kubesphere
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kubesphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
未验证
提交
a9237a5c
编写于
6月 06, 2019
作者:
R
runzexia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update docs
Signed-off-by:
N
runzexia
<
runzexia@yunify.com
>
上级
d5aa90bb
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
58 addition
and
58 deletion
+58
-58
pkg/apis/devops/v1alpha2/register.go
pkg/apis/devops/v1alpha2/register.go
+45
-45
pkg/models/devops/json.go
pkg/models/devops/json.go
+10
-10
pkg/models/devops/membership.go
pkg/models/devops/membership.go
+1
-1
pkg/models/devops/project.go
pkg/models/devops/project.go
+1
-1
pkg/models/devops/project_credential.go
pkg/models/devops/project_credential.go
+1
-1
未找到文件。
pkg/apis/devops/v1alpha2/register.go
浏览文件 @
a9237a5c
此差异已折叠。
点击以展开。
pkg/models/devops/json.go
浏览文件 @
a9237a5c
...
...
@@ -247,17 +247,17 @@ type SCMOrg struct {
Class
string
`json:"_class,omitempty" description:"It’s a fully qualified name and is an identifier of the producer of this resource's capability."`
Links
struct
{
Repositories
struct
{
Class
string
`json:"_class,omitempty"`
Href
string
`json:"href,omitempty"`
Class
string
`json:"_class,omitempty"
description:"It’s a fully qualified name and is an identifier of the producer of this resource's capability."
`
Href
string
`json:"href,omitempty"
description:"url in api"
`
}
`json:"repositories,omitempty"`
Self
struct
{
Class
string
`json:"_class,omitempty"`
Href
string
`json:"href,omitempty"`
}
`json:"self,omitempty"`
Class
string
`json:"_class,omitempty"
description:"It’s a fully qualified name and is an identifier of the producer of this resource's capability."
`
Href
string
`json:"href,omitempty"
description:"self url in api"
`
}
`json:"self,omitempty"
description:"scm org self info"
`
}
`json:"_links,omitempty" description:"references the reachable path to this resource"`
Avatar
string
`json:"avatar,omitempty" description:"avatar url"`
JenkinsOrganizationPipeline
bool
`json:"jenkinsOrganizationPipeline,omitempty" description:"jenkins organization pipeline"`
Name
string
`json:"name,omitempty" description:"name "`
Name
string
`json:"name,omitempty" description:"
org
name "`
}
// GetOrgRepo
...
...
@@ -733,10 +733,10 @@ type Crumb struct {
// CheckScriptCompile
type
CheckScript
struct
{
Column
int
`json:"column,omitempty" description:"column"`
Line
int
`json:"line,omitempty" description:"line"`
Message
string
`json:"message,omitempty" description:"message"`
Status
string
`json:"status,omitempty" description:"statu
e
"`
Column
int
`json:"column,omitempty" description:"column
e.g. 0
"`
Line
int
`json:"line,omitempty" description:"line
e.g. 0
"`
Message
string
`json:"message,omitempty" description:"message
e.g. success
"`
Status
string
`json:"status,omitempty" description:"statu
s e.g. success
"`
}
// CheckCron
...
...
pkg/models/devops/membership.go
浏览文件 @
a9237a5c
...
...
@@ -23,7 +23,7 @@ const (
type
DevOpsProjectMembership
struct
{
Username
string
`json:"username" description:"member's username,username can uniquely identify a user"`
ProjectId
string
`json:"project_id" db:"project_id" description:"the devops projects which project membership belongs to"`
Role
string
`json:"role" description:"devops project membership's role type'"`
Role
string
`json:"role" description:"devops project membership's role type
. e.g. owner
'"`
Status
string
`json:"status" description:"Desperated, status of project membership"`
GrantBy
string
`json:"grand_by,omitempty" description:"Username of the user who assigned the role"`
}
...
...
pkg/models/devops/project.go
浏览文件 @
a9237a5c
...
...
@@ -47,7 +47,7 @@ type DevOpsProject struct {
CreateTime
time
.
Time
`json:"create_time" description:"DevOps Project's Creation time'"`
Status
string
`json:"status" description:"DevOps project's status"`
Status
string
`json:"status" description:"DevOps project's status
. e.g. active
"`
Visibility
string
`json:"visibility,omitempty" description:"Desperated Field"`
...
...
pkg/models/devops/project_credential.go
浏览文件 @
a9237a5c
...
...
@@ -43,7 +43,7 @@ type JenkinsCredential struct {
}
`json:"usage,omitempty" description:"all usage of credential"`
}
`json:"fingerprint,omitempty" description:"usage of credential"`
Description
string
`json:"description,omitempty" description:"credential's description'"`
Domain
string
`json:"domain,omitempty" description:"credential's domain, default '_''"`
Domain
string
`json:"domain,omitempty" description:"credential's domain,
In ks we only use the default domain,
default '_''"`
CreateTime
*
time
.
Time
`json:"create_time,omitempty" description:"credential's create_time'"`
Creator
string
`json:"creator,omitempty" description:"creator's username"`
UsernamePasswordCredential
*
UsernamePasswordCredential
`json:"username_password,omitempty" description:"username password credential struct"`
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录