@@ -1025,9 +1025,9 @@ type ReqJson struct {
|
||||
|
||||
// ToJenkinsfile response
|
||||
type ResJenkinsfile struct {
|
||||
Status string `json:"status,omitempty" description:"status"`
|
||||
Status string `json:"status,omitempty" description:"status e.g. ok"`
|
||||
Data struct {
|
||||
Result string `json:"result,omitempty" description:"result"`
|
||||
Result string `json:"result,omitempty" description:"result e.g. success"`
|
||||
Jenkinsfile string `json:"jenkinsfile,omitempty" description:"jenkinsfile"`
|
||||
Errors []struct {
|
||||
Location []string `json:"location,omitempty" description:"err location"`
|
||||
@@ -1041,9 +1041,9 @@ type ReqJenkinsfile struct {
|
||||
}
|
||||
|
||||
type ResJson struct {
|
||||
Status string `json:"status,omitempty" description:"status"`
|
||||
Status string `json:"status,omitempty" description:"status e.g. ok"`
|
||||
Data struct {
|
||||
Result string `json:"result,omitempty" description:"result"`
|
||||
Result string `json:"result,omitempty" description:"result e.g. success"`
|
||||
JSON struct {
|
||||
Pipeline struct {
|
||||
Stages []interface{} `json:"stages,omitempty" description:"stages"`
|
||||
|
||||
@@ -24,7 +24,7 @@ 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. e.g. owner '"`
|
||||
Status string `json:"status" description:"Desperated, status of project membership"`
|
||||
Status string `json:"status" description:"Desperated, status of project membership. e.g. active "`
|
||||
GrantBy string `json:"grand_by,omitempty" description:"Username of the user who assigned the role"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user