getgitlab

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Branch

type Branch struct {
	Name string `json:"name"`
}

func GetRepositoryBranches

func GetRepositoryBranches(accessToken, repositoryName string, repositoryID int) ([]Branch, error)

type Repository

type Repository struct {
	ID            int    `json:"id"`
	Name          string `json:"name"`
	DefaultBranch string `json:"default_branch"`
	Path          string `json:"path_with_namespace"`
	Empty         bool   `json:"empty_repo"`
}

func FetchRepositoriesGitlab

func FetchRepositoriesGitlab(url string, page int, accessToken string) ([]Repository, string, error)

func GetRepoGitlabList

func GetRepoGitlabList(accessToken, organization string) ([]Repository, error)

Get Infos for all Repositories in Organization for Main Branch

Jump to

Keyboard shortcuts

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