Documentation
¶
Overview ¶
Package gitlab is an internal wrapper for the go-gitlab package
Most functions serve to expose debug logging if set and accept a project name string over an ID
Index ¶
- Constants
- Variables
- func ClonePath(project string) (string, error)
- func FindProject(project string) (*gitlab.Project, error)
- func Fork(project string) (string, error)
- func IssueCreate(project string, opts *gitlab.CreateIssueOptions) (string, error)
- func IssueList(project string, opts *gitlab.ListProjectIssuesOptions) ([]*gitlab.Issue, error)
- func ListMRs(project string, opts *gitlab.ListProjectMergeRequestsOptions) ([]*gitlab.MergeRequest, error)
- func LoadGitLabTmpl(tmplName string) string
- func MergeRequest(project string, opts *gitlab.CreateMergeRequestOptions) (string, error)
Constants ¶
View Source
const ( TmplMR = "merge_request_templates/default.md" TmplIssue = "issue_templates/default.md" )
Defines filepath for default GitLab templates
Variables ¶
View Source
var (
ErrProjectNotFound = errors.New("gitlab project not found")
)
View Source
var (
User string
)
Functions ¶
func FindProject ¶
func IssueCreate ¶
IssueCreate opens a new issue on a specified GitLab Project
func LoadGitLabTmpl ¶ added in v0.5.1
LoadGitLabTmpl loads gitlab templates for use in creating Issues and MRs
func MergeRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.