git-bug: github.com/MichaelMure/git-bug/bridge/gitlab Index | Files | Directories

package gitlab

import "github.com/MichaelMure/git-bug/bridge/gitlab"

Index

Package Files

config.go export.go gitlab.go import.go import_notes.go

Variables

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

type Gitlab Uses

type Gitlab struct{}

func (*Gitlab) Configure Uses

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

func (*Gitlab) LoginMetaKey Uses

func (g *Gitlab) LoginMetaKey() string

func (Gitlab) NewExporter Uses

func (Gitlab) NewExporter() core.Exporter

func (Gitlab) NewImporter Uses

func (Gitlab) NewImporter() core.Importer

func (Gitlab) Target Uses

func (Gitlab) Target() string

func (*Gitlab) ValidParams Uses

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

func (*Gitlab) ValidateConfig Uses

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

type NoteType Uses

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 Uses

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 Uses

func (nt NoteType) String() string

Directories

PathSynopsis
iterator

Package gitlab imports 21 packages (graph) and is imported by 1 packages. Updated 2020-10-01. Refresh now. Tools for package owners.