gitlab

package
v1.14.38 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: BSD-3-Clause Imports: 18 Imported by: 10

Documentation

Overview

Package gitlab implements a GitLab client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(uri string) (*scm.Client, error)

New returns a new GitLab API client.

func NewDefault

func NewDefault() *scm.Client

NewDefault returns a new GitLab API client using the default gitlab.com address.

func NewWebHookService added in v1.5.152

func NewWebHookService() scm.WebhookService

NewWebHookService creates a new instance of the webhook service without the rest of the client

Types

type Error

type Error struct {
	Message string `json:"message"`
}

Error represents a GitLab error.

func (*Error) Error

func (e *Error) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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