Documentation
¶
Index ¶
- func AccessLevelName(level gitlab.AccessLevelValue) string
- func CookieSessionValid(gitlabUrl string, cookieVal string)
- func DetermineVersion(gitlabUrl string, apiToken string) *gitlab.Metadata
- func FetchCICDYml(git *gitlab.Client, pid int64) (string, error)
- func GetGitlabClient(token string, url string) (*gitlab.Client, error)
- func IterateGroupProjects(client *gitlab.Client, groupID interface{}, ...) error
- func IterateProjects(client *gitlab.Client, opts *gitlab.ListProjectsOptions, ...) error
- func RegisterNewAccount(targetUrl string, username string, password string, email string)
- type ProjectIteratorFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLevelName ¶ added in v0.59.0
func AccessLevelName(level gitlab.AccessLevelValue) string
AccessLevelName returns the human-readable name for a GitLab access level value.
func CookieSessionValid ¶
func IterateGroupProjects ¶
func IterateGroupProjects(client *gitlab.Client, groupID interface{}, opts *gitlab.ListGroupProjectsOptions, callback ProjectIteratorFunc) error
IterateGroupProjects loops through group projects with pagination and calls the provided callback function for each project. Returns an error if project fetching fails.
func IterateProjects ¶
func IterateProjects(client *gitlab.Client, opts *gitlab.ListProjectsOptions, callback ProjectIteratorFunc) error
IterateProjects loops through projects with pagination and calls the provided callback function for each project. Returns an error if project fetching fails.
Types ¶
type ProjectIteratorFunc ¶
ProjectIteratorFunc is a callback function type for processing each project
Click to show internal directories.
Click to hide internal directories.