Documentation
¶
Overview ¶
Code generated by goal-cli. DO NOT EDIT. versions:
goal-cli v0.5.24 go go1.24.0
updated_at: 2025-03-24 20:22:07 source: pro/Project.proto
Code generated by goal-cli. DO NOT EDIT. versions:
goal-cli v0.5.24 go go1.24.0
updated_at: 2025-03-24 20:22:07 source: pro/Project.proto
Code generated by goal-cli. DO NOT EDIT. versions:
goal-cli v0.5.24 go go1.24.0
updated_at: 2025-03-24 20:22:07 source: pro/Project.proto
Code generated by goal-cli. DO NOT EDIT. versions:
goal-cli v0.5.24 go go1.24.0
updated_at: 2025-03-24 20:22:07 source: pro/Project.proto
Code generated by goal-cli. DO NOT EDIT. versions:
goal-cli v0.5.24 go go1.24.0
updated_at: 2025-03-24 20:22:07 source: pro/Project.proto
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateProjectReq ¶
type CreateProjectReq struct {
Uuid string `json:"uuid" query:"uuid" form:"uuid"`
Name string `json:"name" query:"name" form:"name"`
CreatorId int64 `json:"creator_id" query:"creator_id" form:"creator_id"`
GroupId int64 `json:"group_id" query:"group_id" form:"group_id"`
KeyId int64 `json:"key_id" query:"key_id" form:"key_id"`
RepoAddress string `json:"repo_address" query:"repo_address" form:"repo_address"`
ProjectPath string `json:"project_path" query:"project_path" form:"project_path"`
DefaultBranch string `json:"default_branch" query:"default_branch" form:"default_branch"`
Settings string `json:"settings" query:"settings" form:"settings"`
}
func (*CreateProjectReq) ToFields ¶
func (model *CreateProjectReq) ToFields() contracts.Fields
type DeleteProjectReq ¶
type DeleteProjectReq struct {
Id string `json:"id" query:"id" form:"id"`
}
func (*DeleteProjectReq) ToFields ¶
func (model *DeleteProjectReq) ToFields() contracts.Fields
type GetProjectReq ¶
type GetProjectReq struct {
Id string `json:"id" query:"id" form:"id"`
}
func (*GetProjectReq) ToFields ¶
func (model *GetProjectReq) ToFields() contracts.Fields
type ListProjectsReq ¶
type ListProjectsReq struct {
Page int64 `json:"page" query:"page" form:"page"`
PerPage int64 `json:"per_page" query:"per_page" form:"per_page"`
}
func (*ListProjectsReq) ToFields ¶
func (model *ListProjectsReq) ToFields() contracts.Fields
type UpdateProjectReq ¶
type UpdateProjectReq struct {
Id int64 `json:"id" query:"id" form:"id"`
Uuid string `json:"uuid" query:"uuid" form:"uuid"`
Name string `json:"name" query:"name" form:"name"`
CreatorId int64 `json:"creator_id" query:"creator_id" form:"creator_id"`
GroupId int64 `json:"group_id" query:"group_id" form:"group_id"`
KeyId int64 `json:"key_id" query:"key_id" form:"key_id"`
RepoAddress string `json:"repo_address" query:"repo_address" form:"repo_address"`
ProjectPath string `json:"project_path" query:"project_path" form:"project_path"`
DefaultBranch string `json:"default_branch" query:"default_branch" form:"default_branch"`
Settings string `json:"settings" query:"settings" form:"settings"`
}
func (*UpdateProjectReq) ToFields ¶
func (model *UpdateProjectReq) ToFields() contracts.Fields
Click to show internal directories.
Click to hide internal directories.