github

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: 26 Imported by: 1

Documentation

Overview

Package github contains the Github bridge implementation

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

func NewIterator

func NewIterator(ctx context.Context, client *githubv4.Client, capacity int, owner, project string, since time.Time) *iterator

NewIterator create and initialize a new iterator

Types

type Github

type Github struct{}

func (*Github) Configure

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

func (*Github) LoginMetaKey

func (g *Github) LoginMetaKey() string

func (*Github) NewExporter

func (*Github) NewExporter() core.Exporter

func (*Github) NewImporter

func (*Github) NewImporter() core.Importer

func (*Github) Target

func (*Github) Target() string

func (*Github) ValidParams

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

func (*Github) ValidateConfig

func (*Github) ValidateConfig(conf core.Configuration) error

Jump to

Keyboard shortcuts

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