package
Version:
v0.0.0-...-72f410e
Opens a new window with list of versions in this module.
Published: Sep 25, 2018
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func DelProject(projectId uint64) (<-chan bool, <-chan error)
-
func ModProject(name, branch, contexts string, userId, projectId uint64) (<-chan bool, <-chan error)
-
func NewProject(name, branch, contexts string, userId uint64) (<-chan ProjectInfo, <-chan error)
-
type File
-
type Project
-
type ProjectInfo
type File struct {
Content string `json:"content"`
Path string `json:"path"`
Branch string `json:"branch"`
CommitMessage string `json:"commit_message"`
}
type Project struct {
Files []File `json:"files"`
NamespaceId uint64 `json:"namespace_id"`
Id uint64 `json:"id"`
Visibility string `json:"visibility"`
Name string `json:"name"`
}
type ProjectInfo struct {
Id uint64 `json:"id"`
Name string `json:"name"`
Url string `json:"url"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.