gitlab

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProject

func CreateProject(
	repositorySha string,
	baseUrl string,
	projectName string,
	namespaceID int,
	mirrorVisibilityMode string,
	sourceURL string,
) *gitlab.Project

CreateProject - Create new code repository

func FetchOwnerRepos

func FetchOwnerRepos(
	repoSha, baseURL, groupName string,
	gitlabOwned bool,
	gitlabVisibility, gitlabMinAccessLevel string,
) []*gitlab.Project

FetchOwnerRepos - fetches all repositories for the specified gitlab path

func GetProjectNamespace

func GetProjectNamespace(repositorySha string, baseUrl string, projectNameFullPath string) (*gitlab.Namespace, string)

GetProjectNamespace - return Project Namespace and namespace full path

func ProjectExists

func ProjectExists(repositorySha string, baseUrl string, projectName string) bool

ProjectExists checks if project exists and returns boolean if API call is successful

Types

This section is empty.

Jump to

Keyboard shortcuts

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