Versions in this module Expand all Collapse all v4 v4.16.0 Jan 14, 2022 Changes in this version + var ErrInvalidGithubClient = fmt.Errorf("expected *github.Client") + var ErrInvalidRepo = fmt.Errorf("invalid repo") + var ErrNoAccessToken = fmt.Errorf("no access token") + var ErrNoDir = fmt.Errorf("no directory") + var ErrNoUserInfo = fmt.Errorf("no username:token provided") + func WithInstance(client *github.Client, config *Config) (source.Driver, error) + type Config struct + Owner string + Path string + Ref string + Repo string + type Github struct + func (g *Github) Close() error + func (g *Github) First() (version uint, err error) + func (g *Github) MarkSkipMigrations(version uint, dir source.Direction) + func (g *Github) Next(version uint) (nextVersion uint, err error) + func (g *Github) Open(url string) (source.Driver, error) + func (g *Github) Prev(version uint) (prevVersion uint, err error) + func (g *Github) PrintSummary(dir source.Direction) + func (g *Github) ReadDown(version uint) (r io.ReadCloser, identifier string, location string, fn source.MigrationFunc, ...) + func (g *Github) ReadUp(version uint) (r io.ReadCloser, identifier string, location string, fn source.MigrationFunc, ...) + func (g *Github) UpdateStatus(version uint, status source.Status, errstr string) Other modules containing this package github.com/nokia/migrate