Documentation ¶
Index ¶
- Constants
- func ArchiveProject(token string, baseUrl string, pathWithNamespace string) error
- func List() *cli.Command
- func ListNamespaceProjects(owned bool, token string, baseUrl string, page int, perPage int, ...) ([]*gitlab.Project, error)
- func ListProjects(owned bool, token string, baseUrl string, page int, perPage int) ([]*gitlab.Project, error)
- func Namespace(results []*gitlab.Project, projects []*gitlab.Project, namespace string, ...) []*gitlab.Project
- func Projects() *cli.Command
- func UnarchiveProject(token string, baseUrl string, pathWithNamespace string) error
Constants ¶
View Source
const (
OrderByUsage = "" /* 333-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
func ArchiveProject ¶
func List ¶
func List() *cli.Command
List 列出所有项目 https://docs.gitlab.cn/jh/api/projects.html#%E5%88%97%E5%87%BA%E6%89%80%E6%9C%89%E9%A1%B9%E7%9B%AE
func ListNamespaceProjects ¶
func ListNamespaceProjects(owned bool, token string, baseUrl string, page int, perPage int, namespace string, skipProjectPaths []string) ([]*gitlab.Project, error)
ListNamespaceProjects 列出命名空间所有项目
func ListProjects ¶
func ListProjects(owned bool, token string, baseUrl string, page int, perPage int) ([]*gitlab.Project, error)
ListProjects 列出所有项目 https://docs.gitlab.cn/jh/api/projects.html#%E5%88%97%E5%87%BA%E6%89%80%E6%9C%89%E9%A1%B9%E7%9B%AE
func Projects ¶
func Projects() *cli.Command
Projects 项目 API https://docs.gitlab.cn/jh/api/projects.html
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.