driver

package
v0.0.0-...-fdf59ed Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger io.Writer = os.Stdout

Logger of default

Functions

This section is empty.

Types

type DefaultDriver

type DefaultDriver struct {
	// contains filtered or unexported fields
}

DefaultDriver .

func (*DefaultDriver) Configuration

func (d *DefaultDriver) Configuration() configuration.Provider

Configuration .

func (*DefaultDriver) Registry

func (d *DefaultDriver) Registry() Registry

Registry .

type DefaultRegistry

type DefaultRegistry struct {
	// contains filtered or unexported fields
}

DefaultRegistry .

func NewDefaultRegistry

func NewDefaultRegistry(c configuration.Provider) (*DefaultRegistry, error)

NewDefaultRegistry .

func (*DefaultRegistry) Extraction

func (d *DefaultRegistry) Extraction() (*orb.Extraction, error)

Extraction for orb instance

func (*DefaultRegistry) Filesystem

func (d *DefaultRegistry) Filesystem() filesystem.Filesystem

Filesystem .

func (*DefaultRegistry) Git

func (d *DefaultRegistry) Git() git.Git

Git .

func (*DefaultRegistry) Handler

func (d *DefaultRegistry) Handler() *handler.Handler

Handler .

func (*DefaultRegistry) Logger

func (d *DefaultRegistry) Logger() io.Writer

Logger .

func (*DefaultRegistry) PullRequest

func (d *DefaultRegistry) PullRequest() pullrequest.Creator

PullRequest .

func (*DefaultRegistry) VCSRepository

func (d *DefaultRegistry) VCSRepository() pullrequest.GitRepository

VCSRepository .

type Driver

type Driver interface {
	Registry() Registry
	Configuration() configuration.Provider
}

Driver .

func NewDefaultDriver

func NewDefaultDriver() (Driver, error)

NewDefaultDriver .

type Registry

type Registry interface {
	Logger() io.Writer

	Git() git.Git
	Filesystem() filesystem.Filesystem
	PullRequest() pullrequest.Creator
	VCSRepository() pullrequest.GitRepository

	Handler() *handler.Handler
	Extraction() (*orb.Extraction, error)
}

Registry .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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