projects

package
v0.0.0-2024-03-09T09-58Z Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OrderByUsage = "" /* 333-byte string literal not displayed */
)

Variables

This section is empty.

Functions

func ArchiveProject

func ArchiveProject(token string, baseUrl string, pathWithNamespace string) error

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 Namespace

func Namespace(results []*gitlab.Project, projects []*gitlab.Project, namespace string, skipProjectPaths []string) []*gitlab.Project

func Projects

func Projects() *cli.Command

Projects 项目 API https://docs.gitlab.cn/jh/api/projects.html

func UnarchiveProject

func UnarchiveProject(token string, baseUrl string, pathWithNamespace string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL