gitlab

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadProjectURL = errors.New("bad project url")
)
View Source
var (
	ErrMissingIdentityToken = errors.New("missing identity token")
)

Functions

This section is empty.

Types

type Gitlab

type Gitlab struct{}

func (*Gitlab) Configure

func (g *Gitlab) Configure(repo *cache.RepoCache, params core.BridgeParams) (core.Configuration, error)

func (*Gitlab) LoginMetaKey

func (g *Gitlab) LoginMetaKey() string

func (Gitlab) NewExporter

func (Gitlab) NewExporter() core.Exporter

func (Gitlab) NewImporter

func (Gitlab) NewImporter() core.Importer

func (Gitlab) Target

func (Gitlab) Target() string

func (*Gitlab) ValidParams

func (g *Gitlab) ValidParams() map[string]interface{}

func (*Gitlab) ValidateConfig

func (g *Gitlab) ValidateConfig(conf core.Configuration) error

type NoteType

type NoteType int
const (
	NOTE_COMMENT NoteType
	NOTE_TITLE_CHANGED
	NOTE_DESCRIPTION_CHANGED
	NOTE_CLOSED
	NOTE_REOPENED
	NOTE_LOCKED
	NOTE_UNLOCKED
	NOTE_CHANGED_DUEDATE
	NOTE_REMOVED_DUEDATE
	NOTE_ASSIGNED
	NOTE_UNASSIGNED
	NOTE_CHANGED_MILESTONE
	NOTE_REMOVED_MILESTONE
	NOTE_MENTIONED_IN_ISSUE
	NOTE_MENTIONED_IN_MERGE_REQUEST
	NOTE_UNKNOWN
)

func GetNoteType

func GetNoteType(n *gitlab.Note) (NoteType, string)

GetNoteType parse a note system and body and return the note type and it content

func (NoteType) String

func (nt NoteType) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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