Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitlabClient ¶
GitlabClient implements methods to interace with a Gitlab instance
func NewGitlabClient ¶
func NewGitlabClient(gitlabLink string) (*GitlabClient, error)
NewGitlabClient returns a GitlabClient
func (*GitlabClient) Authenticate ¶
func (c *GitlabClient) Authenticate(username, password string) error
Authenticate authenticates against a Gitlab instance, storing the access_token
func (*GitlabClient) ListGroupProjects ¶
func (c *GitlabClient) ListGroupProjects(projects chan interface{}) error
ListGroupProjects lists all projects within a group
func (*GitlabClient) ListGroupProjectsWithMax ¶ added in v0.0.5
func (c *GitlabClient) ListGroupProjectsWithMax(projects chan interface{}, sample int) error
ListGroupProjectsWithMax lists all projects within a group
type ListedProject ¶
type ListedProject struct {
Index int
Total optionalInt
Project gitlabProject
}
ListedProject wraps a gitlabProject with iteration status to be sent through the ListGroupProjects channel
Click to show internal directories.
Click to hide internal directories.