infra

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitClient

type GitClient struct {
	// contains filtered or unexported fields
}

func NewGitClient

func NewGitClient(apiToken string) *GitClient

func (*GitClient) CloneRepo

func (gc *GitClient) CloneRepo(url string, path *pathlib.Path) error

type GitlabClient

type GitlabClient struct {
	// contains filtered or unexported fields
}

func NewGitlabClient

func NewGitlabClient(apiToken string) (*GitlabClient, error)

func (*GitlabClient) GetGroup

func (gc *GitlabClient) GetGroup(groupId int) (*gitlab.Group, error)

func (*GitlabClient) ListProjects

func (gc *GitlabClient) ListProjects(groupId int) ([]*gitlab.Project, error)

func (*GitlabClient) ListSubgroups

func (gc *GitlabClient) ListSubgroups(groupId int) ([]*gitlab.Group, error)

Jump to

Keyboard shortcuts

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