gitlab

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitLabClient

func NewGitLabClient(token, host string) (*gitlab.Client, error)

Types

type Project

type Project struct {
	Host      string
	Token     string
	Namespace string
	Name      string
}

func (*Project) CreateProject

func (p *Project) CreateProject() error

func (*Project) CreateProjectVariate

func (p *Project) CreateProjectVariate(key, value string) error

func (*Project) OpenSlack

func (p *Project) OpenSlack(token string) error

OpenSlack TODO: This [PR](https://github.com/xanzy/go-gitlab/pull/1329) needs to be merged upstream(xanzy/go-gitlab) first.

Jump to

Keyboard shortcuts

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